/* ==========================================================================
   Agência Firefly - estilos da página inicial
   ========================================================================== */
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 500 700; font-style: italic; font-display: swap; }

:root {
  --purple-deep: #1a0a2e;
  --purple-mid: #2d1b4e;
  --purple-bright: #7c3aed;
  --gold: #d4af37;
  --gold-light: #f4e4a6;
  --ink: #f4f0ff;
  --ink-soft: rgba(244, 240, 255, 0.74);
  --ink-faint: rgba(244, 240, 255, 0.5);
  --border: rgba(212, 175, 55, 0.22);
  --border-strong: rgba(212, 175, 55, 0.45);
  --card: linear-gradient(155deg, rgba(45, 27, 78, 0.82), rgba(26, 10, 46, 0.55));
  --gold-grad: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #f4e4a6 100%);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.5rem;
  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 640ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + .5rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background-color: #12071f;
  background-image:
    radial-gradient(90% 60% at 50% -10%, rgba(124, 58, 237, 0.38), transparent 70%),
    radial-gradient(50% 40% at 100% 30%, rgba(212, 175, 55, 0.07), transparent 70%),
    linear-gradient(180deg, #2d1b4e 0%, #1a0a2e 28%, #12071f 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-light); }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
button, summary, a { cursor: pointer; }
h1 em, h2 em { font-style: italic; font-weight: 600; background: linear-gradient(120deg, #f4e4a6, #d4af37 60%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; border-radius: 999px; background: var(--gold); color: var(--purple-deep); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* Borboleta */
.bf__float { animation: bf-float 6s ease-in-out infinite; }
.bf__wing { transform-origin: 50px 50px; animation: bf-flap 3.2s ease-in-out infinite; }
@keyframes bf-float { 50% { transform: translateY(-3px); } }
@keyframes bf-flap { 50% { transform: scaleX(.84); } }

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border: 1px solid transparent; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn--primary { background: var(--gold-grad); color: var(--purple-deep); box-shadow: 0 10px 34px rgba(212, 175, 55, .32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(212, 175, 55, .45); }
.btn--ghost { background: rgba(124, 58, 237, .1); border-color: var(--border); color: var(--ink); }
.btn--ghost:hover { background: rgba(124, 58, 237, .22); border-color: var(--border-strong); }
.btn--ghost svg { transition: transform .25s var(--ease); }
.btn--ghost:hover svg { transform: translateX(3px); }

/* Header ------------------------------------------------------------------ */
.header { position: sticky; top: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(18, 7, 31, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--border); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo__mark { width: 36px; height: 36px; }
.logo__text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.nav { display: none; align-items: center; gap: 1.75rem; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .nav__cta { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(212,175,55,.15), rgba(124,58,237,.22)); color: var(--ink); }
.nav__cta svg { width: 1rem; height: 1rem; color: #25d366; }
.nav .nav__cta:hover { border-color: var(--border-strong); }
.menu-btn { display: grid; place-content: center; gap: 5px; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--border); background: rgba(124,58,237,.12); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-mobile { display: grid; gap: .25rem; padding: .75rem 1.25rem 1.5rem; background: rgba(18, 7, 31, .97); border-bottom: 1px solid var(--border); }
.menu-mobile[hidden] { display: none; }
.menu-mobile a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid rgba(212,175,55,.12); color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 500; }
.menu-mobile .btn { margin-top: 1rem; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-btn, .menu-mobile { display: none !important; }
}

/* ==========================================================================
   HISTÓRIA: a rede neural é o plano principal; o conteúdo passa por cima dela
   ========================================================================== */
.net { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.has-net main, .has-net .footer { position: relative; z-index: 1; }

/* Topo --------------------------------------------------------------------- */
.beat--hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 4rem; }
.hero__copy { max-width: 38rem; }
.hero__copy h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 1.3rem; text-shadow: 0 2px 30px rgba(18, 7, 31, .6); }
.hero__lead { max-width: 54ch; font-size: clamp(1rem, 1.35vw, 1.12rem); margin-bottom: 2rem; text-shadow: 0 1px 18px rgba(18, 7, 31, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .92rem; }
.hero__proof li { position: relative; padding-left: 1rem; }
.hero__proof li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(212,175,55,.8); }
.hero__proof strong { color: var(--ink); font-weight: 600; }
.scroll-cue { display: none; }
@media (max-width: 540px) { .hero__actions .btn { flex: 1 1 100%; } }

/* Capítulos e cartões -------------------------------------------------------- */
.chapter { position: relative; }
.beat { padding: 2rem 0; }
.card { position: relative; max-width: 31rem; padding: clamp(1.3rem, 2.6vw, 1.9rem); border-radius: var(--radius-lg); border: 1px solid rgba(212, 175, 55, .18); background: linear-gradient(160deg, rgba(36, 18, 62, .84), rgba(14, 5, 26, .88)); -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7); }
.card h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.card > h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin-bottom: .6rem; }
.card > p + p, .card > p + .steps, .card > h2 + .card__count { margin-top: .9rem; }
.card__lead { font-size: 1.02rem; }
.card__kicker { color: var(--ink); font-weight: 500; margin-bottom: 1.25rem; }
.card__count { margin-bottom: .4rem; font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.card h2 + .card__count { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(212,175,55,.16); }
.card__tags { margin-top: 1rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }
.card__stage { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.card__stage span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gold-grad); color: var(--purple-deep); font-family: var(--font-sans); font-size: .8rem; }
.card h2 + .card__stage { margin-top: 1.5rem; }
.card__note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(212,175,55,.16); font-size: .95rem; }
.step__link { display: inline-flex; align-items: center; gap: .4rem; min-height: 1.75rem; margin-top: .9rem; font-weight: 600; font-size: .92rem; text-decoration: none; }
.step__link svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.step__link:hover svg { transform: translateX(3px); }

/* Método em 4 passos */
.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 2.4rem 1fr; gap: .75rem; }
.step__num { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.25rem; line-height: 1.4; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.step p { font-size: .93rem; }
.step .step__link { margin-top: .4rem; font-size: .88rem; }

/* Serviços dentro do cartão */
.services { display: grid; gap: 1rem; }
.service { padding-top: 1rem; border-top: 1px solid rgba(212,175,55,.16); }
.service:first-child { padding-top: 0; border-top: 0; }
.service h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: .35rem; }
.service > p { font-size: .93rem; }
.service__list { display: grid; gap: .3rem; margin: .65rem 0 0; padding: 0; list-style: none; font-size: .87rem; }
.service__list li { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink); }
.service__list svg { width: .95rem; height: .95rem; margin-top: .2rem; flex: none; color: var(--gold); }

/* Segmentos */
.segments { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.segments li { padding: .45rem .8rem; border-radius: 999px; border: 1px solid rgba(212,175,55,.2); background: rgba(45, 27, 78, .5); }
.segments h3 { font-size: .84rem; margin: 0; font-weight: 600; }
.segments p, .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Diferenciais */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: .5rem; }
.pillar h3 { font-size: 1rem; margin-bottom: .25rem; }
.pillar h3::before { content: ""; display: block; width: 1.6rem; height: 2px; margin-bottom: .6rem; border-radius: 2px; background: var(--gold-grad); }
.pillar p { font-size: .88rem; line-height: 1.5; }

/* Chamada final */
.card--cta { border-color: var(--border-strong); box-shadow: 0 40px 100px -50px rgba(212,175,55,.45); }
.card--cta h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.card--cta .hero__actions { margin-top: 1.5rem; }
.cta__phone { margin-top: 1rem; font-size: .9rem; color: var(--ink-faint); letter-spacing: .04em; }

/* Epílogo (perguntas): fundo mais fechado para leitura longa */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section__head--left { text-align: left; margin-left: 0; }
.section__head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.section__lead { font-size: 1.05rem; }
.epilogue { background: linear-gradient(180deg, rgba(18, 7, 31, 0) 0, rgba(18, 7, 31, .82) 9rem); }

/* Com a história ativa (JavaScript e animações ligados) ---------------------- */
.story-live .beat { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 0; }
.story-live .beat > .container { width: 100%; }
.story-live .beat--hero { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 0 0 4rem; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.story-live .scroll-cue { display: inline-flex; align-items: center; gap: .75rem; position: absolute; left: 1.25rem; bottom: 2rem; color: var(--ink-faint); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.scroll-cue span { position: relative; width: 1.4rem; height: 2.2rem; border-radius: 999px; border: 1.5px solid var(--border-strong); }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: .4rem; width: 3px; height: .45rem; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) 6; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@media (min-width: 1200px) { .story-live .scroll-cue { left: calc(50% - 600px + 1.25rem); } }

/* Celular e tablet: uma tela por capítulo, encaixada na rolagem nativa.
   A rede ocupa a parte de cima; o texto vem numa folha de vidro embaixo. */
@media (max-width: 899px) {
  html.story-live { scroll-padding-top: 0; }
  .story-live .beat { align-items: flex-end; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 3rem) 0 max(.9rem, env(safe-area-inset-bottom)); scroll-snap-align: start; }
  .story-live .beat--hero { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4.4rem; }
}
@media (max-width: 899px) and (max-height: 720px) {
  .story-live .hero__copy h1 { font-size: 1.85rem; margin-bottom: .9rem; }
  .story-live .hero__lead { font-size: .88rem; margin-bottom: 1rem; }
  .story-live .beat--hero .eyebrow { margin-bottom: .7rem; }
  .story-live .card { padding: 1rem 1.05rem; }
  .story-live .card > h3 { font-size: 1.4rem; }
}
@media (max-width: 899px) {
  .story-live .epilogue { scroll-snap-align: start; }
  .story-live .hero__copy { position: relative; }
  .story-live .hero__copy::before { content: ""; position: absolute; inset: -3.5rem -1.25rem -5rem; z-index: -1; background: linear-gradient(180deg, rgba(18, 7, 31, 0) 0, rgba(18, 7, 31, .82) 3.2rem, rgba(18, 7, 31, .92) 100%); pointer-events: none; }
  .story-live .hero__copy h1 { font-size: clamp(2rem, 8.6vw, 2.7rem); }
  .story-live .hero__lead { font-size: .94rem; line-height: 1.55; margin-bottom: 1.2rem; }
  .story-live .hero__actions .btn--lg { padding: .82rem 1.2rem; }
  .story-live .hero__proof { display: none; }
  .story-live .scroll-cue { bottom: 1.1rem; }
  .story-live .card .eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .story-live .card { max-width: 34rem; margin: 0 auto; border-radius: 1.4rem; background: linear-gradient(165deg, rgba(36, 18, 62, .86), rgba(14, 5, 26, .92)); }
  .story-live .wa-float { display: none; }
  .card { padding: 1.25rem 1.2rem; }
  .card h2 { font-size: 1.45rem; }
  .card > h3 { font-size: 1.6rem; }
  .card__lead, .card > p { font-size: .95rem; }
  .pillar p, #para-quem .card__lead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .pillars { gap: .7rem 1rem; }
  .pillar p { font-size: .84rem; }
}
@media (max-width: 400px) { .pillars { grid-template-columns: 1fr; } }

/* Cartão de serviços mais largo no computador, em duas colunas */
@media (min-width: 1280px) {
  .card--services { max-width: 46rem; }
  .card--services .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem; }
  .card--services .service { padding-top: 0; border-top: 0; }
}
@media (max-width: 899px) {
  .service h3 { font-size: 1rem; }
}

/* Divulgação progressiva: detalhes dos serviços sob demanda */
.more { margin-top: .5rem; }
.more summary { display: inline-flex; align-items: center; gap: .45rem; min-height: 1.75rem; list-style: none; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-light); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--dur-base) var(--ease); }
.more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.more summary:hover { color: var(--gold); }
.more .service__list { margin-top: .4rem; }
.card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(244, 228, 166, .7), transparent); }

/* Barra de capítulos estilo stories (celular e tablet) */
.story-seg { display: none; }
@media (max-width: 1099px) {
  .story-live .story-seg { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 99; display: block; padding: .1rem 1.25rem .35rem; background: linear-gradient(180deg, rgba(18, 7, 31, .8), rgba(18, 7, 31, 0)); opacity: 0; transform: translateY(-6px); transition: opacity var(--dur-base), transform var(--dur-base) var(--ease); pointer-events: none; }
  .story-live .story-seg.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .story-seg__bars { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 4px; }
  .story-seg__bars button { display: flex; align-items: center; height: 24px; padding: 0; border: 0; background: none; }
  .story-seg__bars i { display: block; width: 100%; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(244, 240, 255, .18); }
  .story-seg__bars b { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }
  .story-seg__label { display: inline-flex; align-items: center; gap: .4rem; margin: .05rem 0 0; padding: .15rem .6rem; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .28); background: rgba(14, 5, 26, .88); font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: #fff; }
  .story-seg__label b { font-family: var(--font-display); font-style: italic; color: var(--gold); }
}

/* WhatsApp no cabeçalho do celular (substitui o botão flutuante durante a história) */
.head-wa { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: auto; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.head-wa svg { width: 1.35rem; height: 1.35rem; }
.header__inner .head-wa + .menu-btn { margin-left: -.35rem; }
@media (min-width: 960px) { .head-wa { display: none; } }

/* Área de toque sobre a rede e dica de interação */
.net-touch { position: fixed; z-index: 2; display: none; touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.net-touch.is-on { display: block; }
.net-touch.is-drag { cursor: grabbing; }
.net-hint { position: fixed; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .45rem .4rem .8rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(14, 5, 26, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--dur-base); }
.net-hint.is-on { opacity: 1; pointer-events: auto; }
.net-hint > span:last-of-type { padding-right: .35rem; }
.net-hint__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); animation: ping 1.6s var(--ease) 6; }
.net-hint__btn { min-height: 2rem; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(212, 175, 55, .14); color: var(--gold-light); font-size: .74rem; font-weight: 600; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, .7); } 100% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } }

/* Títulos palavra a palavra: entram quando o capítulo chega (celular e tablet) */
.w { display: inline-block; }
h1 em .w, h2 em .w { background: linear-gradient(120deg, #f4e4a6, #d4af37 60%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
@media (max-width: 899px) {
  .story-live .card .w { transition: opacity .55s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 34ms + 80ms); }
  .story-live .card > :not(h2):not(h3):not(.card__count) { transition: opacity .45s var(--ease); transition-delay: .22s; }
  .story-live .card.is-idle .w { opacity: 0; transform: translateY(.55em); transition-duration: .18s; transition-delay: 0s; }
  .story-live .card.is-idle > :not(h2):not(h3):not(.card__count) { opacity: .35; transition-duration: .18s; transition-delay: 0s; }
}

/* Até 1279px: cartões compactos para a rede continuar dominando a tela */
@media (max-width: 1279px) {
  .step p, .service > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .steps { gap: .55rem; }
  .step .step__link { margin-top: .1rem; }
  .service { padding-top: .75rem; }
  .services { gap: .75rem; }
}

/* Navegação dos capítulos (computador) */
.story-nav { display: none; }
@media (min-width: 1100px) {
  .story-live .story-nav { display: block; position: fixed; right: 1.5rem; top: 50%; z-index: 50; transform: translateY(-50%); }
  .story-nav ol { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
  .story-nav a { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; padding: .25rem 0; color: var(--ink-faint); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
  .story-nav a { min-height: 1.6rem; }
  .story-nav a b { font-family: var(--font-display); font-style: italic; color: var(--gold); margin-right: .35rem; }
  .story-nav a span { padding: .2rem .6rem; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .25); background: rgba(14, 5, 26, .88); color: #fff; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
  .story-nav a::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--border-strong); transition: background .3s, transform .3s var(--ease), box-shadow .3s; }
  .story-nav a:hover span, .story-nav a:focus-visible span, .story-nav a.is-active span { opacity: 1; transform: none; }
  .story-nav a.is-active { color: var(--ink); }
  .story-nav a.is-active::after { background: var(--gold); border-color: var(--gold); transform: scale(1.35); box-shadow: 0 0 12px rgba(212,175,55,.8); }
}

/* FAQ */
.faq-wrap { display: grid; gap: 2.5rem; align-items: start; }
.faq { display: grid; gap: .65rem; }
.faq details { border-radius: var(--radius); border: 1px solid var(--border); background: rgba(45, 27, 78, .4); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--border-strong); background: rgba(45, 27, 78, .65); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.faq summary::after { content: ""; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--border-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23d4af37' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / .8rem no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.35rem 1.25rem; font-size: .97rem; }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .faq-wrap .section__head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; } }

/* CTA final */
.cta { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.cta__inner { position: relative; width: calc(100% - 2.5rem); max-width: calc(1200px - 2.5rem); padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; border-radius: 2rem; border: 1px solid var(--border-strong); text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(124,58,237,.45), rgba(26,10,46,.9) 70%); box-shadow: 0 40px 100px -50px rgba(212,175,55,.45); overflow: hidden; }
.cta__mark { width: 64px; height: 64px; margin: 0 auto 1.25rem; filter: drop-shadow(0 0 20px rgba(212,175,55,.5)); }
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.cta p { max-width: 40rem; margin: 0 auto; }
.cta__actions { justify-content: center; margin-top: 2rem; }
.cta__phone { margin-top: 1.25rem !important; font-size: .9rem; color: var(--ink-faint); letter-spacing: .04em; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; font-size: .93rem; background: rgba(12, 4, 22, .6); }
.footer__grid { display: grid; gap: 2rem; }
.footer__brand p { margin-top: 1rem; max-width: 30ch; }
.footer__col { display: grid; gap: .55rem; align-content: start; font-style: normal; }
.footer__col h2 { font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.footer__col a { display: inline-block; padding: .2rem 0; color: var(--ink-soft); text-decoration: none; }
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(212,175,55,.12); color: var(--ink-faint); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .35); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 1.8rem; height: 1.8rem; }

/* Revelação ao rolar (só com JavaScript ativo; sem JS tudo fica visível) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

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