/* =========================================================
   Dmi Digital — marketing imobiliário
   Preto quente + laranja incandescente, tipografia expandida.
   ========================================================= */

:root {
  --bg: #0A0705;
  --bg-raise: #120C08;
  --card: rgba(255, 255, 255, .035);
  --card-hi: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .055);

  --txt: #FFFFFF;
  --muted: #A79F98;
  --muted-dim: #6F6862;

  --orange: #FF6B00;
  --orange-hot: #FF9A3C;
  --orange-deep: #C2410C;
  --ember: #7C2D12;

  --grad-ember: radial-gradient(135% 125% at 8% 0%, #FFAE62 0%, #FF8A2B 18%, #FF6B00 38%, #C2410C 66%, #6B2410 100%);
  --glow-orange: radial-gradient(closest-side, rgba(255, 107, 0, .55), rgba(255, 107, 0, .14) 52%, transparent 74%);

  --gut: clamp(18px, 4vw, 56px);
  --shell: 1360px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* nav fixa não deve cobrir o alvo de uma âncora */
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--orange-hot); }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange-hot);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Tipografia ---------- */
.display {
  margin: 0;
  font-weight: 700;
  font-variation-settings: 'wdth' 112;
  letter-spacing: -.032em;
  line-height: .93;
  text-transform: uppercase;
  text-wrap: balance;
}
.display--xl { font-size: clamp(36px, 6.4vw, 92px); }
.display--lg { font-size: clamp(32px, 5.4vw, 76px); }
.display--md { font-size: clamp(26px, 3.6vw, 50px); }

/* O tipo largo e fino das referências */
.airy {
  margin: 0;
  font-weight: 200;
  font-variation-settings: 'wdth' 120;
  letter-spacing: -.012em;
  line-height: .98;
  text-transform: uppercase;
  color: #E8E3DF;
}

.tag {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.5;
}
.tag--mute { color: var(--muted-dim); }

.lede { margin: 0; color: var(--muted); font-size: clamp(15px, 1.05vw, 17px); line-height: 1.7; }
.fine { margin: 0; color: var(--muted-dim); font-size: 13px; line-height: 1.6; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 18px 30px; border-radius: 999px; border: 1px solid transparent;
  min-height: 48px; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, #FF8A2B, #FF6B00 55%, #E04A00);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 0, .22);
}
.btn--primary:hover { color: #fff; box-shadow: 0 16px 44px rgba(255, 107, 0, .38); }
.btn--ghost { border-color: rgba(255, 107, 0, .5); color: var(--orange-hot); background: transparent; }
.btn--ghost:hover { background: rgba(255, 107, 0, .1); color: var(--orange-hot); border-color: var(--orange); }
.btn--sm { padding: 13px 22px; font-size: 11px; min-height: 44px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--txt);
  padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: border-color .3s ease, gap .3s var(--ease);
}
.arrow-link:hover { color: var(--orange-hot); border-color: var(--orange); gap: 16px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px var(--gut);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.nav.is-stuck {
  background: rgba(10, 7, 5, .82);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.brand {
  justify-self: start; display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 0; min-height: 44px;
  font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
}
.brand:hover { color: var(--txt); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 999px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #FF9A3C, #FF6B00 55%, #C2410C);
  color: #150A03; font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.brand span { color: var(--orange); }

.nav-pill {
  justify-self: center;
  display: flex; gap: 4px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav-pill a {
  padding: 8px 15px; border-radius: 999px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: background .25s ease, color .25s ease;
}
.nav-pill a:hover { background: rgba(255, 107, 0, .16); color: #fff; }
.nav .btn { justify-self: end; }

.nav-toggle {
  display: none; justify-self: end;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  color: #fff; cursor: pointer; place-items: center;
}
.nav-toggle svg { width: 18px; height: 18px; }

.nav-drawer {
  position: fixed; inset: 68px 12px auto 12px; z-index: 89;
  display: none; flex-direction: column; gap: 2px; padding: 12px;
  background: rgba(15, 10, 7, .96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 18px;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  padding: 14px 16px; border-radius: 12px;
  font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.nav-drawer a:hover { background: rgba(255, 107, 0, .14); color: #fff; }
.nav-drawer .btn { margin-top: 8px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: clamp(96px, 13vh, 140px);
  overflow: hidden;
  isolation: isolate;
}

/* Camadas de luz atrás da chave */
.key-stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.key-stage__glow {
  position: absolute; top: 46%; left: 50%; translate: -50% -50%;
  width: min(1180px, 128vw); aspect-ratio: 1.35;
  background: var(--glow-orange);
  filter: blur(14px);
  animation: emberDrift 17s ease-in-out infinite;
}
.key-stage__core {
  position: absolute; top: 46%; left: 50%; translate: -50% -50%;
  width: min(560px, 66vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 190, 120, .5), rgba(255, 107, 0, .3) 45%, transparent 72%);
  filter: blur(38px);
}
/* Vignette: mantém o texto legível por cima do glow */
.key-stage__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(85% 62% at 50% 46%, transparent 22%, rgba(10, 7, 5, .5) 62%, rgba(10, 7, 5, .92) 100%),
    linear-gradient(180deg, rgba(10, 7, 5, .72) 0%, transparent 22%, transparent 62%, var(--bg) 97%);
}
#key-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.key-stage.is-ready #key-canvas { opacity: 1; }
/* Sem WebGL o glow sozinho já sustenta a composição */
.key-stage.is-fallback #key-canvas { display: none; }

@keyframes emberDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-2%, -3%, 0) scale(1.07); }
}

.hero-grid {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: clamp(20px, 2.4vw, 40px);
  width: 100%; max-width: var(--shell); margin-inline: auto;
  padding-inline: var(--gut);
}

.hero-lead { grid-column: 1; grid-row: 1; max-width: 380px; }
.hero-lead .tag { margin-bottom: 16px; }
.hero-lead h1 {
  margin: 0 0 16px;
  font-size: clamp(21px, 1.9vw, 29px);
  font-weight: 600;
  font-variation-settings: 'wdth' 104;
  line-height: 1.16; letter-spacing: -.02em; text-transform: uppercase;
}
.hero-lead h1 em { font-style: normal; color: var(--orange); }
.hero-lead .lede { font-size: 14.5px; margin-bottom: 22px; }

.hero-airy { grid-column: 3; grid-row: 1; justify-self: end; text-align: right; }
.hero-airy .airy { font-size: clamp(34px, 4.9vw, 74px); }
.hero-airy .airy strong { font-weight: 500; color: #fff; }

.hero-cards { display: contents; }
.stat-card {
  align-self: end;
  max-width: 300px; padding: 18px 20px;
  background: rgba(20, 13, 9, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px;
}
.stat-card__n {
  display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
  color: #fff; margin-bottom: 6px;
}
.stat-card p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.stat-card--a { grid-column: 1; grid-row: 2; }
.stat-card--b { grid-column: 3; grid-row: 2; justify-self: end; }

.hero-cue {
  grid-column: 3; grid-row: 3; justify-self: end; align-self: end;
  display: flex; align-items: center; gap: 16px; max-width: 320px; text-align: left;
}
.cue-dot {
  flex: none; width: 52px; height: 52px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  display: grid; place-items: center; color: #fff;
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.cue-dot svg { width: 16px; height: 16px; }
.hero-cue:hover .cue-dot { background: var(--orange); border-color: var(--orange); transform: translateY(3px); }
.hero-cue p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

.hero-foot {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  width: 100%; max-width: var(--shell); margin-inline: auto;
  padding: 0 var(--gut);
}
.wordmark {
  flex: 1; min-width: 0; overflow: hidden;
  font-size: clamp(52px, 13.4vw, 196px);
  font-weight: 700; font-variation-settings: 'wdth' 122;
  letter-spacing: -.045em; line-height: .8;
  white-space: nowrap; color: #fff;
  margin-bottom: -.1em;
}
.socials { flex: none; display: flex; gap: 2px; padding-bottom: 18px; }
/* Ícone de 17px dentro de um alvo de 44px — o mínimo pra dedo */
.socials a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  color: var(--muted-dim);
}
.socials a:hover { color: var(--orange); background: rgba(255, 107, 0, .1); }
.socials svg { width: 17px; height: 17px; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { position: relative; padding-block: clamp(72px, 11vh, 148px); }
.section--raise { background: var(--bg-raise); }
.section--glow { overflow: hidden; }
.section--glow::before {
  content: ""; position: absolute; pointer-events: none;
  width: 62vw; max-width: 840px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 107, 0, .17), transparent 70%);
  top: 12%; left: -18%;
}
.section--glow.section--glow-r::before { left: auto; right: -18%; top: auto; bottom: -12%; }

/* Título grande à esquerda, apoio (parágrafo ou etiqueta) à direita.
   fit-content deixa a coluna da direita encolher até sumir quando o
   apoio é só uma etiqueta curta — aí o título ocupa a linha toda. */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) fit-content(380px);
  align-items: end;
  gap: 18px clamp(28px, 4vw, 72px);
  margin-bottom: clamp(36px, 5.5vh, 68px);
}
.sec-head__main { min-width: 0; }
.sec-head__aside { max-width: 42ch; }

@media (max-width: 940px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-head__aside { max-width: 100%; }
}

/* ---------- Lista de dores ---------- */
.pains { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pain {
  display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 28px);
  padding: clamp(18px, 2.4vh, 26px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease), background .35s ease;
}
.pain:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(255, 107, 0, .07), transparent 45%); }
.pain__x { flex: none; color: var(--orange); line-height: 1.4; }
.pain__x svg { width: 17px; height: 17px; }
.pain p { margin: 0; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.45; letter-spacing: -.012em; }

.pivot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px; margin-top: clamp(44px, 7vh, 84px);
}
.pivot p { margin: 0; max-width: 18ch; }
.pivot em { font-style: normal; color: var(--orange); }

/* ---------- Método: trilho de pilares ---------- */
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: #fff;
  display: grid; place-items: center;
  transition: background .25s ease, border-color .25s ease, opacity .25s ease;
}
.rail-btn:hover:not(:disabled) { background: rgba(255, 107, 0, .18); border-color: rgba(255, 107, 0, .5); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn svg { width: 16px; height: 16px; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.pillar {
  scroll-snap-align: start;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--card);
  transition: transform .45s var(--ease), border-color .35s ease, background .45s ease;
}
.pillar:hover { transform: translateY(-5px); }
.pillar.is-active { background: var(--grad-ember); border-color: transparent; }
.pillar__n {
  font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1;
  color: var(--orange); margin-bottom: 18px;
}
.pillar.is-active .pillar__n { color: rgba(255, 255, 255, .92); }
.pillar h3 {
  margin: 0 0 4px; font-size: 19px; font-weight: 700; line-height: 1.22; letter-spacing: -.018em;
}
.pillar__kicker {
  display: block; margin-bottom: 12px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.pillar.is-active .pillar__kicker { color: rgba(255, 255, 255, .8); }
.pillar p { margin: 0; font-size: 14px; line-height: 1.62; color: var(--muted); }
.pillar.is-active h3, .pillar.is-active p { color: #fff; }
.pillar.is-active p { color: rgba(255, 255, 255, .88); }

/* ---------- Time ---------- */
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.crew__row { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.crew__row svg { flex: none; width: 17px; height: 17px; color: var(--orange); margin-top: 4px; }
.crew__row p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.crew__row strong { color: #fff; font-weight: 700; }

/* ---------- Comparativo ---------- */
.versus { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.vs-card { padding: clamp(24px, 3vw, 36px); border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .022); }
.vs-card--win { background: var(--grad-ember); border-color: transparent; }
.vs-card__title {
  display: block; padding-bottom: 18px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dim);
}
.vs-card--win .vs-card__title { color: rgba(255, 255, 255, .9); border-bottom-color: rgba(255, 255, 255, .28); }
.vs-card ul { list-style: none; margin: 0; padding: 0; }
.vs-card li { padding: 17px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.vs-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.vs-card--win li { color: #fff; font-weight: 500; border-bottom-color: rgba(255, 255, 255, .2); }

/* ---------- Casos ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.case figure, .cases figure { margin: 0; }
.case-media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 107, 0, .16), transparent 42%, rgba(10, 7, 5, .92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 11px),
    var(--bg-raise);
  transition: transform .5s var(--ease), border-color .35s ease;
}
.case-media:hover { transform: translateY(-6px); border-color: rgba(255, 107, 0, .4); }
.case-media__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 58px; height: 58px; border-radius: 999px;
  background: linear-gradient(135deg, #FF8A2B, #FF6B00 60%, #E04A00);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 0, .3);
}
.case-media__play svg { width: 18px; height: 18px; margin-left: 3px; }
.case-media__ph {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.case figcaption { margin-top: 16px; }
.case figcaption q { display: block; font-size: 16px; line-height: 1.45; letter-spacing: -.01em; }
.case figcaption q::before, .case figcaption q::after { content: '"'; }
.case__by { margin: 9px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted-dim); }
.case__by strong { color: #fff; font-weight: 700; }

.proof-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: clamp(44px, 7vh, 84px); }
.proof-rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: 22px; padding-bottom: 14px;
  margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
  scrollbar-width: none;
}
.proof-rail::-webkit-scrollbar { display: none; }
.proof { flex: none; width: min(78vw, 400px); scroll-snap-align: start; }
.proof__frame {
  aspect-ratio: 16 / 10; border-radius: 14px; border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 11px),
    var(--bg-raise);
}
.proof p { margin: 12px 0 0; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; line-height: 1.5; color: var(--muted-dim); }

/* ---------- Qualificação ---------- */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.fit-card { padding: clamp(24px, 3vw, 36px); border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .022); }
.fit-card--yes { border-color: rgba(255, 107, 0, .38); background: radial-gradient(120% 130% at 0% 0%, rgba(255, 107, 0, .12), transparent 58%), rgba(255, 255, 255, .022); }
.fit-card h3 {
  margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft);
  font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; letter-spacing: -.012em;
}
.fit-card--yes h3 { color: var(--orange-hot); border-bottom-color: rgba(255, 107, 0, .26); }
.fit-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.fit-card li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.fit-card--yes li { color: #fff; }
.fit-card li svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--orange); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
  background: radial-gradient(130% 210% at 0% 50%, rgba(255, 107, 0, .13), transparent 58%), rgba(255, 255, 255, .028);
  transition: background .45s ease, border-color .45s ease;
}
.faq-item[data-open="1"] {
  border-color: rgba(255, 107, 0, .45);
  background: radial-gradient(130% 230% at 0% 50%, rgba(255, 154, 60, .5), rgba(255, 107, 0, .2) 36%, transparent 70%), rgba(255, 255, 255, .04);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
  padding: clamp(18px, 2.3vh, 23px) clamp(18px, 2.4vw, 28px);
  background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font: inherit;
}
.faq-q h3 { margin: 0; font-size: clamp(14.5px, 1.2vw, 17px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; text-transform: uppercase; }
.faq-icon {
  flex: none; position: relative; width: 26px; height: 26px; color: var(--orange-hot);
  transition: transform .45s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
  translate: -50% -50%; border-radius: 2px;
}
.faq-icon::before { width: 15px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 15px; transition: opacity .35s ease; }
.faq-item[data-open="1"] .faq-icon { transform: rotate(180deg); }
.faq-item[data-open="1"] .faq-icon::after { opacity: 0; }
.faq-panel { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq-panel p { margin: 0; padding: 0 clamp(18px, 2.4vw, 28px) clamp(20px, 2.6vh, 26px); max-width: 74ch; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Contato ---------- */
.closer { position: relative; text-align: center; overflow: hidden; }
.closer::before {
  content: ""; position: absolute; pointer-events: none;
  left: 50%; bottom: -42%; translate: -50% 0;
  width: 118vw; max-width: 1400px; aspect-ratio: 1.5;
  background: var(--glow-orange);
  animation: emberDrift 19s ease-in-out infinite;
}
.closer .shell { position: relative; max-width: 1020px; }
.closer .lede { margin-inline: auto; max-width: 62ch; }
.closer em { font-style: normal; color: var(--orange); }
.closer .btn { margin-top: clamp(30px, 5vh, 46px); font-size: clamp(13px, 1.15vw, 16px); padding: 22px clamp(28px, 4vw, 46px); }

/* ---------- Rodapé ---------- */
.foot { background: var(--bg-raise); border-top: 1px solid var(--line-soft); padding-block: clamp(52px, 8vh, 92px) 26px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.foot h4 { margin: 0 0 16px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.foot-links { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
/* padding no lugar de gap: cada link vira um alvo de 44px */
.foot-links a, .foot-links span { padding: 11px 0; }
.foot-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px;
  margin-top: clamp(34px, 5vh, 60px); padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; color: var(--muted-dim);
}
.foot-bar > * { padding: 14px 0; }

/* =========================================================
   REVEAL
   ========================================================= */
/* Escopado em .js: sem JavaScript o conteúdo nasce visível. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1180px) {
  .nav-pill { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav .btn--primary { display: none; }
  .nav-toggle { display: grid; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 80px; }
  .hero { padding-top: 104px; padding-bottom: 24px; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: clamp(26px, 5vh, 44px);
  }
  .hero-lead, .hero-airy, .stat-card--a, .stat-card--b, .hero-cue {
    grid-column: 1; grid-row: auto; justify-self: stretch; align-self: auto; text-align: left;
  }
  .hero-airy { order: -1; }
  .hero-airy .airy { font-size: clamp(32px, 9vw, 56px); }
  .hero-lead { max-width: 100%; }
  .stat-card { max-width: 100%; }
  /* Espaço vertical pra chave respirar entre os blocos */
  .hero-cards { display: contents; }
  .stat-card--a { margin-top: clamp(150px, 34vh, 300px); }
  .key-stage__glow { top: 50%; }
  .key-stage__vignette {
    background:
      radial-gradient(78% 42% at 50% 50%, transparent 12%, rgba(10, 7, 5, .62) 58%, rgba(10, 7, 5, .95) 100%),
      linear-gradient(180deg, rgba(10, 7, 5, .86) 0%, transparent 26%, transparent 58%, var(--bg) 96%);
  }
  .hero-foot { flex-wrap: wrap; }
  .socials { padding-bottom: 12px; }
}

@media (max-width: 640px) {
  /* Ícones sociais numa linha própria: o wordmark ganha a largura toda */
  .hero-foot { flex-direction: column; align-items: stretch; gap: 6px; }
  .socials { padding-bottom: 4px; margin-left: -12px; }
  .pivot { gap: 22px; }
  .pivot p { max-width: 100%; }
  .btn { width: 100%; }
  .nav .btn, .rail-btn, .socials a, .arrow-link { width: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}

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