:root {
  /* Brand kit Alyne — cores oficiais */
  --blush: #FADDE3;          /* Rosa Blush — feminilidade, acolhimento */
  --teal: #00A6A6;           /* Turquesa — confiança, saúde */
  --charcoal: #2E3A3A;       /* Charcoal — elegância, profissionalismo */
  --offwhite: #FAF9F7;       /* Off White — leveza, pureza */
  /* Derivadas (acessibilidade e profundidade) */
  --teal-deep: #00787A;      /* turquesa p/ texto e botões (contraste AA) */
  --rose: #D93A62;           /* rosa do monograma/borboleta do kit */
  --rose-deep: #C42A55;      /* rosa p/ textos pequenos (contraste AA) */
  --rose-soft: #F4B6C4;
  --blush-50: #FCEBEE;       /* fundo das seções alternadas */
  --line: #F1CCD5;           /* bordas e divisórias */
  --charcoal-soft: #5A6767;  /* texto secundário */
  --white: #FFFFFF;
  --shadow-soft: 0 20px 50px -25px rgba(46, 58, 58, 0.25);
  --radius-arc: 0 0 50% 50% / 0 0 4% 4%;
}

/* Site institucional de estética: identidade visual fixa conforme o brand kit (rosa blush, turquesa, charcoal, off white),
   não acompanha o tema claro/escuro do dispositivo do visitante. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
  color: var(--charcoal);
}

a { color: inherit; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-primary {
  background: var(--teal-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--charcoal); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--charcoal);
}
.btn-ghost:hover { border-color: var(--teal-deep); color: var(--teal-deep); }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--white) 55%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 60%, var(--line));
  box-shadow: 0 8px 32px -16px rgba(46, 58, 58, 0.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  gap: 24px;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
}
@media (max-width: 560px) { .logo img { height: 46px; } }
.nav-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a { text-decoration: none; opacity: 0.82; transition: opacity 0.15s; }
.nav-links a:hover { opacity: 1; color: var(--teal-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-actions-mobile { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 9vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--blush), transparent 70%);
  opacity: 0.9;
  z-index: 0;
  animation: hero-float 9s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 22px) scale(1.05); }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-fade-scale {
  from { opacity: 0; transform: scale(0.96) translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * {
  animation: hero-fade-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.5s; }
.hero-visual {
  animation: hero-fade-scale 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  text-decoration: none;
  color: var(--charcoal-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-fade-up 0.7s ease 1.1s both;
}
.hero-scroll-cue-chevron {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-bounce 1.8s ease-in-out infinite;
}
@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (max-width: 900px) { .hero-scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero-copy > *, .hero-visual { animation: none; opacity: 1; transform: none; }
  .hero-scroll-cue { animation: none; opacity: 1; }
  .hero-scroll-cue-chevron { animation: none; }
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 78%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-copy .eyebrow { margin-bottom: 14px; display: block; }
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.25rem);
  letter-spacing: -0.01em;
}
.hero-copy h1 .accent { color: var(--teal-deep); font-style: italic; }
.hero-copy p.lede {
  margin: 22px 0 32px;
  font-size: 1.1rem;
  color: var(--charcoal-soft);
  max-width: 46ch;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(14px, 3vw, 36px);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--charcoal-soft);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-trust strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: var(--charcoal);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 460px;
  width: 100%;
  justify-self: end;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -14px rgba(46, 58, 58, 0.4);
}
.hero-badge-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 1rem;
}
.hero-badge-text { font-size: 0.8rem; line-height: 1.4; color: var(--charcoal-soft); }
.hero-badge-text strong { display: block; font-size: 0.92rem; color: var(--charcoal); font-weight: 700; }
@media (max-width: 900px) {
  .hero-visual { justify-self: center; margin: 0 auto; }
}
@media (max-width: 420px) {
  .hero-badge { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 12px 14px; gap: 12px; }
  .hero-badge-icon { width: 34px; height: 34px; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  white-space: nowrap;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--offwhite);
}
.marquee-item .dot { color: var(--blush); font-style: normal; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Section shell ---------- */
section { padding: clamp(56px, 9vw, 104px) 0; }
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head .eyebrow { display: block; margin-bottom: 12px; }
.section-head .eyebrow::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--rose), transparent);
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 14px; color: var(--charcoal-soft); font-size: 1.05rem; }
.section-alt { background: var(--blush-50); border-radius: 48px; margin: 0 clamp(0px, 2vw, 16px); }

.arc-divider {
  width: 100%;
  height: 60px;
  display: block;
  margin-top: -1px;
}

/* ---------- Método (how it works) ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .method-grid { grid-template-columns: 1fr; } }
.method-card {
  background: var(--white);
  border-radius: 22px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  position: relative;
}
.method-card .num {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 2.1rem;
  color: var(--rose);
  display: block;
  margin-bottom: 14px;
}
.method-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.method-card p { color: var(--charcoal-soft); font-size: 0.92rem; margin: 0; }

/* ---------- Resultados reais (antes e depois) ---------- */
.results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.results-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.results-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--teal-deep);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
.results-nav button:hover:not(:disabled) { background: var(--teal-deep); color: var(--white); transform: translateY(-2px); }
.results-nav button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.results-nav button:disabled { opacity: 0.4; cursor: default; }
@media (max-width: 720px) { .results-nav { display: none; } }
@media (min-width: 721px) {
  .ba-track {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 clamp(20px, 5vw, 64px), #000 calc(100% - clamp(20px, 5vw, 64px)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 clamp(20px, 5vw, 64px), #000 calc(100% - clamp(20px, 5vw, 64px)), transparent 100%);
  }
}
.ba-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin: 0 calc(-1 * clamp(20px, 5vw, 64px));
  padding: 6px clamp(20px, 5vw, 64px) 34px;
  scroll-padding-inline: clamp(20px, 5vw, 64px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ba-track::-webkit-scrollbar { display: none; }
.ba-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(440px, 46vw, 540px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 16px 30px -20px rgba(46, 58, 58, 0.35);
}
@media (max-width: 720px) {
  .ba-track { gap: 14px; }
  .ba-card { flex: 0 0 88%; border-radius: 22px; padding: 8px; }
}
.ba-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.ba-side {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.ba-side.is-before { border-radius: 20px 6px 6px 20px; }
.ba-side.is-after { border-radius: 6px 20px 20px 6px; }
.ba-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ba-card:hover .ba-side img { transform: scale(1.03); }
.ba-side figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.ba-side.is-before figcaption {
  background: color-mix(in srgb, var(--white) 90%, transparent);
  color: var(--charcoal);
  backdrop-filter: blur(6px);
}
.ba-side.is-after figcaption { background: var(--teal-deep); color: var(--white); }
.ba-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--rose-deep);
  font-size: 1rem;
  box-shadow: 0 6px 16px -6px rgba(46, 58, 58, 0.35);
}
.ba-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}
.ba-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--rose-soft);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.ba-dots button[aria-current="true"] { width: 26px; background: var(--rose); }
.ba-dots button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ba-track { scroll-behavior: auto; } }

/* ---------- Depoimentos ---------- */
.testi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .testi-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .testi-row {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    -webkit-overflow-scrolling: touch;
  }
  .testi-row::-webkit-scrollbar { display: none; }
  .testi-card { scroll-snap-align: start; flex: 0 0 84%; }
}
.testi-card {
  background: var(--white);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-stars { color: var(--rose-deep); font-size: 0.9rem; letter-spacing: 2px; }
.testi-quote { font-family: "Playfair Display", Georgia, serif; font-size: 1.05rem; font-style: italic; color: var(--charcoal); flex-grow: 1; }
.testi-name { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}
.testi-avatar.c1 { background: linear-gradient(145deg, var(--rose), var(--rose-deep)); }
.testi-avatar.c2 { background: linear-gradient(145deg, var(--teal), var(--teal-deep)); }
.testi-avatar.c3 { background: linear-gradient(145deg, var(--charcoal-soft), var(--charcoal)); }
.testi-source { font-size: 0.78rem; color: var(--charcoal-soft); }
.testi-name strong { display: block; font-weight: 700; }
.testi-name span { color: var(--charcoal-soft); font-size: 0.82rem; }

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.service-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.service-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--blush-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-deep);
}
.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; color: var(--charcoal-soft); margin: 0; }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo {
  aspect-ratio: 3/4;
  border-radius: 28px 100px 28px 28px;
  background: linear-gradient(160deg, var(--blush), var(--rose-soft));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-bio { margin-top: 16px; color: var(--charcoal-soft); max-width: 55ch; }
.about-stats {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-stats strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  display: block;
  color: var(--teal-deep);
  font-weight: 500;
}
.about-stats span { font-size: 0.82rem; color: var(--charcoal-soft); }

/* ---------- Locais ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.location-photo {
  aspect-ratio: 21/9;
  background: linear-gradient(150deg, var(--teal), var(--blush));
}
.location-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
}
.location-map-link:hover { text-decoration: underline; }
.location-wa-link { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#laelo-photo {
  background-image: url("../img/laelo-fachada.jpg");
  background-size: cover;
  background-position: center;
}
.location-body { padding: 22px 24px; }
.location-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.location-body p { margin: 4px 0; font-size: 0.9rem; color: var(--charcoal-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  color: var(--rose);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--charcoal-soft); font-size: 0.94rem; }
.faq-closing {
  max-width: 760px;
  margin: 28px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--teal-deep);
}

/* ---------- CTA final ---------- */
  .cta-final {
  position: relative;
  text-align: center;
  border-radius: 40px;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 6vw, 64px);
  color: var(--offwhite);
  overflow: hidden;
  isolation: isolate;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/cta-consulta.jpg") center 35% / cover no-repeat;
  z-index: 0;
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--charcoal) 62%, transparent) 0%, color-mix(in srgb, var(--charcoal) 78%, transparent) 100%);
  z-index: 1;
}
.cta-final > * { position: relative; z-index: 2; }
.cta-final h2 { color: var(--offwhite); font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 24ch; margin: 0 auto; text-shadow: 0 2px 16px rgba(20, 28, 28, 0.55); }
.cta-final p { color: color-mix(in srgb, var(--offwhite) 92%, transparent); margin: 18px auto 32px; max-width: 48ch; text-shadow: 0 2px 12px rgba(20, 28, 28, 0.5); }
.cta-final .btn-primary { background: var(--teal-deep); }
.cta-final .btn-primary:hover { background: var(--rose-deep); }

/* ---------- Footer ---------- */
footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}
.footer-links { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--teal-deep); }
.footer-credit { width: 100%; font-size: 0.78rem; }
.footer-credit a { color: var(--teal-deep); font-weight: 600; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Página 404 ---------- */
.page-404 { text-align: center; }
.page-404 h1 { margin: 12px 0 16px; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-404 p { color: var(--charcoal-soft); margin: 0 auto 32px; max-width: 42ch; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.18s ease;
}
.wa-float:hover { transform: scale(1.08); }


html { scroll-behavior: smooth; }
main section[id] { scroll-margin-top: 88px; }

/* ---------- Section reveal ---------- */
main section.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
main section.reveal-init.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  main section.reveal-init { opacity: 1; transform: none; }
}
