
/* ── Tokens: ajuste pela identidade visual do cliente ───────────────────── */
:root {
  --fundo: #121110;          /* grafite quente, derivado do logo */
  --fundo-2: #1c1a18;
  --texto: #eeeae2;
  --texto-suave: #aaa49f;
  --acento: #ac9054;         /* dourado do logo */
  --acento-texto: #121110;
  --grafite: #8f8a85;        /* grafite do logo, clareado para fundo escuro */
  --linha: rgb(238 234 226 / 0.12);
  --painel: rgb(28 26 24 / 0.66);
  --mistura: lighten;

  --fonte-titulo: "Bodoni Moda", Georgia, serif;
  --fonte-texto: "Jost", system-ui, sans-serif;

  --raio: 4px;
  --gutter: clamp(16px, 4vw, 56px);
  --largura: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
/* Tema claro (marcas de luz, saúde, casamento etc.): troque os tokens assim
:root {
  --fundo: #f4efe7; --fundo-2: #ebe4d8; --texto: #1d1a16; --texto-suave: #5d564c;
  --linha: rgb(29 26 22 / .12); --painel: rgb(244 239 231 / .7); --mistura: multiply;
}
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 var(--fonte-texto);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Grão de filme: tira o aspecto "liso de IA" */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao 1s steps(4) infinite;
}
@keyframes grao { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.2vw, 96px); }
h2 { font-size: clamp(32px, 4.2vw, 64px); }
h3 { font-size: clamp(21px, 1.8vw, 27px); font-weight: 500; }
/* Algarismos alinhados: fontes serifadas como Cormorant usam números "antigos" (10 vira IO) */
h1, h2, h3, .destaque, .rotulo, .passos li::before { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
p { margin: 0 0 1em; color: var(--texto-suave); text-wrap: pretty; }

/* ── Topo ──────────────────────────────────────────────────────────────── */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s;
}
.topo.rolou { background: color-mix(in srgb, var(--fundo) 60%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.marca { text-decoration: none; display: flex; align-items: center; }
.marca-logo { height: 34px; width: auto; }
.marca-texto { font-family: var(--fonte-titulo); font-size: 22px; letter-spacing: .02em; }
.menu { display: flex; gap: 28px; align-items: center; font-size: 14px; letter-spacing: .04em; }
.menu a { text-decoration: none; opacity: .8; transition: opacity .3s; }
.menu a:hover { opacity: 1; }
.menu-cta { border: 1px solid var(--linha); padding: 9px 16px; border-radius: 999px; opacity: 1 !important; }
@media (max-width: 760px) { .menu a:not(.menu-cta) { display: none; } }

/* ── Abertura cinematográfica ──────────────────────────────────────────── */
.cine { position: relative; height: var(--altura, 400vh); }
.cine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-vinheta {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgb(0 0 0 / .45) 100%),
    linear-gradient(to bottom, transparent 70%, var(--fundo) 100%);
}
.momento {
  position: absolute; inset: auto var(--gutter) 12vh; max-width: 640px;
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.momento.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.momento--direita { left: auto; right: var(--gutter); }
.momento--centro { left: 50%; right: auto; transform: translate(-50%, 24px); text-align: center; width: min(640px, calc(100% - 2 * var(--gutter))); }
.momento--centro.ativo { transform: translate(-50%, 0); }
.titulo-abertura { margin-bottom: .3em; }
.so-reduzido { display: none; }
.apoio { font-size: clamp(16px, 1.3vw, 20px); margin: 0; }
.destaque { font-family: var(--fonte-titulo); font-size: clamp(24px, 2.8vw, 42px); line-height: 1.2; color: var(--texto); margin: 0 0 .6em; }
.destaque:last-child { margin: 0; }
.cine-dica {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .6;
  transition: opacity .5s;
}
.cine-dica span { width: 1px; height: 38px; background: linear-gradient(var(--texto), transparent); animation: dica 2s var(--ease) infinite; }
@keyframes dica { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.cine.andou .cine-dica { opacity: 0; }

/* ── Painéis (todo texto mora num painel) ──────────────────────────────── */
.painel {
  position: relative;
  background: var(--painel);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: clamp(24px, 3.2vw, 48px);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.painel--vidro { background: color-mix(in srgb, var(--fundo) 42%, transparent); }
.painel > :last-child { margin-bottom: 0; }
.rotulo { display: block; font-size: 12px; letter-spacing: .3em; color: var(--acento); margin-bottom: 18px; }

/* ── Seções ────────────────────────────────────────────────────────────── */
.secao {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; padding: 18vh var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
}
.secao-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 560px) 1fr; }
.secao-grade--direita { grid-template-columns: 1fr minmax(0, 560px); }
.secao-grade--direita > .painel { grid-column: 2; }
.secao--larga { gap: 28px; justify-items: center; }
.painel--cabecalho { width: 100%; max-width: var(--largura); }
.cartoes { width: 100%; max-width: var(--largura); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cartao h3 { margin-bottom: .4em; }
.cartao { transition: transform .5s var(--ease), border-color .5s; }
.cartao:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acento) 50%, transparent); }
.passos { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: p; display: grid; gap: 22px; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; }
.passos li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; font-family: var(--fonte-titulo); color: var(--acento); font-size: 22px; }
.passos strong { font-weight: 600; }
.passos span { color: var(--texto-suave); }

/* ── Arte: imagens fundidas ao fundo (nunca retângulo com borda) ───────── */
.arte {
  position: absolute; z-index: -1; pointer-events: none;
  object-fit: cover; mix-blend-mode: var(--mistura);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.arte--direita, .arte--esquerda { top: 0; bottom: 0; width: 64vw; height: 100%; }
.arte--direita {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--esquerda {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to right, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--fundo {
  inset: 0; width: 100%; height: 100%; opacity: .5;
  /* closest-side: a elipse zera exatamente na borda, então nunca sobra linha reta */
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
          mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.arte--suave { opacity: .32; }
/* Parallax leve aplicado pelo app.js */
.arte[data-parallax] { will-change: transform; }

/* ── Retrato real (foto do cliente): sem blend, bordas dissolvidas ─────── */
.arte--retrato {
  right: max(0px, calc((100vw - var(--largura)) / 2 - 40px)); top: 50%; height: min(92vh, 860px); width: auto; max-width: 52vw;
  translate: 0 -50%; object-fit: contain; mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%), linear-gradient(to bottom, #000 70%, transparent);
          mask-image: radial-gradient(closest-side, #000 62%, transparent 100%), linear-gradient(to bottom, #000 70%, transparent);
}
/* Registro profissional (CRM, OAB, CREA…), listas e cartões de endereço */
.registro { font-size: 13px; letter-spacing: .14em; color: var(--acento); margin-top: 1.4em; }
.lista { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 14px; }
.lista li { padding-left: 22px; position: relative; color: var(--texto-suave); }
.lista li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--acento); }
.lista strong { color: var(--texto); font-weight: 600; }
.cartoes--locais { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.local { display: flex; flex-direction: column; }
.local-cidade { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--acento); margin-bottom: 12px; }
.local p { margin-bottom: .5em; font-size: 15px; }
.local-tel a { text-decoration: none; color: var(--texto); white-space: nowrap; }
.local-mapa { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--acento); text-underline-offset: 4px; }

/* ── Contato ───────────────────────────────────────────────────────────── */
.secao--contato { justify-items: center; }
.painel--form { width: 100%; max-width: 760px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.campo { display: grid; gap: 6px; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label { font-size: 13px; letter-spacing: .04em; color: var(--texto-suave); }
.campo input, .campo textarea, .campo select {
  width: 100%; font: inherit; color: var(--texto);
  background: rgb(255 255 255 / .04); border: 1px solid var(--linha); border-radius: 12px;
  padding: 14px 16px; transition: border-color .3s, background .3s; resize: vertical;
}
.campo select option { background: var(--fundo); }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--acento); background: rgb(255 255 255 / .07); }
.campo.erro input { border-color: #d9776b; }
.pote { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; margin: 0; font-size: 14px; }
.form-status.ok { color: var(--acento); }
.form-status.falha { color: #e39a90; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ── Botões ────────────────────────────────────────────────────────────── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--fonte-texto); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  color: var(--acento-texto); background: var(--acento); border: 0; border-radius: 999px;
  padding: 17px 30px; transition: transform .4s var(--ease), filter .3s;
}
.botao:hover { transform: translateY(-2px); filter: brightness(1.08); }
.botao[disabled] { opacity: .6; cursor: progress; }

/* ── WhatsApp flutuante ────────────────────────────────────────────────── */
.whats {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .35);
  transform: scale(0); transition: transform .5s var(--ease);
}
.whats.visivel { transform: scale(1); }
.whats:hover { transform: scale(1.07); }
.whats svg { width: 30px; height: 30px; }
.whats::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ── Rodapé ────────────────────────────────────────────────────────────── */
.rodape { padding: 0 var(--gutter) 40px; }
.rodape-painel { max-width: var(--largura); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--texto-suave); padding: 24px 32px; }

/* ── Revelar ao rolar ──────────────────────────────────────────────────── */
.revelar { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.revelar.visto { opacity: 1; transform: none; }

/* ── Celular ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .secao { padding: 14vh var(--gutter); min-height: auto; }
  .secao-grade, .secao-grade--direita { grid-template-columns: 1fr; }
  .secao-grade--direita > .painel { grid-column: 1; }
  .arte--direita, .arte--esquerda { left: 0; right: 0; width: 100%; height: 70%; opacity: .55;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent); }
  .momento, .momento--direita { left: var(--gutter); right: var(--gutter); bottom: 10vh; }
  .momento--centro { width: auto; transform: translateY(24px); }
  .momento--centro.ativo { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar, .momento--primeiro { opacity: 1; transform: none; filter: none; pointer-events: auto; }
  .cine { height: 100svh; }
  .momento:not(.momento--primeiro), .cine-dica { display: none; }
  .so-reduzido { display: inline-flex; margin-top: 1.2em; }
}

/* ══ Falchetti: ajustes do projeto ══════════════════════════════════════ */
h1 { font-size: clamp(36px, 5.4vw, 84px); }
h3 { font-weight: 500; }
.rotulo { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; border-radius: 2px; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--acento); color: var(--acento-texto); padding: 12px 18px; text-decoration: none; font-weight: 600; }
.pular:focus { top: 12px; }

/* Topo: símbolo vetorial + nome no estilo do logo */
.marca { gap: 12px; min-height: 44px; }
.marca-simbolo { width: 22px; height: 36px; flex: none; }
.marca-nome { font-family: var(--fonte-texto); font-weight: 300; font-size: 18px; letter-spacing: .38em; text-transform: uppercase; color: var(--acento); }
.menu a { min-height: 44px; display: inline-flex; align-items: center; }
.menu-cta { border-color: color-mix(in srgb, var(--acento) 55%, transparent); border-radius: var(--raio); padding: 0 18px; }
@media (max-width: 760px) { .marca-nome { font-size: 15px; letter-spacing: .3em; } .menu-cta { font-size: 13px; padding: 0 14px; } }

.botao { border-radius: var(--raio); min-height: 48px; letter-spacing: .04em; }
.botao--largo { margin: 6px 0 4px; }
.painel--vidro { background: color-mix(in srgb, var(--fundo) 58%, transparent); }
.lead { font-family: var(--fonte-titulo); font-size: clamp(20px, 1.8vw, 26px); color: var(--texto); line-height: 1.3; }
.registro { letter-spacing: .1em; }

/* Abertura: o vídeo é claro no centro; reforça as bordas e o rodapé */
.cine-vinheta { background:
  radial-gradient(120% 90% at 50% 42%, transparent 60%, rgb(18 17 16 / .45) 100%),
  linear-gradient(to bottom, rgb(18 17 16 / .3), transparent 18%, transparent 72%, var(--fundo) 100%); }
.momento .rotulo { margin-bottom: 14px; }
.momento--primeiro { max-width: 700px; }

/* Fotos reais em seção: sem blend, escurecidas para o texto respirar */
.arte--real { mix-blend-mode: normal; filter: brightness(.62) saturate(.85); }
.arte--predio { object-position: center 30%; filter: brightness(.8) saturate(.9); }

/* Atuação: lista editorial numerada */
#atuacao { padding-top: 14vh; }
.monograma-fundo { position: absolute; z-index: -1; right: -6vw; top: 8%; width: 46vw; max-width: 620px; height: 84%; opacity: .07; pointer-events: none; }
.areas { list-style: none; margin: 0; padding: 0 clamp(0px, 3.2vw, 48px); width: 100%; max-width: var(--largura); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.area { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; align-content: start; padding: 30px 0 34px; border-top: 1px solid var(--linha); transition: border-color .5s var(--ease); }
.area:hover { border-top-color: var(--acento); }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; padding: 0; } .area { padding: 24px 0 26px; } }
.area-num { grid-row: span 2; font-family: var(--fonte-titulo); color: var(--acento); font-size: 20px; line-height: 1.3; font-variant-numeric: lining-nums; }
.area h3 { font-size: clamp(20px, 1.6vw, 24px); margin-bottom: .35em; }
.area p { margin: 0; font-size: 16px; }

/* Como trabalhamos: o monograma se monta a cada passo */
.monograma-montagem { position: absolute; z-index: -1; left: 0; top: 50%; height: min(44vh, 380px); width: auto; translate: 0 -50%; opacity: .9; overflow: visible; }
.peca { opacity: 0; transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.peca-1 { transform: translate(60px, -60px); }
.peca-2 { transform: translate(-60px, -40px); }
.peca-3 { transform: translate(-60px, 60px); }
.peca-4 { transform: translate(60px, 40px); }
.secao--historia:has(.historia-passo:nth-child(n+1).ativo) .peca-1,
.secao--historia:has(.historia-passo:nth-child(n+2).ativo) .peca-2,
.secao--historia:has(.historia-passo:nth-child(n+3).ativo) .peca-3,
.secao--historia:has(.historia-passo:nth-child(n+4).ativo) .peca-4 { opacity: 1; transform: none; }
@media (min-width: 861px) { .historia-palco .historia-indice { position: relative; max-width: 380px; margin-right: 0; } }
@media (max-width: 860px) { .monograma-montagem { display: none; } }

/* Equipe: sócios maiores, demais em grade; fotos dissolvem no fundo */
.equipe { list-style: none; margin: 0; padding: 0; width: 100%; max-width: var(--largura); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.membro { position: relative; display: flex; flex-direction: column; }
.membro--socio { grid-column: span 2; }
.arte-membro, .membro-sem-foto { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 62%, transparent 100%), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 62%, transparent 100%), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.membro--socio .arte-membro { aspect-ratio: 4 / 4.2; }
.membro-sem-foto { display: grid; place-items: center; background: radial-gradient(closest-side, var(--fundo-2), transparent); }
.membro-sem-foto svg { width: 28%; height: 44%; opacity: .5; }
.membro-info { margin-top: -56px; position: relative; padding: 0 8px; }
.membro-info h3 { margin-bottom: .2em; }
.membro--socio .membro-info h3 { font-size: clamp(24px, 2.2vw, 32px); }
.membro-info p { margin: 0; font-size: 15px; letter-spacing: .03em; }
.membro-oab { color: var(--acento) !important; letter-spacing: .1em !important; font-size: 13px !important; margin-top: 4px !important; }
@media (max-width: 860px) {
  .equipe { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .membro-info { margin-top: -40px; padding: 0 4px; }
  .membro-info h3 { font-size: 19px; }
  .membro-info p { font-size: 14px; }
}

/* Contato */
.secao--contato { justify-items: stretch; }
.contato-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.contato-info .botao { width: 100%; }
.dados { margin: 28px 0 0; display: grid; gap: 18px; }
.dados div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--linha); padding-top: 14px; }
.dados dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); padding-top: 3px; }
.dados dd { margin: 0; color: var(--texto); }
.dados a { text-underline-offset: 4px; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; margin: -12px 0; }
.painel--form h3 { margin-bottom: 0; }
.campo input, .campo textarea { font-size: 16px; border-radius: var(--raio); }
.campo-erro { display: none; font-size: 14px; color: #e39a90; }
.campo.erro .campo-erro { display: block; }
.form .botao { width: 100%; }
@media (max-width: 860px) { .contato-grade { grid-template-columns: 1fr; } }

/* Rodapé */
.rodape-painel { align-items: flex-start; }
.rodape-marca { display: flex; gap: 14px; align-items: center; }
.rodape-marca div, .rodape-dados { display: grid; gap: 4px; }
.rodape-marca strong { color: var(--texto); font-weight: 500; }
.rodape-dados { text-align: right; }
@media (max-width: 760px) { .rodape-dados { text-align: left; } }

@media (prefers-reduced-motion: reduce) { .peca { opacity: 1; transform: none; } }
.nowrap { white-space: nowrap; }
@media (min-width: 861px) { .historia-palco .historia-indice h2 { font-size: clamp(32px, 3.2vw, 46px); } }

/* Abertura compacta: painéis embaixo, sobre as pernas, nunca sobre os rostos */
.momento { bottom: 7vh; }
.momento--primeiro { max-width: 540px; }
.momento .painel { padding: clamp(22px, 2.4vw, 36px); }
.cine .titulo-abertura { font-size: clamp(34px, 3.5vw, 58px); }
.cine .apoio { font-size: 17px; margin-top: .2em; }
.momento .botao { margin-top: 1.1em; }
.momento .destaque { font-size: clamp(22px, 2.1vw, 34px); }
.momento--centro { width: min(560px, calc(100% - 2 * var(--gutter))); }
@media (min-width: 861px) {
  .cine-canvas { top: 64px; height: calc(100% - 64px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%); mask-image: linear-gradient(to bottom, transparent, #000 12%); }
}

/* Equipe: Henrique, Bruna e Lorran em destaque (3 na 1ª linha), demais menores e centrados */
@media (min-width: 861px) {
  .equipe { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 24px; }
  .membro--socio { grid-column: span 4; }
  .membro:not(.membro--socio) { grid-column: span 3; }
  .membro:not(.membro--socio):nth-child(4) { grid-column: 4 / span 3; }
  .membro:not(.membro--socio):nth-child(5) { grid-column: 7 / span 3; }
  .membro--socio .arte-membro { aspect-ratio: 4 / 5; }
  .membro--socio .membro-info h3 { font-size: clamp(24px, 2vw, 30px); }
}
@media (max-width: 860px) { .membro:last-child:nth-child(even) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); } }

/* ══ Botões: texto que rola + seta que gira ═════════════════════════════
   Variações: .botao--cheio (fundo claro), .botao--contorno, .botao--destaque (dourado) */
.botao { --curva: cubic-bezier(.2, .7, .2, 1); gap: 14px; padding: 0 9px 0 26px; min-height: 52px; white-space: nowrap; }
.botao-janela { display: block; height: 1.25em; line-height: 1.25em; overflow: hidden; }
.botao-texto { display: block; transition: transform .3s var(--curva); }
.botao:hover .botao-texto, .botao:focus-visible .botao-texto { transform: translateY(-100%); }
.botao-seta { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s var(--curva); }
.botao-seta svg { width: 15px; height: 15px; }
.botao:hover .botao-seta, .botao:focus-visible .botao-seta { transform: rotate(-45deg); }

.botao--destaque { background: var(--acento); color: var(--acento-texto); }
.botao--destaque .botao-seta { background: var(--acento-texto); color: var(--acento); }
.botao--cheio { background: var(--texto); color: var(--fundo); }
.botao--cheio .botao-seta { background: var(--fundo); color: var(--texto); }
.botao--contorno { background: transparent; color: var(--texto); border: 1px solid color-mix(in srgb, var(--acento) 55%, transparent); }
.botao--contorno .botao-seta { background: var(--acento); color: var(--acento-texto); }
.botao--contorno:hover { border-color: var(--acento); filter: none; }

.botao--pequeno { font-size: 14px; min-height: 44px; padding: 0 6px 0 18px; gap: 10px; }
.botao--pequeno .botao-seta { width: 30px; height: 30px; }
.menu .menu-cta { padding: 0 6px 0 18px; border-radius: var(--raio); }
.contato-info .botao, .form .botao { justify-content: space-between; }
.momento .botao { gap: 16px; }

@media (max-width: 760px) {
  .menu .menu-cta { font-size: 13px; padding: 0 5px 0 14px; gap: 8px; }
  .menu .menu-cta .botao-seta { width: 28px; height: 28px; }
  .botao { font-size: 14px; padding: 0 8px 0 18px; gap: 10px; }
}
@media (max-width: 420px) { .botao-extra { display: none; } }
@media (max-width: 360px) { .botao-extra-curta { display: none; } }

/* ══ Logo: reflexo de luz sutil a cada 7 s (símbolo, depois o nome) ═══════ */
.marca-icone { position: relative; display: inline-flex; }
.marca-icone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("assets/logo-simbolo.svg") center / contain no-repeat; mask: url("assets/logo-simbolo.svg") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 42%, rgb(255 243 210 / .9) 50%, transparent 58%) 100% 0 / 300% 100% no-repeat;
  animation: logo-brilho 7s cubic-bezier(.4, 0, .2, 1) infinite;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .marca-nome {
    background: linear-gradient(105deg, var(--acento) 44%, #f3e3b8 50%, var(--acento) 56%) 100% 0 / 300% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: logo-brilho 7s cubic-bezier(.4, 0, .2, 1) .25s infinite;
  }
}
@keyframes logo-brilho { 0% { background-position: 100% 0; } 16%, 100% { background-position: 0% 0; } }

/* Nota do Google (dado conferido; sem depoimentos, conforme OAB) */
.nota-google { display: inline-flex; align-items: center; gap: 14px; margin: .6em 0 .2em; padding: 12px 18px 12px 14px; min-height: 44px;
  border: 1px solid var(--linha); border-radius: var(--raio); text-decoration: none; transition: border-color .4s var(--ease); }
.nota-google:hover { border-color: color-mix(in srgb, var(--acento) 60%, transparent); }
.nota-valor { font-family: var(--fonte-titulo); font-size: 34px; line-height: 1; color: var(--texto); font-variant-numeric: lining-nums; }
.nota-texto { display: grid; gap: 2px; font-size: 14px; color: var(--texto-suave); }
.nota-estrelas { color: var(--acento); letter-spacing: .12em; font-size: 14px; }

/* ══ Números: 4 colunas (2 no celular), Bodoni Moda itálica, unidade em dourado ══ */
.contagem-faixa { padding: 10vh var(--gutter); }
.contagem-grade { list-style: none; margin: 0 auto; padding: 0; max-width: var(--largura); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.contagem-item { display: grid; align-content: start; gap: 10px; padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); }
.contagem-item + .contagem-item { border-left: 1px solid var(--linha); }
.contagem-valor { display: flex; align-items: baseline; gap: .12em; font-family: var(--fonte-titulo); font-style: italic; font-weight: 400; font-size: clamp(52px, 6vw, 92px); line-height: 1; color: var(--texto);
  font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
.contagem-valor small { font-size: .32em; font-style: normal; font-family: var(--fonte-texto); font-weight: 500; letter-spacing: .04em; color: var(--acento); }
.contagem-legenda { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); }
@media (max-width: 760px) {
  .contagem-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contagem-item:nth-child(3) { border-left: 0; }
  .contagem-item:nth-child(n+3) { border-top: 1px solid var(--linha); }
  .contagem-legenda { font-size: 12px; letter-spacing: .08em; }
}
