/* dansinclair.co v2
   Conceito: palco escuro, foto como protagonista; interface quieta, dourado só onde há ação.
   Layout: coluna editorial larga (max 1440), grade assimétrica de trabalhos, ficha técnica em formato de programa de teatro. */
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-latin-ext-400-normal.woff2) format("woff2"); font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --stage: #0e0c0b;      /* fundo: palco apagado */
  --wing: #161311;       /* superfícies: coxia */
  --wing-2: #1f1b18;
  --ivory: #f1ece3;      /* texto */
  --dust: #a89f92;       /* texto secundário */
  --rule: #2e2924;
  --gold: #c9a05c;       /* acento: luz de foco */
  --gold-hi: #e2bf7f;
  --pend: #8fb3d9;
  --gold-ink: #c9a05c;   /* dourado como texto/contorno */
  --t-lede: #ddd6ca; --t-nav: #e6e0d6; --t-card: #e8e2d8; --t-role: #ece5da; --t-body: #e2dbd0; --t-cell: #d9d2c6;
  --rule-dots: #5a5148; --rule-hover: #6a6056; --facet-glow: #2a231b;
  --glass: rgba(22, 19, 17, .58); --glass-solid: rgba(18, 15, 13, .94); --glass-opaque: #15120f; --glass-contrast: #0b0a09;
  --glass-line: rgba(241, 236, 227, .10); --glass-shine: rgba(255, 255, 255, .06);
  --btn-line: rgba(241, 236, 227, .28); --underline: rgba(241,236,227,.35);
  --tint: rgba(241, 236, 227, .06); --tint-2: rgba(241,236,227,.09);
  --gold-line: rgba(201,160,92,.5); --gold-tint: rgba(201,160,92,.12);
  --veil: 14,12,11;      /* cor do fundo em RGB, para véus sobre fotos */
       /* marcações de revisão (só protótipo) */
  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text-serif: "Newsreader", "Iowan Old Style", Georgia, serif; /* serifa de texto: títulos pequenos legíveis (sem condensação) */
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .1, 1);
}
:root[data-theme="light"] {
  color-scheme: light;
  --stage: #f5efe4; --wing: #ece4d6; --wing-2: #e3d9c8;
  --ivory: #1b1714; --dust: #62584c; --rule: #d5cab8;
  --gold-ink: #85601d;
  --t-lede: #2f2924; --t-nav: #2a241f; --t-card: #2a241f; --t-role: #2a241f; --t-body: #2f2924; --t-cell: #3a332c;
  --rule-dots: #b3a690; --rule-hover: #8f8270; --facet-glow: #efdfbf;
  --glass: rgba(245, 239, 228, .72); --glass-solid: rgba(245, 239, 228, .96); --glass-opaque: #f5efe4; --glass-contrast: #ffffff;
  --glass-line: rgba(27, 23, 20, .12); --glass-shine: rgba(255, 255, 255, .5);
  --btn-line: rgba(27, 23, 20, .3); --underline: rgba(27, 23, 20, .35);
  --tint: rgba(27, 23, 20, .06); --tint-2: rgba(27, 23, 20, .09);
  --gold-line: rgba(133, 96, 29, .55); --gold-tint: rgba(201, 160, 92, .18);
  --veil: 245,239,228;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  color-scheme: light;
  --stage: #f5efe4; --wing: #ece4d6; --wing-2: #e3d9c8;
  --ivory: #1b1714; --dust: #62584c; --rule: #d5cab8;
  --gold-ink: #85601d;
  --t-lede: #2f2924; --t-nav: #2a241f; --t-card: #2a241f; --t-role: #2a241f; --t-body: #2f2924; --t-cell: #3a332c;
  --rule-dots: #b3a690; --rule-hover: #8f8270; --facet-glow: #efdfbf;
  --glass: rgba(245, 239, 228, .72); --glass-solid: rgba(245, 239, 228, .96); --glass-opaque: #f5efe4; --glass-contrast: #ffffff;
  --glass-line: rgba(27, 23, 20, .12); --glass-shine: rgba(255, 255, 255, .5);
  --btn-line: rgba(27, 23, 20, .3); --underline: rgba(27, 23, 20, .35);
  --tint: rgba(27, 23, 20, .06); --tint-2: rgba(27, 23, 20, .09);
  --gold-line: rgba(133, 96, 29, .55); --gold-tint: rgba(201, 160, 92, .18);
  --veil: 245,239,228;
} }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--stage); color: var(--ivory); font: 400 17px/1.6 var(--ui); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
main:focus { outline: none; }

/* tipografia */
.display-xl { font: 400 clamp(56px, 11vw, 168px)/.9 var(--display); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.display-l { font: 400 clamp(38px, 5.6vw, 76px)/1 var(--display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.display-m { font: 400 clamp(30px, 3.6vw, 48px)/1.05 var(--display); margin: 0; text-wrap: balance; }
.eyebrow, .label { font: 600 12px/1.4 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--dust); margin: 0 0 14px; }
.gold { color: var(--gold-ink); }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--t-lede); max-width: 60ch; margin: 22px 0 0; }
.hint { color: var(--dust); font-size: 15px; margin: 6px 0 18px; max-width: 62ch; }

/* vidro: só na barra, nos painéis sobre foto e nos controles */
.glass { background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-shine); }
.glass-solid { background: var(--wing); border: 1px solid var(--rule); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: var(--glass-solid); } }
@media (prefers-reduced-transparency: reduce) { .glass { background: var(--glass-opaque); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { .glass { background: var(--glass-contrast); border-color: var(--ivory); } :root { --dust: #cfc6b8; } :root[data-theme="light"] { --dust: #4a4238; } }
@media (prefers-contrast: more) and (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --dust: #4a4238; } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--btn-line); text-decoration: none; font: 600 15px/1 var(--ui); color: var(--ivory); background: transparent; cursor: pointer; transition: background .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease); }
.btn:hover { border-color: var(--ivory); background: var(--tint); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--gold); border-color: var(--gold-ink); color: #17120b; }
.btn.primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn.ghost { border-color: transparent; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--underline); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; color: var(--gold-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after, a:hover > .link-arrow::after { transform: translateX(4px); }

/* barra superior flutuante */
.review-banner { background: #1c2733; color: #d6e4f3; font-size: 13px; padding: 8px var(--gutter-r) 8px var(--gutter); text-align: center; border-bottom: 1px dashed var(--pend); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding: 12px var(--gutter-r) 0 var(--gutter); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--stage); z-index: 60; }
.topbar-inner { max-width: 1400px; margin-inline: auto; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px; }
.brand { font: 400 24px/1 var(--display); text-decoration: none; white-space: nowrap; }
.nav-desk { display: none; gap: 4px; margin-left: auto; }
.nav-desk a { text-decoration: none; font-size: 15px; padding: 10px 14px; border-radius: 999px; color: var(--t-nav); }
.nav-desk a:hover { background: var(--tint); }
.nav-desk a[aria-current] { color: var(--gold-ink); }
.topbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-desk + .topbar-actions { margin-left: 8px; }
.btn-direto { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--gold); color: #17120b; font: 600 14px/1 var(--ui); text-decoration: none; white-space: nowrap; }
.btn-direto:hover { background: var(--gold-hi); }
.btn-direto.is-current { background: transparent; color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--gold-ink); }
.lang { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; border-radius: 999px; font: 600 13px/1 var(--ui); letter-spacing: .06em; text-decoration: none; color: var(--dust); }
.lang:hover { color: var(--ivory); background: var(--tint); }
.menu-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--ivory); cursor: pointer; display: grid; place-items: center; }
.menu-ico, .menu-ico::before { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.menu-ico::before { content: ""; position: absolute; top: 6px; }
.menu-ico { transform: translateY(-3px); }
.menu-btn[aria-expanded="true"] .menu-ico { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::before { transform: translateY(-6px) rotate(-90deg); }
.menu-sheet { max-width: 1400px; margin: 8px auto 0; border-radius: 24px; padding: 8px; }
.menu-sheet nav { display: grid; }
.menu-sheet a { padding: 14px 16px; text-decoration: none; font: 400 26px/1.1 var(--display); border-radius: 14px; }
.menu-sheet a:hover, .menu-sheet a[aria-current] { background: var(--tint); color: var(--gold-ink); }
@media (max-width: 420px) { .brand { font-size: 21px; } .btn-direto { padding: 0 12px; font-size: 13px; } .topbar-inner { padding-left: 16px; gap: 8px; } }
@media (max-width: 374px) { .brand { font-size: 19px; } .btn-direto { padding: 0 10px; font-size: 12.5px; } .topbar-inner { padding-left: 14px; gap: 4px; } .topbar-actions { gap: 2px; } .lang { min-width: 34px; } }
@media (min-width: 980px) { .nav-desk { display: flex; } .menu-btn { display: none; } .menu-sheet { display: none !important; } }

/* hero */
.hero { position: relative; display: grid; margin-top: -68px; }
.hero-media { position: relative; aspect-ratio: 4 / 5; max-height: 86svh; width: 100%; overflow: hidden; background: var(--stage); --hero-pos: 50% 18%; }
/* retrato estático e vídeo de transição ocupam exatamente a mesma caixa, com o mesmo enquadramento */
.hero-img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }
.hero-video { opacity: 0; pointer-events: none; background: transparent; }
.hero-media.tocando .hero-video.ativo { opacity: 1; }
/* véus: ::before = sombras só do tema escuro (somem no claro, com a mesma duração da transição);
   ::after = bordas que se fundem ao fundo da página (acompanham a cor do fundo) */
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(14,12,11,.55) 0%, rgba(14,12,11,0) 18%); }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 0 72%, var(--stage) 100%); }
.spot { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 55% at 50% 32%, transparent 0 40%, rgba(14,12,11,.55) 100%); pointer-events: none; }
.hero-text { position: relative; z-index: 2; margin-top: -96px; padding-bottom: 40px; }
.hero-text .eyebrow { color: var(--gold-ink); }
/* celular e telas dobráveis em pé: rosto livre; nome primeiro, atividades logo abaixo */
@media (max-width: 899px) {
  .hero-media { max-height: 78svh; }
  .hero-text { display: flex; flex-direction: column; margin-top: -56px; }
  .hero-text h1 { order: 1; margin-bottom: 18px; }
  .hero-text .eyebrow { order: 2; }
  .hero-text .lede { order: 3; } .hero-text .cta-row { order: 4; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: min(92svh, 900px); }
  .hero-media { position: absolute; inset: 0 0 0 38%; width: auto; height: auto; aspect-ratio: auto; max-height: none; --hero-pos: 50% 22%; }
  .hero-media::before { background: linear-gradient(90deg, rgba(14,12,11,.6) 12%, rgba(14,12,11,0) 55%), linear-gradient(180deg, rgba(14,12,11,.5) 0, transparent 20%); }
  .hero-media::after { background: linear-gradient(90deg, var(--stage) 0%, transparent 18%), linear-gradient(180deg, transparent 0 74%, var(--stage) 100%); }
  .hero-text { margin-top: 0; align-self: end; padding-top: 180px; padding-bottom: 88px; }
  .hero-text .lede { max-width: 40ch; }
}
:root[data-tema-atual="light"] .hero-media::before, :root[data-tema-atual="light"] .spot { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: settle 2.4s var(--ease) both; }
  :root:not([data-tema-atual="light"]) .spot { animation: houselights 2.2s ease-out; }
  .hero-text > * { animation: rise .9s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; } .hero-text > :nth-child(3) { animation-delay: .16s; } .hero-text > :nth-child(4) { animation-delay: .24s; }
}
/* transição de tema com o vídeo: o fundo da página e as cores passam do preto ao marfim no mesmo ritmo do clipe (2 s) */
@property --stage { syntax: "<color>"; inherits: true; initial-value: #0e0c0b; }
@property --wing { syntax: "<color>"; inherits: true; initial-value: #161311; }
@property --ivory { syntax: "<color>"; inherits: true; initial-value: #f1ece3; }
@property --dust { syntax: "<color>"; inherits: true; initial-value: #a89f92; }
@property --rule { syntax: "<color>"; inherits: true; initial-value: #2e2924; }
@property --gold-ink { syntax: "<color>"; inherits: true; initial-value: #c9a05c; }
@property --t-lede { syntax: "<color>"; inherits: true; initial-value: #ddd6ca; }
@property --t-nav { syntax: "<color>"; inherits: true; initial-value: #e6e0d6; }
@property --t-body { syntax: "<color>"; inherits: true; initial-value: #e2dbd0; }
:root.tema-anim { --tema-dur: 2s; transition-property: --stage, --wing, --ivory, --dust, --rule, --gold-ink, --t-lede, --t-nav, --t-body; transition-duration: var(--tema-dur); transition-timing-function: cubic-bezier(.55, 0, .35, 1); }
:root.tema-anim.para-claro { transition-timing-function: linear(0, 0 18%, .04 31%, .16 34%, .3 41%, .5 51%, .64 59%, .78 66%, .9 75%, .97 81%, 1 90%, 1); }
:root.tema-anim.para-escuro { transition-timing-function: linear(0, 0 10%, .03 19%, .1 25%, .22 34%, .36 41%, .5 49%, .7 59%, .84 66%, .96 69%, 1 82%, 1); }
:root.tema-anim .hero-media::before, :root.tema-anim .spot { transition: opacity 2s cubic-bezier(.55, 0, .35, 1); }
@keyframes settle { from { transform: scale(1.06); filter: brightness(.55); } to { transform: none; filter: none; } }
@keyframes houselights { from { background: radial-gradient(ellipse 60% 55% at 50% 32%, rgba(14,12,11,.9) 0 100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* seções */
section { scroll-margin-top: 96px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 28px; margin: 0 0 32px; }
.sec-head .eyebrow { width: 100%; margin: 0; }
.sec-head .link-arrow { margin-left: auto; }
.works, .facets, .contact, .feature { padding-block: clamp(56px, 9vw, 120px) 0; }

/* destaque */
.feature-card { display: grid; text-decoration: none; border-radius: 28px; overflow: hidden; background: var(--wing); border: 1px solid var(--rule); }
.feature-media { aspect-ratio: 16 / 10; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-card:hover .feature-media img { transform: scale(1.03); }
.feature-text { padding: 28px clamp(22px, 4vw, 56px) 36px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.feature-text .eyebrow { margin: 0; }
.feature-role { color: var(--dust); margin: 0; }
.sessions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .feature-card { grid-template-columns: 1.1fr 1fr; } .feature-media { aspect-ratio: auto; height: clamp(380px, 38vw, 540px); } .feature-media img { object-position: 50% 25%; } }

/* cards de trabalhos */
.grid-works { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card { position: relative; display: block; border-radius: 22px; overflow: hidden; text-decoration: none; background: var(--wing); isolation: isolate; }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 1s var(--ease); filter: saturate(.92); }
.card:hover .card-media img { transform: scale(1.035); filter: saturate(1.05); }
.card-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 16px; padding: 14px 16px 15px; display: grid; gap: 2px; }
.card-year { font: 600 12px/1.2 var(--ui); letter-spacing: .12em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.card-title { font: 400 clamp(26px, 2.4vw, 34px)/1.02 var(--display); margin: 4px 0 2px; }
.card-role { margin: 0; font-size: 15px; color: var(--t-card); }
.card-meta { margin: 0; font-size: 13px; color: var(--dust); }
@media (min-width: 720px) { .grid-works { grid-template-columns: repeat(2, 1fr); } .card.xl { grid-column: span 2; } .card.xl .card-media { aspect-ratio: 16 / 9; } }
@media (min-width: 1100px) {
  .grid-works { grid-template-columns: repeat(12, 1fr); gap: 22px; }
  .grid-works > .card { grid-column: span 4; }
  .grid-works > .card.xl { grid-column: span 8; grid-row: span 2; }
  .grid-works > .card.xl .card-media { aspect-ratio: auto; height: 100%; }
  .grid-works.all > .card { grid-column: span 4; }
}

/* facetas */
.facet-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.facet { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-top: 1px solid var(--rule); padding-top: 18px; }
.facet-media { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--wing-2); }
.facet-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.facet:hover .facet-media img { transform: scale(1.04); }
.facet-type { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--facet-glow), var(--wing) 70%); }
.facet-type span { font: 400 160px/1 var(--display); color: var(--gold-ink); opacity: .8; margin-top: 40px; }
.facet h3 { font: 400 30px/1.1 var(--display); margin: 16px 0 6px; }
.facet p { margin: 0; color: var(--dust); font-size: 15.5px; max-width: 46ch; }
.facet h3::after { content: " →"; color: var(--gold-ink); font-family: var(--ui); font-size: 18px; opacity: 0; transition: opacity .3s; }
.facet:hover h3::after, .facet:focus-visible h3::after { opacity: 1; }
@media (min-width: 720px) { .facet-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1100px) { .facet-grid { grid-template-columns: repeat(4, 1fr); } }

/* contato */
.contact .display-m { max-width: 18ch; }
.contact-grid { display: grid; gap: 20px; margin-top: 30px; }
.contact-mail { border-radius: 22px; padding: 24px; display: grid; gap: 6px; justify-items: start; }
.mail { font: 400 clamp(26px, 3.4vw, 40px)/1.1 var(--display); text-decoration: none; word-break: break-word; }
.mail:hover { color: var(--gold-ink); }
.copy { margin-top: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ivory); font: 500 14px var(--ui); cursor: pointer; }
.copy:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.contact-links { list-style: none; margin: 0; padding: 0; display: grid; }
.contact-links a { display: flex; justify-content: space-between; gap: 12px; padding: 18px 2px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 17px; }
.contact-links a span { color: var(--dust); }
.contact-links a:hover { color: var(--gold-ink); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 64px 48px; color: var(--dust); font-size: 14px; border-top: 1px solid var(--rule); margin-top: 96px; }
.foot p { margin: 0; }
.lang-suggest { position: fixed; z-index: 70; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 999px; font-size: 14px; width: max-content; max-width: calc(100% - 32px); }
.lang-suggest a { text-decoration: none; }
.lang-suggest button { width: 36px; height: 36px; border-radius: 999px; border: 0; background: var(--tint-2); color: var(--ivory); cursor: pointer; font-size: 18px; }

/* páginas internas */
.page-head { padding-block: clamp(48px, 8vw, 110px) 32px; }
.more-credits { margin-top: 80px; }
.rows { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--rule); }
.rows li { display: grid; grid-template-columns: 1fr; gap: 2px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.r-title { font: 400 22px/1.2 var(--display); }
.r-role { color: var(--dust); font-size: 15px; }
.r-year { color: var(--dust); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (min-width: 800px) { .rows li { grid-template-columns: 1.3fr 1.5fr 110px; align-items: baseline; } .r-year { text-align: right; } }

/* projeto */
.proj-hero { position: relative; margin-top: -68px; }
.proj-media { height: min(80svh, 820px); overflow: hidden; }
.proj-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.proj-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--veil),.6) 0%, transparent 20%, transparent 50%, var(--stage) 100%); pointer-events: none; }
.proj-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 28px; }
.proj-title .eyebrow { color: var(--gold-ink); }
.proj-role { font: italic 400 clamp(22px, 2.6vw, 32px)/1.2 var(--display); margin: 12px 0 0; color: var(--t-role); }
.proj-body { display: grid; gap: 40px; padding-block: 48px; }
.proj-body .lede { margin-top: 0; }
@media (min-width: 980px) { .proj-body { grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; } .program { position: sticky; top: 100px; } }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.chip { border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--t-nav); }
.chip.is-pend { border-style: dashed; border-color: var(--pend); color: #c7d8eb; }
/* ficha técnica em formato de programa: rótulo ......... nome */
.program { border-top: 1px solid var(--gold-ink); padding-top: 18px; }
.program dl { margin: 0; display: grid; gap: 12px; }
.prog-row { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; }
.prog-row dt { font: 600 12px/1.4 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--dust); display: flex; gap: 10px; align-items: baseline; }
.prog-row dt::after { content: ""; flex: 1; min-width: 24px; border-bottom: 1px dotted var(--rule-dots); transform: translateY(-4px); }
.prog-row dd { margin: 0; font: 400 19px/1.35 var(--display); text-align: right; }
.prog-row { grid-template-columns: minmax(0, 1fr) auto; }
.prog-row dd { max-width: 26ch; }
.video-block { display: flex; justify-content: center; }
.video-block video { width: auto; max-width: 100%; height: auto; max-height: 82svh; border-radius: 22px; background: #000; }
.gallery { padding-top: 48px; }
.gallery h2 { margin-bottom: 24px; }
.g-grid { list-style: none; padding: 0; margin: 0; columns: 2 160px; column-gap: 12px; }
.g-grid li { break-inside: avoid; margin-bottom: 12px; }
.g-item { display: block; width: 100%; padding: 0; border: 0; background: var(--wing); border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.g-item img { width: 100%; transition: transform .8s var(--ease), opacity .3s; }
.g-item:hover img { transform: scale(1.03); }
@media (min-width: 900px) { .g-grid { columns: 4 220px; column-gap: 16px; } .g-grid li { margin-bottom: 16px; } }
.prev-next { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 64px; }
.pn { display: grid; gap: 6px; padding: 22px; border-radius: 18px; border: 1px solid var(--rule); text-decoration: none; }
.pn:hover { border-color: var(--gold-ink); }
.pn.proximo { text-align: right; }
.pn-title { font: 400 clamp(20px, 2.4vw, 30px)/1.1 var(--display); }
.pn .label { margin: 0; }
.lightbox { --ivory: #f1ece3; --dust: #a89f92; --tint-2: rgba(241,236,227,.1); --gold-ink: #c9a05c; padding: 0; border: 0; background: rgba(8,7,6,.96); color: var(--ivory); width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; }
.lightbox::backdrop { background: rgba(8,7,6,.9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto auto; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 78dvh; object-fit: contain; }
.lb-cap { color: var(--dust); font-size: 14px; margin: 10px 16px; text-align: center; }
.lb-ctrl { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; margin-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); font-variant-numeric: tabular-nums; }
.lb-ctrl span { min-width: 64px; text-align: center; font-size: 14px; }
.lb-ctrl button { width: 48px; height: 48px; border-radius: 999px; border: 0; background: transparent; color: var(--ivory); font-size: 26px; cursor: pointer; }
.lb-ctrl button:hover { background: var(--tint-2); }

/* sobre */
.about { display: grid; gap: 40px; padding-block: clamp(40px, 7vw, 96px); }
.about-media { border-radius: 24px; overflow: hidden; max-width: 520px; }
.bio { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7; max-width: 64ch; color: var(--t-body); margin: 28px 0 0; }
.about-cols { display: grid; gap: 28px; margin-top: 40px; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.langs span { color: var(--dust); font-size: 14px; }
@media (min-width: 980px) { .about { grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; } .about-media { position: sticky; top: 100px; } .about-cols { grid-template-columns: repeat(3, 1fr); } }

/* currículo */
.cv { margin-top: 56px; }
.table-wrap { overflow-x: auto; margin-top: 20px; }
.cv-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cv-table th, .cv-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.cv-table thead th { font: 600 12px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--dust); }
.cv-table tbody th { font: 450 19px/1.3 var(--text-serif); letter-spacing: -.005em; }
@media (max-width: 640px) { .cv-table tbody th { font-size: 17.5px; line-height: 1.28; } }
.cv-table tbody th a { text-decoration-color: var(--gold-line); text-underline-offset: 4px; }
.cv-table td { color: var(--t-cell); font-size: 15.5px; }
.cv-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--dust); }

/* direto ao assunto */
.direto { display: grid; gap: 28px; padding-block: 28px 0; align-items: start; }
.dossier { border-radius: 26px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.dz-head { display: flex; gap: 18px; align-items: center; }
.dz-photo { width: 96px; flex: none; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.dz-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.dz-head .eyebrow { color: var(--gold-ink); margin-bottom: 6px; }
.dz-fac { margin: 6px 0 0; color: var(--dust); font-size: 14px; }
.dz-bio { margin: 0; color: var(--t-body); }
.dz-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dz-actions .btn { flex: 1 1 140px; }
.dz-contact { border-top: 1px solid var(--rule); padding-top: 16px; }
.dz-contact .label { margin-bottom: 6px; }
.dz-contact .mail { font-size: 26px; }
.dz-contact .copy { margin: 0 0 0 8px; vertical-align: middle; }
.kvs { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.kv dt { color: var(--dust); }
.kv dd { margin: 0; }
.finder { min-width: 0; }
.pend-toggle { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: #c7d8eb; border: 1px dashed var(--pend); border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; cursor: pointer; }
.pend-toggle input { width: 18px; height: 18px; accent-color: var(--pend); }
.filters { display: grid; gap: 18px; }
.fgroup { border: 0; padding: 0; margin: 0; min-width: 0; }
.fgroup legend { font: 600 12px/1.4 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--dust); padding: 0; margin-bottom: 10px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { position: relative; }
.fchip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fchip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); font-size: 14.5px; color: var(--t-nav); transition: background .2s, border-color .2s, color .2s; }
.fchip input:hover + span { border-color: var(--rule-hover); }
.fchip input:checked + span { background: var(--gold); border-color: var(--gold-ink); color: #17120b; font-weight: 600; }
.fchip input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.fchip[data-pend-only] span { border-style: dashed; border-color: var(--pend); }
.count { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.active { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.active button { min-height: 34px; border-radius: 999px; border: 1px solid var(--gold-ink); background: var(--gold-tint); color: var(--ivory); padding: 0 10px 0 12px; font: 500 13.5px var(--ui); cursor: pointer; }
.active button::after { content: " ×"; color: var(--gold-ink); }
.results { list-style: none; padding: 0; margin: 8px 0 28px; }
.results li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.results .rt { font: 400 21px/1.2 var(--display); }
.results .rr { grid-column: 1; color: var(--t-cell); font-size: 15px; }
.results .rm { grid-column: 1; color: var(--dust); font-size: 13.5px; }
.results .ry { grid-row: 1; grid-column: 2; color: var(--dust); font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
.results a.ro { grid-column: 2; grid-row: 2 / span 2; align-self: center; color: var(--gold-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.results .empty { display: block; color: var(--dust); padding: 22px 0; }
.results .empty button { margin-top: 12px; }
.results .ptag { font-size: 12px; color: var(--pend); border: 1px dashed var(--pend); border-radius: 6px; padding: 1px 6px; margin-left: 6px; }
@media (min-width: 1000px) { .direto { grid-template-columns: minmax(340px, 420px) 1fr; gap: 56px; } .dossier { position: sticky; top: 92px; } }

/* revisão */
.pend { display: inline-block; font: 600 11px/1.3 var(--ui); letter-spacing: .04em; color: var(--pend); border: 1px dashed var(--pend); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; text-transform: none; font-style: normal; }

/* revelação ao rolar: só quando JS e movimento permitidos; repouso sempre visível */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal].pre { opacity: 0; transform: translateY(26px); }
  .js [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
}
.focus { height: 100%; }

/* Direto: filtros recolhidos, informação primeiro */
.eyebrow-2 { color: var(--dust); }
.finder-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.finder-head .count { color: var(--dust); font-weight: 500; }
.f-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 6px; }
.f-toggle { gap: 10px; }
.f-toggle[aria-expanded="true"] { border-color: var(--gold-ink); color: var(--gold-ink); }
.f-ico { width: 16px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; position: relative; }
.f-ico::after { content: ""; position: absolute; left: 4px; right: 4px; top: 3px; border-top: 1.5px solid currentColor; }
.f-n { min-width: 22px; height: 22px; border-radius: 999px; background: var(--gold); color: #17120b; font-size: 12px; display: inline-grid; place-items: center; }
.f-panel { border-radius: 20px; padding: 18px; margin: 10px 0 8px; }
.f-panel .hint { margin-top: 0; }
.f-done { margin-top: 18px; }
.results { margin-top: 10px; }

/* enquadramento por aparelho, sem alterar a foto (definido na ferramenta de fotos) */
img.fx { object-position: var(--fd) !important; }
@media (max-width: 720px) { img.fx { object-position: var(--fm) !important; } }

/* alternância claro/escuro */
.theme-btn { width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent; color: var(--dust); cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.theme-btn:hover { color: var(--ivory); background: var(--tint); }
.theme-btn svg { width: 19px; height: 19px; }
[data-theme-btn] .i-sun, :root[data-tema-atual="light"] [data-theme-btn] .i-moon { display: none; }
:root[data-tema-atual="light"] [data-theme-btn] .i-sun { display: block; }
.menu-theme { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: transparent; color: var(--ivory); font: 500 16px/1.2 var(--ui); text-align: left; cursor: pointer; border-top: 1px solid var(--rule); margin-top: 6px; }
.menu-theme:hover { background: var(--tint); color: var(--gold-ink); }
.menu-theme svg { width: 18px; height: 18px; }
@media (max-width: 420px) { .topbar-actions .theme-btn { display: none; } }
/* tema claro: a foto fica como é (sem névoa); só as bordas se fundem ao papel */
:root[data-tema-atual="light"] .proj-hero::after { background: linear-gradient(180deg, transparent 0 42%, rgba(var(--veil),.9) 70%, var(--stage) 84%); }
/* página Fotos (rosto e corpo) */
.book-head { padding-top: clamp(96px, 14vw, 160px); }
.book-head .display-l { max-width: 16ch; }
.gallery.book { padding-top: 40px; }
.gallery.book .g-grid { columns: 2 150px; }
@media (min-width: 900px) { .gallery.book .g-grid { columns: 3 260px; } }
