/* Venice → Blite | página de redirecionamento
   Fonte do design: Figma "Site Blite", node 10153:518 (desktop 1440 / mobile 390) */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #060506;
  --white: #f7f7fd;
  --text: #d7d7d7;
  --muted: #8c8c99;
  --pink: #ff1f6b;
  --pink-soft: #ff70a6;
  --pink-num: #ff64b1;
  --pink-btn: #ff2993;
}

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

html, body { min-height: 100%; }

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 102px 24px 80px;
  overflow-x: hidden;
  background: var(--bg);
  color: #fff;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; }

/* ---------- decoração de fundo ---------- */
.decor { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

/* fundo: objeto 3D do "B" em tela cheia (como nos vídeos de motion) */
.bg { position: absolute; inset: 0; transform-origin: 70% 55%; }
.bg__img, .bg__blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
  transform: scale(1.04);
  transform-origin: 100% 40%;
}
.bg__blur { opacity: 0; }
.bg__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 34% 40% at 50% -6%, rgba(200, 20, 90, .55), transparent 70%),
    linear-gradient(90deg, rgba(6, 5, 6, .97) 0%, rgba(6, 5, 6, .86) 32%, rgba(6, 5, 6, .5) 60%, rgba(6, 5, 6, .38) 100%);
}
.decor__aurora--desktop {
  position: absolute;
  width: 720px; height: 720px;
  right: 0; bottom: -360px;
}
.decor__aurora--mobile, .decor__glow { display: none; }

/* ---------- header ---------- */
.header { position: absolute; top: 43px; left: 68px; z-index: 2; }
.header img { width: 108px; height: 42px; }

/* ---------- card ---------- */
.card {
  position: relative;
  z-index: 1;
  width: 760px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 72px 72px 56px;
  border: 1px solid transparent;
  text-align: center;
}
.card__bg {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 32px;
  background: rgba(20, 19, 19, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .4);
}
.card { isolation: isolate; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 31, 107, .4);
  border-radius: 999px;
  background: rgba(255, 31, 107, .12);
  color: var(--pink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .96px;
  white-space: nowrap;
}
.eyebrow img { width: 6px; height: 6px; flex: none; }

.logos { display: flex; align-items: center; gap: 32px; }
.logos__venice { width: 196px; height: 55.18px; }
.logos__blite  { width: 172px; height: 67px; }
.logos__down { display: none; }
.logos__line {
  width: 40px; height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, .25), var(--pink));
}

.title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.56px;
  color: #fff;
}

.lead {
  max-width: 616px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
}

.divider { width: 80px; height: 1px; background: rgba(255, 255, 255, .1); }

.cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.countdown {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: .4px;
  color: var(--muted);
  transition: opacity .2s ease;
}
.countdown strong { font-weight: 700; color: var(--pink-num); }
.countdown.is-paused { opacity: .6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 10px 28px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #e0186f 0%, #c4005a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 24px -8px rgba(224, 24, 111, .55);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 3px; }
.btn > span:not(.btn__progress) { position: relative; z-index: 1; }
.btn__arrow { font-weight: 600; }
/* barra de progresso do redirecionamento: escurece da esquerda p/ direita (contraste só aumenta) */
.btn__progress {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .22);
  transform-origin: left center;
  transform: scaleX(var(--progresso, 0));
  pointer-events: none;
}

.footer {
  position: absolute;
  left: 0; right: 0; bottom: 25px;
  z-index: 1;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- telas menores que o card desktop ---------- */
@media (max-width: 1100px) {
  .bg__img, .bg__blur { transform: scale(1.15); }
}

/* ---------- mobile (frame 390) ---------- */
@media (max-width: 820px) {
  body { padding: 72px 24px 64px; justify-content: center; }

  .header, .decor__aurora--desktop, .btn__extra { display: none; }
  .bg__img, .bg__blur { object-position: 62% 50%; transform: scale(1.55); transform-origin: 60% 55%; }
  .bg__shade {
    background:
      radial-gradient(ellipse 70% 22% at 50% -2%, rgba(200, 20, 90, .5), transparent 70%),
      linear-gradient(180deg, rgba(6, 5, 6, .55) 0%, rgba(6, 5, 6, .35) 50%, rgba(6, 5, 6, .6) 100%);
  }

  .decor__glow {
    display: block;
    position: absolute;
    width: 273px; height: 273px;
    top: -136.5px; left: 50%;
    transform: translateX(-50%);
  }
  .decor__aurora--mobile {
    display: block;
    position: absolute;
    width: 195px; height: 195px;
    top: 60%; right: 0;
  }

  .card {
    width: 342px;
    gap: 16px;
    padding: 28px 20px 24px;
  }
  .card__bg { border-radius: 24px; background: rgba(20, 19, 19, .62); }


  /* mobile: logos empilhados, como no Figma, em escala compacta (75%) */
  .logos { flex-direction: column; gap: 8px; margin: 4px 0; }
  .logos__venice { width: 178.5px; height: 50.25px; }
  .logos__blite  { width: 108px; height: 42px; }
  .logos__line { display: none; }
  .logos__down {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    color: var(--pink);
  }

  .title { font-size: 32px; letter-spacing: -.32px; }
  .lead  { max-width: 294px; font-size: 15px; }

  .countdown { font-size: 16px; letter-spacing: .32px; }
  .btn { width: 100%; max-width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .countdown { transition: none; }
}

/* ---------- saída (fim da contagem) ---------- */
.outro {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.outro__url {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .6px;
  color: rgba(247, 247, 253, .75);
  opacity: 0;
}
.fade { position: fixed; inset: 0; z-index: 4; background: #000; opacity: 0; pointer-events: none; }

/* ---------- estado inicial do motion (só quando o JS ativou .motion) ---------- */
.motion .bg__img,
.motion .card__bg,
.motion .header,
.motion .footer,
.motion .eyebrow,
.motion .logos__venice,
.motion .logos__blite,
.motion .logos__down,
.motion .lead,
.motion .divider,
.motion .cta { opacity: 0; }
.motion .bg__blur { opacity: 1; }
.motion .logos__line { transform: scaleX(0); transform-origin: left center; }
.motion .title .w { display: inline-block; opacity: 0; }
.motion .logos { will-change: transform; }
