@font-face { font-family: "Heading"; src: url("../assets/fonts/HeadingNow-57Extrabold.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Just"; src: url("../assets/fonts/JUSTSans-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Just"; src: url("../assets/fonts/JUSTSans-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Just"; src: url("../assets/fonts/JUSTSans-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --vermelho: #F20831;
  --verm-txt: #C1062A;
  --preto: #000;
  --branco: #fff;
  --fundo: #F2F2EF;
  --linha: #E4E4E0;
  --texto: #0B0B0B;
  --texto-2: #55554F;
  --texto-3: #85857F;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { font-family: "Just", system-ui, sans-serif; font-size: 16px; line-height: 1.55; color: var(--texto); background: var(--branco); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--vermelho); color: #fff; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--vermelho); outline-offset: 3px; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.envolve { width: min(1200px, 100% - 48px); margin: 0 auto; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--verm-txt); }
.tag::before { content: ""; width: 22px; height: 2px; background: var(--vermelho); border-radius: 2px; }
.escuro .tag { color: #fff; }
.titulo { font-family: "Heading"; font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; margin: 0; }
.titulo em { font-style: normal; color: var(--vermelho); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .16s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.verm { background: var(--vermelho); color: #fff; }
.btn.verm:hover { box-shadow: 0 16px 36px -14px rgba(242,8,49,.8); }
.btn.contorno { border-color: rgba(255,255,255,.28); color: #fff; }
.btn.contorno:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn.preto { background: #000; color: #fff; }
.btn.preto:hover { box-shadow: 0 16px 36px -14px rgba(0,0,0,.6); }
.btn.peq { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav .envolve { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav .logo img { width: 52px; display: block; }
.nav .links { display: flex; gap: 26px; margin-left: auto; }
.nav .links a { color: #cfcfcf; text-decoration: none; font-weight: 600; font-size: 15px; transition: color .15s; }
.nav .links a:hover { color: #fff; }
.nav .links .so-mobile { display: none; }
.nav.rolou { background: rgba(0,0,0,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: #1a1a1a; }
.nav .menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #2a2a2a; background: none; color: #fff; cursor: pointer; place-items: center; }
.nav .menu-btn svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #000; color: #fff; min-height: min(100vh, 920px); display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 0; }
.hero::before { content: ""; position: absolute; left: -15%; bottom: -35%; width: 70%; height: 110%; background: radial-gradient(closest-side, rgba(242,8,49,.38), transparent); z-index: -1; animation: pulsar 9s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; right: -6%; top: 8%; width: min(620px, 62vw); aspect-ratio: 1.2; background: url("../assets/logo-branco.svg") no-repeat center / contain; opacity: .05; z-index: -1; }
.hero h1 { font-size: clamp(56px, 10.5vw, 168px); margin-top: 22px; }
.hero h1 .linha { display: block; overflow: hidden; }
.hero h1 .linha > span { display: inline-block; animation: subir-linha .9s var(--ease) both; }
.hero h1 .linha:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .linha:nth-child(3) > span { animation-delay: .16s; }
.hero .base { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: 34px; padding-bottom: 56px; }
.hero p.lead { color: #a8a8a8; font-size: clamp(17px, 1.6vw, 20px); max-width: 620px; margin: 0; }
.hero p.lead b { color: #fff; font-weight: 600; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.faixa { border-top: 1px solid #1c1c1c; overflow: hidden; white-space: nowrap; padding: 18px 0; }
.faixa .trilho { display: inline-flex; gap: 40px; animation: correr 38s linear infinite; padding-left: 40px; }
.faixa span { font-family: "Heading"; text-transform: uppercase; font-size: 22px; color: #5d5d5d; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 40px; }
.faixa span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vermelho); }

/* ---------- seções ---------- */
section.bloco { padding: clamp(80px, 11vw, 150px) 0; }
.cab-secao { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.cab-secao h2 { font-size: clamp(44px, 6.4vw, 96px); margin-top: 18px; }
.cab-secao p { margin: 0; color: var(--texto-2); font-size: 18px; max-width: 520px; }
.escuro { background: #000; color: #fff; }
.escuro .cab-secao p { color: #9b9b9b; }

.frentes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.frente { position: relative; border: 1px solid var(--linha); border-radius: 26px; padding: 36px; background: var(--fundo); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.frente:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.frente .num { font-family: "Heading"; font-size: 15px; color: var(--verm-txt); letter-spacing: .1em; }
.frente h3 { font-family: "Heading"; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 44px); line-height: .92; margin: 14px 0 22px; }
.frente ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.frente li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--linha); font-weight: 600; }
.frente li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--vermelho); transform: translateY(-2px); }
.frente.preta { background: #000; color: #fff; border-color: #000; }
.frente.preta li { border-color: #222; }

.passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid #222; }
.passo { padding: 34px 28px 10px 0; border-right: 1px solid #1d1d1d; margin-right: 28px; }
.passo:last-child { border-right: 0; margin-right: 0; }
.passo .n { font-family: "Heading"; font-size: 64px; line-height: 1; color: var(--vermelho); }
.passo h3 { font-family: "Heading"; text-transform: uppercase; font-size: 26px; margin: 18px 0 10px; }
.passo p { color: #9d9d9d; margin: 0; }

.perfis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.perfil { border-radius: 22px; padding: 28px; border: 1px solid var(--linha); background: #fff; transition: background .25s, color .25s, transform .25s var(--ease); }
.perfil:hover { background: #000; color: #fff; transform: translateY(-4px); }
.perfil:hover p { color: #a0a0a0; }
.perfil h3 { font-family: "Heading"; text-transform: uppercase; font-size: 28px; line-height: .95; margin: 0 0 12px; }
.perfil p { margin: 0; color: var(--texto-2); transition: color .25s; }

.duvidas { border-top: 1px solid var(--linha); }
.duvida { border-bottom: 1px solid var(--linha); }
.duvida summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 26px 0; font-family: "Heading"; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 34px); line-height: 1; }
.duvida summary::-webkit-details-marker { display: none; }
.duvida summary i { margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, color .2s; font-style: normal; font-family: "Just"; font-size: 22px; }
.duvida[open] summary i { transform: rotate(45deg); background: var(--vermelho); color: #fff; border-color: var(--vermelho); }
.duvida p { margin: 0 0 28px; max-width: 760px; color: var(--texto-2); font-size: 18px; }

.insta { background: var(--vermelho); color: #fff; }
.insta .envolve { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 60px 0; }
.insta h2 { font-size: clamp(36px, 5vw, 72px); }
.insta .btn { background: #000; color: #fff; }

/* ---------- contato ---------- */
.contato { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.contato h2 { font-size: clamp(48px, 6.4vw, 96px); margin-top: 18px; }
.contato .lado p { color: #9d9d9d; font-size: 18px; max-width: 420px; }
.form-site { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; background: #0f0f0f; border: 1px solid #1f1f1f; border-radius: 26px; padding: 30px; }
.form-site .cheio { grid-column: 1 / -1; }
.form-site label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: #a9a9a9; }
.form-site input, .form-site select, .form-site textarea { height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid #2b2b2b; background: #151515; color: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.form-site textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.form-site select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.form-site input:focus, .form-site select:focus, .form-site textarea:focus { outline: none; border-color: var(--vermelho); box-shadow: 0 0 0 3px rgba(242,8,49,.25); }
.form-site .aviso { font-size: 13px; color: #7d7d7d; margin: 0; }
.form-site .aviso a { color: #bbb; }
.form-site .rodape-form { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.retorno { font-weight: 600; font-size: 15px; }
.retorno.ok { color: #46C488; }
.retorno.erro { color: #FF5571; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- rodapé ---------- */
.rodape { background: #000; color: #8a8a8a; border-top: 1px solid #1a1a1a; padding: 60px 0 40px; }
.rodape .envolve { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.rodape img { width: 70px; }
.rodape nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.rodape nav a { text-decoration: none; color: #bdbdbd; font-weight: 600; }
.rodape nav a:hover { color: #fff; }
.rodape small { display: block; font-size: 13px; }
.marca-gigante { font-family: "Heading"; text-transform: uppercase; color: #111; font-size: clamp(60px, 15vw, 230px); line-height: .8; text-align: center; margin-top: 50px; user-select: none; letter-spacing: -.01em; }

/* ---------- texto longo (privacidade) ---------- */
.doc { padding: 150px 0 100px; }
.doc .envolve { max-width: 780px; }
.doc h1 { font-size: clamp(48px, 7vw, 96px); margin: 18px 0 30px; }
.doc h2 { font-family: "Heading"; text-transform: uppercase; font-size: 28px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--texto-2); font-size: 17px; }
.topo-simples { background: #000; }
.topo-simples.nav { position: absolute; }

/* ---------- autenticação ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #fff; }
.auth .painel { position: relative; overflow: hidden; isolation: isolate; background: #000; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth .painel::before { content: ""; position: absolute; left: -20%; bottom: -40%; width: 90%; height: 100%; background: radial-gradient(closest-side, rgba(242,8,49,.35), transparent); z-index: -1; }
.auth .painel img { width: 64px; }
.auth .painel h1 { font-size: clamp(54px, 7vw, 112px); margin-top: 16px; }
.auth .painel p { color: #8f8f8f; max-width: 420px; margin: 18px 0 0; }
.auth .painel .volta { color: #9a9a9a; text-decoration: none; font-weight: 600; font-size: 14px; }
.auth .painel .volta:hover { color: #fff; }
.auth .lado-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.caixa { width: min(420px, 100%); }
.caixa h2 { font-family: "Heading"; text-transform: uppercase; font-size: 40px; line-height: .95; margin: 14px 0 8px; }
.caixa > p { color: var(--texto-2); margin: 0 0 28px; }
.form-auth { display: flex; flex-direction: column; gap: 16px; }
.form-auth label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: var(--texto-2); }
.form-auth input { height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--linha); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.form-auth input:hover { border-color: #cfcfca; }
.form-auth input:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(242,8,49,.2); }
.form-auth input[readonly] { background: var(--fundo); color: var(--texto-2); }
.form-auth .senha { position: relative; }
.form-auth .senha input { width: 100%; padding-right: 76px; }
.form-auth .senha button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 10px; border: 0; background: none; color: var(--texto-2); font-weight: 700; font-size: 13px; cursor: pointer; border-radius: 8px; }
.form-auth .senha button:hover { background: var(--fundo); color: var(--texto); }
.form-auth .btn { width: 100%; margin-top: 6px; }
.form-auth .dica { font-weight: 400; color: var(--texto-3); font-size: 12.5px; }
.msg { border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 14px; display: none; }
.msg.erro { display: block; background: #FDEBEE; color: var(--verm-txt); }
.msg.ok { display: block; background: #E3F2EA; color: #11804A; }
.msg.info { display: block; background: var(--fundo); color: var(--texto-2); }
.caixa .pe { margin-top: 24px; font-size: 14px; color: var(--texto-3); }
.forca { height: 4px; border-radius: 99px; background: var(--linha); overflow: hidden; margin-top: 2px; }
.forca i { display: block; height: 100%; width: 0; background: var(--vermelho); transition: width .25s var(--ease), background .25s; }
.carregando { color: var(--texto-3); }

/* ---------- páginas de erro ---------- */
.erro-pag { min-height: 100vh; background: #000; color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; }
.erro-pag::before { content: ""; position: absolute; right: -15%; top: -30%; width: 80%; height: 110%; background: radial-gradient(closest-side, rgba(242,8,49,.3), transparent); z-index: -1; }
.erro-pag header { padding: 32px 0; }
.erro-pag header img { width: 56px; }
.erro-pag main { flex: 1; display: flex; align-items: center; }
.erro-pag .codigo { font-family: "Heading"; font-size: clamp(140px, 30vw, 420px); line-height: .78; color: var(--vermelho); letter-spacing: -.02em; }
.erro-pag h1 { font-size: clamp(40px, 6vw, 84px); margin: 26px 0 0; }
.erro-pag p { color: #9d9d9d; font-size: 18px; max-width: 560px; margin: 18px 0 32px; }
.erro-pag .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.erro-pag footer { padding: 30px 0; color: #5e5e5e; font-size: 13px; }

/* ---------- animações ---------- */
.revelar { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.revelar.visivel { opacity: 1; transform: none; }
@keyframes subir-linha { from { transform: translateY(105%); } }
@keyframes correr { to { transform: translateX(-50%); } }
@keyframes pulsar { to { transform: translate(8%, -6%) scale(1.1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .revelar { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .cab-secao, .contato, .hero .base { grid-template-columns: minmax(0, 1fr); }
  .frentes { grid-template-columns: minmax(0, 1fr); }
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passo:nth-child(2) { border-right: 0; margin-right: 0; }
  .perfis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth .painel { padding: 32px 24px 40px; min-height: 0; gap: 40px; }
  .auth .painel h1 { font-size: clamp(48px, 13vw, 80px); }
  .rodape .envolve { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .rodape nav { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .envolve { width: min(1200px, 100% - 32px); }
  .nav .links { display: none; position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; gap: 0; background: #0b0b0b; border: 1px solid #222; border-radius: 16px; padding: 8px; }
  .nav.aberto .links { display: flex; }
  .nav .links a { padding: 14px 12px; border-radius: 10px; }
  .nav .links a:hover { background: #151515; }
  .nav .menu-btn { display: grid; }
  .nav .links .so-mobile { display: block; }
  .nav .entrar-nav { display: none; }
  .hero { padding-top: 120px; }
  .passos, .perfis { grid-template-columns: minmax(0, 1fr); }
  .passo { border-right: 0; margin-right: 0; border-bottom: 1px solid #1d1d1d; padding: 28px 0; }
  .form-site { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .frente { padding: 26px; }
  .faixa span { font-size: 18px; }
}
