/* ============================================================
   LAVOX-Tube® — página de entrega do e-book
   Paleta derivada da capa do e-book (fundo naval profundo,
   acento ciano e as quatro cores dos pilares).
   ============================================================ */

:root {
  --fundo:        #0a1a24;
  --fundo-2:      #0e2432;
  --fundo-3:      #123043;
  --borda:        #1d4055;

  --acento:       #4fd1c5;
  --acento-claro: #8fd6ea;

  --texto:        #e9f2f6;
  --texto-suave:  #9db4c2;

  --impulso:      #9b6dc4;
  --fluxo:        #3b9fe0;
  --potencia:     #f2d03b;
  --impacto:      #e8574c;

  --erro:         #ff9a8f;

  --raio:         12px;
  --gutter:       16px;
  --max:          1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap.estreito { max-width: 560px; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }

a { color: var(--acento); }

/* ------------------------------------------------------------ hero */

.hero {
  padding: 72px 0 64px;
  text-align: center;
  background:
    radial-gradient(1000px 520px at 50% -10%, rgba(79, 209, 197, .16), transparent 62%),
    linear-gradient(180deg, var(--fundo-2) 0%, var(--fundo) 100%);
  border-bottom: 1px solid var(--borda);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--acento);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.7rem, 6vw, 2.9rem);
  font-weight: 400;
  color: var(--acento-claro);
  letter-spacing: .01em;
}

.hero h1 .marca {
  display: inline-block;
  margin-top: .18em;
  color: var(--texto);
  font-weight: 600;
  letter-spacing: -.01em;
}

.hero h1 sup { font-size: .45em; top: -.9em; }

.subtitulo {
  margin: .4em auto 0;
  max-width: 26ch;
  font-size: clamp(1.02rem, 3.4vw, 1.3rem);
  color: var(--texto-suave);
}

/* pilares */

.pilares {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin: 36px 0 22px;
  padding: 0;
  list-style: none;
}

.pilares li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 74px;
  color: var(--cor);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pilares .barra {
  width: 66px;
  height: 3px;
  border-radius: 2px;
  background: var(--cor);
}

.lema {
  margin: 0 auto;
  padding-top: 20px;
  max-width: 300px;
  border-top: 1px solid var(--borda);
  color: var(--texto-suave);
  font-size: .94rem;
}

.autoria {
  margin: 28px 0 32px;
  color: var(--texto-suave);
  font-size: .9rem;
}

.autoria strong { color: var(--texto); font-weight: 600; }

/* ----------------------------------------------------------- botões */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 0;
  border-radius: var(--raio);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.btn-primario {
  background: linear-gradient(135deg, var(--acento) 0%, #35b3a8 100%);
  color: #06232a;
  box-shadow: 0 6px 20px rgba(79, 209, 197, .22);
}

.btn-primario:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(79, 209, 197, .3); }
.btn-primario:active { transform: translateY(0); }
.btn-primario[disabled] { opacity: .55; cursor: progress; transform: none; }

.btn.largo { display: block; width: 100%; }

:where(a, button, input):focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}

/* --------------------------------------------------------- conteúdo */

.conteudo { padding: 64px 0; }

.conteudo h2 {
  margin-bottom: 32px;
  font-size: clamp(1.3rem, 4.4vw, 1.75rem);
  text-align: center;
}

.grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.cartao {
  padding: 22px 20px;
  background: var(--fundo-2);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
}

.cartao h3 {
  margin-bottom: 12px;
  color: var(--acento);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cartao ul { margin: 0; padding-left: 18px; color: var(--texto-suave); font-size: .93rem; }
.cartao li { margin-bottom: 5px; }

.para-quem {
  margin: 34px auto 0;
  max-width: 44ch;
  color: var(--texto-suave);
  text-align: center;
}

.para-quem strong { color: var(--texto); font-weight: 600; }

/* ------------------------------------------------------------- form */

.receber {
  padding: 60px 0 76px;
  background: linear-gradient(180deg, var(--fundo) 0%, var(--fundo-2) 100%);
  border-top: 1px solid var(--borda);
}

.receber h2 { font-size: clamp(1.3rem, 4.4vw, 1.75rem); text-align: center; }

.apoio {
  margin: 0 0 28px;
  color: var(--texto-suave);
  font-size: .95rem;
  text-align: center;
}

.campo { margin-bottom: 18px; }

.campo label {
  display: block;
  margin-bottom: 7px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--texto-suave);
}

.campo input {
  width: 100%;
  padding: 13px 15px;
  background: var(--fundo-3);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  color: var(--texto);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .12s ease;
}

.campo input::placeholder { color: #5f7c8c; }
.campo input:focus { border-color: var(--acento); outline: none; }
.campo input[aria-invalid="true"] { border-color: var(--erro); }

.campo select {
  width: 100%;
  padding: 13px 40px 13px 15px;
  background: var(--fundo-3)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239db4c2'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%239db4c2' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  background-size: 16px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  color: var(--texto);
  font-family: inherit;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .12s ease;
}

.campo select:invalid { color: #5f7c8c; }
.campo select:focus { border-color: var(--acento); outline: none; }
.campo select[aria-invalid="true"] { border-color: var(--erro); }
.campo select option { color: var(--texto); background: var(--fundo-3); }

.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consentimento {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 22px 0 20px;
}

.consentimento input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--acento);
}

.consentimento label {
  font-size: .85rem;
  line-height: 1.5;
  color: var(--texto-suave);
  cursor: pointer;
}

.erros {
  margin-bottom: 18px;
  padding: 12px 15px;
  background: rgba(232, 87, 76, .12);
  border: 1px solid rgba(232, 87, 76, .4);
  border-radius: var(--raio);
  color: var(--erro);
  font-size: .89rem;
}

.erros ul { margin: 0; padding-left: 18px; }

/* ---------------------------------------------------------- sucesso */

#painel-sucesso { text-align: center; }

.selo-ok {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(79, 209, 197, .14);
  border: 2px solid var(--acento);
  color: var(--acento);
  font-size: 1.7rem;
  font-weight: 700;
}

#nome-eco { color: var(--acento); }

.dica {
  margin-top: 22px;
  color: var(--texto-suave);
  font-size: .85rem;
  line-height: 1.55;
}

/* ----------------------------------------------------------- rodapé */

footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--borda);
  color: var(--texto-suave);
  font-size: .82rem;
  line-height: 1.6;
  text-align: center;
}

.marca-rodape {
  margin: 0 0 12px;
  color: var(--texto);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.direitos { margin-top: 16px; font-size: .74rem; opacity: .72; }

/* ------------------------------------------------------ preferências */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
