:root {
  --bg: #FFFDF8;
  --panel: #FFF4E0;
  --ink: #1F2544;
  --ink-soft: #5B6080;
  --line: rgba(31, 37, 68, 0.1);
  --coral: #FF6B4A;
  --coral-soft: #FFE3DA;
  --mint: #2BB8A3;
  --mint-soft: #DAF3EF;
  --sun: #FFC93C;
  --sun-soft: #FFF3D1;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --font-display: "Baloo 2", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); background: none; border: none; padding: 0; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.pill--coral { background: var(--coral-soft); color: #B8431F; }
.pill--mint { background: var(--mint-soft); color: #167A6C; }
.pill--sun { background: var(--sun-soft); color: #93660A; }

/* ---------- blobs ---------- */
.blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
.blob--1 { width: 420px; height: 420px; background: var(--coral); opacity: 0.14; top: -120px; right: -100px; }
.blob--2 { width: 300px; height: 300px; background: var(--mint); opacity: 0.16; bottom: -80px; left: -80px; }
.blob--3 { width: 180px; height: 180px; background: var(--sun); opacity: 0.22; top: 40%; left: 46%; }
.blob--4 { width: 360px; height: 360px; background: var(--coral); opacity: 0.5; top: -140px; left: -100px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}
.brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.logo { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.logo--sm { font-size: 14px; }

.nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.nav a { white-space: nowrap; }
.nav a:hover { color: var(--coral); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -8px rgba(255, 107, 74, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -8px rgba(255, 107, 74, 0.6); }
.btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { transform: translateY(-2px); background: var(--ink); color: var(--bg); }
.btn--lg { padding: 16px 32px; font-size: 15.5px; margin: 24px 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 100px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; z-index: 1; }
.hero__title { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 20px; max-width: 580px; }
.hero__lead { font-size: 17px; color: var(--ink-soft); max-width: 480px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats { display: flex; flex-direction: column; gap: 16px; }
.stat-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
}
.stat-pill strong { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.stat-pill span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.stat-pill--coral { box-shadow: 0 16px 30px -16px rgba(255, 107, 74, 0.45); }
.stat-pill--coral strong { color: var(--coral); }
.stat-pill--mint { box-shadow: 0 16px 30px -16px rgba(43, 184, 163, 0.45); }
.stat-pill--mint strong { color: var(--mint); }
.stat-pill--sun { box-shadow: 0 16px 30px -16px rgba(255, 201, 60, 0.5); }
.stat-pill--sun strong { color: #B8860A; }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section--tint { background: var(--panel); }
.section__head { max-width: 560px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(27px, 3.2vw, 36px); }

/* ---------- ensino stages ---------- */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stage {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stage:hover { transform: translateY(-6px); }
.stage__age {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.stage h3 { font-size: 18px; margin-bottom: 8px; }
.stage p { font-size: 13.5px; color: var(--ink-soft); }
.stage--coral { box-shadow: 0 16px 30px -18px rgba(255, 107, 74, 0.5); }
.stage--coral .stage__age { background: var(--coral-soft); color: #B8431F; }
.stage--mint { box-shadow: 0 16px 30px -18px rgba(43, 184, 163, 0.5); }
.stage--mint .stage__age { background: var(--mint-soft); color: #167A6C; }
.stage--sun { box-shadow: 0 16px 30px -18px rgba(255, 201, 60, 0.55); }
.stage--sun .stage__age { background: var(--sun-soft); color: #93660A; }

/* ---------- value cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s ease;
}
.value-card:hover { transform: translateY(-6px); }
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.value-card__icon--coral, .step-number--coral { background: var(--coral); }
.value-card__icon--mint, .step-number--mint { background: var(--mint); }
.value-card__icon--sun, .step-number--sun { background: var(--sun); }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- admission steps ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s ease;
}
.step-card:hover { transform: translateY(-6px); }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: 13.5px; }

/* ---------- testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.testimonial-card__quote { font-size: 15.5px; color: var(--ink); margin-bottom: 22px; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
.avatar-initials--coral { background: var(--coral); }
.avatar-initials--mint { background: var(--mint); }
.avatar-initials--sun { background: var(--sun); }
.testimonial-card__author span { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border-radius: var(--radius-lg); padding: 4px 26px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  line-height: 1;
  color: var(--coral);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 0 20px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- trust badges ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- mosaic / bento grid ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  aspect-ratio: 16 / 9;
  padding: 12px 0 28px;
}
.sticker {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 8px solid #fff;
  box-shadow: 0 18px 34px -16px rgba(31, 37, 68, 0.28);
}
.mosaic__main { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic__side-a { grid-column: 3; grid-row: 1; }
.mosaic__side-b { grid-column: 3; grid-row: 2; }
.sticker--tilt-left { transform: rotate(-1.6deg); }
.sticker--tilt-right { transform: rotate(1.8deg); }
.sticker:hover { transform: rotate(0deg) scale(1.02); }

/* ---------- cta ---------- */
.cta { background: var(--ink); overflow: hidden; }
.cta__inner { text-align: center; z-index: 1; position: relative; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 8px; }
.cta__contacts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; color: rgba(255,253,248,0.72); font-size: 14.5px; font-weight: 600; margin-top: 8px; }

/* ---------- footer ---------- */
.footer { padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__credit { font-size: 13px; color: var(--ink-soft); }
.footer__credit a { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--coral); }
.footer__credit a:hover { color: var(--coral); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px) scale(0.97); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header .btn { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; }
  .stat-pill { flex: 1 1 150px; }

  .grid-5 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .mosaic {
    aspect-ratio: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
  }
  .mosaic .sticker { height: auto; aspect-ratio: 4 / 3; }
  .mosaic__main { grid-column: 1 / 3; grid-row: 1; }
  .mosaic__side-a { grid-column: 1; grid-row: 2; }
  .mosaic__side-b { grid-column: 2; grid-row: 2; }
}

@media (max-width: 980px) {
  .nav {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .nav.is-open { display: flex; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .grid-5 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .blob { display: none; }
}
