/* Paleta: o oceano Atlântico à noite + o ouro da marca */
:root {
  --abismo: #061321;
  --fundo: #0a1c30;
  --mare: #16395b;
  --ouro: #e6b64f;
  --ouro-claro: #f5d68c;
  --ouro-fundo: #b9861f;
  --perola: #eef2f6;
  --nevoa: #9fb1c4;
  --verde-whats: #25d366;

  --fonte-titulo: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --fonte-texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --raio: 14px;
  --largura: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--abismo);
  color: var(--perola);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ouro-claro);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--ouro); color: var(--abismo); }

/* Céu: aurora dourada nascendo atrás do vídeo + linha do horizonte */
.ceu {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--fundo) 0%, var(--abismo) 62%);
}

.aurora {
  position: absolute;
  left: 50%;
  top: 38vh;
  width: min(1400px, 160vw);
  height: 70vh;
  transform: translateX(-50%);
  background:
    radial-gradient(50% 45% at 50% 50%, rgb(230 182 79 / .22), transparent 70%),
    radial-gradient(70% 60% at 50% 60%, rgb(22 57 91 / .9), transparent 75%);
  filter: blur(10px);
  opacity: 0;
  animation: nascer 2.4s .5s cubic-bezier(.16, 1, .3, 1) forwards;
}

.horizonte {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(38vh + 35vh);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(245 214 140 / .55) 30%, var(--ouro-claro) 50%, rgb(245 214 140 / .55) 70%, transparent);
  transform: scaleX(0);
  animation: linha 1.8s .3s cubic-bezier(.65, 0, .35, 1) forwards;
}

@keyframes nascer {
  from { opacity: 0; transform: translateX(-50%) translateY(8vh); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes linha { to { transform: scaleX(1); } }

/* Topo */
.topo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 16px 0;
}

.topo-marca { width: 34px; height: auto; }

.topo-nome {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-stretch: 110%;
  font-size: .95rem;
  letter-spacing: .01em;
  line-height: 1.2;
}

.topo-nome span {
  display: block;
  font-family: var(--fonte-texto);
  font-weight: 500;
  font-size: .78rem;
  color: var(--nevoa);
  letter-spacing: 0;
}

main { position: relative; z-index: 1; }

/* VSL */
.vsl {
  max-width: var(--largura);
  margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) 16px 0;
  text-align: center;
}

.convite {
  margin: 0 0 14px;
  text-wrap: balance;
  color: var(--ouro-claro);
  font-weight: 600;
  font-size: .95rem;
}

h1 {
  margin: 0 auto;
  max-width: 31ch;
  font-family: var(--fonte-titulo);
  font-weight: 760;
  font-stretch: 116%;
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -.022em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 30%, #c9d6e3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.apoio {
  margin: 16px auto 0;
  text-wrap: balance;
  max-width: 52ch;
  color: var(--nevoa);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

/* Moldura do vídeo: filete dourado e luz que vem de baixo */
.moldura {
  position: relative;
  max-width: min(880px, calc((100dvh - 440px) * 16 / 9));
  min-width: min(100%, 520px);
  margin: clamp(24px, 3.5vh, 36px) auto 0;
  padding: 1px;
  border-radius: calc(var(--raio) + 1px);
  background: linear-gradient(160deg, rgb(245 214 140 / .85), rgb(185 134 31 / .25) 40%, rgb(245 214 140 / .15) 60%, rgb(230 182 79 / .8));
  box-shadow:
    0 40px 120px -30px rgb(230 182 79 / .35),
    0 24px 60px -20px rgb(0 8 20 / .8);
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--raio);
  overflow: hidden;
  background: var(--abismo);
}

.player iframe,
.player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.player-capa {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  background: none;
}

.capa-fundo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 100%, rgb(230 182 79 / .25), transparent 70%),
    linear-gradient(180deg, #0d2540, #061321);
  background-size: cover;
  background-position: center;
}

.capa-fundo.com-imagem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(6 19 33 / .1), rgb(6 19 33 / .55));
}

.capa-marca {
  position: absolute;
  width: clamp(90px, 16%, 160px);
  opacity: .12;
}

.capa-fundo.com-imagem ~ .capa-marca,
.capa-fundo.com-imagem ~ .capa-dica { display: none; }

.play {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(68px, 9vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ouro-claro), var(--ouro) 55%, var(--ouro-fundo));
  color: var(--abismo);
  box-shadow: 0 0 0 10px rgb(230 182 79 / .14), 0 18px 40px -10px rgb(0 0 0 / .6);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
}

.play svg { width: 42%; margin-left: 8%; fill: currentColor; }

.player-capa:hover .play,
.player-capa:focus-visible .play {
  transform: scale(1.07);
  box-shadow: 0 0 0 16px rgb(230 182 79 / .16), 0 18px 40px -10px rgb(0 0 0 / .6);
}

.capa-dica {
  position: absolute;
  bottom: clamp(12px, 3.5%, 24px);
  left: 0;
  right: 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--perola);
  opacity: .85;
}

/* Botões: um dourado (cadastro), um verde de contorno (WhatsApp) */
.acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: clamp(22px, 3.5vh, 32px) auto 0;
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.acoes.escondido {
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: var(--fonte-texto);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, background-color .3s;
  -webkit-tap-highlight-color: transparent;
}

.botao:active { transform: translateY(1px) scale(.985); }

.botao-ouro {
  position: relative;
  overflow: hidden;
  color: #1a1204;
  background: linear-gradient(180deg, var(--ouro-claro), var(--ouro) 60%, #d6a23a);
  box-shadow: 0 1px 0 rgb(255 255 255 / .55) inset, 0 14px 34px -12px rgb(230 182 79 / .75);
}

.botao-ouro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%);
  transform: translateX(-120%);
}

.botao-ouro:hover { box-shadow: 0 1px 0 rgb(255 255 255 / .55) inset, 0 18px 44px -12px rgb(230 182 79 / .95); }

.botao-whats {
  color: var(--perola);
  background: rgb(37 211 102 / .08);
  box-shadow: 0 0 0 1.5px rgb(37 211 102 / .7) inset;
}

.botao-whats svg { width: 22px; height: 22px; fill: var(--verde-whats); }

.botao-whats:hover { background: rgb(37 211 102 / .16); }

.aguarde {
  margin: 20px 0 0;
  color: var(--nevoa);
  font-size: .9rem;
}

/* O que você vai ver */
.revela {
  max-width: 760px;
  margin: clamp(64px, 10vh, 104px) auto 0;
  padding: 0 16px;
}

.revela h2 {
  margin: 0 0 22px;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  letter-spacing: -.01em;
  text-align: center;
}

.revela ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-radius: var(--raio);
  overflow: hidden;
  border: 1px solid rgb(159 177 196 / .14);
}

.revela li {
  position: relative;
  padding: 20px 24px 20px 58px;
  background: rgb(10 28 48 / .72);
  color: var(--nevoa);
}

.revela li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 27px;
  width: 14px;
  height: 14px;
  background: url("assets/marca.png") center / contain no-repeat;
}

.revela strong {
  display: block;
  color: var(--perola);
  font-weight: 700;
}

/* Rodapé */
.rodape {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 72px auto 0;
  padding: 28px 16px calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(159 177 196 / .12);
  text-align: center;
  color: rgb(159 177 196 / .8);
  font-size: .82rem;
  line-height: 1.55;
}

.rodape p { margin: 0 0 8px; }

.rodape a { color: var(--perola); text-underline-offset: 3px; }

/* Barra fixa no celular, quando os botões principais saem da tela */
.barra { display: none; }

@media (max-width: 700px) {
  body { font-size: 1rem; }

  .topo { padding-top: 16px; }

  h1 { font-stretch: 108%; }

  .acoes { flex-direction: column; align-items: stretch; }

  .botao { width: 100%; }

  .barra {
    position: fixed;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgb(6 19 33 / .9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgb(230 182 79 / .25);
    transform: translateY(110%);
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
  }

  .barra.ativa { transform: translateY(0); }

  .barra .botao-ouro { flex: 1; min-height: 52px; font-size: 1rem; padding: 0 18px; }

  .barra .botao-icone { width: 52px; min-height: 52px; padding: 0; flex: none; }

  .rodape { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* Entrada encenada: um único momento, na abertura */
@media (prefers-reduced-motion: no-preference) {
  .entra {
    opacity: 0;
    transform: translateY(16px);
    animation: entrar .9s calc(.25s + var(--i) * .12s) cubic-bezier(.16, 1, .3, 1) forwards;
  }

  .botao-ouro::after { animation: brilho 5s 2.4s ease-in-out infinite; }
}

@keyframes entrar { to { opacity: 1; transform: none; } }

@keyframes brilho {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora { animation: none; opacity: 1; }
  .horizonte { animation: none; transform: none; }
  .acoes, .barra, .play { transition: none; }
}

/* Página da política */
.politica {
  max-width: 68ch;
  margin: 0 auto;
  padding: 40px 16px 0;
  color: var(--nevoa);
}

.politica h1 {
  max-width: none;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  text-align: left;
}

.politica h2 {
  margin: 36px 0 10px;
  color: var(--perola);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 1.2rem;
}

.politica p, .politica li { margin: 0 0 12px; }

.politica ul { padding-left: 1.2em; }

.politica strong { color: var(--perola); }

.politica a { color: var(--ouro-claro); text-underline-offset: 3px; }

.politica .atualizada { font-size: .88rem; }

.politica .voltar { font-size: .92rem; font-weight: 600; }
