/* =========================================================
   PETIT ALLEGRO — Ballet Infantil | Porto Velho - RO
   Folha de estilo (CSS puro, mobile-first)
   Sumário:
     1. Reset / Base
     2. Variables
     3. Header
     4. Hero
     5. About
     6. Classes
     7. Differentials
     8. Gallery
     9. Locations
    10. FAQ
    11. Final CTA
    12. Footer
    13. Responsive Breakpoints
    14. Accessibility / Reduced Motion
    15. Animações / Microinterações
========================================================= */


/* =========================================================
   2. VARIABLES
========================================================= */
:root {
  /* Cores principais */
  --rosa-ballet: #FDBBBC;   /* fundos suaves, cards, detalhes */
  --rosa-bg:     #FFF1F4;   /* background geral / áreas de respiro */
  --rosa-pessego:#FBA3A6;   /* detalhes, ícones, divisórias */
  --pink:        #B33A75;   /* botões e links principais */
  --vinho:       #9C2261;   /* títulos, hover de CTA */

  /* Neutras */
  --branco-quente: #FFF8F6; /* fundo de cards e blocos */
  --marrom:        #8A5A48; /* textos secundários, detalhes (contraste AA) */
  --texto:         #3B2B32; /* parágrafos / textos longos */
  --texto-sec:     #6F5A62; /* descrições e legendas */
  --white:         #FFFFFF;

  /* WhatsApp */
  --wpp:      #25D366;
  --wpp-dark: #1FB457;

  /* Tipografia */
  --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:  'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamentos / layout */
  --container: 1140px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --space-section: clamp(3.5rem, 8vw, 6rem);
  --header-h: 72px;

  /* Raio */
  --radius-card: 24px;
  --radius-img: 22px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-card: 0 8px 24px rgba(156, 34, 97, 0.08);
  --shadow-soft: 0 12px 32px rgba(156, 34, 97, 0.14);
  --shadow-float: 0 8px 22px rgba(37, 211, 102, 0.40);

  /* Transição padrão */
  --transition: 0.25s ease;
}


/* =========================================================
   1. RESET / BASE
========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* ~17px (corpo 16–18px) */
  line-height: 1.65;
  color: var(--texto);
  background: var(--rosa-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
button { font-family: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--texto);
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* Eyebrow (rótulo pequeno acima dos títulos) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}
.eyebrow__icon { width: 1.5em; height: 1.5em; color: var(--rosa-pessego); }

/* Títulos de seção */
.section { padding: var(--space-section) 0; }
.section__head { max-width: 700px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section__title { font-size: clamp(1.75rem, 4vw, 2.625rem); margin: 0.25rem 0 0.75rem; }
.section__intro { color: var(--texto-sec); font-size: 1.05rem; margin: 0; }
.section__cta { margin-top: clamp(2rem, 5vw, 3rem); text-align: center; }

/* Cartão base */
.card {
  background: var(--branco-quente);
  border: 1px solid var(--rosa-ballet);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* Moldura de imagem com fallback elegante (gradiente + flor) */
.img-frame {
  position: relative;
  margin: 0;                  /* zera a margem padrão do <figure> (1em 40px) */
  border-radius: var(--radius-img);
  overflow: hidden;
  background: linear-gradient(135deg, var(--rosa-ballet), var(--rosa-pessego));
  box-shadow: var(--shadow-soft);
}
.img-frame::before {        /* motivo floral visível quando a foto ainda não existe */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='12' cy='6.5' r='3.1'/%3E%3Ccircle cx='6.7' cy='10.4' r='3.1'/%3E%3Ccircle cx='8.7' cy='16.6' r='3.1'/%3E%3Ccircle cx='15.3' cy='16.6' r='3.1'/%3E%3Ccircle cx='17.3' cy='10.4' r='3.1'/%3E%3C/g%3E%3Ccircle cx='12' cy='11.8' r='2.7' fill='%23FBA3A6'/%3E%3C/svg%3E") center / 42% auto no-repeat;
  opacity: 0.55;
}
.img-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-frame--portrait { aspect-ratio: 4 / 5; }
.img-frame--landscape { aspect-ratio: 4 / 3; }
.img-frame__caption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(59, 43, 50, 0.78));
}

/* Esconde qualquer imagem que falhe ao carregar (revela o fallback) */
img.img-error { display: none !important; }

/* Skip link (acessibilidade) */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 400;
  padding: 0.75rem 1rem;
  background: var(--vinho);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* Foco visível */
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }


/* =========================================================
   BOTÕES (componente compartilhado)
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 24px;
  min-height: 48px;            /* área de toque confortável (>=44px) */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.btn .icon { width: 1.2em; height: 1.2em; }

.btn--primary { background: var(--pink); color: #fff; }
.btn--primary:hover { background: var(--vinho); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn--secondary { background: transparent; border-color: var(--pink); color: var(--pink); }
.btn--secondary:hover { background: var(--rosa-bg); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--vinho); }
.btn--light:hover { background: var(--rosa-bg); transform: translateY(-2px); }

.btn--sm { padding: 10px 18px; min-height: 44px; font-size: 0.95rem; }
.btn--lg { padding: 16px 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; margin-top: auto; }


/* =========================================================
   3. HEADER
========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 246, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(253, 187, 188, 0.55);
  transition: box-shadow var(--transition), background var(--transition);
}
.header.is-scrolled {
  background: rgba(255, 248, 246, 0.97);
  box-shadow: 0 4px 20px rgba(156, 34, 97, 0.10);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Marca / logo */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.brand__img { height: 44px; width: auto; display: none; }   /* exibido por JS se o PNG existir */
.brand.has-logo .brand__img { display: block; }
/* O PNG é apenas o emblema (sem texto): mantém o nome da marca ao lado dele. */
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-title); font-weight: 700; font-size: 1.5rem; color: var(--vinho); }
.brand__tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--marrom); }

/* Navegação */
.nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
  background: var(--branco-quente);
  border-bottom: 1px solid var(--rosa-ballet);
  box-shadow: var(--shadow-card);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
/* Trava o scroll de fundo enquanto o menu mobile está aberto. */
body.nav-open { overflow: hidden; }
.nav__list { display: flex; flex-direction: column; gap: 0.15rem; }
.nav__link {
  display: block;
  padding: 0.85rem 0.25rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--texto);
  border-bottom: 1px solid rgba(253, 187, 188, 0.45);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--pink); }

/* Ações do header (CTA + hamburger) */
.header__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--rosa-ballet);
  background: var(--white);
  border-radius: 14px;
  color: var(--vinho);
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--rosa-bg); }
.nav-toggle .icon { width: 1.5em; height: 1.5em; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }


/* =========================================================
   4. HERO
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 3.5rem) 0 var(--space-section);
  background: linear-gradient(180deg, var(--rosa-bg) 0%, var(--branco-quente) 100%);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}
.hero__blob--1 { width: 320px; height: 320px; background: var(--rosa-ballet); top: -90px; right: -70px; opacity: 0.5; }
.hero__blob--2 { width: 260px; height: 260px; background: var(--rosa-pessego); bottom: -70px; left: -90px; opacity: 0.35; }

.hero__inner { position: relative; z-index: 1; display: grid; gap: 2rem; }
.hero__title { font-size: clamp(2.125rem, 5.2vw, 3.5rem); margin: 0.4rem 0 1rem; }
.hero__subtitle { font-size: clamp(1.05rem, 2.2vw, 1.25rem); font-weight: 600; color: var(--texto-sec); }
.hero__support { color: var(--texto-sec); }

.hero__benefits { display: grid; gap: 0.65rem; margin: 1.5rem 0; }
.hero__benefits li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; }
.hero__benefits .icon {
  width: 1.7rem; height: 1.7rem;
  padding: 4px;
  color: var(--pink);
  background: var(--white);
  border: 1px solid var(--rosa-ballet);
  border-radius: 50%;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.25rem; }
.hero__reinforce { font-size: 0.95rem; font-style: italic; color: var(--marrom); margin: 0; }

.hero__media { position: relative; }
/* A foto do hero é paisagem em moldura retrato: centraliza o foco (professora + centro do grupo). */
.hero__media .img-frame img { object-position: center; }


/* =========================================================
   5. ABOUT (Sobre o Petit Allegro)
========================================================= */
.about { background: var(--branco-quente); }
.about__card { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.75rem); }
.about__content p { color: var(--texto-sec); }
.about__content .btn { margin-top: 0.75rem; }


/* =========================================================
   6. CLASSES (Turmas / Serviços)
========================================================= */
.classes { background: var(--rosa-bg); }
.classes__grid { display: grid; gap: 1.25rem; }
.class-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.class-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  margin-bottom: 0.25rem;
  border-radius: 18px;
  background: var(--rosa-bg);
  color: var(--pink);
}
.class-card__icon .icon { width: 1.8em; height: 1.8em; }
.class-card__title { font-size: 1.35rem; }
.class-card p { margin: 0; color: var(--texto-sec); font-size: 0.98rem; }

/* Selo de idade */
.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.badge--soft { background: var(--rosa-pessego); color: var(--texto); }


/* =========================================================
   7. DIFFERENTIALS (Diferenciais)
========================================================= */
.differentials { background: var(--branco-quente); }
.differentials__grid { display: grid; gap: 1.25rem; }
.diff-card { padding: 1.75rem 1.5rem; transition: transform var(--transition), box-shadow var(--transition); }
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.diff-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--rosa-bg);
  color: var(--pink);
}
.diff-card__icon .icon { width: 1.6em; height: 1.6em; }
.diff-card__title { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--vinho); }
.diff-card p { margin: 0; color: var(--texto-sec); font-size: 0.98rem; }


/* =========================================================
   8. GALLERY (Carrossel)
========================================================= */
.gallery { background: var(--rosa-bg); }
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  --spv: 1;     /* slides por visão (definido por JS) */
  --index: 0;   /* posição atual (definido por JS) */
  display: flex;
  transform: translateX(calc(var(--index) * -100% / var(--spv)));
  transition: transform 0.45s ease;
}
.carousel__slide {
  flex: 0 0 auto;
  width: calc(100% / var(--spv));
  padding-inline: 8px;
}
.carousel__slide .img-frame { margin: 0; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 2px solid var(--pink);
  border-radius: 50%;
  background: var(--white);
  color: var(--pink);
  transition: var(--transition);
}
.carousel__btn:hover { background: var(--pink); color: #fff; }
.carousel__btn:disabled { opacity: 0.4; cursor: default; }
.carousel__btn .icon { width: 1.4em; height: 1.4em; }

.carousel__dots { display: flex; align-items: center; gap: 0.5rem; }
.carousel__dot {
  width: 11px; height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--rosa-ballet);
  transition: var(--transition);
}
.carousel__dot.is-active { width: 26px; border-radius: var(--radius-pill); background: var(--pink); }


/* =========================================================
   9. LOCATIONS (Localização)
========================================================= */
.locations { background: var(--branco-quente); }
.locations__grid { display: grid; gap: 1.25rem; }
.location-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.5rem;
}
.location-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 0.5rem;
  border-radius: 14px;
  background: var(--rosa-bg);
  color: var(--pink);
}
.location-card__title { font-size: 1.15rem; color: var(--vinho); }
.location-card__address { margin: 0; color: var(--texto-sec); }
.location-card__city { margin: 0 0 0.75rem; color: var(--marrom); font-size: 0.95rem; }
.location-card__map {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.location-card__map:hover { color: var(--vinho); }
.locations__note { margin: 1.75rem 0 0; text-align: center; font-style: italic; color: var(--texto-sec); }


/* =========================================================
   10. FAQ (Accordion)
========================================================= */
.faq { background: var(--branco-quente); }
.faq__list { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--rosa-ballet);
  border-radius: 16px;
  overflow: hidden;
}
.faq__heading { margin: 0; font-family: var(--font-body); }
.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  min-height: 56px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vinho);
  transition: color var(--transition);
}
.faq__trigger:hover { color: var(--pink); }
.faq__chevron { color: var(--pink); transition: transform var(--transition); }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }

/* Animação suave de altura via grid-template-rows */
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; }
.faq__panel-inner p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--texto-sec); }


/* =========================================================
   11. FINAL CTA
========================================================= */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-section) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--rosa-ballet) 0%, var(--rosa-bg) 100%);
}
.final-cta__inner { position: relative; z-index: 1; max-width: 680px; }
.final-cta .section__title { color: var(--vinho); font-size: clamp(1.9rem, 4.5vw, 2.75rem); }
.final-cta p { color: var(--texto); font-size: 1.1rem; }
.final-cta .btn { margin-top: 1rem; }


/* =========================================================
   12. FOOTER
========================================================= */
.footer {
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
  background: var(--vinho);
  color: #fff;
}
.footer a:not(.btn) { color: #fff; }   /* links normais brancos; botões mantêm sua própria cor */
.footer__inner { display: grid; gap: 2rem; }
.brand__name--light { color: #fff; font-size: 1.75rem; }
.footer__brand p { color: rgba(255, 255, 255, 0.85); }
.footer__quote { color: var(--rosa-ballet); font-style: italic; max-width: 46ch; }
.footer__title { font-family: var(--font-title); font-size: 1.25rem; margin-bottom: 0.75rem; color: #fff; }
.footer__contact p { margin: 0.4rem 0; }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; transition: color var(--transition); }
.footer__contact a:not(.btn):hover { color: var(--rosa-ballet); }
.footer .btn--light { margin-top: 1rem; }
.footer__bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}
.footer__bottom p { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }


/* =========================================================
   13. RESPONSIVE BREAKPOINTS
========================================================= */

/* Header WhatsApp compacto (ícone) em telas bem pequenas */
@media (max-width: 560px) {
  .header__cta .header__cta-text { display: none; }
  .header__cta { width: 48px; padding: 0; border-radius: 14px; }
}

/* Em telas bem estreitas, mostra só o nome da marca (sem o emblema) para o header não apertar */
@media (max-width: 419px) {
  .brand.has-logo .brand__img { display: none; }
}

/* >= 600px — grids em 2 colunas */
@media (min-width: 600px) {
  .classes__grid { grid-template-columns: repeat(2, 1fr); }
  .differentials__grid { grid-template-columns: repeat(2, 1fr); }
  .locations__grid { grid-template-columns: repeat(2, 1fr); }
}

/* >= 860px — Sobre em 2 colunas (imagem + texto) */
@media (min-width: 860px) {
  .about__card { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 2.5rem; }
}

/* >= 980px — Hero em 2 colunas (texto à esquerda, imagem à direita) */
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 3rem; }
  .hero__media { order: 2; }
}

/* >= 1000px — grids de turmas/diferenciais em 3 colunas */
@media (min-width: 1000px) {
  .classes__grid { grid-template-columns: repeat(3, 1fr); }
  .differentials__grid { grid-template-columns: repeat(3, 1fr); }
}

/* >= 1024px — navegação horizontal (sem hamburger) */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__list { flex-direction: row; gap: 1.75rem; }
  .nav__link { padding: 0.4rem 0; border: none; min-height: 0; }
  .nav__link:hover { color: var(--pink); }
}

/* =========================================================
   14. ACCESSIBILITY / REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .carousel__track { transition: none; }
  .hero__blob { animation: none !important; }
}


/* =========================================================
   15. ANIMAÇÕES / MICROINTERAÇÕES
   Reveal-on-scroll com progressive enhancement: o estado
   inicial oculto só existe quando <html> tem .js-reveal —
   adicionada por JS apenas com suporte a IntersectionObserver
   e sem prefers-reduced-motion. Sem JS → tudo visível (SEO/a11y).
   Entrada anima opacity + translate (propriedade individual),
   nunca transform — assim não conflita com o hover dos cards.
========================================================= */
@keyframes reveal-up    { from { opacity: 0; translate: 0 18px; }  to { opacity: 1; translate: 0 0; } }
@keyframes reveal-left  { from { opacity: 0; translate: -24px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes reveal-right { from { opacity: 0; translate: 24px 0; }  to { opacity: 1; translate: 0 0; } }

/* Estado oculto inicial (apenas com JS ativo) */
.js-reveal [data-reveal],
.js-reveal [data-reveal-group] > * { opacity: 0; }

/* Revelação individual */
[data-reveal].is-visible         { animation: reveal-up 0.6s ease both; }
[data-reveal="left"].is-visible  { animation-name: reveal-left; }
[data-reveal="right"].is-visible { animation-name: reveal-right; }

/* Cascata (stagger) nos grupos de cards */
[data-reveal-group].is-visible > *              { animation: reveal-up 0.55s ease both; }
[data-reveal-group].is-visible > *:nth-child(2) { animation-delay: 0.07s; }
[data-reveal-group].is-visible > *:nth-child(3) { animation-delay: 0.14s; }
[data-reveal-group].is-visible > *:nth-child(4) { animation-delay: 0.21s; }
[data-reveal-group].is-visible > *:nth-child(5) { animation-delay: 0.28s; }
[data-reveal-group].is-visible > *:nth-child(6) { animation-delay: 0.35s; }

/* Hover zoom sutil nas imagens (a moldura já tem overflow: hidden) */
.about__media .img-frame img,
.carousel__slide .img-frame img { transition: transform 0.5s ease; }
.about__media .img-frame:hover img,
.carousel__slide .img-frame:hover img { transform: scale(1.04); }

/* Hover-lift onde faltava (consistência com os cards de turmas/diferenciais) */
.location-card { transition: transform var(--transition), box-shadow var(--transition); }
.location-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.faq__item { transition: box-shadow var(--transition); }
.faq__item:hover { box-shadow: var(--shadow-card); }

/* Microinteração: a seta do botão secundário desliza levemente no hover */
.btn--secondary .icon { transition: transform var(--transition); }
.btn--secondary:hover .icon { transform: translateX(3px); }

/* Flutuação discreta dos blobs decorativos do hero */
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(10px, -14px); }
}
.hero__blob--1 { animation: blob-float 11s ease-in-out infinite; }
.hero__blob--2 { animation: blob-float 13s ease-in-out infinite reverse; }
