/* Santinha City teaser. Palette from the key art: purple/pink sunset sky, gold-orange logo gradient. */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #12081f;
  --night-2: #1b0d33;
  --plum: #3a1760;
  --pink: #ff5e8a;
  --sunset: #ff8a3d;
  --gold: #ffd84d;
  --gold-deep: #ffae1a;
  --ink: #f6eefc;
  --muted: #c3b2d9;
  --line: rgba(255, 255, 255, .12);
  --logo-grad: linear-gradient(180deg, #fff6b0 0%, #ffd84d 30%, #ff9a2e 68%, #e8414f 100%);
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Language: show only spans for the active language */
[data-lang="pt"] [lang="en"], [data-lang="en"] [lang="pt"] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.topbar.is-solid {
  background: rgba(18, 8, 31, .82);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__brand {
  font: 400 22px/1 var(--display); letter-spacing: .02em; text-decoration: none;
  background: var(--logo-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transition: opacity .3s;
}
.topbar.is-solid .topbar__brand { opacity: 1; }
.topbar__brand span { -webkit-text-fill-color: var(--ink); letter-spacing: .25em; font-size: .6em; margin-left: .2em; }
.topbar__nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.topbar__nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; opacity: .85;
}
.topbar__nav a:hover { opacity: 1; color: var(--gold); }
.topbar__cta { border: 1.5px solid var(--gold); color: var(--gold) !important; padding: 7px 14px; border-radius: 999px; }
.langswitch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langswitch button {
  font: 700 12px/1 var(--body); letter-spacing: .08em; color: var(--muted);
  background: transparent; border: 0; padding: 8px 11px; cursor: pointer;
}
[data-lang="pt"] [data-set-lang="pt"], [data-lang="en"] [data-set-lang="en"] { background: var(--gold); color: var(--night); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; text-align: center;
  background: var(--night-2) url("/assets/video/hero-poster.jpg") center / cover no-repeat;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(18, 8, 31, .15) 0%, rgba(18, 8, 31, .65) 70%),
    linear-gradient(180deg, rgba(18, 8, 31, .55) 0%, rgba(18, 8, 31, 0) 25%, rgba(18, 8, 31, 0) 65%, var(--night) 100%);
}
.hero__content { padding: 110px 16px 90px; }

.logo { margin: 0; line-height: 1; font-weight: 400; }
.logo__main {
  display: block;
  font: 400 clamp(64px, 15vw, 196px)/.95 var(--display);
  letter-spacing: .01em;
  background: var(--logo-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 #2a0f1c) drop-shadow(0 10px 24px rgba(0, 0, 0, .55));
}
.logo__sub {
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.5vw, 26px);
  margin-top: clamp(6px, 1vw, 12px);
  font: 800 clamp(22px, 4.2vw, 52px)/1 var(--body); letter-spacing: .55em; padding-left: .55em;
  color: #fff; text-shadow: 0 3px 12px rgba(0, 0, 0, .7);
}
.logo__sub i {
  position: relative; display: block; width: clamp(40px, 12vw, 170px); height: 3px;
  background: var(--gold); border-radius: 2px;
}
.logo__sub i::after {
  content: ""; position: absolute; top: 50%; width: 10px; height: 10px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.logo__sub i:first-child::after { left: -4px; }
.logo__sub i:last-child { margin-left: -.55em; }
.logo__sub i:last-child::after { right: -4px; }

.hero__place {
  margin: 18px 0 0; font: italic 400 clamp(16px, 2vw, 22px)/1.3 Georgia, "Times New Roman", serif;
  color: #fff; opacity: .9; text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}
.hero__soon {
  margin: 26px 0 0; font: 400 clamp(22px, 3vw, 34px)/1 var(--display); letter-spacing: .14em;
  text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0;
  width: 28px; height: 44px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrolly 1.8s infinite;
}
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; cursor: pointer;
  font: 800 15px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--gold {
  border: 0; color: #2a0f1c;
  background: linear-gradient(180deg, #ffe680, var(--gold-deep));
  box-shadow: 0 6px 24px rgba(255, 174, 26, .35), inset 0 -3px 0 rgba(0, 0, 0, .15);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 174, 26, .5), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.btn--ghost { border: 2px solid rgba(255, 255, 255, .75); color: #fff; background: rgba(18, 8, 31, .35); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(680px, 100% - 32px); text-align: center; }
.eyebrow {
  margin: 0 0 10px; color: var(--pink); font: 700 13px/1 var(--body);
  letter-spacing: .22em; text-transform: uppercase;
}
.title {
  margin: 0 0 28px; font: 400 clamp(38px, 6vw, 72px)/1.02 var(--display);
  letter-spacing: .01em; text-transform: uppercase;
}
.lead { margin: 0 0 36px; max-width: 760px; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.wrap--narrow .lead { margin-inline: auto; }
.note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

.section--video { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.player {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .6), 0 0 120px rgba(255, 94, 138, .14);
}
.player video { width: 100%; height: 100%; object-fit: contain; }

.section--about {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(255, 94, 138, .16), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(255, 138, 61, .10), transparent 50%),
    var(--night-2);
}
.heroes {
  list-style: none; margin: 0 0 56px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px);
}
.hero-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #000;
  border: 3px solid #0b0512; box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  transition: transform .25s;
}
.hero-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.hero-card img { width: 100%; height: auto; aspect-ratio: 400 / 484; object-fit: cover; }
.hero-card div {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(11, 5, 18, .92));
}
.hero-card h3 { margin: 0; font: 400 clamp(22px, 2.6vw, 32px)/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.hero-card p { margin: 4px 0 0; font-size: 14px; font-style: italic; color: #fff; opacity: .9; }

.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.features li { padding: 26px 28px; background: var(--night-2); color: var(--muted); font-size: 16px; }
.features b {
  display: block; margin-bottom: 6px; color: var(--ink);
  font: 400 22px/1.15 var(--display); letter-spacing: .03em; text-transform: uppercase;
}

.section--gallery { padding: 0; background: var(--night-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gallery figure { margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }

.section--signup {
  background:
    linear-gradient(180deg, rgba(18, 8, 31, .92), rgba(18, 8, 31, .78) 50%, rgba(18, 8, 31, .95)),
    url("/assets/img/keyart.webp") center / cover no-repeat;
}
.signup {
  display: flex; gap: 10px; padding: 8px; margin: 0 auto;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; backdrop-filter: blur(6px);
}
.signup input[type="email"] {
  flex: 1; min-width: 0; height: 52px; padding: 0 22px;
  border: 0; border-radius: 999px; background: transparent;
  font: 500 17px/1 var(--body); color: #fff;
}
.signup input::placeholder { color: rgba(255, 255, 255, .5); }
.signup input:focus { outline: none; }
.signup:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 216, 77, .25); }
.signup.is-invalid { border-color: var(--pink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup__status { min-height: 1.6em; margin: 16px 0 0; font-weight: 600; }
.signup__status.is-ok { color: var(--gold); }
.signup__status.is-err { color: var(--pink); }
.fineprint { margin: 14px auto 0; max-width: 520px; color: var(--muted); font-size: 13px; opacity: .85; }

.footer { padding: 40px 16px 48px; text-align: center; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.footer p { margin: 4px 0; }
.footer__logo { font: 400 24px/1 var(--display); color: var(--ink); }
.footer__logo span { letter-spacing: .3em; font-size: .6em; margin-left: .2em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .heroes { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .topbar__nav a:not(.topbar__cta) { display: none; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .topbar { gap: 10px; }
  .topbar__brand { display: none; }
  .signup { flex-direction: column; border-radius: 22px; }
  .signup input[type="email"] { text-align: center; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; padding-inline: 8px; }
  .gallery { grid-template-columns: 1fr; }
}

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