/* ============================================================
   Animágora — Site institucional (estilo PDF original)
   ============================================================ */
:root {
  --purple-900: #2D2466;   /* deep purple from the PDF */
  --purple-800: #362D7A;
  --purple-700: #3D348B;
  --purple-600: #5C4FBF;
  --purple-400: #8B82D6;
  --purple-100: #EEEBF8;
  --purple-50:  #F7F5FC;

  --yellow-500: #F5C400;
  --yellow-400: #FFD52B;
  --yellow-300: #FFE26B;
  --yellow-100: #FFF4BF;

  --cream:  #FFFDF6;
  --paper:  #FFFEFB;

  --green-500: #2FB57B;
  --pink-300:  #F5C2D1;
  --orange-400: #FF9966;
  --orange-300: #FFC79A;
  --mint-300:  #B7E7C6;
  --sky-300:   #BFD8FF;

  --gray-700: #4A4458;
  --gray-500: #8A86A0;
  --gray-300: #D8D5E0;

  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 0 rgba(45,36,102,0.10);
  --shadow-md: 0 8px 24px -6px rgba(45,36,102,0.22);
  --shadow-lg: 0 16px 40px -8px rgba(45,36,102,0.30);

  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-script: "Caveat", cursive;
  --font-body: "Nunito", system-ui, sans-serif;

  --max-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--purple-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ============================================================
   Nav (sits over the purple hero)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background-color .25s ease, padding .25s ease, box-shadow .25s ease;
}
/* Quando o usuário rola pra baixo, ganha fundo sólido + sombra */
.nav.nav--scrolled {
  background: rgba(45, 36, 102, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
}
.nav__brand img {
  width: 48px; height: 48px;
  border-radius: 12px;
  box-shadow: 0 3px 0 rgba(0,0,0,0.25);
}
.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}
.nav__brand-tag {
  font-family: var(--font-script);
  font-size: 15px;
  color: var(--yellow-400);
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 4px;
  flex-shrink: 1;
  min-width: 0;
}
.nav__link {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 14px;
  transition: color .15s;
  white-space: nowrap;
}

/* Em telas médias, esconde o subtítulo "Escola de desenho" pra caber tudo */
@media (max-width: 1280px) {
  .nav__brand-tag { display: none; }
  .nav__brand img { width: 44px; height: 44px; }
}
/* Em telas menores, esconde links menos críticos */
@media (max-width: 1100px) {
  .nav__links { gap: 12px; }
  .nav__link { font-size: 13px; }
}
.nav__link:hover { color: var(--yellow-400); }
.nav__spacer { flex: 1; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-500);
  color: var(--purple-900);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,0.25);
  transition: transform .12s, background .15s;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--yellow-400); }
.nav__cta:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.25); }

/* ============================================================
   Hero — purple banner with wavy bottom
   ============================================================ */
.hero {
  position: relative;
  background: var(--purple-900);
  color: white;
  overflow: hidden;
  padding: 95px 0 220px;
}
.hero::before {
  content:""; position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 2px, transparent 2px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 110px;
  pointer-events: none;
  z-index: 3;
}
.hero__wave svg { width: 100%; height: 100%; display: block; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero__wordmark {
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,0.18));
}
.hero__tag {
  font-family: var(--font-script);
  font-size: 38px;
  color: var(--yellow-400);
  line-height: 1.1;
  margin: -8px 0 20px;
  transform: rotate(-2deg);
  display: inline-block;
}
.hero__sub {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  max-width: 460px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .12s, background .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(2px); }
.btn--primary {
  background: var(--yellow-500);
  color: var(--purple-900);
  box-shadow: 0 5px 0 rgba(0,0,0,0.22);
}
.btn--primary:hover { background: var(--yellow-400); }
.btn--ghost {
  background: rgba(255,255,255,0.10);
  color: white;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.30);
}
.btn--ghost:hover { background: rgba(255,255,255,0.18); }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn--dark {
  background: var(--purple-900);
  color: var(--yellow-400);
  box-shadow: 0 5px 0 rgba(0,0,0,0.28);
}
.btn--dark:hover { background: var(--purple-800); }

/* Mascot side */
.hero__mascot {
  position: relative;
  display: grid; place-items: center;
}
.hero__mascot img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.40);
  position: relative;
  z-index: 2;
}
.hero__mascot::before {
  content:"";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--yellow-500);
  opacity: 0.95;
  z-index: 1;
  filter: blur(0);
}
.hero__bubble {
  position: absolute;
  background: var(--yellow-400);
  color: var(--purple-900);
  padding: 14px 20px;
  border-radius: 22px;
  font-family: var(--font-script);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
  box-shadow: 0 5px 0 rgba(0,0,0,0.2);
  z-index: 3;
  max-width: 220px;
  transform: rotate(-3deg);
}
.hero__bubble::after {
  content:"";
  position: absolute;
  bottom: -12px; left: 30px;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 18px solid var(--yellow-400);
  transform: skewX(-15deg);
}
.hero__bubble--1 { top: 8%; left: -8%; transform: rotate(-4deg); }
.hero__bubble--2 { bottom: 6%; right: -4%; transform: rotate(3deg); }
.hero__bubble--2::after { left: auto; right: 30px; }

/* Decorative ink splashes (CSS shapes for fidelity) */
.hero__splash {
  position: absolute;
  background: var(--purple-700);
  z-index: 1;
}
.hero__splash--1 {
  width: 180px; height: 180px;
  top: 60px; right: 4%;
  border-radius: 64% 36% 50% 50% / 50% 60% 40% 50%;
  opacity: 0.55;
}
.hero__splash--2 {
  width: 140px; height: 140px;
  bottom: 22%; left: 8%;
  border-radius: 48% 52% 36% 64% / 60% 38% 62% 40%;
  background: var(--purple-600);
  opacity: 0.55;
}
.hero__star {
  position: absolute;
  color: var(--yellow-400);
  z-index: 2;
  pointer-events: none;
}

/* ============================================================
   Section primitives
   ============================================================ */
.section {
  padding: 100px 0;
  position: relative;
}
.section--cream  { background: var(--cream); }
.section--paper  { background: var(--paper); }
.section--soft   { background: var(--purple-50); }
.section--purple {
  background: var(--purple-900);
  color: white;
}
.section--purple::before {
  content:""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 2px, transparent 2px);
  background-size: 28px 28px;
  pointer-events: none;
}

.section__kicker {
  font-family: var(--font-script);
  color: var(--purple-700);
  font-size: 32px;
  display: block;
  transform: rotate(-2deg);
  margin-bottom: 6px;
}
.section--purple .section__kicker { color: var(--yellow-400); }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.2px;
  color: var(--purple-900);
  margin: 0 0 16px;

}
.section__title em {
  font-style: normal;
  color: var(--yellow-500);
  position: relative;
}
.section--purple .section__title { color: white; }
.section__lead {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 660px;
  font-weight: 600;
  line-height: 1.55;
}
.section--purple .section__lead { color: rgba(255,255,255,0.80); }
.section__head { margin-bottom: 56px; max-width: 760px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Wave divider between sections */
.wave {
  position: relative;
  height: 80px;
  margin-top: -1px;
  pointer-events: none;
}
.wave svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   About
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__kicker {
  display: inline-block;
  background: var(--purple-100);
  color: var(--purple-700);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.about__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -1px;
  margin: 0 0 22px;
  color: var(--purple-900);
}
.about__copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
  max-width: 540px;
  margin-bottom: 16px;
}
.about__copy strong { color: var(--purple-700); }
.about__feats {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.about__feat {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--purple-900);
  font-size: 15px;
}
.about__feat-ic {
  width: 36px; height: 36px;
  background: var(--yellow-500);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 18px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.08);
}
.about__photo {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.about__photo::before {
  content:"";
  position: absolute;
  inset: 8%;
  background: var(--orange-400);
  border-radius: 50%;
  opacity: 0.85;
  z-index: 0;
  box-shadow: 0 14px 0 rgba(0,0,0,0.12);
}
.about__photo::after {
  content:"";
  position: absolute;
  width: 120px; height: 120px;
  background: var(--purple-700);
  border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
  top: -12px; left: -12px;
  z-index: 0;
  opacity: 0.85;
}
.about__photo img {
  position: relative;
  width: 90%;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 18px 16px rgba(0,0,0,0.25));
}
.about__star {
  position: absolute;
  color: var(--yellow-500);
  z-index: 2;
}

/* ============================================================
   Levels (Descubra seu nível)
   ============================================================ */
.levels-head {
  text-align: center;
  margin-bottom: 56px;
}
.levels-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -1px;
  margin: 8px 0 0;
}
.levels-head h2 em {
  font-style: normal;
  color: var(--yellow-400);
  position: relative;
  display: inline-block;
}
.levels-head h2 em::after {
  content:"";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 14px;
  background: var(--purple-700);
  z-index: -1;
  border-radius: 6px;
}
.levels-head .sub {
  font-family: var(--font-script);
  color: var(--yellow-400);
  font-size: 30px;
  display: inline-block;
  transform: rotate(-2deg);
}

.levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.level {
  background: white;
  border-radius: var(--r-xl);
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(45,36,102,0.10);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.level:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.level__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--purple-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.level h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--purple-900);
  margin: 0 0 14px;

}
.level p {
  font-size: 15px;
  color: var(--gray-700);
  margin: 0 0 22px;
  line-height: 1.55;
}
.level__icon {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,0.08);
}
.level--ini .level__icon { background: var(--mint-300); }
.level--int .level__icon { background: var(--yellow-400); }
.level--adv .level__icon { background: var(--pink-300); }
.level__icon span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  color: var(--purple-900);
}
.level__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.level__tag {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--purple-50);
  color: var(--purple-700);
  font-weight: 700;
  font-family: var(--font-body);
}

/* ============================================================
   Courses
   ============================================================ */
.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  min-width: 0;
}
.course {
  background: white;
  border-radius: var(--r-xl);
  padding: 28px;
  border: 2px solid rgba(45,36,102,0.10);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  min-width: 0;
}
.course:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.course::before {
  content:"";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  opacity: 0.25;
  background: var(--course-color, var(--yellow-500));
}
.course__icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--course-color, var(--yellow-500));
  display: grid; place-items: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.08);
}
.course__badge {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--purple-900);
  color: var(--yellow-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.course__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--purple-900);
  margin: 0 0 4px;

  line-height: 1;
}
.course__sub {
  font-family: var(--font-script);
  color: var(--purple-600);
  font-size: 22px;
  margin: 0 0 18px;
}
.course__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--gray-700);
  display: grid;
  gap: 7px;
}
.course__list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-weight: 600;
  line-height: 1.45;
}
.course__list li::before {
  content:"";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--course-color, var(--yellow-500));
  margin-top: 8px;
  flex-shrink: 0;
}
.course--infantil  { --course-color: var(--orange-300); }
.course--cartoon   { --course-color: var(--mint-300); }
.course--manga     { --course-color: var(--sky-300); }
.course--artistico { --course-color: var(--pink-300); }
.course--manga-adv { --course-color: var(--purple-600); }
.course--figura    { --course-color: var(--yellow-400); }
.course--pintura   { --course-color: var(--purple-300, #B89AE0); }

/* Quando o último card fica órfão sozinho na última linha (grid 3 cols),
   centraliza ele na coluna do meio em vez de deixar na esquerda.
   Só faz sentido no grid de 3 colunas do desktop — no mobile (.courses vira
   1fr) essa regra criava uma coluna implícita extra e espremia todos os
   cards em 2 colunas estreitas. */
@media (min-width: 981px) {
  .courses .course:last-child:nth-child(3n+1) {
    grid-column: 2;
  }
}

/* ============================================================
   Mid CTA banner (yellow with mascot)
   ============================================================ */
.cta-banner {
  background: var(--yellow-500);
  border-radius: 40px;
  padding: 64px 64px 64px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 0 rgba(0,0,0,0.10);
  display: grid;
  grid-template-columns: auto auto;   /* texto + coruja com tamanho natural */
  justify-content: center;            /* centraliza o conjunto no banner */
  gap: 56px;
  align-items: center;
}
.cta-banner::before {
  content:""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(45,36,102,0.10) 1.6px, transparent 1.8px);
  background-size: 22px 22px;
  pointer-events: none;
}
.cta-banner__kicker {
  font-family: var(--font-script);
  font-size: 30px;
  color: var(--purple-700);
  transform: rotate(-2deg);
  display: inline-block;
}
.cta-banner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -1.2px;
  margin: 6px 0 10px;
  color: var(--purple-900);
  position: relative;
  z-index: 1;
  max-width: 580px;

}
.cta-banner p {
  font-size: 16px;
  color: rgba(45,36,102,0.75);
  font-weight: 700;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
  max-width: 540px;
}
.cta-banner__btns { display: flex; gap: 10px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-banner__owl {
  width: 200px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 12px rgba(45,36,102,0.25));
  animation: bobble 4s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}

/* ============================================================
   Location
   ============================================================ */
.location {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.location__map {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--purple-50);
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(45,36,102,0.10);
}
.location__map iframe { width: 100%; height: 100%; border: 0; min-height: 420px; display: block; }
.location__address {
  background: white;
  border: 2px solid rgba(45,36,102,0.10);
  padding: 36px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.location__address h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--purple-900);
  margin: 8px 0 8px;
  line-height: 1.1;
}
.location__address p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 12px 0 16px;
}
.location__address strong {
  color: var(--purple-700);
  font-family: var(--font-display);
  font-weight: 700;
}
.location__hours {
  margin-top: 16px;
  padding: 18px;
  background: var(--purple-50);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--purple-900);
  font-weight: 700;
}
.location__hours strong { display: block; font-family: var(--font-display); margin-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--purple-500); }
.location__hours-row { display: flex; justify-content: space-between; margin: 6px 0; }

/* ============================================================
   Contact cards
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 36px 28px;
  border: 2px solid rgba(45,36,102,0.10);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card__ic {
  width: 64px; height: 64px;
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.08);
}
.contact-card--wa .contact-card__ic { background: #25D366; color: white; }
.contact-card--ig .contact-card__ic { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); color: white; }
.contact-card--mail .contact-card__ic { background: var(--yellow-500); color: var(--purple-900); }
.contact-card__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--purple-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.contact-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--purple-900);
  margin-top: 6px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--purple-900);
  color: white;
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content:""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,196,0,0.10) 1.6px, transparent 1.8px);
  background-size: 22px 22px;
  pointer-events: none;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  margin-bottom: 40px;
}
.footer__brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.footer__brand img { width: 56px; border-radius: 14px; }
.footer__brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.footer__brand-tag { font-family: var(--font-script); font-size: 17px; color: var(--yellow-400); }
.footer__about { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.55; max-width: 320px; }
.footer__col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--yellow-400);
  margin: 0 0 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer__col a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color .15s; }
.footer__col a:hover { color: var(--yellow-400); }
.footer__bottom {
  position: relative;
  border-top: 1px dashed rgba(255,255,255,0.15);
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero { padding: 80px 0 160px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; text-align: center; justify-items: center; }
  .hero__wordmark { max-width: 440px; }
  .hero__mascot { max-width: 340px; }
  .section { padding: 70px 0; }
  .section__title { font-size: 40px; }
  .levels-head h2, .about__title, .cta-banner h3 { font-size: 36px; }
  .about, .location { grid-template-columns: 1fr; }
  .levels, .courses, .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 32px; text-align: center; }
  .cta-banner__owl { margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__tag { font-size: 28px; }
  .nav__brand-tag { display: none; }

  /* nav mais compacto pra caber CTA sem sobrepor brand */
  .nav { padding: 14px 0; }
  .nav__inner { gap: 12px; }
  .nav__brand img { width: 44px; height: 44px; border-radius: 12px; }
  .nav__brand-name { font-size: 18px; }
  .nav__cta {
    padding: 12px 18px;
    font-size: 14px;
    gap: 8px;
  }
  .nav__cta svg { width: 16px; height: 16px; }
}

@media (max-width: 420px) {
  .nav__brand-name { font-size: 16px; }
  .nav__cta {
    padding: 11px 16px;
    font-size: 13px;
  }
  /* esconde texto longo, deixa só "Portal" */
  .nav__cta-full { display: none; }
}

/* ============================================================
   Galeria — trabalhos dos alunos
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery__item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--purple-100);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  aspect-ratio: 3/4;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: unset;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 18px 16px;
  background: linear-gradient(to top, rgba(45,36,102,0.85) 0%, transparent 100%);
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery__item:hover .gallery__label {
  opacity: 1;
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item--tall { grid-row: span 1; aspect-ratio: 3/4; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 3/4; }
}

/* ============================================================
   Carrossel da galeria
   ============================================================ */
.carousel {
  position: relative;
  margin: 32px auto 0;
  max-width: 1100px;
  padding: 0 60px;
}
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
}
.carousel__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 4px 12px;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--purple-50);
  box-shadow: 0 6px 22px -10px rgba(26,10,46,0.25);
  scroll-snap-align: start;
  transition: transform .25s ease;
}
.carousel__item:hover { transform: translateY(-4px); }
.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.carousel__item:hover img { transform: scale(1.04); }
.carousel__label {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(26,10,46,0.78);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.carousel__item:hover .carousel__label {
  opacity: 1;
  transform: translateY(0);
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--yellow-400);
  color: var(--purple-900);
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -4px rgba(26,10,46,0.35);
  transition: transform .15s, background .15s;
  z-index: 3;
  line-height: 1;
  padding-bottom: 4px;
}
.carousel__nav:hover { background: var(--yellow-500); transform: translateY(-50%) scale(1.08); }
.carousel__nav:disabled { opacity: 0.35; cursor: not-allowed; transform: translateY(-50%); }
.carousel__nav--prev { left: 8px; }
.carousel__nav--next { right: 8px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(92,30,140,0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.carousel__dot:hover { background: rgba(92,30,140,0.5); }
.carousel__dot.is-active {
  background: var(--purple-700);
  transform: scale(1.25);
}

@media (max-width: 900px) {
  .carousel { padding: 0 50px; }
  .carousel__item { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 560px) {
  .carousel { padding: 0 44px; }
  .carousel__item { flex-basis: 100%; }
  .carousel__nav { width: 40px; height: 40px; font-size: 24px; }
}

/* ============================================================
   PROFESSORES — cards de bio/currículo
   ============================================================ */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.teacher-card {
  background: white;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 4px 0 rgba(45,36,102,0.08), 0 8px 30px rgba(45,36,102,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid rgba(245,196,0,0.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 0 rgba(45,36,102,0.10), 0 16px 40px rgba(45,36,102,0.10);
}
.teacher-card__photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef0a8 0%, #F5C400 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,0.04);
  padding-top: 0;
}
.teacher-card__photo img {
  width: 115%;
  height: 115%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}
/* Carlos (1º card) — foto um pouco menor pra compensar enquadramento */
.teachers-grid .teacher-card:nth-child(1) .teacher-card__photo img {
  width: 100%;
  height: 100%;
}
.teacher-card__bio { text-align: justify; }
.teacher-card__name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #2D2466;
  margin: 0 0 6px;
  line-height: 1.2;
}
.teacher-card__role {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: #5C1E8C;
  margin: 0 0 18px;
}
.teacher-card__bio {
  color: #555;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 20px;
  text-align: justify;
  hyphens: auto;
}
.teacher-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.teacher-card__tag {
  background: #fff8dc;
  border: 1.5px solid #F5C400;
  color: #2D2466;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

@media (max-width: 800px) {
  .teachers-grid { grid-template-columns: 1fr; gap: 24px; }
  .teacher-card { padding: 22px; }
  .teacher-card__photo { width: 170px; height: 170px; padding-top: 0; }
  .teacher-card__name { font-size: 19px; }
}

/* ============================================================
   ANIMÁGORA GOODS — seção do PDF de colorir
   ============================================================ */
.goods {
  position: relative;
  background: #2D2466;
  padding: 80px 0;
  margin: 64px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.goods__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.goods__preview {
  display: flex;
  justify-content: center;
  align-items: center;
}
.goods__preview img {
  max-width: 100%;
  width: 460px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 4px 0 rgba(0,0,0,0.2);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.goods__preview img:hover {
  transform: rotate(0deg) scale(1.02);
}
.goods__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.goods__title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}
.goods__title-ani {
  color: white;
  font-size: 64px;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}
.goods__title-goods {
  color: white;
  font-size: 64px;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}
.goods__cta {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #F5C400;
  text-decoration: underline;
  text-decoration-color: #F5C400;
  text-decoration-thickness: 6px;
  text-underline-offset: 8px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}
.goods__cta:hover {
  transform: translateY(-3px) scale(1.02);
  color: #FFD52B;
}
.goods__hint {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  max-width: 360px;
}

/* Blobs amarelos decorativos */
.goods__blob {
  position: absolute;
  background: #F5C400;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.goods__blob--1 { width: 90px;  height: 90px;  top: 8%;   left: 12%; }
.goods__blob--2 { width: 140px; height: 140px; top: 50%;  left: 4%; }
.goods__blob--3 { width: 60px;  height: 60px;  bottom: 18%; left: 38%; }
.goods__blob--4 { width: 110px; height: 110px; top: 18%;  left: 44%; }
.goods__blob--5 { width: 80px;  height: 80px;  bottom: 8%;  left: 22%; }

@media (max-width: 900px) {
  .goods { padding: 56px 0; }
  .goods__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .goods__content { align-items: center; }
  .goods__title-ani, .goods__title-goods { font-size: 42px; }
  .goods__cta { font-size: 38px; }
  .goods__preview img { width: 320px; }
  .goods__blob--1 { width: 50px; height: 50px; }
  .goods__blob--2 { width: 80px; height: 80px; }
  .goods__blob--3 { width: 40px; height: 40px; }
  .goods__blob--4 { width: 60px; height: 60px; }
  .goods__blob--5 { display: none; }
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 4px 0 rgba(45,36,102,0.08), 0 8px 30px rgba(45,36,102,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 2px solid rgba(245,196,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 0 rgba(45,36,102,0.10), 0 16px 40px rgba(45,36,102,0.10);
}
.testimonial__quote {
  position: absolute;
  top: -22px;
  left: 22px;
  width: 50px;
  height: 50px;
  background: #F5C400;
  color: #2D2466;
  border-radius: 50%;
  font-family: 'Fredoka', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 12px;
  box-shadow: 0 4px 0 rgba(45,36,102,0.15);
}
.testimonial__stars {
  color: #F5C400;
  font-size: 18px;
  letter-spacing: 2px;
}
.testimonial__text {
  color: #4a4458;
  font-size: 15px;
  line-height: 1.65;
  font-style: italic;
  margin: 0;
  flex: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0ecf7;
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: #2D2466;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial__avatar--pink   { background: #F5C2D1; }
.testimonial__avatar--mint   { background: #B7E7C6; }
.testimonial__avatar--yellow { background: #F5C400; }
.testimonial__avatar--sky    { background: #BFD8FF; }
.testimonial__avatar--purple { background: #C9A8E8; }
.testimonial__name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: #2D2466;
  font-size: 15px;
}
.testimonial__role {
  font-size: 12px;
  color: #888;
  font-weight: 600;
}

@media (max-width: 900px) {
  .testimonials { grid-template-columns: 1fr; gap: 32px; }
}
