:root {
  --bg: #f8f4ef;
  --surface: #ffffff;
  --surface-2: #eef6f3;
  --ink: #173236;
  --muted: #617174;
  --line: rgba(23, 50, 54, .12);
  --primary: #0d4b4d;
  --primary-2: #1d6d68;
  --accent: #c89c5d;
  --accent-2: #f0ddbc;
  --soft: #e7f1ee;
  --danger: #b96a57;
  --shadow: 0 24px 80px rgba(18, 48, 54, .14);
  --shadow-soft: 0 16px 40px rgba(18, 48, 54, .09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus { top: 16px; }
.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 {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto;
}
.section-pad { padding: 96px 0; }
.soft-bg { background: linear-gradient(180deg, rgba(231,241,238,.75), rgba(248,244,239,.4)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(248, 244, 239, .82);
  border-bottom: 1px solid rgba(23, 50, 54, .08);
}
.nav {
  width: min(calc(100% - 28px), 1240px);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 30px rgba(13,75,77,.22);
}
.brand strong { display: block; line-height: 1.1; }
.brand small { color: var(--muted); display: block; font-size: 12px; margin-top: 2px; }
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu > a:not(.btn) { color: rgba(23,50,54,.78); font-size: 15px; font-weight: 650; }
.nav-menu > a:not(.btn):hover { color: var(--primary); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 40px rgba(13,75,77,.26);
}
.btn-primary:hover { box-shadow: 0 22px 54px rgba(13,75,77,.32); }
.btn-ghost {
  color: var(--primary);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(13,75,77,.16);
}
.btn-small { padding: 11px 16px; font-size: 14px; color: white; background: var(--primary); }

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(200,156,93,.18), transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(29,109,104,.16), transparent 34%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%);
}
.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: .7;
  pointer-events: none;
}
.ambient-one { width: 360px; height: 360px; background: rgba(200,156,93,.18); left: -120px; top: 80px; }
.ambient-two { width: 480px; height: 480px; background: rgba(29,109,104,.12); right: -160px; bottom: -120px; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .9fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--primary-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: .96;
  letter-spacing: -.07em;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(31px, 4.5vw, 52px);
  line-height: 1.02;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}
h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 12px; }
.hero-text { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 26px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span {
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(13,75,77,.12);
  color: rgba(23,50,54,.8);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 13px;
}
.portrait-card {
  position: relative;
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.45));
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.portrait-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(200,156,93,.3);
  border-radius: 50px;
  transform: rotate(-3deg);
  z-index: -1;
}
.portrait-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 32px;
}
.floating-note {
  position: absolute;
  left: -28px;
  bottom: 44px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.6);
}
.floating-note strong { display: block; font-size: 24px; letter-spacing: -.04em; }
.floating-note span { color: var(--muted); font-size: 13px; font-weight: 700; }

.strip {
  padding: 22px 0;
  background: var(--primary);
  color: white;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.stat strong { display: block; font-size: clamp(27px, 3vw, 42px); line-height: 1; letter-spacing: -.045em; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.76); font-weight: 700; }

.split, .process-grid, .faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 82px); align-items: start; }
.section-heading p, .center-heading p { color: var(--muted); font-size: 18px; }
.center-heading { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.center-heading .eyebrow { justify-content: center; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain-grid span {
  min-height: 92px;
  display: flex;
  align-items: end;
  padding: 18px;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 82px); align-items: center; }
.image-stack { position: relative; }
.image-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.quote-card {
  position: absolute;
  right: -22px;
  bottom: 24px;
  width: min(82%, 340px);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
  padding: 20px;
}
.quote-card p { margin: 0; font-weight: 800; letter-spacing: -.02em; }
.about-copy p { color: var(--muted); font-size: 18px; }
.mini-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.mini-list span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 850;
}

.cards { display: grid; gap: 18px; }
.services-grid { grid-template-columns: repeat(4, 1fr); }
.service-card, .approach-card, .testimonial, .faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.service-card { padding: 28px; min-height: 300px; }
.service-card p, .approach-card p, .testimonial p { color: var(--muted); }
.icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  font-weight: 950;
  margin-bottom: 28px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card { transition: transform .2s ease, box-shadow .2s ease; }

.parental {
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(200,156,93,.24), transparent 32%),
    linear-gradient(135deg, #0b3639, #153f3d 58%, #255c55);
}
.parental-grid { display: grid; grid-template-columns: 1fr .78fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.parental p { color: rgba(255,255,255,.76); font-size: 18px; }
.parental .eyebrow { color: var(--accent-2); }
.parental-card {
  border-radius: 34px;
  padding: 14px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
}
.parental-card img { border-radius: 24px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 800;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--primary);
  background: var(--accent-2);
}

.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.approach-card { padding: 34px; min-height: 300px; }
.approach-card.dark {
  color: white;
  background: linear-gradient(135deg, var(--primary), #102f31);
  border-color: rgba(255,255,255,.12);
}
.approach-card.dark p { color: rgba(255,255,255,.72); }
.approach-kicker {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.dark .approach-kicker { background: rgba(255,255,255,.12); color: var(--accent-2); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { padding: 28px; }
.stars { color: var(--accent); letter-spacing: .08em; margin-bottom: 18px; }
.testimonial p { font-size: 17px; }
.testimonial span { color: var(--primary); font-weight: 900; }

.testimonials-carousel {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 68px 54px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform .72s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonials-carousel .testimonial { padding: 28px; }
.testimonials-carousel .testimonial p { font-size: 17px; line-height: 1.62; max-width: none; }
.testimonials-carousel .testimonial span { margin-top: 18px; display: inline-flex; }
.quote-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(200,156,93,.16);
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 18px;
}
.carousel-btn {
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--primary);
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 34px rgba(11,54,57,.16);
  font-size: 42px;
  line-height: 1;
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}
.carousel-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: #fff;
  box-shadow: 0 20px 44px rgba(11,54,57,.22);
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(13,75,77,.24);
  cursor: pointer;
  transition: width .28s ease, background .28s ease, transform .28s ease;
}
.carousel-dots button.is-active {
  width: 34px;
  background: var(--primary);
}
.carousel-dots button:hover { transform: scale(1.16); }


.process { background: linear-gradient(180deg, var(--bg), #fbf8f3); }
.steps { display: grid; gap: 16px; }
.steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.steps strong {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--primary);
  color: white;
  font-size: 22px;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

.faq-list { display: grid; gap: 12px; }
details { padding: 0; overflow: hidden; }
summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 24px; margin: 0; color: var(--muted); }

.final-cta {
  background:
    radial-gradient(circle at 20% 0%, rgba(200,156,93,.2), transparent 34%),
    var(--bg);
}
.cta-box {
  text-align: center;
  padding: clamp(38px, 7vw, 74px);
  border-radius: 38px;
  color: white;
  background: linear-gradient(135deg, #0a3437, #1e5b55);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  right: -140px;
  top: -130px;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { color: rgba(255,255,255,.76); max-width: 700px; margin-inline: auto; font-size: 18px; }
.cta-box .btn-primary { background: white; color: var(--primary); box-shadow: none; margin-top: 12px; }

.footer {
  background: #0c292b;
  color: white;
  padding: 54px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .75fr .75fr; gap: 28px; }
.footer p, .footer a, .footer small { color: rgba(255,255,255,.68); }
.footer a { display: block; margin-top: 8px; }
.footer strong { display: block; margin-bottom: 12px; }
.footer .brand-mark { background: white; color: var(--primary); box-shadow: none; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.58);
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  z-index: 80;
  display: grid;
  place-items: center;
  color: white;
  background: #25D366;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(37, 211, 102, .32);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 34px; height: 34px; fill: currentColor; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1080px) {
  .nav-menu { gap: 14px; }
  .nav-menu > a:not(.btn) { font-size: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr .78fr; }
}

@media (max-width: 880px) {
  .section-pad { padding: 74px 0; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: 78px 14px auto 14px;
    max-height: calc(100svh - 100px);
    overflow: auto;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-open .nav-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu > a { padding: 12px 14px; border-radius: 14px; }
  .nav-menu .btn { margin-top: 8px; width: 100%; }
  .hero { min-height: auto; }
  .hero-grid, .about-grid, .parental-grid, .split, .process-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .portrait-card { max-width: 520px; margin-inline: auto; transform: none; }
  .floating-note { left: 18px; bottom: 24px; }
  .stats-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-carousel { padding: 0 0 46px; }
  .carousel-btn { display: none; }
  .carousel-slide { min-height: 360px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .nav { width: min(calc(100% - 20px), 1240px); min-height: 70px; }
  .brand { min-width: auto; }
  .brand small { display: none; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .nav-menu { inset: 70px 10px auto 10px; }
  h1 { font-size: clamp(39px, 13vw, 54px); }
  h2 { font-size: clamp(30px, 9vw, 42px); }
  .hero-actions .btn { width: 100%; }
  .trust-row span { flex: 1 1 calc(50% - 10px); text-align: center; }
  .pain-grid, .services-grid, .mini-list { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .quote-card { position: static; width: auto; margin: -36px 14px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}


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


/* =========================
   Versão 2 — efeitos modernos
   ========================= */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.22, .61, .36, 1);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--accent), var(--primary-2), var(--accent));
  box-shadow: 0 0 22px rgba(200,156,93,.45);
  transform-origin: left center;
}

.cursor-glow {
  position: fixed;
  inset: auto auto 0 0;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: .22;
  background: radial-gradient(circle, rgba(200,156,93,.32), rgba(29,109,104,.13) 42%, transparent 70%);
  filter: blur(8px);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .25s ease;
  mix-blend-mode: multiply;
}

.site-header {
  transition: min-height .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}
.site-header.is-scrolled {
  background: rgba(248, 244, 239, .92);
  box-shadow: 0 14px 36px rgba(18,48,54,.08);
  border-bottom-color: rgba(23,50,54,.14);
}
.site-header.is-scrolled .nav { min-height: 66px; }
.site-header.is-scrolled .brand-mark { transform: scale(.92); }
.brand-mark { transition: transform .28s var(--ease-out), box-shadow .28s ease; }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.nav-menu > a:not(.btn) {
  position: relative;
  transition: color .22s ease;
}
.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease-out);
}
.nav-menu > a:not(.btn):hover::after,
.nav-menu > a:not(.btn).is-active::after { transform: scaleX(1); }
.nav-menu > a:not(.btn).is-active { color: var(--primary); }

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  transition: transform .28s var(--ease-out), box-shadow .28s ease, background .28s ease, border-color .28s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.48) 46%, transparent 58% 100%);
  transform: translateX(-130%);
  transition: transform .7s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { animation: softPulse 4.4s ease-in-out infinite; }

.hero {
  background-size: 140% 140%;
  animation: heroGradient 18s ease-in-out infinite alternate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(13,75,77,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,75,77,.09) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 72%);
}
.ambient-one { animation: floatBlob 13s ease-in-out infinite alternate; }
.ambient-two { animation: floatBlob 16s ease-in-out infinite alternate-reverse; }
.hero-dots {
  position: absolute;
  left: clamp(14px, 5vw, 78px);
  bottom: 12%;
  width: 150px;
  height: 110px;
  opacity: .28;
  background-image: radial-gradient(var(--primary-2) 2px, transparent 2px);
  background-size: 18px 18px;
  animation: drift 10s ease-in-out infinite alternate;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-text,
.hero-copy .hero-actions,
.hero-copy .trust-row {
  animation: heroItem .9s var(--ease-out) both;
}
.hero-copy h1 { animation-delay: .08s; }
.hero-copy .hero-text { animation-delay: .16s; }
.hero-copy .hero-actions { animation-delay: .24s; }
.hero-copy .trust-row { animation-delay: .32s; }
.hero h1 {
  background: linear-gradient(105deg, var(--ink), #245c58 52%, #8d6b3c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text { text-wrap: pretty; }
.trust-row span {
  transition: transform .26s var(--ease-out), box-shadow .26s ease, background .26s ease;
}
.trust-row span:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: var(--shadow-soft);
}

.portrait-card {
  will-change: transform;
  transition: transform .45s var(--ease-out), box-shadow .45s ease;
  animation: portraitEnter 1.05s var(--ease-out) .12s both, portraitFloat 6.5s ease-in-out 1.25s infinite;
}
.portrait-card:hover { box-shadow: 0 34px 100px rgba(18,48,54,.22); }
.portrait-card img { transition: transform .65s var(--ease-out), filter .65s ease; }
.portrait-card:hover img { transform: scale(1.035); filter: saturate(1.06) contrast(1.03); }
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 32px;
  background: linear-gradient(140deg, rgba(255,255,255,.34), transparent 38%, rgba(13,75,77,.18));
  pointer-events: none;
  opacity: .75;
}
.floating-note {
  z-index: 2;
  animation: noteFloat 4.8s ease-in-out infinite;
}

.stat,
.pain-grid span,
.service-card,
.approach-card,
.testimonial,
.steps article,
.faq-list details,
.cta-box,
.parental-card,
.quote-card,
.mini-list span {
  position: relative;
  transition: transform .34s var(--ease-out), box-shadow .34s ease, border-color .34s ease, background .34s ease;
}
.stat::before,
.service-card::before,
.approach-card::before,
.testimonial::before,
.steps article::before,
.faq-list details::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(200,156,93,.16), transparent 42%);
  transition: opacity .25s ease;
}
.stat:hover::before,
.service-card:hover::before,
.approach-card:hover::before,
.testimonial:hover::before,
.steps article:hover::before,
.faq-list details:hover::before { opacity: 1; }
.stat:hover,
.pain-grid span:hover,
.approach-card:hover,
.testimonial:hover,
.steps article:hover,
.faq-list details:hover,
.mini-list span:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(200,156,93,.32);
}
.pain-grid span {
  overflow: hidden;
}
.pain-grid span::after {
  content: "";
  position: absolute;
  inset: auto -24px -36px auto;
  width: 90px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(29,109,104,.08);
  transition: transform .35s var(--ease-out), background .35s ease;
}
.pain-grid span:hover::after {
  transform: scale(1.45);
  background: rgba(200,156,93,.12);
}
.icon {
  transition: transform .34s var(--ease-out), background .34s ease, color .34s ease;
}
.service-card:hover .icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--primary);
  color: white;
}
.parental-card img,
.image-main { transition: transform .7s var(--ease-out), filter .7s ease; }
.parental-card:hover img,
.image-stack:hover .image-main { transform: scale(1.035); filter: saturate(1.08); }
.quote-card { animation: noteFloat 5.8s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(8px);
  transition: opacity .82s var(--ease-out), transform .82s var(--ease-out), filter .82s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.section-heading.reveal { transform: translateX(-26px); }
.section-heading.reveal.is-visible { transform: translateX(0); }
.center-heading.reveal { transform: translateY(26px) scale(.98); }
.center-heading.reveal.is-visible { transform: translateY(0) scale(1); }

.faq-list details { transition: box-shadow .28s ease, transform .28s var(--ease-out); }
summary::after { transition: transform .28s var(--ease-out), color .28s ease; }
details[open] summary::after { transform: rotate(180deg); }
details p {
  animation: faqOpen .28s var(--ease-out) both;
}

.whatsapp-float {
  animation: whatsappPulse 2.4s ease-in-out infinite;
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(37,211,102,.5);
  animation: ringPulse 2.4s ease-out infinite;
}

.final-cta { position: relative; overflow: hidden; }
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 40%, rgba(255,255,255,.12) 50%, transparent 60% 100%);
  transform: translateX(-110%);
  animation: ctaShimmer 6.5s ease-in-out infinite;
}

.footer a { transition: color .22s ease, transform .22s ease; }
.footer a:hover { color: white; transform: translateX(4px); }
.footer-bottom a:hover { transform: translateX(0) translateY(-2px); }

@keyframes heroGradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@keyframes floatBlob {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(26px, -18px, 0) scale(1.08); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(18px,-18px,0); }
}
@keyframes heroItem {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes portraitEnter {
  from { opacity: 0; transform: translateY(28px) rotate(4deg) scale(.96); filter: blur(8px); }
  to { opacity: 1; transform: rotate(1.5deg) scale(1); filter: blur(0); }
}
@keyframes portraitFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes noteFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes softPulse {
  0%, 100% { box-shadow: 0 18px 40px rgba(13,75,77,.24); }
  50% { box-shadow: 0 22px 58px rgba(13,75,77,.36); }
}
@keyframes whatsappPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.035); }
}
@keyframes ringPulse {
  0% { opacity: .75; transform: scale(.92); }
  70%, 100% { opacity: 0; transform: scale(1.24); }
}
@keyframes ctaShimmer {
  0%, 44% { transform: translateX(-110%); }
  58%, 100% { transform: translateX(110%); }
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
  .cursor-glow, .hero-orbit { display: none; }
  .nav-menu > a:not(.btn)::after { bottom: 6px; left: 14px; right: 14px; }
  .site-header.is-scrolled .nav { min-height: 70px; }
  .portrait-card { animation: portraitEnter 1s var(--ease-out) .12s both; }
}


@media (min-width: 680px) {
  .carousel-slide { flex-basis: calc((100% - 18px) / 2); }
}

@media (min-width: 1024px) {
  .carousel-slide { flex-basis: calc((100% - 36px) / 3); }
  .carousel-viewport { border-radius: 30px; }
  .testimonials-carousel .testimonial { padding: 26px; }
  .testimonials-carousel .testimonial p { font-size: 16px; }
  .quote-mark { width: 46px; height: 46px; font-size: 48px; border-radius: 16px; }
}

/* Ajuste pedido: fotos/imagens estáticas, sem flutuar, girar ou dar zoom no hover. */
.portrait-card,
.floating-note,
.quote-card,
.image-main,
.parental-card img {
  animation: none !important;
}
.portrait-card {
  will-change: auto;
  transition: box-shadow .35s ease;
}
.portrait-card:hover,
.image-stack:hover,
.parental-card:hover {
  transform: none !important;
}
.portrait-card img,
.image-main,
.parental-card img {
  transition: none !important;
}
.portrait-card:hover img,
.image-stack:hover .image-main,
.parental-card:hover img {
  transform: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
  .cursor-glow { display: none; }
  .btn-primary,
  .hero,
  .ambient-one,
  .ambient-two,
  .hero-orbit,
  .hero-dots,
  .portrait-card,
  .floating-note,
  .quote-card,
  .whatsapp-float,
  .whatsapp-float::after,
  .cta-box::before,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-text,
  .hero-copy .hero-actions,
  .hero-copy .trust-row {
    animation: none !important;
  }
  .cursor-glow { display: none !important; }
}


/* =========================
   Ajustes finais — transições leves + todos os depoimentos
   ========================= */
.cursor-glow {
  display: none !important;
}
.hero,
.ambient-one,
.ambient-two,
.hero-dots,
.btn-primary,
.cta-box::before {
  animation: none !important;
}

/* As fotos permanecem estáticas, sem zoom, giro ou flutuação. */
.portrait-card,
.floating-note,
.quote-card,
.image-main,
.parental-card img,
.portrait-card img {
  animation: none !important;
  transition: box-shadow .28s ease, border-color .28s ease !important;
}
.portrait-card:hover,
.image-stack:hover,
.parental-card:hover,
.portrait-card:hover img,
.image-stack:hover .image-main,
.parental-card:hover img {
  transform: none !important;
  filter: none !important;
}

/* Transições leves por seção: entrada suave, sem movimentos bruscos. */
.reveal {
  transform: translateY(22px);
  filter: none;
  transition: opacity .62s var(--ease-out), transform .62s var(--ease-out);
}
.reveal.is-visible {
  transform: translateY(0);
}
.section-heading.reveal,
.center-heading.reveal {
  transform: translateY(18px);
}
.section-heading.reveal.is-visible,
.center-heading.reveal.is-visible {
  transform: translateY(0);
}

.service-card,
.approach-card,
.stat,
.pain-grid span,
.steps article,
.faq-list details,
.mini-list span,
.testimonial {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}
.service-card:hover,
.approach-card:hover,
.stat:hover,
.pain-grid span:hover,
.steps article:hover,
.faq-list details:hover,
.mini-list span:hover,
.testimonial:hover {
  transform: translateY(-4px);
}

.testimonials-carousel {
  padding-inline: 66px;
}
.carousel-viewport {
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(23,50,54,.08);
  box-shadow: 0 20px 54px rgba(18,48,54,.10);
}
.carousel-track {
  align-items: stretch;
}
.carousel-slide {
  justify-content: flex-start;
  min-height: 430px;
  max-height: 430px;
  overflow: hidden;
}
.testimonials-carousel .testimonial {
  display: flex;
  flex-direction: column;
}
.testimonials-carousel .testimonial p {
  flex: 1 1 auto;
  max-height: 235px;
  overflow: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(13,75,77,.36) rgba(13,75,77,.08);
}
.testimonials-carousel .testimonial p::-webkit-scrollbar {
  width: 7px;
}
.testimonials-carousel .testimonial p::-webkit-scrollbar-track {
  background: rgba(13,75,77,.08);
  border-radius: 999px;
}
.testimonials-carousel .testimonial p::-webkit-scrollbar-thumb {
  background: rgba(13,75,77,.36);
  border-radius: 999px;
}
.testimonials-carousel .testimonial span {
  margin-top: auto;
  padding-top: 16px;
}
.carousel-dots {
  width: min(760px, calc(100% - 40px));
  flex-wrap: wrap;
  row-gap: 8px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
}
.carousel-dots button.is-active {
  width: 26px;
}

@media (min-width: 1024px) {
  .carousel-slide { flex-basis: calc((100% - 36px) / 3); }
}

@media (max-width: 880px) {
  .testimonials-carousel { padding-inline: 0; }
  .carousel-slide {
    min-height: 410px;
    max-height: 410px;
  }
  .testimonials-carousel .testimonial p { max-height: 225px; }
}

@media (max-width: 560px) {
  .carousel-slide {
    min-height: 440px;
    max-height: 440px;
  }
  .testimonials-carousel .testimonial { padding: 24px; }
  .testimonials-carousel .testimonial p { max-height: 260px; }
  .carousel-dots { width: calc(100% - 12px); gap: 7px; }
}


/* =========================================================
   Correção de segurança: conteúdo visível mesmo se o JS falhar.
   As animações de entrada só escondem elementos quando app.js
   carrega corretamente e adiciona .js-animations no <html>.
   ========================================================= */
.reveal,
.section-heading.reveal,
.center-heading.reveal {
  opacity: 1 !important;
  transform: none !important;
}
html.js-animations .reveal {
  opacity: 0 !important;
  transform: translateY(22px) !important;
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1) !important;
}
html.js-animations .section-heading.reveal {
  transform: translateX(-18px) !important;
}
html.js-animations .center-heading.reveal {
  transform: translateY(20px) scale(.99) !important;
}
html.js-animations .reveal.is-visible,
html.js-animations .section-heading.reveal.is-visible,
html.js-animations .center-heading.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}
html.js-animations .delay-1 { transition-delay: .08s !important; }
html.js-animations .delay-2 { transition-delay: .16s !important; }
html.js-animations .delay-3 { transition-delay: .24s !important; }
.cursor-glow { display: none !important; }


/* =========================================================
   PATCH FINAL — BARRA/HEADER ESTÁVEL
   Objetivo: eliminar a tremida vertical da barra superior.
   - Header e nav não mudam mais de altura no scroll.
   - Logo não muda escala no scroll/hover.
   - Scroll progress usa transform, sem alterar layout.
   - Desliga blur/backdrop no header para evitar jitter de renderização.
   ========================================================= */
html {
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden;
}

.scroll-progress {
  width: 100% !important;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  contain: strict;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  height: 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
  transform: none !important;
  animation: none !important;
  transition: background-color .22s ease, box-shadow .22s ease, border-color .22s ease !important;
  background: rgba(248, 244, 239, .96) !important;
  border-bottom: 1px solid rgba(23, 50, 54, .12) !important;
  box-shadow: 0 10px 28px rgba(18,48,54,.055) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  backface-visibility: hidden;
  contain: layout paint style;
}

.site-header.is-scrolled {
  height: 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
  background: rgba(248, 244, 239, .96) !important;
  box-shadow: 0 10px 28px rgba(18,48,54,.055) !important;
}

.site-header .nav,
.site-header.is-scrolled .nav {
  height: 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

.site-header .brand-mark,
.site-header.is-scrolled .brand-mark,
.brand:hover .brand-mark {
  transform: none !important;
  animation: none !important;
  transition: box-shadow .2s ease !important;
}

.nav-menu > a:not(.btn),
.nav-menu > a:not(.btn)::after,
.nav-menu > a:not(.btn).is-active::after {
  will-change: auto !important;
}

.hero {
  min-height: calc(100vh - 78px) !important;
  min-height: calc(100dvh - 78px) !important;
}

@media (max-width: 880px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header .nav,
  .site-header.is-scrolled .nav {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }

  .nav-menu {
    inset: 70px 14px auto 14px !important;
  }

  .hero {
    min-height: auto !important;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header .nav,
  .site-header.is-scrolled .nav {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }

  .nav-menu {
    inset: 70px 10px auto 10px !important;
  }
}
