:root {
  --primary: #1565C0;
  --primary-dark: #0D2B6C;
  --primary-soft: #E3F2FD;
  --accent: #FBC02D;
  --accent-strong: #F9A825;
  --success: #43A047;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: #f7fbff;
  --text: #0D2B6C;
  --text-soft: #5d6d7e;
  --border: rgba(13, 43, 108, 0.12);
  --shadow: 0 18px 45px rgba(13, 43, 108, 0.16);
  --shadow-hover: 0 24px 55px rgba(13, 43, 108, 0.24);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef9ff 0%, #dff6ff 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow.light {
  color: #fff6b0;
}

.eyebrow.center {
  display: block;
  text-align: center;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--primary-dark);
  margin: 8px 0 0;
}

.section-title.light {
  color: #fff;
}

.section-title.center {
  text-align: center;
}

.btn-primary-lg,
.btn-secondary-lg,
.btn-cta,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  cursor: pointer;
  border: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary-lg {
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 17px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, #FFE066 0%, #FBC02D 48%, #F9A825 100%);
  box-shadow: 0 14px 30px rgba(249, 168, 37, 0.4);
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(249, 168, 37, 0.48);
}

.btn-primary-lg.full {
  width: 100%;
  padding: 16px;
}

.btn-secondary-lg {
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--primary-dark);
  background: #fff;
  border: 2px solid var(--primary-soft);
}

.btn-secondary-lg:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.btn-cta {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(21, 101, 192, 0.36);
}

.btn-ghost {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--primary-dark);
  background: transparent;
  border: 2px solid var(--primary-soft);
}

.btn-ghost:hover {
  background: var(--primary-soft);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-img {
  width: 56px;
  height: auto;
}

.logo-img.small {
  width: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-soft);
}

.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--primary-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--primary-dark);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  padding: clamp(50px, 8vw, 90px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 32%),
    linear-gradient(180deg, #eef9ff 0%, #dff6ff 60%, #cdeeff 100%);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.hero-copy h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.12;
  color: var(--primary-dark);
  margin: 10px 0 16px;
  text-shadow: 2px 3px 0 rgba(255, 255, 255, 0.7);
}

.accent-text {
  color: var(--accent-strong);
  text-shadow: 2px 3px 0 #BF360C33;
}

.hero-sub {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-art-wrap {
  position: relative;
  padding: 26px;
}

.hero-art {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(13, 43, 108, 0) 45%, rgba(13, 43, 108, 0.55) 100%),
    url('../assets/images/background_justo_aj.jpeg');
  background-size: cover;
  background-position: center 20%;
}

.hero-art-glow {
  position: absolute;
  inset: -40% -40% auto auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(251, 192, 45, 0.45), transparent 70%);
}

.hero-emoji {
  position: absolute;
  font-size: clamp(32px, 4vw, 48px);
  filter: drop-shadow(0 8px 14px rgba(13, 43, 108, 0.2));
  animation: float 5s ease-in-out infinite;
  z-index: 1;
}

.hero-emoji-1 { top: 0; left: 0; }
.hero-emoji-2 { top: 10px; right: 0; animation-delay: 0.6s; }
.hero-emoji-3 { bottom: 0; left: 10px; animation-delay: 1.2s; }
.hero-emoji-4 { bottom: 10px; right: 10px; animation-delay: 1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===== ABOUT ===== */
.about {
  padding: clamp(40px, 6vw, 64px) 0;
}

.about-inner {
  max-width: 820px;
  text-align: center;
}

.about h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--primary-dark);
  margin: 0 0 14px;
}

.about p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ===== FEATURES ===== */
.features {
  padding: clamp(40px, 6vw, 70px) 0;
}

.features-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 38px;
  display: block;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 19px;
  color: var(--primary-dark);
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
  font-size: 14.5px;
}

/* ===== SPOTLIGHT (Agenda de Apoio) ===== */
.spotlight {
  padding: clamp(40px, 6vw, 70px) 0;
}

.spotlight-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 50px);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.spotlight-copy h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--primary-dark);
  margin: 8px 0 14px;
}

.spotlight-copy p {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 15.5px;
  margin: 0 0 18px;
}

.spotlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--primary-dark);
}

.spotlight-art {
  display: flex;
  justify-content: center;
}

.mini-calendar {
  width: 100%;
  max-width: 280px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.mini-calendar-head {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  margin-bottom: 14px;
}

.mini-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.mini-calendar-grid span {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-calendar-grid .dot {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
}

.mini-calendar-grid .active {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  background: var(--accent);
  color: var(--primary-dark);
}

/* ===== CLUBE ===== */
.club {
  padding: clamp(44px, 6vw, 74px) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.club-sub {
  text-align: center;
  max-width: 560px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.club-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.club-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-weight: 800;
  font-size: 14.5px;
}

/* ===== ROADMAP ===== */
.roadmap {
  padding: clamp(44px, 6vw, 74px) 0;
}

.roadmap-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.roadmap-card {
  background: #FFFDE7;
  border: 2px dashed #FBC02D;
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}

.roadmap-icon {
  font-size: 34px;
  display: block;
  margin-bottom: 10px;
}

.roadmap-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 16.5px;
  color: #795548;
  margin: 0 0 6px;
}

.roadmap-card p {
  color: #6b5a4d;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* ===== LEAD FORM ===== */
.lead {
  padding: clamp(44px, 6vw, 74px) 0;
}

.lead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 50px);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.lead-copy h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(22px, 2.8vw, 28px);
  color: var(--primary-dark);
  margin: 8px 0 12px;
  line-height: 1.25;
}

.lead-copy p {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  color: var(--primary-dark);
}

.lead-form .opt {
  color: #90A4AE;
  font-weight: 700;
  font-size: 11px;
}

.lead-form input {
  padding: 13px 16px;
  border: 2px solid var(--primary-soft);
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  background: #FAFDFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.12);
}

.lead-feedback {
  margin: 0;
  font-weight: 800;
  font-size: 13.5px;
  min-height: 18px;
}

.lead-feedback.success {
  color: var(--success);
}

.lead-feedback.error {
  color: #c62828;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(40px, 6vw, 60px) 0 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 14px;
  color: #fff6b0;
  margin: 0 0 4px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== RESPONSIVE (tablet → desktop) ===== */
@media (max-width: 1000px) {
  .hero-inner,
  .spotlight-inner,
  .lead-inner {
    grid-template-columns: 1fr;
  }

  .hero-art-wrap {
    order: -1;
  }

  .hero-art {
    min-height: 220px;
  }

  .spotlight-art {
    order: -1;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 10px clamp(20px, 4vw, 40px) 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 320px;
  }

  .main-nav a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .btn-cta {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
