/* ============================================================
   Intermitente 365 — landing
   Paleta e tipografia herdadas do app (app_colors.dart)
   ============================================================ */
:root {
  --bg:         #0E0E11;
  --bg-2:       #141417;
  --surface:    #1A1A1D;
  --surface-2:  #242428;
  --border:     #2E2E33;

  --coral:      #E97E4E;
  --coral-light:#F2A277;
  --coral-dark: #C6602F;

  --cream:      #F5F4F2;
  --text:       #F3F3F4;
  --text-2:     #9C9CA2;
  --muted:      #6B6B71;
  --success:    #46C37B;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 1.1rem;
}
.eyebrow--center { text-align: center; }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0;
}
.display--lg { font-size: clamp(2.4rem, 7vw, 4.5rem); }

.prose {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-2);
  max-width: 46ch;
  margin: 1.5rem 0 0;
}
.prose b { color: var(--cream); font-weight: 600; }
.prose--muted { color: var(--text-2); }

.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head .prose { margin-inline: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 5vw, 3rem);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--cream);
}
.nav__icon { border-radius: 8px; }
.nav__word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav__word b { color: var(--coral); font-weight: 600; }

.pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--soon {
  color: var(--coral-light);
  background: color-mix(in srgb, var(--coral) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--coral) 34%, transparent);
}

/* ---------- Seletor de idioma (pílula segmentada) ---------- */
.nav__right { display: inline-flex; align-items: center; gap: 0.6rem; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  backdrop-filter: blur(6px);
}
.lang__opt {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang__opt:hover { color: var(--cream); }
.lang__opt.is-active {
  color: #1a1108;
  background: var(--coral);
}
.lang__opt.is-active:hover { color: #1a1108; }
.lang__sep { display: none; }
@media (max-width: 560px) {
  .pill--soon { display: none; }
  .nav__word { font-size: 1.15rem; }
  .nav { padding-block: 0.8rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 120%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.72);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, color-mix(in srgb, var(--bg) 30%, transparent) 42%, transparent 72%),
    linear-gradient(to right, color-mix(in srgb, var(--bg) 55%, transparent), transparent 60%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) clamp(4rem, 12vh, 8rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 1.5rem;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero__title em { font-style: italic; color: var(--coral-light); }
.hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
  margin: 0 0 2.4rem;
}

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text-2);
  cursor: not-allowed;
  user-select: none;
  opacity: 0.72;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.store:hover { opacity: 0.9; border-color: color-mix(in srgb, var(--coral) 40%, var(--border)); }
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.store strong { font-size: 1.02rem; font-weight: 600; color: var(--cream); }

/* ---------- Scroll cue ---------- */
.hero__cue {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  display: grid; place-items: start center;
}
.hero__cue span {
  width: 4px; height: 8px; margin-top: 7px;
  border-radius: 2px;
  background: rgba(255,255,255,0.8);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  70% { opacity: 1; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============================================================
   Seções com fundo de imagem
   ============================================================ */
.manifesto, .year { position: relative; overflow: hidden; }
.manifesto__bg, .year__bg { position: absolute; inset: 0; z-index: 0; }
.manifesto__bg img, .year__bg img {
  width: 100%; height: 118%;
  object-fit: cover; object-position: center;
  filter: brightness(0.5);
}
.manifesto__scrim, .year__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 30%, var(--bg) 100%),
    linear-gradient(var(--bg), transparent 20%, transparent 80%, var(--bg));
}
.manifesto__inner, .year__inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: clamp(6rem, 18vh, 11rem) 0;
  display: flex; flex-direction: column; align-items: center;
}
.manifesto__inner .prose, .year__inner .prose {
  text-align: center; max-width: 52ch; color: var(--text);
}

/* ============================================================
   3 BLOCOS
   ============================================================ */
.blocks { padding: clamp(5rem, 12vw, 9rem) 0; }
.blocks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.5rem;
}
.block {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.block:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--coral) 45%, var(--border));
}
.block__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 15px;
  margin-bottom: 1.4rem;
  background: color-mix(in srgb, var(--coral) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--coral) 30%, transparent);
}
.block__icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--coral-light);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.block h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600;
  color: var(--cream);
  margin: 0 0 0.5rem;
}
.block p { margin: 0; color: var(--text-2); font-size: 1.02rem; }

/* ============================================================
   GALERIA (screenshots em molduras)
   ============================================================ */
.gallery { padding: clamp(4rem, 10vw, 7rem) 0 clamp(5rem, 12vw, 9rem); }
.gallery__viewport { position: relative; }
.gallery__track {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 1rem clamp(1.25rem, 5vw, 3rem) 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.gallery__track::-webkit-scrollbar { display: none; }

.phone {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: clamp(220px, 62vw, 270px);
  aspect-ratio: 1206 / 2622;
  border-radius: 44px;
  padding: 9px;
  background: linear-gradient(160deg, #34343a, #17171a);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8),
              0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 18px;
  background: #0a0a0c;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 36px;
}
.phone:hover { transform: translateY(-8px); }

.gallery__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  color: var(--cream);
  border-radius: 999px;
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s;
}
.gallery__nav:hover { background: var(--coral); border-color: var(--coral); color: #1a1108; }
.gallery__nav--prev { left: clamp(0.5rem, 3vw, 2rem); }
.gallery__nav--next { right: clamp(0.5rem, 3vw, 2rem); }
@media (hover: none) { .gallery__nav { display: none; } }

/* ============================================================
   30X — ciclo
   ============================================================ */
.cycle { padding: clamp(5rem, 12vw, 9rem) 0; }
.cycle__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .cycle__grid { grid-template-columns: 1fr 1fr; }
}
.cycle__text .prose { margin-inline: 0; }
.cycle__grid30 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.4rem, 1.2vw, 0.7rem);
}
.cycle__grid30 .day {
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: clamp(0.7rem, 1.6vw, 0.95rem);
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.cycle__grid30 .day--first {
  color: #1a1108;
  background: linear-gradient(160deg, var(--coral-light), var(--coral-dark));
  border-color: transparent;
  box-shadow: 0 8px 22px -8px var(--coral);
}
.cycle__grid30 .day:hover { transform: translateY(-3px); color: var(--cream); }

/* ============================================================
   CTA final
   ============================================================ */
.cta { padding: clamp(5rem, 14vw, 10rem) 0; text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__icon {
  border-radius: 22px;
  margin-bottom: 1.75rem;
  box-shadow: 0 20px 50px -15px rgba(233,126,78,0.5);
}
.cta .prose { text-align: center; max-width: 42ch; margin-bottom: 2.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.footer__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500;
  color: var(--cream); margin: 0;
}
.footer__brand b { color: var(--coral); }
.footer__note { color: var(--text-2); margin: 0; max-width: 42ch; }
.footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 6vw, 3rem);
  margin: 1.9rem 0 0.9rem;
  flex-wrap: wrap;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__logo:hover { opacity: 1; transform: translateY(-2px); }
.footer__logo img { display: block; width: auto; height: 56px; }
/* Kingdom College — lockup (K-box + wordmark) */
.footer__klock {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; opacity: 0.75;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__klock:hover { opacity: 1; transform: translateY(-2px); }
.footer__klock img { display: block; height: 46px; width: 46px; }
.footer__ktext { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.footer__kname {
  font-family: var(--font-body); font-weight: 800;
  font-size: 1.15rem; letter-spacing: 0.03em; color: var(--cream);
}
.footer__kcollege {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.66rem; letter-spacing: 0.4em; color: #D4AF37; margin-top: 3px;
}
.footer__copy { color: var(--muted); font-size: 0.85rem; margin: 0.5rem 0 0; }
.footer__links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 0.4rem; }
.footer__links a { color: var(--text-2); text-decoration: none; font-size: 0.85rem; transition: color 0.25s var(--ease); }
.footer__links a:hover { color: var(--coral-light); }
.footer__links span { color: var(--muted); }

/* ============================================================
   Páginas legais (privacy / terms)
   ============================================================ */
.legalbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 5vw, 3rem);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.legal {
  max-width: 760px; margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 2rem) 5rem;
}
.legal h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--cream); margin: 0 0 0.4rem;
}
.legal__updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 2.5rem; }
.legal section { margin-bottom: 2.25rem; }
.legal h2 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--cream); margin: 0 0 0.75rem;
}
.legal h3 { font-size: 1.02rem; font-weight: 600; color: var(--cream); margin: 1.15rem 0 0.35rem; }
.legal p, .legal li { color: var(--text-2); font-size: 1.02rem; line-height: 1.7; }
.legal p { margin: 0 0 0.75rem; }
.legal ul { margin: 0.4rem 0 0.75rem; padding-left: 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal strong { color: var(--cream); }
.legal a { color: var(--coral-light); text-decoration: underline; text-underline-offset: 2px; }
.legal__contact {
  margin-top: 0.75rem; padding: 1.1rem 1.3rem;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
}
.legal__contact p { margin: 0; color: var(--text); }
.legal__back { color: var(--text-2); text-decoration: none; font-size: 0.85rem; }
.legal__back:hover { color: var(--cream); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* stagger dos blocos */
.blocks__grid .block:nth-child(2) { transition-delay: 0.09s; }
.blocks__grid .block:nth-child(3) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__cue span { animation: none; }
  [data-parallax] { transform: none !important; }
}
