/* Black Aqualife 2026 — landing do Grupo VIP
   Direção: "aquário no escuro". Base quase preta azulada, luz azul/ciano da
   marca como brilho, tipografia condensada de pôster para a assinatura Black.
   Paleta oficial (SVG): #2850CC #0487F6 #06DBF8 #0862E5. Demais tons = suporte. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* marca (SVG oficial) */
  --brand: #2850CC;
  --brand-2: #0862E5;
  --vivid: #0487F6;
  --cyan: #06DBF8;
  /* suporte: o "black" é um azul-abissal, não preto neutro */
  --abyss: #020818;
  --deep: #04102E;
  --surface: #071A45;
  --line: rgba(140, 190, 255, .16);
  --text: #FFFFFF;
  --text-soft: #BBD0EE;
  --text-mute: #8EA7CC;
  --icon: #4DB8FF;

  --font-poster: "Anton", "Sora", ui-sans-serif, sans-serif;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 40px);
  --radius-media: 14px;
  --radius-cta: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--abyss); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--abyss);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--cyan); color: var(--abyss); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Fase da campanha: [data-show] aparece só na fase; [data-hide] some na fase */
[data-show] { display: none; }
html[data-phase="pre"]   [data-show="pre"],
html[data-phase="live"]  [data-show="live"],
html[data-phase="ended"] [data-show="ended"] { display: block; }
html[data-phase="ended"] [data-hide="ended"] { display: none; }
.hero__title > [data-show], .hero__title > [data-hide] { display: none; }
html:not([data-phase="ended"]) .hero__title > [data-hide="ended"],
html[data-phase="ended"] .hero__title > [data-show="ended"] { display: inline; }

/* ---------- 0 · Faixa de urgência ---------- */
.urgency {
  position: relative;
  z-index: 5;
  background: var(--cyan);
  color: var(--abyss);
  padding: 8px var(--gutter);
  text-align: center;
}
.urgency__inner {
  max-width: 960px;
  min-height: 30px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
}
.urgency__msg {
  font-family: var(--font-poster);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.countdown__units { display: flex; gap: 12px; justify-content: center; }
.countdown__units li { display: flex; align-items: baseline; gap: 3px; }
.countdown__units b {
  display: inline-block;
  min-width: 1.15em;
  font-family: var(--font-poster);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.countdown__units small {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
}

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(70% 38% at 50% 52%, rgba(4, 135, 246, .30) 0%, rgba(40, 80, 204, .12) 45%, transparent 75%),
    radial-gradient(120% 50% at 50% -8%, rgba(22, 74, 168, .55) 0%, transparent 70%),
    var(--abyss);
  padding: 12px var(--gutter) 40px;
}
/* feixes de luz de aquário vindos de cima */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 60%;
  z-index: -1;
  background:
    linear-gradient(100deg, transparent 22%, rgba(6, 219, 248, .07) 32%, transparent 40%,
                    transparent 60%, rgba(4, 135, 246, .08) 67%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 680px; margin-inline: auto; }

.hero__stage { position: relative; max-width: 680px; margin-inline: auto; }
.hero__logo {
  width: min(130px, 36vw);
  height: auto;
  margin: 0 auto 10px;
}

.media { position: relative; overflow: hidden; border-radius: var(--radius-media); }
.media img { width: 100%; height: 100%; object-fit: cover; }

.hero__media {
  aspect-ratio: 16 / 9;
  max-height: 34vh;
  min-height: 150px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, #0C2F73 0%, #06183F 100%);
  box-shadow: 0 24px 40px -18px rgba(4, 135, 246, .45);
}
/* fundo da foto dissolve no escuro para a assinatura "Black" encostar */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 50%, rgba(2, 8, 24, .85) 100%);
  box-shadow: inset 0 1px 0 rgba(160, 240, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .12);
  pointer-events: none;
}

.media__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 12px 28%;
  font-size: .75rem;
  line-height: 1.35;
  color: #9EBCE6;
  border: 1.5px dashed currentColor;
  border-radius: inherit;
}
.media__placeholder svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* Assinatura da campanha (linha de apoio "Black Aqualife · 23 a 28 de novembro") */
.lockup {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: -.68em auto 12px;
  font-size: clamp(5.25rem, 27vw, 11rem);
}
.lockup__black {
  display: block;
  font-family: var(--font-poster);
  font-weight: 400;
  font-size: 1em;
  line-height: .86;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 6px 40px rgba(6, 219, 248, .45), 0 2px 0 rgba(2, 8, 24, .4);
}
.lockup__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
  font-size: 1rem;
}
.lockup__brand {
  font-family: var(--font-poster);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.lockup__date {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 6px 10px 5px;
  border: 1.5px solid var(--cyan);
  border-radius: 999px;
  line-height: 1;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: 20ch;
  margin: 0 auto 8px;
}
.hero__lead {
  font-size: clamp(.9375rem, .88rem + .3vw, 1.0625rem);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 54ch;
  margin: 0 auto 14px;
  text-wrap: pretty;
}

/* ---------- CTA ---------- */
.cta-block { max-width: 440px; margin-inline: auto; }
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border-radius: var(--radius-cta);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s;
}
.cta__icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.cta:active { transform: translateY(1px) scale(.99); }
.cta--light {
  background: var(--text);
  color: #0D3D93;
  box-shadow: 0 12px 30px -10px rgba(6, 219, 248, .55);
}
.cta--brand {
  background: var(--brand);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 14px 30px -12px rgba(4, 135, 246, .8);
}
@media (hover: hover) {
  .cta--light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(6, 219, 248, .7); }
  .cta--brand:hover { background: #2347BA; transform: translateY(-2px); }
}
.cta[aria-busy="true"] { opacity: .85; cursor: progress; }

.cta-note { margin-top: 10px; font-size: .8125rem; color: var(--text-mute); }
.cta-status:empty { display: none; }
.cta-status {
  margin-top: 10px;
  font-size: .8125rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  color: var(--text);
}

/* ---------- Fita da campanha ---------- */
.tapes {
  position: relative;
  height: 92px;
  margin: -34px 0 -10px;
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
}
.tape {
  position: absolute;
  left: -10%;
  width: 120%;
  top: 50%;
  padding: 8px 0 7px;
  white-space: nowrap;
  overflow: hidden;
  font-family: var(--font-poster);
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tape span { display: inline-block; }
.tape--front {
  background: var(--cyan);
  color: var(--abyss);
  transform: translateY(-50%) rotate(-4deg);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7);
}
.tape--back {
  background: var(--brand);
  color: rgba(255, 255, 255, .82);
  transform: translateY(-50%) rotate(4deg);
}
.hero__media .media__placeholder svg { display: none; }

/* ---------- Seções ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  text-align: center;
  text-wrap: balance;
  margin-bottom: 22px;
}

/* 2 · Benefícios: lista com divisórias finas, sem cartões */
.benefits { padding: 36px var(--gutter) 32px; }
.benefits__list { max-width: 960px; margin-inline: auto; }
.benefit {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.benefit:last-child { border-bottom: 1px solid var(--line); }
.benefit__icon {
  grid-row: span 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(4, 135, 246, .14);
  border: 1px solid rgba(77, 184, 255, .28);
  color: var(--icon);
}
.benefit__icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.benefit__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin: 2px 0 4px;
}
.benefit__text { font-size: .9375rem; color: var(--text-soft); max-width: 40ch; }

/* 3 · Galeria */
.gallery { padding: 12px var(--gutter) 48px; text-align: center; }
html[data-phase="ended"] .gallery { padding-top: 44px; }
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 960px;
  margin-inline: auto;
}
.gallery__item {
  aspect-ratio: 4 / 5;
  background: var(--deep);
  box-shadow: inset 0 0 0 1px var(--line);
}
.gallery__item .media__placeholder { padding-bottom: 12px; }
.gallery__caption { margin-top: 14px; font-size: .875rem; color: var(--text-mute); }

/* 4 · Fechamento: a luz volta a subir do fundo */
.closing {
  position: relative;
  padding: 52px var(--gutter) 48px;
  text-align: center;
  background:
    radial-gradient(75% 85% at 50% 100%, rgba(40, 80, 204, .55) 0%, rgba(8, 98, 229, .18) 45%, transparent 75%),
    var(--abyss);
  border-top: 1px solid var(--line);
}
.closing__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: 20ch;
  margin: 0 auto 12px;
}
.closing__text {
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0 auto 24px;
  text-wrap: pretty;
}

.footer {
  background: #01040D;
  border-top: 1px solid var(--line);
  padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: .8125rem;
  color: var(--text-mute);
}
.footer__legal { margin-top: 6px; }

/* Aviso de prévia (some quando não há pendências) */
.preview-note {
  background: #FFF4CC;
  color: #4D3800;
  padding: 12px var(--gutter);
  font-size: .8125rem;
  text-align: center;
}

/* ---------- Página de política de privacidade ---------- */
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin-inline: auto;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.legal-header__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
}
.legal-header__back:hover { color: var(--text); }
.legal-header__back svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.legal-header__logo { width: 120px; height: auto; }

.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: 36px var(--gutter) 64px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 8px;
}
.legal__meta { font-size: .875rem; color: var(--text-mute); margin-bottom: 28px; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.3;
  color: var(--text);
  margin: 40px 0 12px;
}
.legal h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.legal p, .legal ul { max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li { margin: 6px 0; }
.legal li::marker { color: var(--cyan); }
.legal strong { color: var(--text); font-weight: 650; }
.legal a { color: var(--cyan); }
.legal code {
  font-size: .875em;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
}
.legal mark {
  background: #FFE58A;
  color: #3D2C00;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
}
.legal__table {
  margin: 16px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .875rem; line-height: 1.45; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--text); font-weight: 700; background: var(--deep); }
.legal tr:last-child td { border-bottom: 0; }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .urgency { padding: 10px var(--gutter); }
  .urgency__inner { gap: 4px 22px; }
  .urgency__msg { font-size: 1.25rem; }
  .countdown__units { gap: 16px; }
  .countdown__units b { font-size: 1.875rem; }
  .countdown__units small { font-size: .75rem; }

  .hero { padding: 22px var(--gutter) 56px; }
  .hero__inner { max-width: 860px; }
  .hero__logo { width: 160px; margin-bottom: 14px; }
  .hero__media { max-width: 680px; max-height: min(300px, 34vh); }
  .lockup { font-size: clamp(7rem, 4rem + 8vw, 11rem); margin-bottom: 22px; }
  .lockup__row { gap: 12px; margin-top: 10px; }
  .lockup__brand { font-size: 2.5rem; }
  .lockup__date { font-size: .8125rem; padding: 8px 14px 7px; }
  .hero__title { max-width: 820px; }
  .hero__lead { margin-bottom: 24px; }
  .cta { min-height: 58px; font-size: 1.0625rem; }

  .tapes { height: 120px; margin: -48px 0 -8px; }
  .tape { font-size: 1.375rem; padding: 10px 0 9px; }
  .tape--front { transform: translateY(-50%) rotate(-2.4deg); }
  .tape--back { transform: translateY(-50%) rotate(2.4deg); }

  .benefits { padding: 52px var(--gutter) 48px; }
  .section-title { margin-bottom: 32px; }
  .benefits__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
  .benefit { grid-template-columns: 1fr; padding: 24px 0 0; }
  .benefit:last-child { border-bottom: 0; }
  .benefit__icon { grid-row: auto; margin-bottom: 14px; }

  .gallery { padding: 24px var(--gutter) 72px; }
  .gallery__grid { gap: 16px; max-width: 760px; }

  .closing { padding: 80px var(--gutter) 72px; }
}

/* Um único momento: a luz percorre a borda superior do aquário ao carregar.
   Texto e CTA não animam (aparecem imediatamente, sem atrasar o LCP). */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 40%;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(6, 219, 248, .95), transparent);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media::before { animation: waterline 1.6s var(--ease-out) .3s 1 both; }
  @keyframes waterline {
    0%   { transform: translateX(-100%); opacity: 0; }
    20%  { opacity: 1; }
    100% { transform: translateX(260%); opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}
