
/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio.
   Put this @layer first; product CSS outside the layer always wins. */
@layer od-layout {
  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }
  .od-nowrap  { white-space: nowrap; }
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; }

  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
/* /OD-LAYOUT-PRIMITIVES v1 */

/* ==========================================================================
   Natália Luz Arquitetura e Interiores — sistema visual v3.0
   Baseado no manual de marca (Smash, 2025): paleta Bordô · Marrom · Fendi ·
   Offwhite, Megante para títulos especiais, Poppins para títulos e textos,
   estampa do monograma N. Compartilhado por index.html e sistema.html.
   ========================================================================== */

/* ---------- Fontes da marca (arquivos locais) ---------- */






:root {
  /* Paleta institucional (manual de marca) */
  --bordo: #632333;      /* Pantone 7428 C · oklch(35.7% 0.094 7.7) */
  --marrom: #7F7262;     /* Pantone Warm Gray 10 CV · oklch(55.9% 0.029 72.9) */
  --fendi: #C7BBAB;      /* Pantone 7528 XGC · oklch(79.8% 0.026 75.2) */
  --offwhite: #E0DBD7;   /* Pantone 9081 C · oklch(89.4% 0.008 61.4) */

  /* Derivadas em OKLCH a partir da paleta */
  --ground: oklch(95.8% 0.006 61);       /* off-white clareado — fundo da página */
  --surface: #FFFFFF;
  --ink: oklch(27% 0.012 60);            /* marrom escurecido — texto · 13.4:1 sobre ground */
  --ink-muted: oklch(44% 0.022 68);      /* marrom profundo — texto secundário · 6.9:1 */
  --line: oklch(86% 0.014 62);           /* entre fendi e off-white */
  --line-strong: oklch(62% 0.022 65);    /* borda de campos · 3.2:1 */
  --bordo-deep: oklch(30% 0.075 5);      /* hover sobre bordô */
  --on-bordo: var(--offwhite);           /* 8.4:1 sobre bordô */
  --on-bordo-muted: var(--fendi);        /* 6.1:1 sobre bordô */

  /* Aliases usados pelos componentes */
  --wine: var(--bordo);
  --wine-deep: var(--bordo-deep);
  --on-wine: var(--on-bordo);
  --on-wine-muted: var(--on-bordo-muted);

  /* Estados e caso especial */
  --contratempo: #A8322D; /* uso exclusivo no caso CASACOR · 5.8:1 sobre ground */
  --error: oklch(48% 0.17 28);
  --error-bg: oklch(95% 0.02 28);
  --success: oklch(44% 0.07 150);
  --success-bg: oklch(95% 0.02 150);

  /* Tipografia */
  --font-display: "Megante", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 14px;
  --fs-s: 16px;
  --fs-m: 18px;
  --fs-l: 22px;
  --fs-xl: 28px;
  --fs-h3: clamp(24px, 2.2vw, 32px);
  --fs-h2: clamp(32px, 3.8vw, 56px);
  --fs-h1: clamp(40px, 5.6vw, 80px);
  --fs-hero: clamp(44px, 6.4vw, 100px);
  --lh-body: 1.7;
  --lh-tight: 1.08;

  /* Espaço (ritmo de 8px) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1360px;
  --section: clamp(72px, 10vw, 144px);
  --header-h: 80px;

  /* Forma */
  --radius: 2px;
  --hair: 1px solid var(--line);

  /* Estampa */
  --pattern-bordo: url("/wp-content/themes/nl-arquitetura/assets/brand-bbf24dbcb90f42f0.svg");
  --pattern-offwhite: url("/wp-content/themes/nl-arquitetura/assets/brand-c4443c52a5fa44a8.svg");

  /* Movimento */
  --dur-s: 180ms;
  --dur-m: 280ms;
  --dur-l: 400ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --stagger: 40ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-body); font-weight: 400; font-size: var(--fs-s); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: var(--lh-tight); letter-spacing: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--bordo); }
.on-dark h1 em, .on-dark h2 em { color: var(--fendi); }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--offwhite); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-2); top: -120px; z-index: 100; background: var(--bordo); color: var(--on-bordo); padding: var(--s-1) var(--s-2); text-decoration: none; }
.skip:focus { top: var(--s-2); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.on-dark { background: var(--bordo); color: var(--on-bordo); }
.on-surface { background: var(--offwhite); }
.pattern-bordo { background: var(--bordo) var(--pattern-bordo) center / cover no-repeat; color: var(--on-bordo); }
.pattern-offwhite { background: var(--offwhite) var(--pattern-offwhite) center / cover no-repeat; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Logotipos vetoriais (símbolos inline em <svg><use>) */
.logo { display: block; fill: currentColor; color: var(--bordo); }
.on-dark .logo, .pattern-bordo .logo { color: var(--offwhite); }

/* Texto */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; flex: none; background: var(--bordo); }
.on-dark .eyebrow, .pattern-bordo .eyebrow { color: var(--on-bordo-muted); }
.on-dark .eyebrow::before, .pattern-bordo .eyebrow::before { background: var(--offwhite); }
.lead { font-size: var(--fs-m); font-weight: 300; color: var(--ink-muted); max-width: 58ch; }
.on-dark .lead { color: var(--on-bordo-muted); }
.prose { max-width: 62ch; font-size: var(--fs-s); }
.prose p + p { margin-top: var(--s-2); }
.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-xs); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1);
  min-height: 52px; padding: 0 var(--s-4); border: 1px solid transparent; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out), border-color var(--dur-s) var(--ease-out);
}
.btn-primary { background: var(--bordo); color: var(--on-bordo); }
.btn-secondary { background: transparent; color: var(--bordo); border-color: var(--bordo); }
.btn-light { background: var(--offwhite); color: var(--bordo); }
.btn-outline-light { background: transparent; color: var(--offwhite); border-color: var(--offwhite); }
.btn-quiet { background: transparent; color: var(--ink); padding-inline: var(--s-2); text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
  .btn-primary:hover, .btn-primary.is-hover { background: var(--bordo-deep); }
  .btn-secondary:hover, .btn-secondary.is-hover { background: var(--bordo); color: var(--on-bordo); }
  .btn-light:hover { background: var(--surface); }
  .btn-outline-light:hover { background: var(--offwhite); color: var(--bordo); }
  .btn-quiet:hover { color: var(--bordo); }
}
.btn[disabled], .btn.is-disabled { background: var(--line); color: oklch(45% 0.015 60); border-color: var(--line); cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: nl-spin .8s linear infinite; }
@keyframes nl-spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; align-self: flex-start;
  font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; color: var(--bordo);
  transition: color var(--dur-s) var(--ease-out);
}
.link-arrow .icon { transition: transform var(--dur-s) var(--ease-out); }
.on-dark .link-arrow, .pattern-bordo .link-arrow { color: var(--offwhite); }
@media (hover: hover) { .link-arrow:hover { color: var(--bordo-deep); } .link-arrow:hover .icon { transform: translateX(4px); } .on-dark .link-arrow:hover, .pattern-bordo .link-arrow:hover { color: var(--surface); } }

/* ---------- Etiquetas ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; white-space: nowrap;
  border: 1px solid currentColor; border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
.tag .icon { width: 14px; height: 14px; }
.tag-photo { color: var(--ink); }
.tag-render { color: var(--bordo); }
.tag-pending { color: var(--ink-muted); border-style: dashed; background: transparent; }
.tag-verified { color: var(--success); }
.tag-kind { color: var(--bordo); background: transparent; }
.on-dark .tag-kind, .pattern-bordo .tag-kind { color: var(--offwhite); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: var(--hair); }
.site-header .bar { height: var(--header-h); justify-content: space-between; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--bordo); }
.brand .logo { width: auto; height: 44px; aspect-ratio: 955 / 269.9; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-4); }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; font-weight: 400; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out);
}
.nav-list a[aria-current="page"] { border-bottom-color: var(--bordo); color: var(--bordo); font-weight: 500; }
@media (hover: hover) { .nav-list a:hover { color: var(--bordo); } }
.header-cta { min-height: 44px; padding-inline: var(--s-3); }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; cursor: pointer; font-weight: 500; padding: 0 4px; color: var(--bordo); }
@media (max-width: 1199px) { .nav-list { gap: var(--s-3); } }
@media (max-width: 1079px) {
  .nav-list, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 400px) { .brand .logo { height: 38px; } }

/* Menu móvel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; overflow-y: auto;
  padding: 0 var(--gutter) var(--s-5);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 190ms var(--ease-in), transform 190ms var(--ease-in), visibility 0s linear 190ms;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-m) var(--ease-out), transform var(--dur-m) var(--ease-out), visibility 0s; }
.mobile-menu .bar { height: var(--header-h); justify-content: space-between; flex: none; }
.mobile-menu .brand, .mobile-menu .menu-btn { color: var(--offwhite); }
.mobile-menu nav ul { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; }
.mobile-menu nav a { display: block; padding: 12px 0; font-family: var(--font-display); font-size: 34px; line-height: 1.15; text-decoration: none; border-bottom: 1px solid rgba(224,219,215,.2); }
.mobile-menu nav a[aria-current="page"] { color: var(--fendi); }
.mobile-menu .foot { margin-top: auto; padding-top: var(--s-5); display: grid; gap: var(--s-2); color: var(--on-bordo-muted); }

/* ---------- Rodapé ---------- */
.site-footer { padding-block: var(--s-7) var(--s-4); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.footer-brand .logo { width: min(260px, 100%); height: auto; aspect-ratio: 955 / 269.9; }
.footer-brand .statement { font-family: var(--font-display); font-size: var(--fs-l); line-height: 1.3; margin-top: var(--s-4); max-width: 26ch; }
.footer-grid h2 { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-bordo-muted); margin-bottom: var(--s-2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-grid a { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 40px; text-decoration: none; }
@media (hover: hover) { .footer-grid a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.footer-legal { margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid rgba(224,219,215,.24); color: var(--on-bordo-muted); font-size: var(--fs-xs); justify-content: space-between; --od-gap: 16px; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- Cabeçalho de página ---------- */
.page-head { padding-block: clamp(48px, 8vw, 120px) var(--s-6); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-4) var(--s-6); align-items: end; }
.page-head h1 { font-size: var(--fs-h1); margin-top: var(--s-3); max-width: 16ch; color: var(--bordo); }
.page-head .lead { padding-bottom: 6px; }
@media (max-width: 899px) { .page-head { grid-template-columns: 1fr; } }

/* ---------- Mosaico de projetos ---------- */
.tile { color: var(--ink); text-decoration: none; gap: var(--s-2); align-content: start; }
.tile-media { position: relative; overflow: hidden; background: var(--offwhite); }
.tile-media img { transition: transform 500ms var(--ease-out); }
.tile-media .tag { position: absolute; top: 12px; left: 12px; box-shadow: 0 1px 4px rgba(43,37,33,.18); }
.tile-body { display: grid; gap: 4px; }
.tile-title { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; transition: color var(--dur-s) var(--ease-out); }
.tile-meta { color: var(--ink-muted); font-size: var(--fs-xs); }
.tile-role { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bordo); }
@media (hover: hover) { .tile:hover .tile-media img { transform: scale(1.025); } .tile:hover .tile-title { color: var(--bordo); } }

/* ---------- Placeholder desenhado (estampa off-white) ---------- */
.ph {
  display: grid; place-content: center; gap: 8px; text-align: center; padding: var(--s-4);
  aspect-ratio: var(--ph-ratio, 4 / 3); background: var(--offwhite) var(--pattern-offwhite) center / cover no-repeat;
  border: 1px dashed var(--line-strong); color: var(--ink-muted);
}
.ph > * { background: var(--ground); padding: 2px 10px; justify-self: center; }
.ph strong { color: var(--ink); font-weight: 500; }

/* ---------- Pendência editorial ---------- */
.pending { border: 1px dashed var(--line-strong); background: var(--surface); padding: var(--s-4); display: grid; gap: var(--s-2); }
.pending h3 { font-family: var(--font-body); font-size: var(--fs-m); font-weight: 500; line-height: 1.4; }
.pending ul { margin: 0; padding-left: 20px; color: var(--ink-muted); display: grid; gap: 4px; }

/* ---------- Formulário ---------- */
.field { --od-gap: 8px; }
.field > label, .field > .label { font-weight: 500; }
.req { color: var(--error); margin-left: 2px; }
.opt { font-weight: 300; color: var(--ink-muted); margin-left: 4px; }
.hint { font-size: var(--fs-xs); color: var(--ink-muted); }
.input {
  width: 100%; min-height: 52px; padding: 12px var(--s-2); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color var(--dur-s) var(--ease-out), box-shadow var(--dur-s) var(--ease-out);
}
textarea.input { min-height: 128px; resize: vertical; line-height: var(--lh-body); }
select.input { appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23632333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .input.is-focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 1px var(--bordo); }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.input:disabled { background: var(--ground); color: oklch(45% 0.015 60); cursor: not-allowed; }
.error { display: flex; gap: 6px; align-items: flex-start; color: var(--error); font-size: var(--fs-xs); font-weight: 500; }
.error[hidden] { display: none; }
.error .icon { width: 16px; height: 16px; margin-top: 3px; }

.choices { display: flex; flex-wrap: wrap; gap: var(--s-1); border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { font-weight: 500; margin-bottom: var(--s-1); padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-2);
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-weight: 400; white-space: nowrap;
  transition: background-color var(--dur-s) var(--ease-out), border-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out);
}
.choice input:checked + span { background: var(--bordo); border-color: var(--bordo); color: var(--on-bordo); }
.choice input:focus-visible + span { outline: 2px solid var(--bordo); outline-offset: 2px; }
@media (hover: hover) { .choice input:not(:checked):hover + span { border-color: var(--bordo); color: var(--bordo); } }
.choices[aria-invalid="true"] .choice span { border-color: var(--error); }

.stepper { display: flex; gap: var(--s-3); list-style: none; margin: 0; padding: 0; counter-reset: st; }
.stepper li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 500; color: var(--ink-muted); }
.stepper li::before {
  counter-increment: st; content: counter(st); display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  border: 1px solid var(--line-strong); border-radius: 50%; font-variant-numeric: tabular-nums;
}
.stepper li[aria-current="step"] { color: var(--ink); }
.stepper li[aria-current="step"]::before { background: var(--bordo); border-color: var(--bordo); color: var(--on-bordo); }
.stepper li.done::before { content: "✓"; border-color: var(--bordo); color: var(--bordo); }

.notice { display: flex; gap: var(--s-2); align-items: flex-start; padding: var(--s-2) var(--s-3); border: 1px solid; border-radius: var(--radius); }
.notice .icon { margin-top: 2px; }
.notice-error { color: var(--error); background: var(--error-bg); }
.notice-error a { color: var(--error); font-weight: 500; }
.notice-success { color: var(--success); background: var(--success-bg); }
.notice-info { color: var(--ink); border-color: var(--line); background: var(--surface); }
.notice h3 { font-family: var(--font-body); font-size: var(--fs-s); font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.notice ul { margin: 4px 0 0; padding-left: 18px; }

/* ---------- Revelação ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-l) var(--ease-out), transform var(--dur-l) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   v3.1 — componentes da estrutura de portfólio (referência: Studio Grell)
   ========================================================================== */

/* Abertura de página inteira: a foto é fundo decorativo (recorte intencional) */
.hero-full { position: relative; display: grid; align-items: end; min-height: min(92vh, 920px); background: var(--bordo); color: var(--offwhite); overflow: hidden; }
.hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,37,33,.18) 0%, rgba(43,37,33,.28) 45%, rgba(43,37,33,.78) 100%); }
.hero-full .wrap { position: relative; z-index: 1; padding-block: var(--s-8) clamp(40px, 7vw, 96px); }
.hero-full .eyebrow { color: var(--offwhite); }
.hero-full .eyebrow::before { background: var(--offwhite); }
.hero-full h1 { font-size: var(--fs-hero); max-width: 13ch; margin-top: var(--s-3); color: var(--surface); }
.hero-full .actions { --od-gap: 12px; margin-top: var(--s-5); }
.hero-credit { justify-self: end; font-size: 13px; color: var(--offwhite); opacity: .9; }
.hero-full :focus-visible { outline-color: var(--offwhite); }

/* Card de projeto (grade do portfólio) */
.proj-grid { --od-cols: 3; --od-gap: var(--s-6) var(--s-4); }
@media (max-width: 1023px) { .proj-grid { --od-cols: 2; } }
@media (max-width: 599px) { .proj-grid { --od-cols: 1; --od-gap: var(--s-5); } }
.proj-card { color: var(--ink); text-decoration: none; gap: var(--s-2); align-content: start; }
.proj-card .media { position: relative; overflow: hidden; background: var(--offwhite); }
.proj-card .media img { --od-ratio: 4 / 3; transition: transform 600ms var(--ease-out); }
.proj-card .media .tag { position: absolute; top: 12px; left: 12px; box-shadow: 0 1px 4px rgba(43,37,33,.18); }
.proj-card .info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--s-2); align-items: baseline; }
.proj-card .name { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; transition: color var(--dur-s) var(--ease-out); }
.proj-card .more { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 500; color: var(--bordo); white-space: nowrap; }
.proj-card .more .icon { width: 16px; height: 16px; transition: transform var(--dur-s) var(--ease-out); }
.proj-card .meta { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--ink-muted); }
@media (hover: hover) { .proj-card:hover .media img { transform: scale(1.03); } .proj-card:hover .name { color: var(--bordo); } .proj-card:hover .more .icon { transform: translateX(4px); } }

/* Visualizador de imagens (lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(28, 12, 18, .96); color: var(--offwhite);
  opacity: 0; visibility: hidden; transition: opacity 180ms var(--ease-in), visibility 0s linear 180ms; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity var(--dur-m) var(--ease-out), visibility 0s; }
.lightbox .lb-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-2) var(--gutter); }
.lightbox .lb-count { font-size: var(--fs-xs); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.lightbox .lb-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-2); padding-inline: var(--s-2); min-height: 0; }
.lightbox figure { display: grid; justify-items: center; gap: var(--s-1); min-height: 0; height: 100%; align-content: center; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 200px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: var(--fendi); font-size: var(--fs-xs); text-align: center; }
.lb-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(224,219,215,.5); border-radius: 50%; background: transparent; color: var(--offwhite); cursor: pointer; transition: background-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out); }
.lb-btn[hidden] { display: none; }
@media (hover: hover) { .lb-btn:hover { background: var(--offwhite); color: var(--bordo); } }
.lightbox :focus-visible { outline-color: var(--offwhite); }
@media (max-width: 599px) { .lightbox .lb-stage { grid-template-columns: minmax(0, 1fr); } .lightbox .lb-prev, .lightbox .lb-next { position: fixed; bottom: var(--s-3); } .lightbox .lb-prev { left: var(--s-3); } .lightbox .lb-next { right: var(--s-3); } }

/* Painel de etapa da jornada */
.step-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-5) var(--s-6); background: var(--surface); border: var(--hair); padding: clamp(24px, 4vw, 56px); }
.step-panel .count { font-family: var(--font-display); font-size: clamp(56px, 7vw, 96px); line-height: 1; color: var(--bordo); white-space: nowrap; }
.step-panel .count small { font-size: .35em; color: var(--ink-muted); }
.step-panel h3 { font-size: var(--fs-h3); margin-top: var(--s-2); }
.step-panel .summary { color: var(--ink-muted); margin-top: var(--s-2); }
.step-panel .blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.step-panel .blocks h4 { margin: 0 0 var(--s-1); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bordo); }
.step-panel .blocks ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.step-panel .next-crit { grid-column: 1 / -1; padding: var(--s-2) var(--s-3); background: var(--offwhite); }
.step-panel .next-crit b { display: block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bordo); margin-bottom: 4px; }
.step-panel .nav { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--s-2); padding-top: var(--s-3); border-top: var(--hair); }
@media (max-width: 899px) { .step-panel { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .step-panel .blocks { grid-template-columns: 1fr; } .step-panel .nav .btn { flex: 1; padding-inline: var(--s-2); } }

/* Perguntas frequentes */
.faq { border-top: 1px solid var(--bordo); }
.faq details { border-bottom: var(--hair); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); min-height: 64px; padding-block: var(--s-2); cursor: pointer; list-style: none; font-size: var(--fs-m); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--bordo); border-radius: 50%; color: var(--bordo); font-weight: 400; transition: transform var(--dur-s) var(--ease-out); }
.faq details[open] summary::after { content: "−"; }
@media (hover: hover) { .faq summary:hover { color: var(--bordo); } }
.faq details p { padding-bottom: var(--s-3); max-width: 64ch; color: var(--ink-muted); }

/* Faixa do Instagram com capas de destaque da marca */
.ig-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5); align-items: center; }
.ig-profile { display: flex; align-items: center; gap: var(--s-3); }
.ig-profile img { width: 88px; height: 88px; border-radius: 50%; flex: none; }
.ig-covers { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: flex-end; }
.ig-covers a { display: block; border-radius: 50%; padding: 4px; border: 1px solid var(--fendi); transition: border-color var(--dur-s) var(--ease-out); }
.ig-covers img { display: block; width: 72px; height: 72px; border-radius: 50%; }
@media (hover: hover) { .ig-covers a:hover { border-color: var(--bordo); } }
@media (max-width: 899px) { .ig-band { grid-template-columns: 1fr; } .ig-covers { justify-content: flex-start; } }
