/* ==========================================================================
   Jardim Ciranda — styles.css
   Design system inspirado na Pedagogia Waldorf (paleta "Lazur").
   Sem frameworks. Sem estilos inline (compatível com CSP style-src 'self').
   Contrastes verificados para WCAG 2.1 AA.
   ========================================================================== */

/* ---------- 1. Fontes self-hosted (sem requisições a terceiros → LGPD) ---------- */
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-var-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-var.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Design tokens ---------- */
:root {
  /* Fundos (blanco-hueso) */
  --c-cream-50: #faf7f2;
  --c-cream-100: #f5eee3;
  --c-cream-200: #eee2cf;
  --c-surface: #fdfbf7;

  /* Pastéis Waldorf */
  --c-peach-200: #f7dccd;
  --c-peach-300: #f0c3ab;
  --c-rose-200: #f2d6d3;
  --c-ochre-200: #f5e4b6;
  --c-ochre-300: #ebcd84;
  --c-sage-100: #e7eee2;
  --c-sage-200: #d0ddc8;
  --c-sage-300: #a9bfa0;
  --c-lavender-100: #eee8f5;
  --c-lavender-200: #ddd2eb;
  --c-sky-200: #d7e6ed;

  /* Profundos — texto e CTAs (contraste sobre --c-cream-50) */
  --c-ink-900: #3a2f2b;        /* 12.4:1 */
  --c-ink-700: #5c4c45;        /*  8.0:1 */
  --c-ink-500: #75635a;        /*  5.5:1 */
  --c-terracotta-600: #a0503a; /*  5.4:1 (texto cream sobre ele) */
  --c-terracotta-700: #86412e;
  --c-sage-700: #4a6847;       /*  6.0:1 */
  --c-sage-800: #3b5539;
  --c-plum-700: #6b4f7a;

  /* Semânticos */
  --bg: var(--c-cream-50);
  --bg-alt: var(--c-cream-100);
  --text: var(--c-ink-900);
  --text-muted: var(--c-ink-700);
  --text-subtle: var(--c-ink-500);
  --primary: var(--c-terracotta-600);
  --primary-hover: var(--c-terracotta-700);
  --on-primary: var(--c-cream-50);
  --accent: var(--c-sage-700);
  --border: #e6d7c1;
  --focus: var(--c-plum-700);
  --success: #3d6a3a;
  --error: #9a2f22;
  --whatsapp: #1f7a4d; /* verde WhatsApp escurecido para AA com texto claro */

  /* Tipografia */
  --font-serif: 'Lora', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fs-xs: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --fs-sm: clamp(0.9rem, 0.87rem + 0.15vw, 0.97rem);
  --fs-base: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --fs-lg: clamp(1.14rem, 1.06rem + 0.35vw, 1.3rem);
  --fs-xl: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-2xl: clamp(1.8rem, 1.45rem + 1.5vw, 2.65rem);
  --fs-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.85rem);

  /* Espaços */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --section-y: clamp(4.25rem, 3rem + 5vw, 7.5rem);

  /* Formas orgânicas */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-xl: 44px;
  --r-pill: 999px;
  --r-blob-1: 62% 38% 46% 54% / 58% 44% 56% 42%;
  --r-blob-2: 42% 58% 63% 37% / 41% 53% 47% 59%;
  --r-blob-3: 55% 45% 38% 62% / 49% 61% 39% 51%;

  /* Sombras quentes */
  --shadow-sm: 0 2px 10px rgba(122, 82, 54, 0.08);
  --shadow-md: 0 14px 34px -14px rgba(122, 82, 54, 0.28);
  --shadow-lg: 0 30px 70px -28px rgba(122, 82, 54, 0.38);

  /* Movimento gentil */
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 800ms;

  --container: 1180px;
  --header-h: 74px;
}

/* ---------- 3. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* Rede de segurança contra rolagem horizontal no celular.
     `clip` (e não `hidden`) para não criar contêiner de rolagem e não quebrar o header sticky. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* fallback para navegadores sem suporte a `clip` */
  overflow-x: clip;
  overflow-wrap: break-word;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--c-terracotta-700); }
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }

a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast) ease;
}
a:hover { color: var(--c-sage-800); }

button, input, select, textarea { font: inherit; color: inherit; }
ul[role='list'], ol[role='list'] { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--c-ochre-200); color: var(--c-ink-900); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--c-ink-900);
  color: var(--c-cream-50);
  border-radius: var(--r-pill);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--c-cream-50); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Honeypot: invisível para humanos e leitores de tela, visível para bots */
.hidden, .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}
[hidden] { display: none !important; }

/* ---------- 4. Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
/* Itens de grid/flex podem encolher abaixo do conteúdo mínimo (evita estourar a largura no celular) */
.hero__grid > *, .manifesto > *, .rhythm > *, .steps > *, .contact > *, .form-grid > *,
.form-actions > *, .footer-grid > *, .site-header .container > * { min-width: 0; }
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--sage { background: var(--c-sage-100); }
.section--lavender { background: var(--c-lavender-100); }

.section-head { max-width: 46rem; margin: 0 auto var(--sp-7); text-align: center; position: relative; z-index: 1; }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { color: var(--text-muted); font-size: var(--fs-lg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-terracotta-700);
  margin-bottom: var(--sp-3);
}
.eyebrow::before, .section-head .eyebrow::after {
  content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.55;
}

/* Fundo aquarelado Lazur */
.lazur { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lazur span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.6; }
.lazur .l1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: var(--c-peach-200); top: -12%; right: -8%; }
.lazur .l2 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; background: var(--c-ochre-200); bottom: -10%; left: -10%; }
.lazur .l3 { width: 28vw; height: 28vw; max-width: 380px; max-height: 380px; background: var(--c-lavender-200); top: 30%; left: 32%; opacity: 0.45; }
.lazur .l4 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; background: var(--c-sage-200); bottom: -14%; right: 10%; }

/* Divisores em onda */
.wave { position: absolute; left: 0; right: 0; width: 100%; height: clamp(40px, 6vw, 90px); pointer-events: none; z-index: 1; }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: rotate(180deg); }
.wave { fill: var(--bg); }
.wave--to-alt { fill: var(--bg-alt); }
.wave--to-sage { fill: var(--c-sage-100); }
.wave--to-lavender { fill: var(--c-lavender-100); }
.wave--to-cream { fill: var(--bg); }
.wave--to-ink { fill: #3f3430; }

/* ---------- 5. Botões ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
  font-size: var(--fs-base);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.btn:hover { --btn-bg: var(--primary-hover); color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-sage-800); border-color: var(--c-sage-300); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--c-sage-100); --btn-fg: var(--c-sage-800); box-shadow: var(--shadow-sm); }
.btn--whatsapp { --btn-bg: var(--whatsapp); }
.btn--whatsapp:hover { --btn-bg: #17603c; }
.btn--sm { min-height: 44px; padding: 0.55rem 1.15rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy='true'] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px -18px rgba(122, 82, 54, 0.5); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__logo { width: auto; height: min(58px, calc(var(--header-h) - 14px)); flex-shrink: 0; transition: transform 0.9s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.04); }
@media (max-width: 480px) {
  .brand { gap: 0.55rem; }
  .brand__logo { height: 46px; }
  .site-header .brand__name { font-size: 1.12rem; }
  .site-header .brand__tag { display: none; }
  .site-header .btn--sm { padding-inline: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .brand:hover .brand__logo { transform: none; } }
.brand__name { font-family: var(--font-serif); font-size: 1.32rem; font-weight: 600; line-height: 1; }
.brand__tag { display: block; font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__list { display: flex; gap: 0.15rem; }
.nav__list a {
  display: block; padding: 0.5rem 0.85rem; border-radius: var(--r-pill);
  color: var(--text-muted); font-weight: 700; font-size: var(--fs-sm); text-decoration: none;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.nav__list a:hover, .nav__list a[aria-current='true'] { background: var(--c-peach-200); color: var(--c-ink-900); }
.nav .btn { margin-left: 0.6rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--c-peach-200); cursor: pointer; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--c-ink-900);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) ease; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.5rem;
    padding: 1.25rem 1.25rem 1.75rem;
    background: var(--c-cream-50);
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform var(--t-base) var(--ease), opacity var(--t-base) ease, visibility 0s linear var(--t-base);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 0.85rem 1rem; font-size: var(--fs-base); }
  .nav .btn { margin: 0.5rem 0 0; }
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 2rem + 4vw, 5.5rem) 0 clamp(5rem, 4rem + 6vw, 9rem); overflow: hidden; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--fs-3xl); letter-spacing: -0.01em; margin-bottom: var(--sp-5); }
.hero__lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 34rem; margin-bottom: var(--sp-6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: var(--sp-6); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.9rem; border-radius: var(--r-pill);
  background: rgba(253, 251, 247, 0.85); border: 1px solid var(--border);
  font-size: var(--fs-sm); font-weight: 700; color: var(--text-muted);
}
.chip svg { width: 18px; height: 18px; color: var(--c-sage-700); }

.hero__media { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: center; width: 100%; }
.hero__blob {
  position: absolute; inset: 4% 2% 6% 6%;
  border-radius: var(--r-blob-1);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: morph 18s ease-in-out infinite;
}
.hero__blob img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero__ring { position: absolute; inset: 0; border: 2px dashed var(--c-ochre-300); border-radius: var(--r-blob-2); opacity: 0.8; animation: morph 22s ease-in-out infinite reverse; }
.hero__card {
  position: absolute; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1.05rem; border-radius: var(--r-md);
  background: var(--c-surface); box-shadow: var(--shadow-md);
  font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; color: var(--text);
  animation: float-soft 7s ease-in-out infinite;
}
.hero__card small { display: block; font-weight: 600; color: var(--text-subtle); }
.hero__card .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.hero__card .dot svg { width: 22px; height: 22px; }
.hero__card--a { left: -4%; bottom: 14%; }
.hero__card--a .dot { background: var(--c-sage-200); color: var(--c-sage-800); }
.hero__card--b { right: -2%; top: 8%; animation-delay: -3s; }
.hero__card--b .dot { background: var(--c-ochre-200); color: #7a5a14; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; order: -1; }
  .hero__card--a { left: 0; }
  .hero__card--b { right: 0; }
  .hero__card { max-width: 82%; }
}

/* ---------- 8. Manifesto "Imagine" ---------- */
.manifesto { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.manifesto__media { position: relative; }
.manifesto__media img { width: 100%; border-radius: var(--r-blob-3); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; }
.manifesto__media .stamp {
  position: absolute; right: -6%; bottom: -8%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--c-ochre-200); display: grid; place-items: center; text-align: center;
  font-family: var(--font-serif); font-style: italic; font-size: 1rem; line-height: 1.25; color: var(--c-ink-900);
  box-shadow: var(--shadow-md); padding: 1rem;
  animation: float-soft 9s ease-in-out infinite;
}
.manifesto h2 { font-size: var(--fs-2xl); }
.manifesto__text p { color: var(--text-muted); font-size: var(--fs-lg); }
.manifesto__text .highlight { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-xl); color: var(--c-terracotta-700); line-height: 1.4; }
.quote {
  margin: var(--sp-6) 0 0; padding: var(--sp-5) var(--sp-6); border-radius: var(--r-lg);
  background: var(--c-lavender-100); border-left: 4px solid var(--c-lavender-200);
}
.quote p { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lg); color: var(--c-ink-900); margin-bottom: var(--sp-2); }
.quote cite { font-style: normal; font-weight: 800; font-size: var(--fs-sm); color: var(--c-plum-700); }

@media (max-width: 860px) {
  .manifesto { grid-template-columns: 1fr; }
  .manifesto__media .stamp { right: 4%; width: 112px; height: 112px; font-size: 0.9rem; }
}

/* ---------- 9. Pilares (benefícios) ---------- */
.pillars { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.pillar {
  position: relative; padding: 2rem 1.75rem 1.85rem;
  background: var(--c-surface); border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  overflow: hidden;
}
.pillar::after {
  content: ''; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px;
  border-radius: 50%; background: var(--pillar-tint, var(--c-peach-200)); opacity: 0.5; filter: blur(8px);
  transition: transform var(--t-slow) var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar:hover::after { transform: scale(1.3); }
.pillar__icon {
  position: relative; z-index: 1; width: 60px; height: 60px; margin-bottom: 1.2rem;
  display: grid; place-items: center;
  border-radius: var(--r-blob-2); background: var(--pillar-tint, var(--c-peach-200)); color: var(--c-ink-900);
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar h3 { position: relative; z-index: 1; font-size: var(--fs-xl); margin-bottom: 0.6rem; }
.pillar p { position: relative; z-index: 1; color: var(--text-muted); margin: 0; }
.tint-peach { --pillar-tint: var(--c-peach-200); }
.tint-ochre { --pillar-tint: var(--c-ochre-200); }
.tint-sage { --pillar-tint: var(--c-sage-200); }
.tint-lavender { --pillar-tint: var(--c-lavender-200); }
.tint-rose { --pillar-tint: var(--c-rose-200); }
.tint-sky { --pillar-tint: var(--c-sky-200); }

.cta-inline { position: relative; z-index: 1; text-align: center; margin-top: var(--sp-7); }
.cta-inline p { color: var(--text-muted); margin-bottom: var(--sp-4); }

/* ---------- 10. Galeria ---------- */
.gallery {
  position: relative; z-index: 1;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 16vw, 220px);
  grid-auto-flow: dense;
}
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-sm); background: var(--c-cream-200); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery img.img-top { object-position: center 15%; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:nth-child(1) { border-radius: var(--r-xl) var(--r-md) var(--r-md) var(--r-md); }
.gallery figure:nth-child(4) { border-radius: var(--r-md) var(--r-xl) var(--r-md) var(--r-md); }
.gallery figure:last-child { border-radius: var(--r-md) var(--r-md) var(--r-xl) var(--r-md); }

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 480px) {
  .gallery { grid-auto-rows: 150px; gap: 0.6rem; }
}

/* ---------- 11. Ritmo (dia / semana / ano) ---------- */
.rhythm { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: var(--sp-8); }
.rhythm--single { grid-template-columns: 1fr; max-width: 46rem; margin-inline: auto; }
.rhythm h3 { font-size: var(--fs-xl); display: flex; align-items: center; gap: 0.6rem; }
.rhythm h3 svg { width: 28px; height: 28px; color: var(--c-terracotta-600); }
.rhythm__intro { color: var(--text-muted); }

.timeline { position: relative; margin: var(--sp-5) 0 0; padding: 0 0 0 1.75rem; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--c-ochre-300), var(--c-sage-300), var(--c-lavender-200)); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 1.1rem; }
.timeline li::before { content: ''; position: absolute; left: -1.75rem; top: 0.45rem; width: 18px; height: 18px; border-radius: 50%; background: var(--c-surface); border: 3px solid var(--c-ochre-300); }
.timeline li:nth-child(3n + 2)::before { border-color: var(--c-sage-300); }
.timeline li:nth-child(3n)::before { border-color: var(--c-lavender-200); }
.timeline strong { display: block; font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-lg); }
.timeline span { color: var(--text-muted); font-size: var(--fs-sm); }

.week { display: grid; gap: 0.7rem; margin-top: var(--sp-5); }
.week__day {
  display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 1rem;
  padding: 0.65rem 0.9rem 0.65rem 0.65rem; border-radius: var(--r-md);
  background: var(--c-surface); border: 1px solid var(--border);
}
.week__day img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.week__day b { display: block; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-terracotta-700); }
.week__day span { font-weight: 700; }


.note { font-size: var(--fs-xs); color: var(--text-subtle); margin-top: var(--sp-4); }

@media (max-width: 860px) { .rhythm { grid-template-columns: 1fr; } }

/* ---------- 12. Depoimentos ---------- */
.testimonials { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.testimonial {
  position: relative; margin: 0; padding: 2.4rem 1.85rem 1.75rem;
  background: var(--c-surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.testimonial::before {
  content: '“'; position: absolute; top: -0.2rem; left: 1.4rem;
  font-family: var(--font-serif); font-size: 5rem; line-height: 1; color: var(--c-peach-300);
}
.testimonial blockquote { margin: 0 0 1.25rem; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lg); line-height: 1.55; color: var(--c-ink-900); flex: 1; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); }
.testimonial .avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-serif); font-weight: 600; color: var(--c-ink-900);
  background: var(--pillar-tint, var(--c-sage-200));
}
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--text-subtle); }
.stars { display: flex; gap: 2px; color: #b5832a; margin-bottom: 0.9rem; }
.stars svg { width: 18px; height: 18px; }

/* ---------- 13. Admissão ---------- */
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step {
  position: relative; padding: 2.25rem 1.75rem 1.75rem; border-radius: var(--r-lg);
  background: var(--c-surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.step__num {
  width: 56px; height: 56px; margin-bottom: 1rem; border-radius: var(--r-blob-1);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600;
  background: var(--pillar-tint, var(--c-peach-200)); color: var(--c-ink-900);
}
.step h3 { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); margin: 0; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 3.9rem; right: -1.1rem; width: 1rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-ochre-300) 0 4px, transparent 4px 8px);
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

.faq { position: relative; z-index: 1; max-width: 50rem; margin: var(--sp-8) auto 0; }
.faq h3 { text-align: center; font-size: var(--fs-xl); margin-bottom: var(--sp-5); }
.faq details { border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--border); margin-bottom: 0.7rem; transition: box-shadow var(--t-base) ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3.25rem 1.05rem 1.35rem; position: relative;
  font-weight: 800; color: var(--c-ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 1.35rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--c-terracotta-600); border-bottom: 2px solid var(--c-terracotta-600);
  transform: rotate(45deg); transition: transform var(--t-base) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 1.35rem 1.15rem; color: var(--text-muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- 14. Contato / formulário ---------- */
.contact { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--c-surface); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.form-card h3 { font-size: var(--fs-xl); margin-bottom: 0.35rem; }
.form-card > p { color: var(--text-muted); margin-bottom: var(--sp-5); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 800; font-size: var(--fs-sm); color: var(--c-ink-900); }
.field .opt { font-weight: 600; color: var(--text-subtle); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--c-cream-50); color: var(--c-ink-900);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, background-color var(--t-fast) ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0503a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #8f7d73; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-peach-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-sage-700); background: var(--c-surface);
  box-shadow: 0 0 0 4px rgba(74, 104, 71, 0.18);
}
.field [aria-invalid='true'] { border-color: var(--error); background: #fdf3f0; }
.field__error { min-height: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--error); }
.field__hint { font-size: var(--fs-xs); color: var(--text-subtle); }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.consent input { flex: none; width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--c-sage-700); }
.consent label { font-weight: 600; color: var(--text-muted); }

.form-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.75rem; margin-top: var(--sp-5); }
.form-secure { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin: var(--sp-4) 0 0; font-size: var(--fs-xs); color: var(--text-subtle); }
.form-secure svg { width: 16px; height: 16px; color: var(--c-sage-700); flex: none; }

.form-status { margin-top: var(--sp-4); padding: 1rem 1.15rem; border-radius: var(--r-md); font-weight: 700; }
.form-status--ok { background: var(--c-sage-100); color: var(--success); border: 1px solid var(--c-sage-200); }
.form-status--err { background: #fbebe6; color: var(--error); border: 1px solid #f0c9be; }
.form-status a { color: inherit; font-weight: 800; }

@media (max-width: 600px) {
  .form-grid, .form-actions { grid-template-columns: minmax(0, 1fr); }
}

.contact-aside { display: grid; gap: 1.1rem; }
.info-card { padding: 1.5rem; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--border); }
.info-card h3 { font-size: var(--fs-lg); margin-bottom: 0.85rem; }
.info-list { display: grid; gap: 0.85rem; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: 0.75rem; align-items: start; }
.info-list .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-peach-200); color: var(--c-terracotta-700); }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list b { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-subtle); }
.info-list a, .info-list span { font-weight: 700; color: var(--c-ink-900); text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--c-terracotta-700); text-decoration: underline; }

/* Mapa com carregamento sob demanda (facade) */
.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, var(--c-sage-200) 0 18%, transparent 19%),
    radial-gradient(circle at 75% 65%, var(--c-ochre-200) 0 14%, transparent 15%),
    repeating-linear-gradient(35deg, var(--c-cream-100) 0 22px, var(--c-cream-200) 22px 24px),
    var(--c-cream-100);
  border: 1px solid var(--border);
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map__facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.75rem; padding: 1rem; text-align: center; }
.map__pin { width: 54px; height: 54px; color: var(--c-terracotta-600); filter: drop-shadow(0 6px 8px rgba(122, 82, 54, 0.3)); animation: float-soft 4s ease-in-out infinite; }
.map__facade p { margin: 0; font-size: var(--fs-xs); color: var(--text-muted); max-width: 22rem; }
.map__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }

/* ---------- 15. CTA final ---------- */
.final-cta { position: relative; overflow: hidden; padding-block: var(--section-y); background: var(--c-peach-200); text-align: center; }
.final-cta h2 { font-size: var(--fs-2xl); position: relative; z-index: 1; max-width: 40rem; margin-inline: auto; }
.final-cta p { position: relative; z-index: 1; color: var(--c-ink-700); font-size: var(--fs-lg); max-width: 36rem; margin: 0 auto var(--sp-6); }
.final-cta .hero__ctas { justify-content: center; position: relative; z-index: 1; margin: 0; }

/* ---------- 16. Rodapé ---------- */
.site-footer { position: relative; background: #3f3430; color: #efe5d8; padding: var(--sp-8) 0 var(--sp-5); }
.site-footer a { color: #f7dccd; }
.site-footer a:hover { color: var(--c-cream-50); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brand, .site-footer .brand:hover { color: var(--c-cream-50); }
.site-footer .brand__logo { height: 72px; padding: 6px; border-radius: 22px; background: var(--c-cream-50); box-shadow: 0 8px 22px -14px rgba(0, 0, 0, 0.5); }
.site-footer .brand__tag { color: #d9c9b8; }
.site-footer h2 { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: #e9d3a0; margin-bottom: 1rem; font-weight: 800; }
.site-footer p, .site-footer li { color: #e2d6c8; font-size: var(--fs-sm); }
.site-footer ul { display: grid; gap: 0.45rem; }
.footer-bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(239, 229, 216, 0.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); color: #d4c6b6; }
.footer-bottom button { background: none; border: 0; padding: 0; color: #f7dccd; text-decoration: underline; cursor: pointer; font-size: inherit; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 17. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 0.6rem;
  height: 58px; padding: 0 1.15rem 0 0.95rem; border-radius: var(--r-pill);
  background: var(--whatsapp); color: #f6fbf7; text-decoration: none; font-weight: 800; font-size: var(--fs-sm);
  box-shadow: 0 14px 30px -10px rgba(31, 122, 77, 0.55);
  transition: transform var(--t-slow) var(--ease), opacity var(--t-base) ease, background-color var(--t-fast) ease;
}
.js .wa-float { transform: translateY(120%); opacity: 0; }
.js .wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { background: #17603c; color: #f6fbf7; }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 600px) {
  .wa-float { width: 58px; padding: 0; justify-content: center; }
  .wa-float .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}
body.has-consent-banner .wa-float { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--banner-h, 0px)); }

/* ---------- 18. Aviso de privacidade (LGPD) ---------- */
.consent-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70;
  max-width: 560px;
  padding: 1.25rem 1.35rem; border-radius: var(--r-lg);
  background: var(--c-surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  animation: rise var(--t-slow) var(--ease) both;
}
.consent-banner h2 { font-size: var(--fs-lg); margin-bottom: 0.35rem; display: flex; gap: 0.5rem; align-items: center; }
.consent-banner p { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 0.9rem; }
.consent-banner__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- 19. Páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 2rem + 5vw, 6rem) 0 clamp(4rem, 3rem + 5vw, 7rem); text-align: center; }
.page-hero h1 { position: relative; z-index: 1; font-size: var(--fs-3xl); }
.page-hero p { position: relative; z-index: 1; color: var(--text-muted); font-size: var(--fs-lg); max-width: 40rem; margin-inline: auto; }
.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { font-size: var(--fs-2xl); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--fs-xl); margin-top: var(--sp-6); }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote { margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6); border-radius: var(--r-lg); background: var(--c-lavender-100); font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lg); color: var(--c-ink-900); }
.prose .source { font-size: var(--fs-xs); color: var(--text-subtle); }
.video-facade {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem; width: 100%; aspect-ratio: 16 / 9; margin: var(--sp-5) 0;
  border: 1px solid var(--border); border-radius: var(--r-lg); cursor: pointer;
  background: linear-gradient(135deg, var(--c-peach-200), var(--c-lavender-200)); color: var(--c-ink-900); font-weight: 800;
}
.video-facade svg { width: 64px; height: 64px; color: var(--c-terracotta-600); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); margin: var(--sp-5) 0; }

/* ---------- 20. Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 90ms; }
.reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; }
.reveal.d4 { transition-delay: 360ms; }
.reveal.d5 { transition-delay: 450ms; }

@keyframes morph { 0%, 100% { border-radius: var(--r-blob-1); } 50% { border-radius: var(--r-blob-2); } }
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Sem JS: tudo visível (os estados ocultos só existem sob html.js) */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .consent-banner, .map, .lazur, .wave { display: none !important; }
  body { background: #fff; color: #222; }
}
