/*
 * Escola Ursinho Pimpão, LP "Escola infantil na Vila Guarani"
 * Visual: handoff do Claude Design (interno/handoff/README.md), recriado em
 * CSS estático. Os estados que o protótipo resolvia com JS de largura de
 * tela (carrosséis, galeria, menu) aqui são media queries nos mesmos
 * breakpoints: 760px (mobile), 1040px (nav do header).
 */

/* ---------- Fontes servidas deste domínio ----------
   Baloo 2 e Nunito são variáveis: um arquivo por subset cobre todos os
   pesos. Caminhos relativos a este CSS, então valem também em subpasta. */
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(assets/fonts/baloo2-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(assets/fonts/baloo2-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(assets/fonts/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(assets/fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chewy'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/chewy-latin.woff2) format('woff2'); }

:root {
  --navy: #173a78;
  --ink: #1c2b4a;
  --body: #33456b;
  --muted: #5a6b8c;
  --primary: #2f80ed;
  --primary-hover: #256ad3;
  --bg-page: #eef7fe;
  --bg-baby: #d6ecfb;
  --blue-100: #e3f2fd;
  --blue-border: #d3e8f8;
  --blue-200: #b8dcf5;
  --blue-300: #9ccbef;
  --input-bg: #f5fbff;
  --yellow: #ffc93c;
  --yellow-soft: #ffe38a;
  --yellow-tint: #fff1c2;
  --pink: #ff8fbd;
  --pink-tint: #ffd3e5;
  --pink-tint-2: #ffe0ec;
  --green: #6fd3a0;
  --green-tint: #c9f0da;
  --star: #f5b400;

  --f-title: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-brand: 'Chewy', 'Baloo 2', cursive;

  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 10vw, 128px);
  --shadow-cta: 0 10px 24px rgba(47, 128, 237, .28);
  --shadow-card: 0 18px 40px rgba(23, 58, 120, .08);
  --marca-texto: linear-gradient(transparent 60%, var(--yellow-soft) 60%, var(--yellow-soft) 88%, transparent 88%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg-page); color: var(--ink);
  font-family: var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
input, button { font: inherit; }
button { color: inherit; }
[id] { scroll-margin-top: 80px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--baby { background: var(--bg-baby); }
.section--white { background: #fff; }
.stack { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 13px; line-height: 1.2; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--yellow)); flex: 0 0 auto; }
.dot-pink { --dot: var(--pink); }
.dot-green { --dot: var(--green); }

.h2 {
  font-family: var(--f-title); font-weight: 800;
  font-size: clamp(36px, 4.8vw, 60px); line-height: 1; letter-spacing: -.015em;
  color: var(--navy); text-wrap: balance;
}
.marca { background: var(--marca-texto); }
.section-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.section-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head--split > div { display: flex; flex-direction: column; gap: 14px; }
.lead { font-size: 19px; line-height: 1.7; color: var(--body); text-wrap: pretty; }

/* Botões: line-height explícito para a altura não depender da métrica da fonte */
.btn {
  display: inline-block; text-align: center; cursor: pointer; border: none;
  font-weight: 900; line-height: 1.2; border-radius: 999px;
  transition: background .2s;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-cta); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--primary-hover); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover, .btn--navy:focus-visible { background: var(--primary); color: #fff; }
.btn--lg { font-size: 18px; padding: 18px 30px; }
.btn--md { font-size: 15.5px; padding: 14px 22px; }
.btn--sm { font-size: 15px; padding: 12px 20px; white-space: nowrap; }

.card {
  background: #fff; border: 1.5px solid var(--blue-border); border-radius: 26px;
  box-shadow: var(--shadow-card);
}

/* ---------- Faixa do topo ---------- */
.topbar {
  display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; line-height: 1.4;
  padding: 10px 16px; text-align: center;
}
.topbar:hover { color: #fff; background: #1f4a93; }
.topbar__pill {
  background: var(--yellow); color: var(--navy); border-radius: 999px; padding: 2px 10px;
  font-size: 12px; font-weight: 900; letter-spacing: .06em; line-height: 1.5;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1.5px solid #cfe5f7;
}
.header__bar {
  max-width: 1200px; margin: 0 auto; padding: 8px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px;
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--navy); }
.brand img { width: 58px; height: 58px; object-fit: contain; margin: -4px 0; flex: 0 0 auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__escola { font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.brand__nome { font-family: var(--f-brand); font-size: 26px; color: var(--navy); white-space: nowrap; }

.nav { display: none; align-items: center; gap: 2px; font-weight: 800; font-size: 15px; }
.nav a { color: var(--navy); padding: 10px 12px; border-radius: 999px; line-height: 1.2; }
.nav a:hover { background: var(--blue-100); }
.header__cta { display: none; }

.menu-btn {
  width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--blue-border); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; padding: 0;
}
.menu-btn span { width: 18px; height: 2.5px; background: var(--navy); border-radius: 2px; }
.menu {
  border-top: 1.5px solid #cfe5f7; background: #fff; padding: 12px 16px 18px; display: grid; gap: 8px;
}
.menu[hidden] { display: none; }
.menu a { color: var(--navy); font-weight: 900; font-size: 17px; line-height: 1.2; padding: 14px 16px; border-radius: 16px; background: var(--bg-page); }
.menu a.menu__cta { color: #fff; background: var(--primary); border-radius: 999px; text-align: center; padding: 16px; margin-top: 6px; box-shadow: var(--shadow-cta); }

@media (min-width: 1040px) {
  .nav, .header__cta { display: flex; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg-baby); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 5vw, 64px); align-items: center;
}
.hero__txt { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
.hero h1 { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; font-weight: inherit; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--blue-200);
  color: var(--navy); font-family: var(--f-body); font-weight: 800; font-size: 14px; line-height: 1.2;
  padding: 8px 14px; border-radius: 999px; letter-spacing: 0;
}
.hero__pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.hero__titulo {
  font-family: var(--f-title); font-weight: 800; font-size: clamp(36px, 5.2vw, 68px);
  line-height: .98; letter-spacing: -.02em; color: var(--navy);
}
.hero__titulo em { white-space: nowrap; font-style: normal; color: var(--primary); background: linear-gradient(transparent 62%, var(--yellow-soft) 62%, var(--yellow-soft) 88%, transparent 88%); }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--body); max-width: 540px; text-wrap: pretty; }
@media (max-width: 759.98px) { .hero__cta { display: block; width: 100%; } }
.hero__micro { font-size: 14.5px; font-weight: 700; color: var(--body); }

.hero__art { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1 / 1.02; }
.hero__foto {
  position: absolute; top: 4px; left: 7.5%; width: 80%; height: 92%;
  border-radius: 999px 999px 36px 36px; overflow: hidden; border: 6px solid #fff;
  background: var(--blue-200); box-shadow: 0 24px 50px rgba(23, 58, 120, .14);
}
.hero__foto img, .foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__mascote {
  position: absolute; left: -4%; bottom: -4%; width: 46%; height: auto;
  filter: drop-shadow(0 12px 18px rgba(23, 58, 120, .22)); pointer-events: none;
}
.hero__badge {
  position: absolute; left: 0; top: 12px; width: clamp(100px, 13vw, 128px); aspect-ratio: 1;
  border-radius: 50%; background: var(--yellow); color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  transform: rotate(-10deg); animation: bob 5s ease-in-out infinite;
  box-shadow: 0 12px 26px rgba(245, 180, 0, .3); pointer-events: none;
}
.hero__badge b { font-family: var(--f-title); font-weight: 800; font-size: clamp(36px, 4.6vw, 46px); line-height: .8; }
.hero__badge span { font-weight: 900; font-size: clamp(12px, 1.3vw, 14px); line-height: 1.1; }
.hero__tag {
  position: absolute; left: 39%; top: 55%;
  display: flex; align-items: center; gap: 8px; background: #fff; color: var(--navy);
  border-radius: 999px; padding: 10px 18px; font-weight: 900; font-size: clamp(14px, 1.5vw, 16px); line-height: 1.2;
  transform: rotate(4deg); box-shadow: 0 12px 26px rgba(23, 58, 120, .14); white-space: nowrap; pointer-events: none;
}
.hero__tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-6px) rotate(-7deg); } }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Divisores e marquee ---------- */
.onda { height: 22px; }
.onda--hero { background: radial-gradient(circle at 11px 0, var(--bg-baby) 11px, transparent 11.5px) 0 0 / 22px 22px repeat-x, #fff; }
.onda--sobe { background: radial-gradient(circle at 11px 22px, var(--bg-baby) 11px, transparent 11.5px) 0 0 / 22px 22px repeat-x, var(--bg-page); }
.onda--desce { background: radial-gradient(circle at 11px 0, var(--bg-baby) 11px, transparent 11.5px) 0 0 / 22px 22px repeat-x, var(--bg-page); }
.marquee { background: #fff; border-bottom: 1.5px solid #cfe5f7; padding: 10px 0 18px; overflow: hidden; }
.marquee__trilho { display: flex; width: max-content; animation: marq 40s linear infinite; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--f-title); font-weight: 800; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3;
  color: var(--navy); white-space: nowrap;
}
.marquee__item::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--yellow)); }
.marquee__item:nth-child(4n+2) { --c: var(--pink); }
.marquee__item:nth-child(4n+3) { --c: var(--green); }
.marquee__item:nth-child(4n+4) { --c: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__trilho, .hero__badge { animation: none; }
}

/* ---------- Carrosséis (mobile) ---------- */
.rail-wrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rail { display: grid; gap: 16px; scrollbar-width: none; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.rail-ctl { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px; position: relative; z-index: 1; }
.rail-ctl__dots { display: flex; align-items: center; gap: 6px; }
.rail-ctl__dots i { height: 8px; width: 8px; border-radius: 999px; background: var(--blue-200); transition: width .25s, background .25s; }
.rail-ctl__dots i.on { width: 22px; background: var(--primary); }
.rail-ctl__hint { font-size: 13px; font-weight: 800; color: var(--muted); margin-left: 8px; }
.rail-ctl__btns { display: flex; gap: 8px; }
.rail-ctl button {
  width: 46px; height: 46px; border-radius: 50%; font-size: 20px; font-weight: 900; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0; transition: opacity .2s;
}
.rail-ctl .prev { border: 1.5px solid var(--blue-200); background: #fff; color: var(--navy); }
.rail-ctl .next { border: none; background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(47, 128, 237, .28); }
.rail-ctl button[aria-disabled="true"] { opacity: .4; }

@media (max-width: 759.98px) {
  /* .rail-wrap na frente: ganha das regras de colunas de cada trilho,
     que vêm depois no arquivo */
  .rail-wrap .rail {
    grid-template-columns: none; grid-auto-flow: column; overflow-x: auto;
    margin: 0 -16px -30px; padding: 4px 16px 48px;
    scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  }
  .rail > * { scroll-snap-align: start; }
  .rail-wrap .rail--a { grid-auto-columns: 78%; }
  .rail-wrap .rail--r { grid-auto-columns: 62%; }
  .rail-wrap .rail--t, .rail-wrap .rail--d { grid-auto-columns: 84%; }
  .rail-ctl { display: flex; }
}

/* ---------- Adaptação ---------- */
.dois-col {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.dois-col__txt { display: flex; flex-direction: column; gap: 20px; }
.rail--a { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.passo { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.passo__n {
  width: 46px; height: 46px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--blue-border);
  display: grid; place-items: center; font-family: var(--f-title); font-weight: 800; font-size: 19px; line-height: 1; color: var(--navy);
}
.passo h3 { font-family: var(--f-title); font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--navy); }
.passo p { font-size: 15.5px; line-height: 1.6; color: var(--body); }

/* ---------- Diferenciais ---------- */
.dif { padding-top: 0; }
.dif__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.dif__card { border-radius: 32px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.dif__barra { width: 40px; height: 8px; border-radius: 999px; background: var(--c); }
.dif__frase { font-family: var(--f-title); font-weight: 800; font-size: clamp(28px, 2.8vw, 34px); line-height: 1.05; color: var(--primary); }
.dif__card h3 { font-family: var(--f-title); font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--navy); margin-top: auto; }
.dif__card p { font-size: 16px; line-height: 1.6; color: var(--body); }
.dif__feat {
  border-radius: 32px; overflow: hidden; padding: 0; gap: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.dif__feat-txt { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; justify-content: space-between; }
.dif__feat-txt > div { display: flex; flex-direction: column; gap: 8px; }
.selo { align-self: flex-start; background: var(--yellow-soft); color: var(--navy); font-weight: 900; font-size: 12px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.dif__45 { font-family: var(--f-title); font-weight: 800; font-size: clamp(68px, 8.5vw, 104px); line-height: .85; letter-spacing: -.03em; color: var(--primary); }
.dif__45 small { font-size: .4em; letter-spacing: 0; color: var(--navy); }
.dif__feat h3 { font-size: 28px; line-height: 1.05; margin: 0; }
.dif__feat p { font-size: 17px; }
.dif__feat .foto { min-height: 280px; position: relative; background: var(--bg-baby); }
.dif__feat .foto img { position: absolute; inset: 0; }
@media (min-width: 640px) {
  .dif__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dif__feat, .dif__ultimo { grid-column: span 2; }
}
@media (min-width: 900px) {
  .dif__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Rotina ---------- */
.rotina { padding: clamp(56px, 9vw, 112px) 0; }
.rotina__intro { font-size: 17px; line-height: 1.6; color: var(--body); max-width: 380px; }
.rail--r { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.hora {
  background: #fff; color: var(--navy); border-radius: 26px; padding: 22px; min-height: 200px;
  display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--c);
}
.hora__t { font-family: var(--f-title); font-weight: 800; font-size: 30px; line-height: 1; color: var(--primary); }
.hora h3 { font-family: var(--f-title); font-weight: 800; font-size: 20px; line-height: 1.1; margin-top: auto; }
.hora p { font-size: 15px; line-height: 1.5; color: var(--body); }
@media (max-width: 759.98px) { .hora { min-height: 180px; } }

/* ---------- Turmas ---------- */
.rail--t { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; align-items: stretch; }
.turma { border-radius: 32px; padding: 14px 14px 26px; display: flex; flex-direction: column; gap: 18px; }
.turma .foto { aspect-ratio: 1 / .88; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--c); }
.turma__txt { display: flex; flex-direction: column; gap: 10px; padding: 0 10px; flex: 1; }
.turma__idade { align-self: flex-start; background: var(--c); color: var(--navy); font-weight: 900; font-size: 13px; line-height: 1.4; padding: 5px 12px; border-radius: 999px; }
.turma h3 { font-family: var(--f-title); font-weight: 800; font-size: 32px; line-height: 1; color: var(--navy); }
.turma p { font-size: 16px; line-height: 1.6; color: var(--body); }
.turma .btn { margin-top: auto; align-self: flex-start; }

/* ---------- 40 anos ---------- */
.historia__num-wrap { display: flex; flex-direction: column; align-items: flex-start; }
/* Sem quebra de linha: com a coluna em 527px (container de 1200), "40" +
   polaroid de 210px não cabem e a polaroid descia para baixo do número,
   inclusive no protótipo do handoff. A polaroid encolhe em vez de quebrar. */
.historia__linha { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 32px); flex-wrap: nowrap; }
.historia__40 { flex: 0 0 auto; }
.historia__40 { font-family: var(--f-title); font-weight: 800; font-size: clamp(150px, 20vw, 260px); line-height: .8; letter-spacing: -.04em; color: var(--primary); text-shadow: 8px 8px 0 var(--yellow-soft); }
.polaroid {
  margin: 0 0 8px; background: #fff; padding: 10px 10px 12px; border-radius: 22px;
  box-shadow: 0 18px 40px rgba(23, 58, 120, .14); transform: rotate(4deg);
  display: flex; flex-direction: column; gap: 8px; flex: 0 1 clamp(150px, 17vw, 210px); min-width: 0;
}
.polaroid .foto { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-baby); }
.polaroid figcaption { font-weight: 800; font-size: 13.5px; color: var(--navy); text-align: center; }
.historia__sub { font-family: var(--f-title); font-weight: 800; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.05; color: var(--navy); margin-top: 20px; }
.historia__txt { display: flex; flex-direction: column; gap: 18px; }
.historia__txt h2 { font-family: var(--f-title); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; color: var(--navy); text-wrap: balance; }
.historia__txt p { font-size: 18px; line-height: 1.7; color: var(--body); text-wrap: pretty; }
.selos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.selo-editora { background: var(--bg-page); border: 1.5px solid var(--blue-200); border-radius: 18px; padding: 10px 16px; }
.selo-editora img { width: 120px; height: 40px; object-fit: contain; }
.selo-bncc { background: var(--bg-page); color: var(--navy); border: 1.5px solid var(--blue-200); border-radius: 999px; padding: 10px 18px; font-weight: 900; font-size: 15px; line-height: 1.2; }

/* ---------- Depoimentos ---------- */
.link-google {
  color: var(--navy); font-weight: 900; font-size: 16px; line-height: 1.2; padding: 12px 20px;
  border-radius: 999px; border: 1.5px solid var(--blue-border); background: #fff;
}
.link-google:hover { background: var(--input-bg); color: var(--navy); }
.rail--d { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.depo { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.depo__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.depo__estrelas { color: var(--star); font-size: 20px; letter-spacing: 2px; line-height: 1; }
.depo__fonte { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.depo blockquote { font-size: 16.5px; line-height: 1.65; color: var(--ink); font-weight: 600; text-wrap: pretty; }
.depo figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.depo__av { width: 42px; height: 42px; border-radius: 50%; background: var(--c); color: var(--navy); display: grid; place-items: center; font-family: var(--f-title); font-weight: 800; font-size: 18px; line-height: 1; flex: 0 0 auto; }
.depo figcaption strong { font-weight: 900; color: var(--navy); }
/* Vídeos verticais do WhatsApp; preload="none", só baixam no play */
.videos__titulo { font-family: var(--f-title); font-weight: 800; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; color: var(--navy); margin-top: 16px; }
.rail--v { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.video-depo { border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-card); aspect-ratio: 9 / 16; }
.video-depo video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 759.98px) { .rail-wrap .rail--v { grid-auto-columns: 62%; } }

/* ---------- Estrutura (galeria) ---------- */
.galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.galeria .foto { position: relative; border-radius: 28px; overflow: hidden; background: var(--bg-baby); aspect-ratio: 1; }
.galeria .foto--grande { grid-column: span 2; aspect-ratio: 4 / 3; border-radius: 32px; }
.galeria__cta {
  border-radius: 28px; background: var(--primary); color: #fff; padding: 16px; aspect-ratio: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; box-shadow: var(--shadow-cta);
}
.galeria__cta:hover { background: var(--primary-hover); color: #fff; }
.galeria__cta b { font-family: var(--f-title); font-weight: 800; font-size: 17px; line-height: 1.12; }
.galeria__cta span { align-self: stretch; background: #fff; color: var(--navy); font-weight: 900; font-size: 12.5px; padding: 9px 6px; text-align: center; line-height: 1.2; border-radius: 16px; }
@media (min-width: 760px) {
  .galeria { gap: 14px; }
  .galeria .foto { aspect-ratio: 4 / 3; }
  .galeria .foto--grande { aspect-ratio: 16 / 9; }
  .galeria__cta { aspect-ratio: 4 / 3; padding: 24px; }
  .galeria__cta b { font-size: 24px; }
  .galeria__cta span { align-self: flex-start; font-size: 15px; padding: 12px 18px; }
}
@media (min-width: 1000px) {
  .galeria { grid-template-columns: 2fr 1fr 1fr 1fr; grid-template-rows: repeat(2, auto); gap: 16px; }
  .galeria .foto, .galeria__cta { aspect-ratio: 1; }
  .galeria .foto--grande { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Agendar visita ---------- */
.visita__grid { align-items: start; gap: clamp(40px, 6vw, 80px); }
.visita__txt p { font-size: 18.5px; line-height: 1.7; color: var(--body); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: center; font-size: 17.5px; font-weight: 800; line-height: 1.35; color: var(--navy); }
.checklist li::before {
  content: "✓"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #fff;
  border: 1.5px solid var(--blue-border); color: var(--primary); display: grid; place-items: center; font-size: 14px; line-height: 1;
}
.form-wrap { position: relative; }
.form-wrap__mascote {
  position: absolute; top: -78px; right: -6px; width: 130px; height: auto; z-index: 2; pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(23, 58, 120, .18));
}
.form-card { border-radius: 32px; padding: clamp(24px, 3vw, 36px); }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form__selo { justify-self: start; background: var(--pink-tint-2); color: var(--navy); font-weight: 900; font-size: 13px; line-height: 1.4; padding: 5px 12px; border-radius: 999px; }
.campo { display: grid; gap: 6px; }
.campo__rot, .form legend { font-size: 14.5px; font-weight: 900; color: var(--navy); line-height: 1.3; }
.campo input {
  padding: 15px 16px; border-radius: 16px; border: 2px solid var(--blue-200); background: var(--input-bg);
  font-size: 16px; line-height: 1.3; outline: none; color: var(--ink); width: 100%;
}
.campo input::placeholder { color: #6b7a96; }
.campo input:focus { border-color: var(--primary); background: #fff; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.form legend { padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--linha { flex-wrap: nowrap; gap: 6px; }
.chip { position: relative; }
.chips--linha .chip { flex: 1 1 auto; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block; cursor: pointer; border: 2px solid var(--blue-border); border-radius: 999px;
  padding: 10px 16px; font-weight: 900; font-size: 15px; line-height: 1.2; background: #fff; color: var(--navy);
  text-align: center; white-space: nowrap;
}
.chips--linha .chip span { padding: 10px 8px; font-size: clamp(12.5px, 3.5vw, 15px); }
.chip input:checked + span { background: var(--blue-100); border-color: var(--primary); }
.chip input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.form__enviar { margin-top: 8px; width: 100%; font-size: 18px; padding: 18px 24px; }
.form__nota { font-size: 13.5px; color: var(--body); text-align: center; font-weight: 700; line-height: 1.5; }

.sucesso { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 0; }
.sucesso[hidden] { display: none; }
.sucesso__oba { font-family: var(--f-brand); font-size: 44px; line-height: 1; color: var(--primary); }
.sucesso h3 { font-family: var(--f-title); font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--navy); }
.sucesso p { font-size: 17px; line-height: 1.6; color: var(--body); }
.sucesso__links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.link-simples { border: none; background: none; padding: 0; color: var(--primary); font-weight: 900; font-size: 15px; line-height: 1.3; cursor: pointer; }

/* ---------- Dúvidas ---------- */
.duvidas .container { max-width: 900px; }
.duvidas .h2 { font-size: clamp(36px, 4.8vw, 56px); }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 2px solid var(--blue-border); border-radius: 22px; overflow: hidden; }
.faq details[open] { border-color: var(--blue-300); box-shadow: 0 14px 30px rgba(23, 58, 120, .08); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-family: var(--f-title); font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-page);
  color: var(--navy); display: grid; place-items: center; font-family: var(--f-body); font-size: 20px; font-weight: 900; line-height: 1;
}
.faq details[open] summary::after { content: "−"; background: var(--yellow-soft); }
.faq details p { padding: 0 22px 22px; font-size: 16.5px; line-height: 1.7; color: var(--body); max-width: 720px; }

/* ---------- Contato ---------- */
.contato { padding: 0 0 var(--section-y); }
.contato__card { border-radius: 36px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.contato__txt { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 26px; }
.contato__txt h2 { font-family: var(--f-title); font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.02; color: var(--navy); }
.contato__txt h2 span { color: var(--primary); }
.contato__dados { display: grid; gap: 18px; margin: 0; }
.contato__dados div { display: flex; flex-direction: column; gap: 2px; }
.contato__dados dt { font-size: 12.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.contato__dados dd { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.contato__dados a { font-weight: 900; color: var(--navy); word-break: break-word; }
.contato__dados a:hover { color: var(--primary); }
.contato .btn { align-self: flex-start; }
.contato__mapa { min-height: 380px; background: var(--bg-baby); }
.contato__mapa iframe { border: 0; width: 100%; height: 100%; min-height: 380px; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 40px 0; }
.footer__linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__marca { display: flex; align-items: center; gap: 12px; }
.footer__marca img { width: 64px; height: 64px; object-fit: contain; }
.footer__marca > div { display: flex; flex-direction: column; gap: 4px; }
.footer__nome { font-family: var(--f-brand); font-size: 26px; line-height: 1.1; color: #fff; }
.footer__legal { font-size: 14px; font-weight: 700; color: #c9dcf5; }
.redes { display: flex; flex-wrap: wrap; gap: 10px; }
.redes a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
.redes a:hover { background: #fff; color: var(--navy); }
.footer__base {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: 13.5px; color: #c9dcf5;
}
.footer__base a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Termos de privacidade ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) 76px; }
.legal h1 { font-family: var(--f-title); font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; color: var(--navy); margin-bottom: 8px; }
.legal .atualizado { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-family: var(--f-title); font-weight: 800; font-size: 22px; color: var(--navy); margin: 36px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--body); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 8px 0 16px; }
.legal a { color: var(--navy); text-decoration: underline; }
.legal .voltar { display: inline-block; margin-top: 40px; font-weight: 900; }

/* ---------- Teste A/B, versão B: cartão de WhatsApp no lugar do formulário ---------- */
.wa-card { display: grid; gap: 16px; }
.wa-card h3 { font-family: var(--f-title); font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--navy); }
.wa-card p { font-size: 17px; line-height: 1.6; color: var(--body); }
.wa-card .form__enviar { text-align: center; }
.ico-wa { width: 1.25em; height: 1.25em; vertical-align: -.27em; margin-right: .45em; flex: 0 0 auto; }
.galeria__cta span .ico-wa { width: 1.15em; height: 1.15em; margin-right: .3em; color: #25d366; }

/* Botão flutuante do WhatsApp */
.wa-flutuante {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px rgba(18, 140, 126, .35);
  transition: transform .2s, background .2s;
}
.wa-flutuante:hover, .wa-flutuante:focus-visible { background: #1ebe5b; color: #fff; transform: scale(1.06); }
.wa-flutuante__ico { width: 32px; height: 32px; }
@media (prefers-reduced-motion: reduce) { .wa-flutuante { transition: none; } .wa-flutuante:hover { transform: none; } }
