/* ==========================================================================
   LA VIDA ESPAÇO INTERDISCIPLINAR — Folha de estilos global
   Cores, tipografia e componentes reutilizados nas 5 páginas do site.
   ========================================================================== */

/* ---- Fontes (Google Fonts) são carregadas via <link> no <head> de cada página ---- */

:root {
  /* Paleta oficial */
  --navy: #0F107B;
  --navy-hover: #0b0c5c;
  --blue: #91AEF8;
  --blue-hover: #769bf2;
  --teal: #6AB9A8;
  --teal-hover: #59a591;
  --terracotta: #F15C2E;
  --terracotta-hover: #d94a1e;
  --white: #FFFFFF;
  --beige: #F5F1E6;
  --ink: #1C1B33; /* texto padrão sobre fundos claros — quase preto, mais aconchegante */

  /* Tipografia */
  --font-display: "Baloo 2", cursive;
  --font-body: "Nunito", sans-serif;

  /* Raios de borda — tudo arredondado */
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 999px;

  /* Sombras suaves */
  --shadow-sm: 0 4px 14px rgba(15, 16, 123, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 16, 123, 0.12);
  --shadow-lg: 0 20px 48px rgba(15, 16, 123, 0.16);

  /* Espaçamento de seção */
  --section-pad: clamp(3.5rem, 6vw, 6.5rem);
  --container-w: 1180px;
}

/* ---- Reset básico ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

/* Foco visível para acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}
.bg-navy   { background: var(--navy);   color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-teal   { background: var(--teal);   color: var(--white); }
.bg-teal h2, .bg-teal h3, .bg-teal h4 { color: var(--white); }
.bg-terracotta { background: var(--terracotta); color: var(--white); }
.bg-terracotta h2, .bg-terracotta h3, .bg-terracotta h4 { color: var(--white); }
.bg-beige  { background: var(--beige); }
.bg-blue   { background: var(--blue); color: var(--navy); }
.bg-white  { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.18);
  margin-bottom: 1rem;
}
.bg-white .eyebrow, .bg-beige .eyebrow, .bg-blue .eyebrow {
  background: rgba(15,16,123,0.08);
  color: var(--navy);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  max-width: 46rem;
}
.section-title.centered { margin-inline: auto; text-align: center; }
.section-intro {
  font-size: 1.1rem;
  max-width: 42rem;
  margin-top: 1rem;
}
.section-head {
  margin-bottom: 2.75rem;
}
.section-head.centered { text-align: center; }
.section-head.centered .section-intro { margin-inline: auto; }

/* ==========================================================================
   BOTÕES — estilo "pílula"
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; padding-inline: 1.5rem; }
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--terracotta-hover); }

.btn-secondary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--teal-hover); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover { background: var(--navy-hover); }

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { background: var(--beige); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--terracotta-hover);
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 0.7rem; }

/* ==========================================================================
   CABEÇALHO / NAVEGAÇÃO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(15, 16, 123, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.logo-img { height: 44px; width: auto; }
.logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
}
.logo-fallback small {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.7rem);
}
.nav-list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 0.4rem 0.2rem;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-list a[aria-current="page"] { color: var(--terracotta); }

.nav-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 899px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 6.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    width: 100%;
  }
  .nav-list a { color: var(--white); font-size: 1.15rem; }
  .nav-list a[aria-current="page"] { color: var(--blue); }
  .nav-cta { display: inline-flex; margin-top: 2rem; width: 100%; justify-content: center; }
}
@media (min-width: 900px) {
  .hamburger { display: none; }
  .nav-cta { display: inline-flex; }
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,16,123,0.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   DIVISÓRIAS ONDULADAS
   ========================================================================== */
.wave {
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.wave svg { width: 100%; height: calc(clamp(36px, 7vw, 90px) + 4px); display: block; margin-block: -2px; }
.wave--flip svg { transform: rotate(180deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145,174,248,0.35), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,92,46,0.28), transparent 70%);
}
.hero-inner {
  display: grid;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}
.hero-inner.with-art { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
@media (max-width: 899px) {
  .hero-inner.with-art { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--white);
  max-width: 22ch;
}
.hero .subhead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 40ch;
  margin-top: 1.25rem;
}
.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  text-align: left;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,185,168,0.35), transparent 70%);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  max-width: 32ch;
  margin-inline: 0;
}
.page-hero .subhead {
  max-width: 58ch;
  margin: 1.1rem 0 0;
  color: rgba(255,255,255,0.9);
  font-size: 1.08rem;
}

/* Ilustração doodle simples usada no hero da home */
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: 100%; max-width: 380px; height: auto; }

/* ==========================================================================
   CARDS — áreas de atuação / genérico
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.area-card .icon-badge { align-self: flex-start; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.area-card:hover .icon-badge { transform: scale(1.1) rotate(-4deg); }
.area-card h3 { font-size: 1.25rem; color: var(--navy); }
.area-card p { color: var(--ink); opacity: 0.85; }

.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 32px; height: 32px; }
.icon-badge.navy { background: rgba(15,16,123,0.22); color: var(--navy); }
.icon-badge.teal { background: rgba(106,185,168,0.18); color: var(--teal); }
.icon-badge.terracotta { background: rgba(241,92,46,0.14); color: var(--terracotta); }
.icon-badge.blue { background: rgba(145,174,248,0.25); color: var(--navy); }

/* ==========================================================================
   ESTATÍSTICAS
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  color: var(--blue);
  display: block;
}
.stat-card p { margin-top: 0.5rem; color: rgba(255,255,255,0.92); }

/* ==========================================================================
   PASSOS NUMERADOS (1ª consulta)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  counter-reset: step;
}
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
}
.step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 16%;
  right: 16%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 20px);
  z-index: 1;
  animation: dash-flow 1.4s linear infinite;
}
@keyframes dash-flow {
  to { background-position: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .steps::before { animation: none; }
}
@media (max-width: 767px) {
  .steps::before { display: none; }
}
.step h3 { font-size: 1.15rem; }
.step p { max-width: 26ch; }

/* ==========================================================================
   DEPOIMENTOS (estrutura pronta, sem conteúdo real ainda)
   ========================================================================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px dashed var(--blue);
  text-align: center;
  color: var(--navy);
}
.testimonial-card .quote-icon { margin-inline: auto 1rem auto; opacity: 0.6; }
.testimonial-card p { font-style: italic; opacity: 0.75; }

/* ==========================================================================
   PLACEHOLDERS VISUAIS (fotos/espaço/equipe ainda não enviadas)
   ========================================================================== */
.photo-placeholder {
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}
.photo-placeholder svg { width: 46px; height: 46px; opacity: 0.85; }
.photo-placeholder span { font-size: 0.95rem; opacity: 0.9; }
.photo-placeholder.tone-navy { background: linear-gradient(150deg, var(--navy), #2426a8); }
.photo-placeholder.tone-teal { background: linear-gradient(150deg, var(--teal), #4f9f8d); }
.photo-placeholder.tone-terracotta { background: linear-gradient(150deg, var(--terracotta), #ff8156); }
.photo-placeholder.tone-blue { background: linear-gradient(150deg, var(--blue), #5f85e0); color: var(--navy); }

/* ==========================================================================
   CARROSSEL DE FOTOS (rolagem automática e contínua)
   ========================================================================== */
.photo-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  cursor: grab;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.photo-carousel::-webkit-scrollbar { display: none; }
.photo-carousel.is-dragging { cursor: grabbing; }
.photo-carousel-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
}
.photo-carousel-track img {
  height: 320px;
  width: auto;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}
@media (max-width: 767px) {
  .photo-carousel-track img { height: 220px; }
}

/* ==========================================================================
   FOTO ÚNICA — ESTIMULAÇÃO SENSORIAL
   ========================================================================== */
.sensory-photo {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* ==========================================================================
   ACORDEÃO (áreas de atuação)
   ========================================================================== */
.accordion { display: flex; flex-direction: column; gap: 1.1rem; }
.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 1.75rem;
  text-align: left;
}
.accordion-trigger h3 {
  font-size: 1.2rem;
  flex: 1;
}
.accordion-trigger .chevron {
  flex-shrink: 0;
  width: 26px; height: 26px;
  transition: transform 0.25s ease;
}
.accordion-item.is-open .chevron { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-panel-inner {
  padding: 0 1.75rem 1.75rem 5.4rem;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.accordion-item.is-open .accordion-panel-inner {
  opacity: 0.88;
  transform: translateY(0);
  transition-delay: 0.08s;
}

/* ==========================================================================
   PÚBLICO ATENDIDO (faixas etárias)
   ========================================================================== */
.age-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.age-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.age-card .age-range {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   FORMULÁRIO DE CONTATO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: flex-start;
}
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-field { margin-bottom: 1.4rem; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--beige);
  background: var(--beige);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-error {
  color: var(--terracotta);
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--terracotta);
}
.form-field.has-error .form-error { display: block; }
.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.75;
}
.form-success {
  display: none;
  background: rgba(106,185,168,0.16);
  border: 2px solid var(--teal);
  color: var(--navy);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-weight: 600;
}
.form-success.is-visible { display: block; }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}
.contact-info-card h3 { color: var(--white); font-size: 1.3rem; }
.contact-info-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-info-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-info-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--blue); }

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  line-height: 0;
}
.map-card iframe { width: 100%; height: 260px; border: 0; display: block; }

.whatsapp-panel {
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
}
.whatsapp-panel h3 { color: var(--white); }
.whatsapp-panel .btn { margin-top: 1.25rem; }

/* ==========================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { background: var(--teal-hover); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(106,185,168,0.55), var(--shadow-lg); }
  50% { box-shadow: 0 0 0 12px rgba(106,185,168,0), var(--shadow-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}
.footer-logo .logo-img { height: 56px; }
.footer-logo .logo-fallback { color: var(--white); }
.footer-logo .logo-fallback small { color: var(--blue); }
.footer-about p { margin-top: 1rem; max-width: 32ch; color: rgba(255,255,255,0.75); }
.footer-heading {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.footer-list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-list a:hover { color: var(--blue); }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.85rem; }
.footer-contact svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--teal); }
.footer-social {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.2s ease;
}
.footer-social:hover { background: var(--terracotta); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA (scroll reveal)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Cascata: cada filho direto de um .stagger-children aparece um pouco depois do anterior */
.stagger-children > * {
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children:not(.is-visible) > * {
  opacity: 0;
  transform: translateY(18px);
}
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.11s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.25s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.39s; }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 0.46s; }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 0.53s; }

/* Entrada do hero ao carregar a página (não depende de rolagem) */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero h1, .hero .subhead, .hero-actions {
  animation: hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero h1 { animation-delay: 0.05s; }
.hero .subhead { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.35s; }
.hero-art { animation: hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.15s; }
.hero-art svg { animation: float-slow 6s ease-in-out infinite 1s; }
.page-hero .eyebrow, .page-hero h1, .page-hero .subhead {
  animation: hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-hero .eyebrow { animation-delay: 0.05s; }
.page-hero h1 { animation-delay: 0.15s; }
.page-hero .subhead { animation-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger-children > * { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero .subhead, .hero-actions, .hero-art, .hero-art svg,
  .page-hero .eyebrow, .page-hero h1, .page-hero .subhead {
    animation: none;
  }
}

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
.stack-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col.items-start {
  align-items: start;
}
@media (max-width: 899px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}
.badge-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.badge-pill {
  background: rgba(15,16,123,0.08);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
}
.bg-navy .badge-pill, .bg-teal .badge-pill, .bg-terracotta .badge-pill {
  background: rgba(255,255,255,0.16);
  color: var(--white);
}

.formation-block { margin-top: 1.75rem; }
.formation-block h3 {
  font-size: 1.15rem;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}
.formation-block ul { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.formation-block li {
  background: var(--beige);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
}

/* Grid de Formações (3 Cards equilibrados) */
.formation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
@media (max-width: 991px) {
  .formation-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.formation-card {
  background: var(--beige);
  border: 1px solid rgba(15, 16, 123, 0.07);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.formation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.formation-card-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 16, 123, 0.08);
}
.formation-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}
.formation-card.grad .formation-card-badge {
  background: rgba(241, 92, 46, 0.14);
  color: var(--terracotta);
}
.formation-card.pos .formation-card-badge {
  background: rgba(15, 16, 123, 0.12);
  color: var(--navy);
}
.formation-card.cursos .formation-card-badge {
  background: rgba(106, 185, 168, 0.25);
  color: #2b7062;
}
.formation-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.formation-card p {
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1.5;
}
.formation-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0;
  padding-top: 0;
}
.formation-card li {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  line-height: 1.3;
  box-shadow: 0 1px 3px rgba(15, 16, 123, 0.04);
}


.story-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  position: relative;
}
.story-block p + p { margin-top: 1.1rem; }
