/* ============================================================
   Marcelo Jacomossi — Advocacia Criminal
   Design system: warm-black + gold heraldry, editorial serif
   ============================================================ */

/* ---------- Self-hosted fonts (latin subset, variable axes preserved) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/fraunces-italic-300-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-normal-300-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/geist-normal-300-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/geist-mono-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/geist-mono-normal-500.woff2') format('woff2');
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100%; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 3px; }

/* ---------- Tokens ---------- */
:root {
  --ink:        #0b0a08;
  --ink-800:    #100e0a;
  --ink-700:    #16130d;
  --ink-600:    #1e1a12;
  --ink-card:   #14110b;
  --line:       rgba(214, 173, 96, .14);
  --line-soft:  rgba(214, 173, 96, .08);

  --parchment:  #efe8db;
  --parch-ink:  #1a1610;

  --gold-1:     #f9ecc4;
  --gold-2:     #e7c674;
  --gold-3:     #c8962f;
  --gold-4:     #9c6f1e;
  --gold-grad:  linear-gradient(135deg, #fbeec6 0%, #e7c674 42%, #c8962f 74%, #9c6f1e 100%);

  --cream:      #f0ebe0;
  --text:       #d8d0c1;
  --muted:      #a19885;
  --muted-2:    #776f60;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -30px rgba(0,0,0,.7);
  --shadow-gold: 0 20px 50px -24px rgba(200, 150, 47, .35);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle vignette + warm top light */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 60% at 78% -10%, rgba(200,150,47,.10), transparent 55%),
    radial-gradient(100% 50% at 10% 0%, rgba(200,150,47,.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* film grain */
.grain {
  position: fixed; inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex; align-items: center; gap: .7em;
  margin-bottom: 1.1rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow__mark { width: 26px; height: 1px; background: var(--gold-grad); display: inline-block; }

.s-head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.s-head--center { margin-inline: auto; text-align: center; }
.s-title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--cream);
  font-optical-sizing: auto;
}
.s-lead { margin-top: 1.1rem; color: var(--muted); font-size: 1.06rem; max-width: 60ch; }
.s-lead--center { margin-inline: auto; }

.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: -.01em;
  line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .3s;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--ease); }
.btn--sm { padding: .72em 1.15em; font-size: .875rem; }
.btn--lg { padding: 1.15em 2.1em; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(135deg, #f4d489 0%, #e0b350 48%, #cc9a34 100%);
  color: #17100a;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 26px 55px -22px rgba(200,150,47,.55); }
.btn--gold:active { transform: translateY(0) scale(.985); }

.btn--ghost {
  color: var(--cream);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.btn--ghost:hover { border-color: rgba(214,173,96,.4); background: rgba(214,173,96,.06); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0) scale(.985); }

.link-gold {
  display: inline-flex; align-items: center; gap: .45em;
  color: var(--gold-2); font-weight: 500; font-size: .92rem;
  transition: gap .3s var(--ease);
}
.link-gold:hover { gap: .8em; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(231,198,116,.5); }
  70% { box-shadow: 0 0 0 8px rgba(231,198,116,0); }
  100% { box-shadow: 0 0 0 0 rgba(231,198,116,0); }
}

/* ============================================================
   MASTHEAD (somente a logo)
   ============================================================ */
.masthead { padding-block: clamp(1.2rem, 2.6vw, 1.8rem); position: relative; z-index: 20; }
.masthead__in { display: flex; align-items: center; }

.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand__mark { width: 46px; height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.55)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--cream); letter-spacing: -.01em; }
.brand__sub { font-family: var(--mono); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-3); margin-top: 3px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(.5rem, 1.6vw, 1.25rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }

/* Primeira dobra: masthead + hero + barra de números caibam em 100vh (desktop) */
@media (min-width: 1025px) {
  .fold { min-height: 100dvh; display: flex; flex-direction: column; }
  .fold .hero { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
  .fold .hero__frame { max-height: 56vh; }
}
.hero__glow {
  position: absolute; top: -10%; right: -5%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(200,150,47,.16), transparent 62%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 8vw, 9rem);
  align-items: center;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--cream);
  font-optical-sizing: auto;
  margin-bottom: 1.6rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 380;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 46ch; margin-bottom: 2rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* hero media */
.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--ink-700);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(.92) contrast(1.05) brightness(.94); transform: scale(1.02); animation: kenburns 20s var(--ease) infinite alternate; }
.hero__fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,10,8,.35) 78%, rgba(11,10,8,.92) 100%), linear-gradient(100deg, rgba(11,10,8,.5), transparent 40%); }
@keyframes kenburns { to { transform: scale(1.1); } }

.hero__badge {
  position: absolute; left: 20px; bottom: 20px;
  display: flex; flex-direction: column;
  padding: .7rem 1.1rem; border-radius: var(--r-md);
  background: rgba(16,14,10,.66); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.hero__badge-k { font-family: var(--mono); font-size: .58rem; letter-spacing: .22em; color: var(--gold-3); text-transform: uppercase; }
.hero__badge-v { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); letter-spacing: .04em; }
.hero__logo { display: none; }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding-block: clamp(1.8rem, 3.4vw, 2.6rem); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.stat { display: flex; flex-direction: column; gap: .4rem; padding-left: 1.3rem; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-weight: 340; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; color: var(--cream); letter-spacing: -.02em; }
.stat__num--word { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num--phrase { font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.08; }
.stat__label { font-size: .8rem; color: var(--muted); line-height: 1.4; }

/* ============================================================
   ÁREAS (grade editorial 2 colunas — sem caixas, fios finos)
   ============================================================ */
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.aitem { padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: background .35s var(--ease); }
.aitem:nth-child(odd) { border-right: 1px solid var(--line); padding-right: clamp(1.5rem, 3vw, 2.6rem); }
.aitem:nth-child(even) { padding-left: clamp(1.5rem, 3vw, 2.6rem); }
.aitem:hover { background: rgba(214,173,96,.035); }
.aitem__head { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.aitem__num { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--gold-3); }
.aitem__name { font-family: var(--serif); font-weight: 420; font-size: 1.24rem; color: var(--cream); line-height: 1.2; letter-spacing: -.01em; }
.aitem__badge { font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: #17100a; background: var(--gold-grad); padding: .3em .7em; border-radius: 999px; font-weight: 600; }
.aitem__desc { color: var(--muted); font-size: .92rem; margin-top: .4rem; padding-left: 1.75rem; max-width: 46ch; }
.areas__cta { display: flex; justify-content: center; margin-top: clamp(2.4rem, 4.5vw, 3.5rem); }

/* ============================================================
   SOBRE
   ============================================================ */
.sobre__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.sobre__media { position: relative; }
.sobre__photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 3/4; }
.sobre__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(.9) contrast(1.04) brightness(.9); }
.sobre__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11,10,8,.4) 55%, rgba(11,10,8,.82) 78%, rgba(9,8,6,.97) 100%); pointer-events: none; }
.sobre__quote {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  font-family: var(--serif); font-style: italic; font-weight: 340;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.4; color: var(--cream);
  text-shadow: 0 1px 18px rgba(0,0,0,.75);
}
.sobre__quote::before { content: ""; display: block; width: 32px; height: 1px; background: var(--gold-grad); margin-bottom: .85rem; }

.sobre__role { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-top: .5rem; margin-bottom: 1.3rem; }
.sobre__text { color: var(--muted); margin-bottom: 1.1rem; max-width: 54ch; }
.sobre__text strong { color: var(--cream); font-weight: 500; }
.sobre__note { margin: 1.8rem 0 2.6rem; padding-left: 1rem; border-left: 1px solid var(--line); font-size: .78rem; line-height: 1.6; color: var(--muted-2); max-width: 58ch; }
.sobre__note strong { color: var(--gold-3); font-weight: 500; }
.sobre__creds { margin-block: 1.8rem; border-top: 1px solid var(--line); }
.sobre__creds li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.sobre__creds-k { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.sobre__creds-v { color: var(--cream); font-size: .92rem; text-align: right; }

/* ============================================================
   MÉTODO
   ============================================================ */
.metodo { background: linear-gradient(180deg, var(--ink), var(--ink-800) 50%, var(--ink)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-card); }
.step { padding: clamp(1.6rem, 3vw, 2.4rem); border-right: 1px solid var(--line); position: relative; transition: background .4s var(--ease); }
.step:last-child { border-right: none; }
.step:hover { background: rgba(214,173,96,.04); }
.step__n { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; display: block; margin-bottom: 1.3rem; }
.step__t { font-family: var(--serif); font-weight: 420; font-size: 1.18rem; color: var(--cream); margin-bottom: .55rem; letter-spacing: -.01em; }
.step__d { color: var(--muted); font-size: .9rem; }

/* ============================================================
   IMPRENSA
   ============================================================ */
.imprensa__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.imprensa__list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.imprensa__list li { display: flex; gap: .9rem; align-items: flex-start; color: var(--text); font-size: .98rem; }
.imprensa__mk { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: .55rem; background: var(--gold-grad); box-shadow: 0 0 0 4px rgba(200,150,47,.1); }
.imprensa__cta { margin-top: clamp(1.8rem, 3vw, 2.4rem); }

.imprensa__media { margin: 0; }
.imprensa__screen {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16/10; background: var(--ink-700);
}
.imprensa__screen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.03); }
.imprensa__live { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; color: #fff; background: rgba(180,30,30,.85); padding: .35em .7em; border-radius: 6px; backdrop-filter: blur(4px); }
.imprensa__live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.imprensa__media figcaption { margin-top: 1rem; font-size: .84rem; color: var(--muted); font-style: italic; }

/* ============================================================
   ESCRITÓRIO
   ============================================================ */
/* Galeria simétrica */
.escritorio__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.esc-fig { margin: 0; }
.esc-fig img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); filter: saturate(.92) contrast(1.03) brightness(.95); transition: transform .8s var(--ease); }
.esc-fig:hover img { transform: scale(1.02); }
.esc-cap { margin-top: .9rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .6em; }
.esc-cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-grad); flex: none; }

/* Faixa de informações */
.escritorio__info { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.esc-info-item { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.esc-info-item:not(:last-child) { border-right: 1px solid var(--line); padding-right: clamp(1.2rem, 2.5vw, 2rem); }
.esc-info-item:nth-child(2), .esc-info-item:nth-child(3) { padding-left: clamp(1.2rem, 2.5vw, 2rem); }
.esc-info-k { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); margin-bottom: .6rem; }
.esc-info-v { color: var(--cream); font-size: .95rem; line-height: 1.5; }

/* CTA */
.escritorio__cta { display: flex; justify-content: center; margin-top: clamp(2.4rem, 4.5vw, 3.5rem); }

/* ============================================================
   DEFESA (vídeo — fachada na mão)
   ============================================================ */
.defesa__video { max-width: 920px; margin-inline: auto; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.defesa__cta { display: flex; justify-content: center; margin-top: clamp(2.4rem, 4.5vw, 3.5rem); }

/* Fachada de vídeo (sem biblioteca) */
.ytfacade { position: relative; display: block; width: 100%; aspect-ratio: 16/9; background: #000; cursor: pointer; overflow: hidden; }
.ytfacade__thumb { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.98) contrast(1.02); transition: transform .8s var(--ease), filter .4s; }
.ytfacade::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,.1), rgba(0,0,0,.5)); transition: opacity .35s; }
.ytfacade:hover .ytfacade__thumb { transform: scale(1.03); filter: saturate(1) contrast(1.03); }
.ytfacade__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 82px; height: 82px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold-grad); color: #17100a;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.ytfacade__play svg { margin-left: 4px; }
.ytfacade:hover .ytfacade__play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 18px 42px -10px rgba(200,150,47,.5); }
.ytfacade__play:active { transform: translate(-50%, -50%) scale(.96); }
/* estado ativado: some a capa/botão, entra o iframe */
.ytfacade.is-on { cursor: default; }
.ytfacade.is-on .ytfacade__thumb,
.ytfacade.is-on .ytfacade__play,
.ytfacade.is-on::before { display: none; }
.ytfacade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__grid .s-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq__grid .btn { margin-top: 1.6rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; align-items: center; gap: 1rem;
  font-family: var(--serif); font-weight: 400; font-size: 1.12rem; color: var(--cream);
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; margin-left: auto; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--gold-2); border-bottom: 1.5px solid var(--gold-2); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item summary:hover { color: var(--gold-1); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 1.4rem; max-width: 62ch; font-size: .96rem; }
.faq__item[open] .faq__a { animation: reveal-a .45s var(--ease); }
@keyframes reveal-a { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   CONTATO
   ============================================================ */
.contato { background: linear-gradient(180deg, var(--ink), var(--ink-800)); border-top: 1px solid var(--line-soft); }
.contato__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.4rem, 5vw, 4.5rem); align-items: start; }

.contato__channels { margin-top: 2rem; display: flex; flex-direction: column; gap: .7rem; }
.contato__channels a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,.012); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.contato__channels a:hover { border-color: rgba(214,173,96,.4); background: rgba(214,173,96,.05); transform: translateX(4px); }
.cc__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-2); background: rgba(214,173,96,.08); border: 1px solid var(--line); flex: none; }
.cc__txt strong { display: block; color: var(--cream); font-size: .95rem; }
.cc__txt small { color: var(--muted); font-size: .82rem; }

.contato__addr { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.contato__addr-k { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); margin-bottom: .5rem; }
.contato__addr-v { color: var(--text); font-size: .95rem; line-height: 1.6; }

/* form */
.contato__formwrap {
  background: var(--ink-card); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
}
.form { display: flex; flex-direction: column; gap: 1.15rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .82rem; color: var(--text); font-weight: 500; letter-spacing: .01em; }
.field input, .field textarea, .select select {
  width: 100%; background: rgba(11,10,8,.5); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: .85rem 1rem; color: var(--cream);
  font-size: .95rem; transition: border-color .3s, background .3s, box-shadow .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .select select:focus {
  outline: none; border-color: rgba(214,173,96,.5); background: rgba(11,10,8,.8);
  box-shadow: 0 0 0 3px rgba(200,150,47,.1);
}
.field textarea { resize: vertical; min-height: 110px; }
.field__hint { font-size: .78rem; color: var(--muted-2); }
.field__err { font-size: .78rem; color: #e0857a; min-height: 0; transition: min-height .2s; }
.field.is-invalid input, .field.is-invalid textarea { border-color: rgba(224,133,122,.6); }
.field.is-invalid .field__err { min-height: 1rem; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.4rem; }
.select svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--gold-2); pointer-events: none; }
.select option { background: var(--ink-700); color: var(--cream); }

.check { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line); margin-top: 1px; position: relative; transition: background .3s, border-color .3s; }
.check input:checked + .check__box { background: var(--gold-grad); border-color: transparent; }
.check input:checked + .check__box::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #221803; border-width: 0 2px 2px 0; transform: rotate(42deg); }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.check__txt { font-size: .82rem; color: var(--muted); line-height: 1.5; }

.btn__spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(34,24,3,.35); border-top-color: #221803; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn__label { opacity: .6; }
.btn.is-loading .btn__spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__ok { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--gold-1); background: rgba(214,173,96,.08); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .85rem 1rem; }
.form__ok a { color: var(--gold-1); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-800); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.footer__logo { width: 62px; height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); margin-bottom: 1.5rem; }
.footer__tag { color: var(--muted); font-size: .95rem; line-height: 1.65; max-width: 36ch; }

.footer__col h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 1.5rem; font-weight: 500; }
.footer__info { display: flex; flex-direction: column; gap: 1.1rem; }
.footer__info li { display: flex; gap: .85rem; align-items: flex-start; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.footer__info li svg { flex: none; margin-top: .12rem; color: var(--gold-3); }
.footer__info li span { display: flex; flex-direction: column; }
.footer__info li span strong { color: var(--cream); font-weight: 500; margin-bottom: .1rem; }
.footer__info a { color: var(--muted); transition: color .3s; }
.footer__info a:hover { color: var(--gold-2); }

.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted-2); }
.footer__base-oab { color: var(--gold-3); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; }
.footer__disclaimer { padding-bottom: 1.8rem; }
.footer__disclaimer p { font-size: .72rem; line-height: 1.5; color: var(--muted-2); max-width: 78ch; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 55; display: inline-flex; align-items: center; gap: .6rem;
  background: linear-gradient(135deg, #1faf54, #128c3e); color: #fff;
  padding: .8rem 1.15rem .8rem .85rem; border-radius: 999px;
  box-shadow: 0 16px 36px -12px rgba(18,140,62,.6);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -12px rgba(18,140,62,.7); }
.wa-float__label { font-size: .85rem; font-weight: 600; letter-spacing: -.01em; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,175,84,.5); animation: pulse 2.6s infinite; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { max-width: 460px; }
  .sobre__grid, .imprensa__grid, .faq__grid, .contato__grid { grid-template-columns: 1fr; }
  /* FAQ: CTA depois das perguntas no mobile */
  .faq__grid .s-head { position: static; display: contents; }
  .faq__intro { order: 1; }
  .faq__list { order: 2; }
  .faq__grid .s-head > .btn { order: 3; justify-self: center; margin-top: 0; padding: 1.15em 2.1em; font-size: 1.06rem; }
  /* Defesa: cabeçalho à esquerda no mobile (centralizado só no desktop) */
  .defesa .s-head--center { text-align: left; margin-inline: 0; }
  .defesa .eyebrow--center { justify-content: flex-start; }
  .defesa .s-lead--center { margin-inline: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
  .footer__brand { grid-column: 1 / -1; }
  /* Sobre e Imprensa: título → imagem → texto → CTA (empilhado) */
  .sobre__copy, .imprensa__copy { display: contents; }
  .sobre__head, .imprensa__head { order: 1; }
  .sobre__media, .imprensa__media { order: 2; }
  .sobre__body, .imprensa__body { order: 3; }
}

/* Mobile: sem header, foto primeiro, logo no canto da foto */
@media (max-width: 768px) {
  .masthead { display: none; }
  .hero { padding-top: clamp(1rem, 4vw, 1.5rem); }
  .hero__grid { gap: 1.8rem; }
  .hero__media { order: -1; max-width: 300px; margin-inline: auto; }
  .hero__frame .hero__logo { display: block; position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: auto; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.6)); }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .imprensa__cta { display: flex; justify-content: center; }
  .sobre__copy .btn { display: flex; width: fit-content; margin-inline: auto; }
}

@media (max-width: 680px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
  .areas__grid { grid-template-columns: 1fr; }
  .aitem:nth-child(odd) { border-right: none; padding-right: 0; }
  .aitem:nth-child(even) { padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .escritorio__gallery { grid-template-columns: 1fr; }
  .escritorio__info { grid-template-columns: 1fr; }
  .esc-info-item { border-right: none !important; padding: 1.3rem 0 !important; }
  .form__row--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float__label { display: none; }
  .wa-float { padding: 1.05rem; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__frame img { animation: none; transform: none; }
}
