/* LP SOU — referência visual: design/desktop_01..10.png (1440px). Cores amostradas dos PNGs. */

@font-face {
  font-family: "Clash Display";
  src: url("fonts/ClashDisplay-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --dourado: #b07a24;
  --dourado-passos: #014681;   /* pedido Pedro 2026-09-17: títulos dos passos 01/02/03 */
  --dourado-texto: #8a5c14;   /* desvio: texto pequeno dourado escurecido para contraste AA sobre branco */
  --dourado-claro: #e0a85c;   /* desvio: respostas do FAQ clareadas para contraste AA sobre #333 */
  --tinta: #0a0a0a;
  --cinza-titulo: #3a3a3a;
  --grafite: #333333;
  --base-escura: #2b2b2b;
  --branco: #ffffff;
  --ceu: #b4d8f7;
  --largura: 994px;
  --largura-larga: 1296px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--branco);
  color: var(--tinta);
  font-family: "Clash Display", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

.wrap { width: min(100% - 32px, var(--largura)); margin-inline: auto; }
.wrap-largo { width: min(100% - 32px, var(--largura-larga)); margin-inline: auto; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── botões e lojas ─────────────────────────────────────────────── */

.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 550; text-decoration: none; white-space: nowrap;
}
.botao--dourado { border: 1.5px solid var(--dourado); color: var(--dourado-texto); background: rgb(255 255 255 / .35); }
.botao--contorno { border: 1.5px solid var(--branco); color: var(--branco); }
.botao:hover, .loja:hover { filter: brightness(1.1); }

.lojas { display: flex; gap: 20px; }
.loja {
  display: inline-flex; align-items: center; justify-content: center;
  width: 142px; height: 36px; border: 1.5px solid #1a1a1a; border-radius: 12px; background: var(--branco);
}

/* ── topo ───────────────────────────────────────────────────────── */

.topo { position: absolute; inset: 0 0 auto; z-index: 2; padding-top: 31px; }
.topo__linha { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.topo__logo { width: 228px; grid-column: 2; }
.topo .botao { grid-column: 3; justify-self: end; }


/* ── 01 hero ────────────────────────────────────────────────────── */

.hero { position: relative; min-height: 832px; display: flex; align-items: center; overflow: hidden; background: #cfe0f3; }
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__texto { position: relative; padding-top: 60px; }
.hero h1 { font-size: 37px; font-weight: 400; letter-spacing: .01em; }
.hero h1 strong { font-weight: 650; }
.hero p { max-width: 493px; margin-top: 16px; font-size: 20px; font-weight: 500; line-height: 1.27; text-align: justify; }
/* logos alinhados pela base, numa linha, centralizados sob o texto (pedido Pedro 2026-09-17) */
.hero__marcas { display: flex; align-items: flex-end; gap: 22px; max-width: 493px; margin-top: 24px; }
.hero__marcas img { width: auto; height: var(--h); }
.marca--wibx { --h: 40px; }

.faixa { background: var(--branco); }
.faixa__linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.faixa__texto { font-size: 17px; font-weight: 450; line-height: 1.1; }
.faixa__texto strong { font-weight: 600; }

/* ── 02 app ─────────────────────────────────────────────────────── */

.app {
  position: relative; min-height: 657px; display: grid; justify-items: center; padding-top: 36px; overflow: hidden;
  background: #9fdcf8 url("img/app_bg.webp") center / cover no-repeat;
  --fundo: url("img/app_bg.webp");
}
.app__celular { width: 456px; }
.app__frase {
  position: absolute; top: 250px; left: 16px; right: 16px; text-align: center;
  font-size: 34px; font-weight: 300; color: var(--branco); text-shadow: 0 2px 18px rgb(0 60 100 / .35);
}
.app__frase strong { font-weight: 650; }

/* ── 03 força ───────────────────────────────────────────────────── */

.forca { padding: 46px 0 50px; background: var(--branco); text-align: center; }
.forca h2 { font-size: 30px; font-weight: 600; color: var(--dourado); }
.forca__cards { display: grid; grid-template-columns: repeat(3, 298px); justify-content: space-between; margin-top: 25px; }
.card-numero {
  min-height: 162px; padding: 26px 26px 20px; border: 1.5px solid var(--dourado); border-radius: 22px;
  text-align: left; color: var(--dourado-texto);
}
.card-numero__valor { display: flex; align-items: baseline; gap: 4px; line-height: .9; color: var(--dourado); }
.card-numero__valor .mais { align-self: flex-start; font-size: 34px; font-weight: 400; }
.card-numero__valor strong { font-size: 76px; font-weight: 650; letter-spacing: -.02em; }
.card-numero__valor .unidade { font-size: 38px; font-weight: 450; }
.card-numero:last-child .card-numero__valor strong { font-size: 48px; }
.card-numero--consultores .card-numero__valor strong { font-size: 54px; }
.card-numero--milhares .card-numero__valor strong { font-size: 44px; }
.card-numero__unidade { margin-top: 2px; font-size: 38px; font-weight: 450; line-height: 1; color: var(--dourado); }
.card-numero__desc { margin-top: 10px; font-size: 16px; font-weight: 500; line-height: 1.2; max-width: 240px; }

/* ── 04 como funciona ───────────────────────────────────────────── */

.como {
  min-height: 924px; padding: 140px 0 42px;
  background: var(--ceu) url("img/como_bg.webp") center / cover no-repeat;
  --fundo: url("img/como_bg.webp");
}
.passos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; row-gap: 40px; padding: 0 159px 0 133px; }
.passo { position: relative; max-width: 320px; }
/* só desfoque transparente atrás do texto, sem caixa e sem escurecer (pedido Pedro 2026-09-17) */
.passo > * { position: relative; z-index: 1; }
.passo::before {
  content: ""; position: absolute; inset: -16px -20px; z-index: 0; pointer-events: none; border-radius: 20px;
  /* sem mask: no Chromium a máscara anula o backdrop-filter (medido 2026-09-17) */
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
/* camada externa, maior e mais fraca: dilui a borda reta do desfoque */
.passo::after {
  content: ""; position: absolute; inset: -36px -42px; z-index: 0; pointer-events: none; border-radius: 34px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.passo--1 { grid-column: 1; grid-row: 1; }
.passo--2 { grid-column: 1; grid-row: 2; }
.passo--3 { grid-column: 2; grid-row: 2; justify-self: end; text-align: right; }
.passo__num { display: block; font-size: 31px; font-weight: 650; line-height: 1; color: var(--dourado-passos); }
.passo h3 { margin-top: 4px; font-size: 30px; font-weight: 650; line-height: 1.08; color: var(--dourado-passos); max-width: 290px; }
.passo--3 h3 { margin-left: auto; max-width: 230px; }
.passo p { margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--branco); } /* PSD: #ffffff (medido no PNG) */

.mecanicas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 110px; }
.mecanica {
  min-height: 302px; padding: 50px 20px 20px; border: 1px solid transparent; border-radius: 14px; text-align: center;
  color: var(--branco); background: rgb(255 255 255 / .04);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
.mecanica h3 { display: flex; align-items: center; justify-content: center; min-height: 88px; font-size: 52px; font-weight: 650; line-height: .95; letter-spacing: -.01em; }
.mecanica p { margin-top: 18px; font-size: 19px; font-weight: 400; line-height: 1.25; text-shadow: 0 1px 8px rgb(20 50 90 / .35); }

/* ── 05 trilhas ─────────────────────────────────────────────────── */

.trilhas { min-height: 665px; padding: 58px 0 60px; background: #bcdddb url("img/trilhas_bg.webp") center / cover no-repeat; text-align: center; --fundo: url("img/trilhas_bg.webp"); }
.trilhas h2 { font-size: 40px; font-weight: 600; color: var(--cinza-titulo); }
.trilhas__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.trilha {
  min-height: 410px; padding: 50px 44px 30px; border-radius: 16px; text-align: left; color: var(--branco);
  background: linear-gradient(160deg, rgb(40 40 44 / .92), rgb(60 60 66 / .72));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.trilha h3 { min-height: 64px; margin-bottom: 26px; font-size: 32px; font-weight: 600; line-height: 1.05; text-align: center; }
.trilha p { font-size: 19px; font-weight: 400; line-height: 1.25; }
.trilha p + p { margin-top: 22px; }

/* ── 06 reconhecimento ──────────────────────────────────────────── */

.reconhecimento {
  min-height: 932px; padding: 68px 0 80px; text-align: center; color: var(--branco);
  background: var(--base-escura) url("img/reconhecimento_bg.webp") center / cover no-repeat;
}
.reconhecimento h2 { font-size: 38px; font-weight: 400; text-transform: uppercase; color: var(--cinza-titulo); }
.reconhecimento h2 strong { font-weight: 700; }
.medalhas3d { position: relative; width: min(100%, 720px); aspect-ratio: 720 / 400; margin: 44px auto 0; display: grid; place-items: center; }
.reconhecimento__medalhas { width: 670px; transition: opacity .8s ease; }
.medalhas3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.medalhas3d--pronto canvas { opacity: 1; }
.medalhas3d--pronto .reconhecimento__medalhas { opacity: 0; }
.reconhecimento h3 { margin-top: 70px; font-size: 27px; font-weight: 600; }
.reconhecimento__intro { max-width: 900px; margin: 22px auto 0; font-size: 20px; font-weight: 400; line-height: 1.25; }
.beneficios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.beneficios li {
  display: grid; align-content: center; gap: 4px; min-height: 99px; padding: 14px 24px;
  border: 1px solid rgb(255 255 255 / .85); border-radius: 10px; font-size: 13px; font-weight: 400; line-height: 1.2;
}
.beneficios strong { display: block; font-size: 17px; font-weight: 600; }

/* ── 07 login ───────────────────────────────────────────────────── */

.login { min-height: 491px; padding: 70px 0 60px; text-align: center; color: var(--branco); background: #1f1f1f url("img/login_bg.webp") center / cover no-repeat; }
.login h2 { font-size: 38px; font-weight: 600; }
.login__logos { display: flex; align-items: center; justify-content: center; gap: 70px; margin-top: 66px; }
.login__logos img:first-child { width: 327px; }
.login__logos img:last-child { width: 327px; }
.login__mais {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--branco); color: var(--tinta); font-size: 22px; font-weight: 700; line-height: 1;
}
.login p { max-width: 982px; margin: 54px auto 0; font-size: 13.5px; font-weight: 400; line-height: 1.2; text-align: left; }

/* ── 08 cta ─────────────────────────────────────────────────────── */

.cta { background: var(--branco); }
.cta .faixa__linha { min-height: 140px; }
.cta__texto { font-size: 27px; font-weight: 600; color: var(--tinta); white-space: nowrap; }

/* ── 09 faq ─────────────────────────────────────────────────────── */

.faq { padding: 62px 0 90px; background: #ffdd7d url("img/faq_bg.webp") center / cover no-repeat; --fundo: url("img/faq_bg.webp"); }
.faq h2 { padding-left: 20px; font-size: 40px; font-weight: 600; color: var(--grafite); }
.faq__caixa {
  margin-top: 26px; padding: 26px 30px 60px; border-radius: 12px; background: var(--grafite);
  box-shadow: 0 30px 60px rgb(0 0 0 / .35);
}
.faq details { padding: 9px 0; }
.faq summary {
  display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 600; color: var(--branco);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 600; color: var(--dourado-claro); }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 1000px; margin-top: 6px; font-size: 15px; font-weight: 300; line-height: 1.3; color: var(--dourado-claro); }

/* ── 10 rodapé ──────────────────────────────────────────────────── */

.rodape { min-height: 359px; padding: 113px 0 60px; color: var(--branco); background: #1b1b1b url("img/rodape_bg.webp") center / cover no-repeat; }
.rodape .wrap { width: min(100% - 32px, 1052px); }
.rodape__links { display: flex; flex-wrap: wrap; gap: 21px; }
.rodape__legal { margin-top: 26px; font-size: 13.5px; font-weight: 400; line-height: 1.2; }
.rodape__copy { margin-top: 20px; font-size: 13px; font-weight: 600; }

/* ── parallax (só desktop; JS escreve --py) ───────────────────────── */

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .js .app[data-paralaxe], .js .como[data-paralaxe], .js .trilhas[data-paralaxe], .js .faq[data-paralaxe] {
    position: relative; isolation: isolate; overflow: hidden; background-image: none;
  }
  .js .app[data-paralaxe]::after, .js .como[data-paralaxe]::after, .js .trilhas[data-paralaxe]::after, .js .faq[data-paralaxe]::after {
    content: ""; position: absolute; inset: -70px 0; z-index: -1; pointer-events: none;
    background: var(--fundo) center / cover no-repeat;
    translate: 0 var(--py, 0px); will-change: translate;
  }
  .js .hero__foto { top: -70px; height: calc(100% + 70px); translate: 0 var(--py, 0px); } /* folga pra não abrir vão no topo */
}

/* ── mobile (sem layout de referência — adaptado do desktop) ───── */

@media (max-width: 900px) {
  .topo { position: static; padding: 16px 0; background: var(--branco); }
  .topo__linha { grid-template-columns: auto 1fr auto; gap: 12px; }
  .topo__logo { width: 110px; grid-column: 1; grid-row: 1; }
  .topo .botao { grid-column: 3; grid-row: 1; padding: 0 14px; font-size: 14px; }

  .hero { display: block; min-height: 0; }
  .hero__foto { position: static; height: 72vw; object-position: 72% 30%; }
  .hero__texto { padding: 28px 0 32px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 17px; text-align: left; }
  .marca--wibx { --h: 30px; }

  .faixa__linha, .cta .faixa__linha { flex-direction: column; align-items: flex-start; padding: 24px 0; }
  .lojas { flex-wrap: wrap; gap: 12px; }

  .app { min-height: 0; padding: 40px 0 0; }
  .app__frase { position: static; order: -1; padding: 0 16px 24px; font-size: 26px; }
  .app__celular { width: min(78vw, 360px); }

  .forca h2 { font-size: 24px; }
  .forca__cards { grid-template-columns: 1fr; gap: 14px; }
  .card-numero { min-height: 0; }

  /* mobile sem referência: passos (texto branco da PSD) caem fora da foto — céu escurecido atrás deles para legibilidade */
  .como { min-height: 0; padding: calc(72vw + 56px) 0 40px; background: url("img/como_bg_768.webp") top center / 100% auto no-repeat, linear-gradient(#b4d8f7 0, #b4d8f7 71vw, #3a74b3 calc(72vw + 56px), #2f6aa6 100%); }
  .passos { grid-template-columns: 1fr; row-gap: 28px; padding: 0; }
  .passo--1, .passo--2, .passo--3 { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; }
  .passo--3 h3 { margin-left: 0; }
  .passo h3 { font-size: 26px; }
  .mecanicas { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .mecanica { min-height: 0; padding: 26px 20px; }
  .mecanica h3 { min-height: 0; font-size: 40px; }
  .mecanica p { font-size: 17px; margin-top: 10px; }

  .trilhas { min-height: 0; padding: 44px 0; background-image: url("img/trilhas_bg_768.webp"); }
  .trilhas h2 { font-size: 26px; }
  .trilhas__cards { grid-template-columns: 1fr; margin-top: 28px; }
  .trilha { min-height: 0; padding: 30px 24px; }
  .trilha h3 { min-height: 0; margin-bottom: 18px; font-size: 26px; }
  .trilha p { font-size: 17px; }
  .trilha p + p { margin-top: 14px; }

  .reconhecimento { min-height: 0; padding: 44px 0; background-image: url("img/reconhecimento_bg_768.webp"); }
  .reconhecimento h2 { font-size: 24px; }
  .medalhas3d { margin-top: 20px; }
  .reconhecimento__medalhas { width: 100%; }
  .reconhecimento h3 { margin-top: 36px; font-size: 21px; }
  .reconhecimento__intro { font-size: 16px; }
  .beneficios { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }

  .login { min-height: 0; padding: 44px 0; background-image: url("img/login_bg_768.webp"); }
  .login h2 { font-size: 26px; }
  .login__logos { gap: 18px; margin-top: 32px; }
  .login__logos img:first-child, .login__logos img:last-child { width: 38vw; }
  .login__mais { flex: none; width: 28px; height: 28px; font-size: 18px; }
  .login p { margin-top: 32px; font-size: 14px; }

  .cta__texto { font-size: 22px; white-space: normal; }

  .faq { min-height: 0; padding: 44px 0; background-image: url("img/faq_bg_768.webp"); }
  .faq h2 { padding-left: 0; font-size: 28px; }
  .faq__caixa { padding: 16px 18px 24px; }
  .faq summary { font-size: 16px; }
  .faq details p { font-size: 14px; }

  .rodape { min-height: 0; padding: 44px 0; background-image: url("img/rodape_bg_768.webp"); }
  .rodape__links { gap: 12px; }
}

/* ── movimento (pacote A — sutil) ──────────────────────────────────
   Só opacity/translate/transform (composição da GPU, sem layout shift).
   Sem JS (.js ausente) ou com "reduzir movimento" no sistema: página estática. */

.card-numero, .mecanica, .trilha, .beneficios li, .loja, .botao {
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
.mecanica:hover, .trilha:hover, .card-numero:hover, .beneficios li:hover { transform: translateY(-4px); }
.mecanica:hover { box-shadow: 0 18px 40px rgb(30 70 120 / .25); }
.loja:hover, .botao:hover { transform: scale(1.04); }

@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }

  /* entrada ao rolar, em cascata por --i */
  .js [data-anima] {
    opacity: 0; translate: 0 24px;
    transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1), transform .3s ease, box-shadow .3s ease;
    transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s;
  }
  .js [data-anima].visivel { opacity: 1; translate: none; }

  /* hero: foto assenta com zoom-out lento; topo desce */
  .hero__foto { animation: assentar 2.4s cubic-bezier(.2, .7, .2, 1) both; }
  .topo { animation: descer .8s .2s ease both; }
  @keyframes assentar { from { transform: scale(1.08); } }
  @keyframes descer { from { opacity: 0; translate: 0 -12px; } }

  /* celular da seção 2 flutua (o da seção 4 é parte do fundo) */
  .app__celular { animation: flutuar 6s ease-in-out infinite; }
  @keyframes flutuar { 50% { transform: translateY(-10px); } }

  /* brilho atravessando as seções com light leak */
  .brilho { position: relative; overflow: hidden; }
  .brilho::before {
    content: ""; position: absolute; inset: -10% -40%; pointer-events: none;
    background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .16) 50%, transparent 60%);
    translate: -60% 0; animation: varrer 9s ease-in-out infinite;
  }
  .hero.brilho::before { z-index: 1; }
  .hero__texto { z-index: 2; }
  @keyframes varrer { 0%, 15% { translate: -60% 0; } 85%, 100% { translate: 60% 0; } }

  /* FAQ abre/fecha com transição (navegadores que suportam ::details-content) */
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s ease, content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
