
/* ── Tokens: ajuste pela identidade visual do cliente ───────────────────── */
:root {
  --fundo: #0e1614;          /* MESMA cor usada nos prompts das imagens */
  --fundo-2: #152520;
  --texto: #f2ede4;
  --texto-suave: #b9b1a3;
  --acento: #c8a85b;         /* cor principal da marca */
  --acento-texto: #0e1614;   /* texto sobre o acento */
  --linha: rgb(242 237 228 / 0.12);
  --painel: rgb(14 22 20 / 0.66);
  --mistura: lighten;        /* tema escuro: lighten | tema claro: multiply */

  --fonte-titulo: "IBM Plex Sans Thai", system-ui, sans-serif;
  --fonte-texto: "IBM Plex Sans Thai", system-ui, sans-serif;

  --raio: 18px;
  --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: 300; 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; }
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: rgb(14 22 20 / .7); 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; }
.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: rgb(14 22 20 / .5); }
.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; 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; }

/* ── 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 {
  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 input:focus, .campo textarea: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; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar, .momento:first-of-type { opacity: 1; transform: none; filter: none; }
  .cine { height: 100svh; }
  .momento:not(:first-of-type), .cine-dica { display: none; }
}

/* ── Ajustes Araújo & Zan ─────────────────────────────────────────────── */
h1, h2 { font-weight: 300; letter-spacing: -.02em; }
.marca { gap: 12px; }
.marca-logo { height: 40px; }
.marca-nome { display: grid; line-height: 1.1; font-size: 17px; font-weight: 500; }
.marca-nome small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); font-weight: 400; }
.lista { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 14px; }
.lista li { padding-left: 22px; position: relative; }
.lista li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); }
.lista b { display: block; color: var(--texto); font-weight: 500; }
.lista span { color: var(--texto-suave); font-size: .95em; }
.cartao--destaque { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--acento) 45%, transparent); }
.cartao .mini { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 6px; font-size: .94em; color: var(--texto-suave); }
.cartao .mini li::before { content: "— "; color: var(--acento); }
.link-wa { color: var(--acento); font-weight: 500; text-decoration: none; font-size: 15px; }
.link-wa::after { content: " →"; }
.faq details { border-top: 1px solid var(--linha); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--linha); }
.faq summary { cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05em; display: flex; justify-content: space-between; gap: 16px; color: var(--texto); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--acento); font-size: 1.4em; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }
.arte--foto { mix-blend-mode: normal; opacity: .9; }
.bio + .bio { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--linha); }
.bio h3 { margin: 0; }
.bio small { display: block; color: var(--acento); letter-spacing: .08em; margin: 4px 0 10px; }
.contatos { display: grid; gap: 6px; margin: 0 0 8px; font-size: 15px; }
.contatos a { color: var(--texto); text-decoration: none; }
.rodape-painel small { color: var(--texto-suave); }
.secao-grade--direita.larga, .secao-grade.larga { grid-template-columns: minmax(0, 640px) 1fr; }
.secao-grade--direita.larga { grid-template-columns: 1fr minmax(0, 640px); }
@media (max-width: 860px) { .secao-grade--direita.larga, .secao-grade.larga { grid-template-columns: 1fr; } .marca-nome small { display: none; } }
#equipe .arte--foto { top: 50%; bottom: auto; height: auto; aspect-ratio: 3/2; width: 58vw; translate: 0 -50%; object-position: center; }
.cartoes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cartoes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cartoes { grid-template-columns: 1fr; } }
@media (max-width: 860px) { #equipe .arte--foto { top: 0; translate: none; width: 100%; height: auto; } #equipe { padding-top: 62vw; } }
@media (max-width: 860px) { #equipe .arte--foto { top: 70px; opacity: 1; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); } #equipe { padding-top: calc(62vw + 70px); } }

/* ── Celular: imagem acima do texto, painel mais firme ─────────────────── */
@media (max-width: 860px) {
  .painel { background: rgb(14 22 20 / .9); }
  .painel--vidro { background: rgb(14 22 20 / .72); }
  .secao { padding-top: 0; }
  .arte--direita, .arte--esquerda, #equipe .arte--foto {
    position: relative; inset: auto; top: auto; translate: none; z-index: 0;
    width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)) -18vw;
    height: 92vw; aspect-ratio: auto; opacity: 1; mix-blend-mode: normal;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 62%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 62%, transparent);
  }
  #equipe { padding-top: 70px; }
  #equipe .arte--foto { height: 68vw; margin-bottom: -6vw; }
  .secao-grade, .secao-grade--direita { position: relative; z-index: 1; }
  .arte--fundo { opacity: .22; }
  .secao--larga .painel--cabecalho { margin-top: 12vh; }
  .secao--contato { padding-top: 12vh; }
  h2 { font-size: clamp(30px, 8.4vw, 40px); }
}
@media (max-width: 860px) {
  .momento--centro { left: var(--gutter); right: var(--gutter); width: auto; transform: translateY(24px); }
  .momento--centro.ativo { transform: none; }
  .momento { bottom: 7vh; }
  .cine-vinheta { background: linear-gradient(to bottom, transparent 55%, var(--fundo) 72%); }
}
/* Quem somos: os dois sócios por inteiro, sem o Zan sumir no degradê */
@media (min-width: 861px) {
  #equipe .arte--foto { width: 50vw; left: 2vw; opacity: 1;
    -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%);
            mask-image: radial-gradient(closest-side, #000 82%, transparent 100%);
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
  #equipe .secao-grade--direita { grid-template-columns: 1fr minmax(0, 500px); }
}
@media (min-width: 861px) {
  #equipe .arte--foto { -webkit-mask-image: none; mask-image: none; border-radius: 14px; width: 48vw; left: max(var(--gutter), calc((100vw - var(--largura)) / 2)); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
}
@media (min-width: 861px) {
  #equipe .arte--foto { width: calc(min(100vw - 2 * var(--gutter), var(--largura)) - 500px - 56px); object-position: center; }
}

/* ── Ajustes pedidos pelo escritório (03/12) ─────────────────────────── */
.painel p, .lista span, .cartao p, .passos span, .faq details p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.cine .painel p, .cine .destaque { text-align: center; }
.momento:not(.momento--centro) .painel p, .momento:not(.momento--centro) .titulo-abertura { text-align: left; }
.whats { width: 72px; height: 72px; }
.whats svg { width: 38px; height: 38px; }
.link-wa { display: inline-flex; align-items: center; justify-content: center; background: var(--acento); color: var(--acento-texto); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: filter .3s, transform .3s; }
.link-wa:hover { filter: brightness(1.08); transform: translateY(-2px); }
@media (max-width: 860px) { .whats { width: 64px; height: 64px; } .whats svg { width: 34px; height: 34px; } }
.cartao p { text-align: left; } @media (max-width: 860px) { .painel p, .lista span, .passos span, .faq details p { text-align: left; } }
