/* Festival Kids Alpiarça 2026 — Landing Page Styles */

:root {
  --pink: #ff2d87;
  --magenta: #d6219c;
  --purple: #7a2db8;
  --blue: #2cb8ff;
  --cyan: #00d4d4;
  --green: #7ed321;
  --green-deep: #3aa90f;
  --yellow: #ffd93d;
  --orange: #ff7a1a;
  --red: #ff3a3a;
  --ink: #1a1530;
  --ink-soft: #3d3760;
  --cream: #fff8ef;
  --paper: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Fredoka', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bowlby One SC', 'Fredoka', sans-serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

a { color: inherit; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(26, 21, 48, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.nav__brand img { height: 44px; width: auto; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-text strong { font-size: 16px; letter-spacing: 0.02em; }
.nav__brand-text span { font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 3px; }
.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav__links a:hover { color: var(--pink); }
.nav__cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.nav__cta:hover { background: var(--pink); color: white !important; transform: translateY(-1px); }

@media (max-width: 780px) {
  .nav__links { display: none; }
  .nav__cta { display: inline-block !important; }
  .nav__links.mobile-cta-only { display: flex; }
  .nav__links.mobile-cta-only li:not(.nav__cta-wrap) { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 45, 135, 0.18), transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(44, 184, 255, 0.20), transparent 42%),
    radial-gradient(circle at 50% 95%, rgba(126, 211, 33, 0.18), transparent 45%),
    var(--cream);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 30%, var(--yellow) 0 6px, transparent 7px),
    radial-gradient(circle at 92% 60%, var(--pink) 0 5px, transparent 6px),
    radial-gradient(circle at 18% 78%, var(--cyan) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 12%, var(--orange) 0 5px, transparent 6px),
    radial-gradient(circle at 68% 88%, var(--purple) 0 6px, transparent 7px);
  pointer-events: none;
  opacity: 0.85;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.hero__badge::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 0.92;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero__title .word-1 { color: var(--ink); display: inline-block; transform: rotate(-2deg); }
.hero__title .word-2 {
  display: block;
  font-size: 1.18em;
  background: linear-gradient(95deg, var(--pink) 0%, var(--orange) 35%, var(--yellow) 55%, var(--green) 75%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: rotate(1deg);
}
.hero__title .word-3 {
  display: inline-block;
  color: var(--purple);
  font-size: 0.55em;
  transform: rotate(-1.5deg);
  background: var(--yellow);
  padding: 4px 16px 8px;
  border-radius: 14px;
  margin-top: 6px;
}

.hero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .hero__lede { margin-left: auto; margin-right: auto; } }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
@media (max-width: 900px) { .hero__meta { justify-content: center; } }
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(26, 21, 48, 0.06);
  border: 2px solid rgba(26, 21, 48, 0.06);
}
.meta-pill svg { width: 20px; height: 20px; flex-shrink: 0; }
.meta-pill--date { background: var(--ink); color: white; }
.meta-pill--date strong { color: var(--yellow); }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 900px) { .hero__ctas { justify-content: center; } }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--pink);
  color: white;
  box-shadow: 0 8px 0 var(--magenta), 0 14px 24px rgba(214, 33, 156, 0.3);
}
.btn--primary:hover { box-shadow: 0 10px 0 var(--magenta), 0 18px 30px rgba(214, 33, 156, 0.4); }
.btn--ghost {
  background: white;
  color: var(--ink);
  box-shadow: 0 6px 0 rgba(26, 21, 48, 0.12);
  border: 2px solid var(--ink);
}
.btn--ghost:hover { background: var(--yellow); }

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__logo-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  background: white;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(26, 21, 48, 0.18);
  padding: 24px;
  transform: rotate(2.5deg);
  border: 4px solid var(--ink);
  overflow: hidden;
}
.hero__logo-card img { width: 100%; height: 100%; object-fit: contain; }
.hero__sticker {
  position: absolute;
  font-family: 'Bowlby One SC', sans-serif;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 18px;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  border: 3px solid white;
  letter-spacing: 0.02em;
}
.hero__sticker--1 {
  top: -14px; left: -20px;
  background: var(--purple);
  transform: rotate(-12deg);
}
.hero__sticker--2 {
  bottom: 20px; right: -16px;
  background: var(--green-deep);
  transform: rotate(8deg);
  font-size: 16px;
}
.hero__sticker--3 {
  top: 40%; right: -28px;
  background: var(--orange);
  transform: rotate(14deg);
  font-size: 15px;
  padding: 10px 16px;
}
@media (max-width: 900px) {
  .hero__sticker--3 { display: none; }
  .hero__logo-card { max-width: 360px; }
}

/* ---------- COUNTDOWN ---------- */
.countdown {
  background: var(--ink);
  color: white;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.countdown::before, .countdown::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; filter: blur(60px);
}
.countdown::before { background: var(--pink); top: -80px; left: -40px; opacity: 0.4; }
.countdown::after { background: var(--cyan); bottom: -80px; right: -40px; opacity: 0.35; }
.countdown__inner { position: relative; text-align: center; }
.countdown__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  color: var(--yellow);
  margin-bottom: 18px;
  font-weight: 600;
}
.countdown__grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.countdown__cell {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 22px 28px;
  min-width: 120px;
}
.countdown__num {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  background: linear-gradient(180deg, white 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.countdown__unit {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
