/* =========================================================
   Cantinho dos Sonhos: identidade visual
   Paleta: azul royal da fachada + as cores dos posts do Instagram (uma cor por bloco)
   Tipografia: Fredoka (títulos) · Nunito (texto) · Caveat (manuscrito)
   ========================================================= */

:root {
  --ink: #14255E;
  --blue: #2148CC;
  --blue-dark: #174BB0;
  --ink-soft: #4A5680;
  --cream: #FFF8EE;
  --paper: #FFEFD6;
  --white: #FFFFFF;

  /* cores dos posts do Instagram */
  --red: #E6283F;
  --orange: #EF8E38;
  --yellow: #F6D02B;
  --lime: #7CCB2B;
  --green: #17A77E;
  --teal: #1C9DB3;
  --pink: #F27B9C;
  --magenta: #EC79D5;
  --purple: #6A30D2;

  --sun: var(--yellow);
  --sun-soft: #FFEDA6;
  --coral: var(--red);
  --coral-dark: #C41A30;
  --leaf: var(--green);
  --sky: #62BFE0;
  --lilac: var(--magenta);

  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 2px 0 rgba(31, 42, 77, .06), 0 18px 40px -18px rgba(31, 42, 77, .28);
  --shadow-pop: 6px 6px 0 var(--ink);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  /* faixas do arco-íris da fachada */
  --rainbow: linear-gradient(90deg, #E6283F 0 16.6%, #EF8E38 16.6% 33.3%, #F6D02B 33.3% 50%, #7CCB2B 50% 66.6%, #1C9DB3 66.6% 83.3%, #6A30D2 83.3%);
  /* parede estrelada da fachada */
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23fff'%3E%3Cpath opacity='.18' d='M20 10l2.4 5.6 6 .5-4.6 4 1.4 5.9L20 23l-5.2 3 1.4-5.9-4.6-4 6-.5z'/%3E%3Cpath opacity='.12' d='M110 40l1.6 3.8 4 .3-3 2.7.9 3.9-3.5-2-3.5 2 .9-3.9-3-2.7 4-.3z'/%3E%3Cpath opacity='.16' d='M70 100l2 4.6 5 .4-3.8 3.3 1.2 4.9-4.4-2.6-4.4 2.6 1.2-4.9-3.8-3.3 5-.4z'/%3E%3Cpath opacity='.1' d='M140 120l1.3 3 3.2.3-2.4 2.1.7 3.1-2.8-1.6-2.8 1.6.7-3.1-2.4-2.1 3.2-.3z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23fff' stroke-opacity='.14' d='M40 130l1.6 3.8 4 .3-3 2.7.9 3.9-3.5-2-3.5 2 .9-3.9-3-2.7 4-.3z M140 70l1.6 3.8 4 .3-3 2.7.9 3.9-3.5-2-3.5 2 .9-3.9-3-2.7 4-.3z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: normal; color: var(--coral); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; margin-top: 2.5rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

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

/* ---------- Botões ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .8em 1.5em;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--lg { font-size: 1.1rem; padding: .95em 1.7em; }
.btn--block { width: 100%; }
.btn--sun { --bg: var(--sun); --fg: var(--ink); }
.btn--coral { --bg: var(--coral); --fg: #fff; }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--ghost { --bg: var(--white); --fg: var(--ink); }
.btn svg { width: 1.3em; height: 1.3em; }

.play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); }
.play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.play--sm { width: 24px; height: 24px; }
.play--sm svg { width: 12px; height: 12px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-hand); font-size: 1.6rem; line-height: 1;
  color: var(--coral); margin-bottom: .6rem;
}
.eyebrow.eyebrow--light { color: var(--sun); }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(91,181,138,.25); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 248, 238, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 1px 0 rgba(31,42,77,.08), 0 10px 30px -20px rgba(31,42,77,.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }

.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo img { width: 48px; height: 48px; }
.logo__text strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1; letter-spacing: -.01em; }
.logo--light { color: #fff; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a:not(.btn) {
  padding: .5em .8em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--ink); background: var(--sun-soft); }
.nav__cta { margin-left: .5rem; padding: .6em 1.2em; }

.burger { display: none; width: 46px; height: 46px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--sun); padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Céu decorativo ---------- */
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; color: #fff; filter: drop-shadow(0 8px 0 rgba(142,201,240,.25)); animation: drift 40s linear infinite alternate; }
.cloud--1 { width: 180px; top: 12%; left: -40px; }
.cloud--2 { width: 120px; top: 64%; right: 2%; animation-duration: 30s; animation-direction: alternate-reverse; }
.star { position: absolute; width: 22px; color: var(--sun); animation: twinkle 3.5s ease-in-out infinite; }
.star--1 { top: 18%; left: 44%; }
.star--2 { top: 8%; right: 12%; width: 16px; animation-delay: 1s; color: var(--coral); }
.star--3 { bottom: 26%; left: 4%; width: 14px; animation-delay: 2s; color: var(--lilac); }
.star--4 { top: 14%; left: 8%; animation-delay: .6s; }
.star--5 { top: 70%; right: 6%; width: 16px; animation-delay: 1.6s; }
.star--6 { top: 20%; right: 22%; width: 12px; animation-delay: 2.4s; }
.moon { position: absolute; top: 10%; right: 6%; width: 56px; fill: var(--sun); opacity: .9; }

@keyframes drift { to { transform: translateX(60px); } }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); opacity: .5; } }
@keyframes float { 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2rem, 5vw, 4.5rem) 0 3rem; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero h1 { margin-bottom: .45em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34em; }
.lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

.doodle { position: relative; white-space: nowrap; color: var(--coral); }
.doodle svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .3em; overflow: visible; }
.doodle path { fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__media { position: relative; }
.blob {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: 58% 42% 48% 52% / 46% 54% 46% 54%;
  border: 3px solid var(--ink);
  box-shadow: 10px 12px 0 var(--sun);
  background: var(--sky);
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  50% { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; }
}
.blob__art, .blob__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blob__video { z-index: 1; opacity: 0; transition: opacity .6s; }
.blob.has-video .blob__video { opacity: 1; }
.blob.has-video .blob__tag { display: none; }
.blob__tag {
  position: absolute; z-index: 2; left: 50%; bottom: 9%; transform: translateX(-50%);
  background: rgba(255,255,255,.9); border-radius: 999px; padding: .35em .9em;
  font-size: .8rem; font-weight: 700; white-space: nowrap; color: var(--ink-soft);
}
.sticker {
  position: absolute; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); color: var(--ink); line-height: 1;
}
.sticker--year {
  top: -4%; left: -4%; width: 118px; height: 118px;
  background: var(--coral); color: #fff; border: 3px solid var(--ink); border-radius: 50%;
  transform: rotate(-12deg); box-shadow: 4px 4px 0 var(--ink);
  animation: float 5s ease-in-out infinite; --r: -12deg;
  align-content: center; gap: 2px;
}
.sticker--year b { font-size: 2.3rem; font-weight: 700; }
.sticker--year span { font-size: .78rem; font-weight: 500; }

/* Faixa de confiança */
.trust {
  list-style: none; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; padding: 1.25rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  position: relative;
}
.trust li { display: flex; align-items: center; gap: .85rem; padding: .5rem; }
.trust li + li { border-left: 2px dashed rgba(31,42,77,.1); padding-left: 1.2rem; }
.trust b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.trust small { color: var(--ink-soft); font-size: .88rem; line-height: 1.3; display: block; }
.trust__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; }
.trust__icon svg { width: 26px; height: 26px; color: var(--ink); }
.ic-sun { background: var(--sun-soft); }
.ic-sky { background: #D5ECFB; }
.ic-leaf { background: #CFEEDD; }
.ic-coral { background: #FFD9CD; }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }
.section--paper { background: var(--paper); }
.section--sun { background: var(--sun); }
.section--ink { background-color: var(--blue); background-image: var(--stars); color: #fff; overflow: hidden; }
.section--ink p { color: rgba(255,255,255,.9); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section__head p:last-child { color: var(--ink-soft); font-size: 1.12rem; }
.section--ink .section__head p:last-child { color: rgba(255,255,255,.88); }
.section--sun .section__head p:last-child { color: var(--ink); opacity: .8; }
.section--sun .eyebrow { color: var(--ink); }

.wave { display: block; width: 100%; height: clamp(30px, 4vw, 60px); margin: -1px 0; }
.wave--paper-to-cream { background: var(--cream); fill: var(--paper); }
.wave--cream-to-sun { background: var(--cream); fill: var(--sun); }
.wave--sun-to-cream { background: var(--cream); fill: var(--sun); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 1; }

/* História: polaroids */
.polaroids { position: relative; min-height: 440px; }
.polaroid {
  position: absolute; margin: 0; width: 64%;
  background: #fff; padding: 14px 14px 0; border-radius: 6px;
  box-shadow: var(--shadow);
}
.polaroid figcaption { font-family: var(--font-hand); font-size: 1.5rem; text-align: center; padding: .4rem 0 .6rem; color: var(--ink-soft); }
.polaroid--old { left: 0; top: 0; transform: rotate(-6deg); }
.polaroid--new { right: 0; bottom: 0; transform: rotate(5deg); }
.polaroid--new::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 90px; height: 28px;
  transform: translateX(-50%) rotate(-3deg); background: rgba(255, 200, 69, .75);
}
.ph {
  display: grid; place-items: center; align-content: center; gap: .5rem;
  aspect-ratio: 4/3; width: 100%; border-radius: 4px;
  color: rgba(31,42,77,.55); font-weight: 700; font-size: .9rem; text-align: center; line-height: 1.3;
}
.ph svg { width: 34px; height: 34px; }
.ph--sepia { background: linear-gradient(135deg, #E9D5B5, #D2B48C); filter: sepia(.2); }
.ph--sky { background: linear-gradient(135deg, #D5ECFB, var(--sky)); }
.ph--leaf { background: linear-gradient(135deg, #CFEEDD, var(--leaf)); }
.ph--sun { background: linear-gradient(135deg, #FFF1C7, var(--sun)); }
.ph--coral { background: linear-gradient(135deg, #FFE0D6, var(--coral)); }
.ph--lilac { background: linear-gradient(135deg, #ECE6FD, var(--lilac)); }

.stats { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 0; }
.stats div { flex: 1 1 120px; background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.stats dt { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--coral); }
.stats dd { margin: .3rem 0 0; font-size: .92rem; color: var(--ink-soft); font-weight: 600; }

/* Turmas */
.classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.class-card {
  --c: var(--sky);
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem; border: 2.5px solid var(--ink);
  box-shadow: 0 6px 0 var(--c);
  transition: transform .25s ease, box-shadow .25s ease;
}
.class-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 12px 0 var(--c); }
.class-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; align-items: center; }
.class-card--wide .class-card__icon { grid-row: span 3; margin: 0; }
.class-card--wide p { grid-column: 2; max-width: 60em; }
.class-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: var(--c); margin-bottom: 1rem; }
.class-card__icon svg { width: 30px; height: 30px; color: var(--ink); }
.age {
  display: inline-block; background: color-mix(in srgb, var(--c) 30%, white); border-radius: 999px;
  padding: .2em .8em; font-size: .82rem; font-weight: 800; letter-spacing: .02em; margin-bottom: .6rem;
}
.class-card h3 { font-size: 1.6rem; margin-bottom: .35em; }
.class-card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.class-card--wide h3 { margin: 0 0 .25em; }
.class-card--wide .age { margin: 0 0 .5rem; justify-self: start; }

/* Por que */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; position: relative; }
.feature { grid-column: span 2; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 1.75rem; transition: background .25s; }
.feature:nth-child(4), .feature:nth-child(5) { grid-column: span 3; }
.feature:hover { background: rgba(255,255,255,.16); }
.feature__num { font-family: var(--font-hand); font-size: 2.2rem; color: var(--sun); line-height: 1; }
.feature h3 { margin: .5rem 0 .4rem; font-size: 1.45rem; }
.feature p { margin: 0; }

/* Atividades */
.activities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.activities li {
  --c: var(--sun);
  background: var(--c); border: 2.5px solid var(--ink); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-pop);
  transform: rotate(var(--r)); animation: float 6s ease-in-out infinite;
}
.activities li:nth-child(2) { animation-delay: -1.5s; }
.activities li:nth-child(3) { animation-delay: -3s; }
.activities li:nth-child(4) { animation-delay: -4.5s; }
.activities .emoji { font-size: 2.4rem; display: block; line-height: 1; margin-bottom: .6rem; }
.activities b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.15; }
.activities small { display: block; font-size: .92rem; margin-top: .25rem; opacity: .85; }

/* Rotina */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: .75rem; position: relative; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; top: 34px; left: 7%; right: 7%;
  border-top: 3px dashed var(--ink); opacity: .35;
}
.timeline li { position: relative; text-align: center; }
.timeline__ic {
  display: grid; place-items: center; margin: 0 auto .9rem;
  width: 68px; height: 68px; border-radius: 50%; font-size: 1.8rem;
  background: var(--cream); border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  position: relative;
}
.timeline b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.timeline small { display: block; font-size: .86rem; line-height: 1.35; margin-top: .3rem; opacity: .8; }

/* Segurança */
.safety {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(1.75rem, 5vw, 3.5rem);
  box-shadow: var(--shadow); border: 2.5px solid var(--ink);
}
.safety__badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--leaf); margin-bottom: 1.2rem; }
.safety__badge svg { width: 34px; height: 34px; color: #fff; }
.safety__intro p:last-child { color: var(--ink-soft); margin: 0; }
.safety__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.safety__list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--cream); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.safety__list svg { flex: none; width: 28px; height: 28px; color: var(--leaf); margin-top: 2px; }
.safety__list b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.safety__list small { display: block; color: var(--ink-soft); font-size: .92rem; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 1rem; }
.g { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.g .ph, .g img { height: 100%; aspect-ratio: auto; object-fit: cover; width: 100%; transition: transform .5s ease; }
.g:hover .ph, .g:hover img { transform: scale(1.04); }
.g--big { grid-column: span 2; grid-row: span 2; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }

/* Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote {
  --c: var(--sun);
  margin: 0; background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem 1.5rem;
  box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column;
  border-top: 8px solid var(--c);
}
.quote::before { content: "“"; position: absolute; top: -8px; right: 22px; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--c); opacity: .5; }
.quote p { font-size: 1.12rem; font-weight: 600; flex: 1; }
.quote footer { display: flex; align-items: center; gap: .8rem; }
.quote b { display: block; font-size: .98rem; }
.quote small { color: var(--ink-soft); font-size: .85rem; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c); font-family: var(--font-display); font-weight: 700; }
.quote--todo { outline: 2px dashed rgba(31,42,77,.2); outline-offset: -10px; }
.quote--todo p { color: var(--ink-soft); font-style: italic; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 3.5rem 1.2rem 1.5rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--sun-soft);
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; transition: transform .25s, background .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--sun); }
.faq details p { padding: 0 1.5rem 1.3rem; margin: 0; color: var(--ink-soft); }

/* Contato */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; position: relative; }
.contact__lead { font-size: 1.12rem; }
.contact__info { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact__info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__info svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.1); color: var(--sun); }
.contact__info b { display: block; font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--sun); }
.contact__info span, .contact__info a { color: #fff; font-weight: 600; text-decoration: none; }
.contact__info a:hover { text-decoration: underline; }

.form { background: var(--cream); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 10px 10px 0 var(--coral); }
.form h3 { font-size: 1.8rem; margin-bottom: .2em; }
.form__hint { color: var(--ink-soft) !important; font-size: .95rem; }
.form > label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 1rem; }
.form input[type="text"], .form select {
  display: block; width: 100%; margin-top: .4rem;
  padding: .85em 1em; border: 2px solid rgba(31,42,77,.18); border-radius: 14px;
  background: #fff; font: inherit; font-weight: 600; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder { color: #9AA0B4; font-weight: 400; }
.form input:focus, .form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--sun-soft); }
.chips { display: flex; gap: .6rem; margin-top: .4rem; }
.chip { flex: 1; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: block; text-align: center; padding: .7em; border: 2px solid rgba(31,42,77,.18); border-radius: 14px; background: #fff; font-weight: 700; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--sun); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.form .btn { margin-top: .5rem; }
.form__error { margin: .8rem 0 0; color: var(--coral-dark) !important; font-weight: 700; text-align: center; }

.map { margin-top: clamp(3rem, 6vw, 4.5rem); border-radius: var(--radius); overflow: hidden; border: 3px solid rgba(255,255,255,.15); height: 340px; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 3rem 0; font-size: .95rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.footer__social a:hover { background: var(--coral); }
.footer__social svg { width: 22px; height: 22px; }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; border: 2.5px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .2s;
}
.whats-float:hover { transform: translateY(-3px) scale(1.05); }
.whats-float svg { width: 32px; height: 32px; }


/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.classes .reveal:nth-child(2), .features .reveal:nth-child(2), .quotes .reveal:nth-child(2), .timeline .reveal:nth-child(2) { transition-delay: .08s; }
.classes .reveal:nth-child(3), .features .reveal:nth-child(3), .quotes .reveal:nth-child(3), .timeline .reveal:nth-child(3) { transition-delay: .16s; }
.classes .reveal:nth-child(4), .features .reveal:nth-child(4), .timeline .reveal:nth-child(4) { transition-delay: .24s; }
.features .reveal:nth-child(5), .timeline .reveal:nth-child(5) { transition-delay: .32s; }
.timeline .reveal:nth-child(6) { transition-delay: .4s; }
.timeline .reveal:nth-child(7) { transition-delay: .48s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: .5em .55em; font-size: .92rem; }
  .classes { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 2rem; }
  .timeline::before { display: none; }
}

@media (max-width: 920px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--cream); padding: 1rem var(--gutter) 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(31,42,77,.4);
    transform: translateY(-110%); visibility: hidden; transition: transform .3s ease, visibility .3s;
    z-index: -1;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .85em 1em; font-size: 1.05rem; }
  .nav__cta { margin: .5rem 0 0; }

  .hero__grid, .split, .safety, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li + li { border-left: 0; padding-left: .5rem; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(4), .feature:nth-child(5) { grid-column: span 1; }
  .feature:nth-child(5) { grid-column: 1 / -1; }
  .quotes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .polaroids { max-width: 480px; margin-inline: auto; width: 100%; min-height: 400px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero__actions .btn { padding: .85em 1.15em; font-size: 1rem; }
  .sticker--year { width: 92px; height: 92px; left: -2%; }
  .sticker--year b { font-size: 1.8rem; }
  .trust { grid-template-columns: 1fr; padding: 1rem; }
  .classes, .features, .activities { grid-template-columns: 1fr; }
  .class-card--wide { display: block; }
  .class-card--wide .class-card__icon { margin-bottom: 1rem; }
  .class-card--wide .age { margin-bottom: .6rem; }
  .class-card--wide h3 { margin-bottom: .35em; }
  .timeline { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .timeline li { display: flex; gap: 1rem; align-items: center; text-align: left; padding-bottom: 1rem; }
  .timeline li:not(:last-child)::after { content: ""; position: absolute; left: 32px; top: 70px; bottom: 0; border-left: 3px dashed rgba(31,42,77,.35); }
  .timeline__ic { margin: 0; flex: none; }
  .polaroids { min-height: 330px; }
  .polaroid { width: 70%; }
  .map { height: 260px; }
  .logo__text strong { font-size: 1.05rem; }
  .whats-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .doodle path { stroke-dashoffset: 0; }
}

/* ---------- Linha de arco-íris + selo de matrículas + lema ---------- */
.rainbow-line { height: 5px; background: var(--rainbow); }

.badge {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .6em 1.1em; margin-bottom: 1.1rem; line-height: 1;
  background: #fff; border: 2px solid rgba(20, 37, 94, .12); border-radius: 999px;
  font-weight: 800; font-size: .92rem; color: var(--ink); text-decoration: none;
  box-shadow: 0 6px 16px -10px rgba(20, 37, 94, .35);
  transition: border-color .2s, transform .2s;
}
.badge:hover { border-color: var(--green); transform: translateY(-1px); }
.badge .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 167, 126, .5); } 100% { box-shadow: 0 0 0 9px rgba(23, 167, 126, 0); } }

.motto {
  display: inline-block; margin-top: .5rem;
  font-family: var(--font-hand); font-size: 2rem; line-height: 1.1; color: var(--ink);
  transform: rotate(-2deg);
  background: linear-gradient(transparent 55%, var(--sun-soft) 55%);
  padding: 0 .2em;
}
.footer__motto { display: block; font-family: var(--font-hand); font-size: 1.6rem; color: var(--sun); line-height: 1.2; margin-bottom: .2rem; }


/* ---------- Fotos reais + mascote ---------- */
.blob { background: var(--blue); }
.blob__art { object-position: 50% 30%; }
.sticker--star {
  top: auto; bottom: -2%; right: -3%; left: auto; width: 110px; height: 110px;
  filter: drop-shadow(3px 4px 0 rgba(20,37,94,.9));
  animation: float 4.5s ease-in-out infinite; --r: 10deg; transform: rotate(10deg);
}
.g { position: relative; }
.g img { position: absolute; inset: 0; }
.g figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  background: rgba(255,255,255,.94); color: var(--ink);
  border-radius: 999px; padding: .3em .9em;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
}
.footer { border-top: 6px solid; border-image: var(--rainbow) 1; }

@media (max-width: 600px) {
  .sticker--star { width: 84px; height: 84px; }
}

/* ---------- Celular: primeiro impacto mais leve, com a foto no topo ---------- */
a, button { -webkit-tap-highlight-color: transparent; }
.show-sm { display: none; }

@media (max-width: 600px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }

  .hero { padding: 1.25rem 0 2.5rem; }
  .hero .sky { display: none; }
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 1.75rem; }
  .hero__media { order: -1; max-width: none; margin: 0 4px; width: auto; }
  .blob {
    aspect-ratio: 5 / 4; border-radius: 30px; border-width: 2.5px;
    box-shadow: 6px 7px 0 var(--sun); animation: none;
  }
  .blob__art { object-position: 50% 40%; }
  .sticker--year { width: 72px; height: 72px; top: -14px; left: -8px; border-width: 2.5px; box-shadow: 3px 3px 0 var(--ink); }
  .sticker--year b { font-size: 1.45rem; }
  .sticker--year span { font-size: .6rem; }
  .sticker--star { width: 64px; height: 64px; bottom: -18px; right: -10px; }

  .hero .eyebrow { font-size: 1.35rem; margin-bottom: .4rem; }
  .hero h1 { font-size: 2.35rem; margin-bottom: .35em; }
  .lead { font-size: 1.05rem; }
  .hero__actions { flex-direction: column; gap: .75rem; margin-top: 1.4rem; }
  .hero__actions .btn { width: 100%; }

  .trust { grid-template-columns: 1fr 1fr; gap: .25rem; padding: .75rem; margin-top: 2.25rem; }
  .trust li { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .6rem; }
  .trust li + li { padding-left: .6rem; }
  .trust__icon { width: 40px; height: 40px; border-radius: 13px; }
  .trust__icon svg { width: 22px; height: 22px; }
  .trust b { font-size: 1rem; }
  .trust small { font-size: .8rem; }

  /* WhatsApp flutuante só aparece depois do topo, pra não cobrir os botões */
  .whats-float { opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .25s, transform .25s; }
  .past-hero .whats-float { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Identidade dos posts: uma cor por bloco ---------- */
#historia   { --accent: var(--red); }
#turmas     { --accent: var(--teal); }
#porque     { --accent: var(--yellow); }
#atividades { --accent: var(--pink); }
#rotina     { --accent: var(--blue); }
#seguranca  { --accent: var(--green); }
#estrutura  { --accent: var(--orange); }
#familias   { --accent: var(--magenta); }
#duvidas    { --accent: var(--purple); }
#contato    { --accent: var(--yellow); }

/* Fita inclinada nos títulos, como o "RECANTO INFANTIL" dos posts */
.section .eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .06em; line-height: 1;
  color: #fff; background: var(--accent, var(--red));
  padding: .55em 1.1em; border-radius: 8px;
  transform: rotate(-2.5deg);
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--accent, var(--red)) 55%, black);
  margin-bottom: 1.1rem;
}
#porque .eyebrow, #contato .eyebrow { color: var(--ink); }
.section--sun .eyebrow { color: #fff; }
.section em, .section .stats dt { color: var(--accent, var(--red)); }
.section--ink em { color: var(--yellow); }
#porque .feature__num { color: var(--yellow); }

/* Faixa de valores (placa da escola) */
.values { overflow: hidden; background: var(--blue); padding: .9rem 0; border-block: 3px solid var(--ink); }
.values__track {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; width: max-content;
  animation: marquee 28s linear infinite;
}
.values li {
  flex: none; display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; text-transform: uppercase; letter-spacing: .03em;
}
.values li::after { content: "★"; color: var(--c); font-size: 1.1rem; }
.values li:nth-child(odd) { color: var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Galeria: moldura colorida com um canto bem arredondado, como nos posts */
.g { --gc: var(--teal); border: 4px solid var(--gc); border-radius: 44px 18px 18px 18px; background: var(--gc); }
.g:nth-child(10n+1) { --gc: var(--red); }
.g:nth-child(10n+2) { --gc: var(--blue); }
.g:nth-child(10n+3) { --gc: var(--orange); }
.g:nth-child(10n+4) { --gc: var(--lime); }
.g:nth-child(10n+5) { --gc: var(--pink); }
.g:nth-child(10n+6) { --gc: var(--teal); }
.g:nth-child(10n+7) { --gc: var(--magenta); }
.g:nth-child(10n+8) { --gc: var(--yellow); }
.g:nth-child(10n+9) { --gc: var(--green); }
.g:nth-child(10n+10) { --gc: var(--purple); }
.g img { border-radius: 40px 14px 14px 14px; }
.g figcaption {
  left: 10px; bottom: 10px; background: var(--gc); color: #fff;
  text-transform: uppercase; letter-spacing: .04em; font-size: .78rem;
  border-radius: 6px; transform: rotate(-2deg); box-shadow: 3px 3px 0 rgba(0,0,0,.25);
}
.g:nth-child(10n+4) figcaption, .g:nth-child(10n+8) figcaption { color: var(--ink); }
.gallery { grid-auto-rows: 230px; }
.polaroid img.ph { object-fit: cover; object-position: 50% 30%; }


@media (max-width: 600px) {
  .values li { font-size: 1.15rem; }
  .gallery { grid-auto-rows: 160px; }
  .g { border-width: 3px; border-radius: 30px 12px 12px 12px; }
  .g img { border-radius: 27px 9px 9px 9px; }
}
@media (prefers-reduced-motion: reduce) { .values__track { animation: none; flex-wrap: wrap; } }

/* O vídeo fica dentro da moldura; os adesivos sempre por cima */
.blob { isolation: isolate; }
.sticker { z-index: 3; }

/* ---------- Vídeo completo ---------- */
#passeio { --accent: var(--teal); }
.tour { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.tour__text p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; }
.tour__text .btn { margin-top: .75rem; }
.tour__media { position: relative; justify-self: center; width: min(360px, 100%); }
.tour__frame {
  border: 3px solid var(--ink); border-radius: 36px; overflow: hidden; background: var(--ink);
  box-shadow: 10px 12px 0 var(--teal);
  aspect-ratio: 466 / 658;
}
.tour__frame video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.tour__star { position: absolute; width: 64px; top: -26px; right: -26px; color: var(--yellow); filter: drop-shadow(3px 3px 0 var(--ink)); animation: twinkle 4s ease-in-out infinite; }

@media (max-width: 920px) {
  .tour { grid-template-columns: 1fr; text-align: center; }
  .tour__media { order: -1; }
}
@media (max-width: 600px) {
  .tour__media { width: min(300px, 86%); }
  .tour__star { width: 48px; top: -18px; right: -14px; }
}

/* ---------- Aviso de cookies (Analytics, LGPD) ---------- */
.cookie-bar {
  position: fixed; z-index: 80; left: 12px; right: 12px; bottom: 12px;
  padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff; border: 2.5px solid var(--ink);
  box-shadow: 0 5px 0 rgba(20,37,94,.35), var(--shadow);
  font-size: .92rem; line-height: 1.45;
}
.cookie-bar p { margin: 0 0 .8rem; color: rgba(255,255,255,.88); }
.cookie-bar__acoes { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.cookie-bar .btn { padding: .6em 1.2em; font-size: .95rem; }
.cookie-bar .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.has-cookie-bar .whats-float { visibility: hidden; }
@media (min-width: 601px) {
  .cookie-bar { left: 20px; right: auto; bottom: 20px; max-width: 420px; }
  .has-cookie-bar .whats-float { visibility: visible; }
}
.footer__cookies {
  background: none; border: 0; padding: 0; margin-left: .4em; font: inherit;
  color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.footer__cookies:hover { color: #fff; }
