/* ============================================================
   Dra. Sinara Meneses — Pediatra
   Identidade oficial: assets/dra-sinara-id-visual
   Paleta: mint #AAE4D5 · roxo #C682D9 · amarelo #F2E5B1 · pêssego #E8BBA7
   Tipografia oficial: Recoleta Bold (títulos) / Recoleta SemiBold (destaques) / Inter Regular (texto)
   Substituto temporário: "Fraunces" no lugar de Recoleta (fonte licenciada, sem arquivo
   disponível no projeto). Para trocar: adicionar @font-face com os arquivos oficiais da
   Recoleta e apontar --font-display para "Recoleta".
   ============================================================ */

:root{
  --mint: #AAE4D5;
  --purple: #C682D9;
  --yellow: #F2E5B1;
  --peach: #E8BBA7;
  --lilac-hero: #B7A5E1;

  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #1EBE5A;

  --purple-deep: #8A57AE;
  --purple-ink: #4B3457;
  --ink: #3A2E3E;
  --ink-soft: #6b5c74;

  --cream: #FBF6EF;
  --cream-2: #F7EFE3;
  --white: #FFFDFB;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --shadow-soft: 0 20px 45px -20px rgba(75, 52, 87, 0.28);
  --shadow-card: 0 14px 34px -18px rgba(75, 52, 87, 0.32);

  --container: 1180px;
  --ease: cubic-bezier(.22,.68,0,1.02);
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; text-decoration: none; }

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--purple-ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2{ font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3{ font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 600; }

p{ margin: 0 0 1em; color: var(--ink-soft); }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  z-index: 999;
}
.skip-link:focus{ left: 0; }

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

.eyebrow{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin: 0 0 0.9em;
}

.section-head{
  max-width: 660px;
  margin: 0 0 3rem;
  position: relative;
  z-index: 1;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-sub{ font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  text-align: center;
}
.btn-primary{
  background: var(--purple-deep);
  color: #fff;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 24px 40px -16px rgba(75,52,87,0.4); }

.btn-ghost{
  background: transparent;
  color: var(--purple-ink);
  border-color: rgba(75,52,87,0.28);
  white-space: nowrap;
}
.btn-ghost:hover{ border-color: var(--purple-deep); background: rgba(198,130,217,0.1); }

.btn-small{ padding: 10px 20px; font-size: 0.88rem; }

/* Consulta card CTAs — one brand color per card, underline-style hover (no bg flip) */
.btn-card{
  width: 100%;
  background: var(--btn-card-bg, var(--yellow));
  color: var(--purple-ink);
  border-color: transparent;
  box-shadow: var(--shadow-card);
  line-height: 1.35;
  padding: 14px 22px;
  position: relative;
}
.btn-card:hover{ transform: scale(1.035); box-shadow: var(--shadow-soft); font-weight: 700; }

.btn-card-yellow{ --btn-card-bg: var(--yellow); }
.btn-card-mint{ --btn-card-bg: var(--mint); }
.btn-card-peach{ --btn-card-bg: var(--peach); }
.btn-card-purple{ --btn-card-bg: var(--purple); }
.btn-card-cream{ --btn-card-bg: var(--cream-2); border-color: rgba(75,52,87,.15); }

/* ============ DECORATIVE FLOATING ELEMENTS ============ */
@keyframes floaty{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(var(--float-y, -18px)) rotate(var(--rot2, 4deg)); }
}
.deco{
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: floaty var(--float-dur, 7s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
@media (prefers-reduced-motion: reduce){
  .deco{ animation: none; }
}

/* ============ HEADER ============ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(75,52,87,0.08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-logo{ height: 44px; width: auto; }

.main-nav{
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav > ul{
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li{ position: relative; }
.main-nav > ul > li > a{
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--purple-ink);
  padding: 8px 2px;
  position: relative;
}
.main-nav > ul > li > a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--purple-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav > ul > li > a:hover::after{ transform: scaleX(1); }

.nav-cta{ margin-left: 4px; }

.menu-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span{
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--purple-ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero{
  position: relative;
  background: var(--purple);
  overflow: hidden;
}
.hero-media{
  position: relative;
  width: 100%;
}
.hero-img{ width: 100%; height: auto; }
.hero-img-mobile{ display: none; }

.hero-float-wrap{
  position: absolute;
  will-change: transform;
}
.hero-float-dots{ width: 90px; top: 12%; left: 6%; }
.hero-float-wave{ width: 150px; bottom: 8%; left: 3%; }
.hero-float-wrap .deco{ position: static; width: 100%; opacity: .85; }

.hero-content{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 480px;
  padding: 32px 24px 32px 40px;
  z-index: 2;
}
.hero-content .eyebrow{ color: var(--purple-ink); }
.hero-content h1{ color: var(--purple-ink); max-width: 11ch; }
.hero-sub{
  font-size: 1.12rem;
  color: var(--purple-ink);
  opacity: .82;
  max-width: 42ch;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: .6em;
}
.hero .btn-ghost{ border-color: rgba(75,52,87,0.35); }

/* ============ SOBRE ============ */
.sobre{
  background: var(--peach);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.deco-sobre-2{ width: 70px; bottom: 10%; right: 4%; opacity: .8; }
.deco-sobre-3{ width: 120px; top: 4%; right: 12%; opacity: .5; }

.sobre-grid{
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.sobre-media{
  position: relative;
}
.sobre-photo{
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.deco-sobre-1{
  position: absolute;
  width: 92px;
  top: -30px;
  left: -30px;
  opacity: .95;
  z-index: 2;
}
.sobre-blob{
  position: absolute;
  width: 110px;
  bottom: -34px;
  right: -30px;
  opacity: .95;
  z-index: 2;
  filter: hue-rotate(-18deg) saturate(1.3);
}
.sobre-text p{
  font-size: 1.06rem;
  text-align: justify;
  text-align-last: left;
}

/* Rotating "seal" badge — center sits on the photo's left edge, overlapping the layout */
.spin-badge{
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 138px;
  height: 138px;
  transform: translate(50%, -50%);
  z-index: 3;
}
.spin-badge-ring{
  display: block;
  width: 100%;
  height: 100%;
  animation: spin-badge-rotate 34s linear infinite;
}
.spin-badge-ring text{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  fill: var(--purple-ink);
}
@keyframes spin-badge-rotate{
  from{ transform: rotate(360deg); }
  to{ transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce){
  .spin-badge-ring{ animation: none; }
}

/* ============ CONSULTAS ============ */
.consultas{
  padding: 120px 0 100px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.consultas-inner{ position: relative; z-index: 2; }

.deco-consultas-2{ width: 90px; top: 4%; left: 5%; opacity: .75; }
.deco-consultas-2.deco{ animation-name: floaty-tilt; }
.deco-consultas-3{ width: 200px; bottom: 4%; right: 4%; opacity: .55; }
.deco-consultas-4{ width: 130px; bottom: 22%; right: 15%; opacity: .6; }

@keyframes floaty-tilt{
  0%, 100%{ transform: rotate(-16deg) translateY(0) rotate(0deg); }
  50%{ transform: rotate(-16deg) translateY(var(--float-y, -18px)) rotate(var(--rot2, 4deg)); }
}

@media (max-width: 1080px){
  .deco-consultas-3, .deco-consultas-4{ display: none; }
}

/* Mouse-reactive glow layer — background-only, sits behind all content.
   All layers share one color at any instant (set inline by JS from the
   brand palette only); the color drifts slowly from one brand tone to the
   next over time. Reused by both .consultas and .faq. */
.mouse-glow{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.glow-core, .glow-trail{
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-9999px, -9999px);
  opacity: 0;
  will-change: transform, opacity;
}
.glow-core{
  width: 280px; height: 250px;
  margin: -125px 0 0 -140px;
  border-radius: 58% 42% 53% 47% / 48% 58% 42% 52%;
  background: radial-gradient(circle, rgba(198,130,217,0.42), rgba(198,130,217,0.16) 48%, transparent 74%);
  filter: blur(30px);
  transition: transform .18s linear, opacity .6s ease, background 1.8s ease;
}
.glow-trail-1{
  width: 320px; height: 140px;
  margin: -70px 0 0 -160px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(198,130,217,0.26), transparent 74%);
  filter: blur(34px);
  transition: transform .5s ease-out, opacity .7s ease, background 1.8s ease;
}
.glow-trail-2{
  width: 360px; height: 100px;
  margin: -50px 0 0 -180px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(198,130,217,0.16), transparent 74%);
  filter: blur(38px);
  transition: transform .85s ease-out, opacity .8s ease, background 1.8s ease;
}
.mouse-glow.is-active .glow-core,
.mouse-glow.is-active .glow-trail{ opacity: 1; }

.consulta-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.consulta-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
}
.consulta-img{
  aspect-ratio: 4/3;
  overflow: hidden;
}
.consulta-img img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.consulta-card:hover .consulta-img img{ transform: scale(1.06); }
.consulta-body{
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.consulta-body p{ font-size: 0.95rem; flex: 1; }

/* ============ COMO FUNCIONA (scrollytelling) ============ */
.como-funciona{
  padding: 100px 0 0;
  background: var(--mint);
  position: relative;
}
.deco-como-1{ width: 160px; top: 6%; right: 5%; opacity: .55; }
.deco-como-2{ width: 130px; bottom: 8%; left: 3%; opacity: .7; }

.como-funciona .section-head{ margin-left: auto; margin-right: auto; text-align: center; }
.steps-hint{ opacity: .75; font-style: italic; margin-bottom: 0; }

/* Hand-drawn arrow connecting the hint text to the first step */
.scribble-arrow{
  display: flex;
  justify-content: center;
  margin: 6px 0 -6px;
  position: relative;
  z-index: 1;
}
.scribble-svg{ width: 84px; height: 78px; }
.scribble-path, .scribble-head{
  stroke: var(--purple-deep);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.scribble-path{
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.1s var(--ease);
}
.scribble-head{
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset .4s ease .9s;
}
.scribble-arrow.in-view .scribble-path,
.scribble-arrow.in-view .scribble-head{ stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce){
  .scribble-path, .scribble-head{ stroke-dashoffset: 0; transition: none; }
}

.steps-scroller{
  position: relative;
  height: 340vh;
}
.steps-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: transparent;
  transition: background-color .9s ease;
}

.steps-inner{ width: 100%; max-width: none; position: relative; z-index: 1; padding: 0 5vw; }

.steps-panels{
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 320px;
}
.steps-panel{
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.steps-panel.is-active{ opacity: 1; pointer-events: auto; }

.steps-panel-inner{
  display: flex;
  align-items: center;
  gap: 5vw;
  width: 100%;
}
.steps-panel .step-num{
  display: block;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--purple-deep);
  line-height: .85;
  transform: scale(1.55);
  transform-origin: left center;
  opacity: .8;
  transition: transform 1s var(--ease), opacity .8s ease;
}
.steps-panel.is-active .step-num{ transform: scale(1); opacity: 1; }

.steps-panel-copy{ flex: 1 1 auto; min-width: 0; }
.steps-panel-copy h3{
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease .18s, transform .6s var(--ease) .18s;
}
.steps-panel-copy p{
  font-size: 1.18rem;
  max-width: 52ch;
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease .32s, transform .6s var(--ease) .32s;
}
.steps-panel.is-active .steps-panel-copy h3,
.steps-panel.is-active .steps-panel-copy p{ opacity: 1; transform: translateY(0); }

/* ============ TIMELINE / FREQUÊNCIA (own section) ============ */
.timeline-section{
  padding: 100px 0 120px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.deco-timeline-1{ width: 110px; top: 6%; left: 3%; opacity: .5; }
.deco-timeline-2{ width: 130px; bottom: 6%; right: 4%; opacity: .5; }

.timeline{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
}
.timeline-track{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.timeline-track::before{
  content: "";
  position: absolute;
  top: 7px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: repeating-linear-gradient(to right, rgba(138,87,174,.5) 0 8px, transparent 8px 16px);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 1;
  transition: transform 1.2s var(--ease), opacity .9s ease;
}
.timeline-track.in-view::before{ transform: scaleX(1); }
.timeline-track.settled::before{ opacity: .4; }

.timeline-item{
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.timeline-dot{
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--purple-deep);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--purple-deep);
  margin-bottom: 10px;
  transition: background .35s ease, box-shadow .35s ease, transform .35s var(--ease);
}
.timeline-item strong{
  font-family: var(--font-display);
  color: var(--purple-ink);
  font-size: 1.05rem;
  display: inline-block;
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.timeline-item span{ font-size: 0.86rem; color: var(--ink-soft); }

.timeline-item:hover strong{ transform: scale(1.14); }
.timeline-item:hover .timeline-dot{ transform: scale(1.2); }
.timeline-item:nth-child(1):hover .timeline-dot{ background: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); }
.timeline-item:nth-child(2):hover .timeline-dot{ background: var(--mint); box-shadow: 0 0 0 2px var(--mint); }
.timeline-item:nth-child(3):hover .timeline-dot{ background: var(--peach); box-shadow: 0 0 0 2px var(--peach); }
.timeline-item:nth-child(4):hover .timeline-dot{ background: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.timeline-item:nth-child(5):hover .timeline-dot{ background: var(--purple-deep); box-shadow: 0 0 0 2px var(--purple-deep); }

/* ============ DEPOIMENTOS (marquee) ============ */
.depoimentos{ padding: 110px 0 120px; background: var(--yellow); overflow: hidden; }
.depoimentos .section-head{ margin-left: auto; margin-right: auto; text-align: center; }

.depoimentos-marquee{
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.depoimentos-track{
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 10px 12px 30px;
  animation: marquee 46s linear infinite;
}
.depoimentos-marquee:hover .depoimentos-track{ animation-play-state: paused; }

@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .depoimentos-track{ animation: none; }
  .depoimentos-marquee{ overflow-x: auto; }
}

.depoimento-card{
  flex: 0 0 320px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.depoimento-card:nth-child(even){ transform: translateY(18px); }
.stars{ color: var(--purple-deep); letter-spacing: 2px; font-size: 1rem; }
.depoimento-card p{ font-size: 0.95rem; color: var(--ink); flex: 1; }
.autor{ font-family: var(--font-display); font-weight: 600; color: var(--purple-ink); }

/* ============ FAQ ============ */
.faq{ padding: 120px 0; background: var(--cream); position: relative; isolation: isolate; }
.faq-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.faq-intro{ position: sticky; top: 120px; align-self: start; }

.faq-item{
  border-bottom: 1px solid rgba(75,52,87,0.14);
}
.faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--purple-ink);
  cursor: pointer;
}
.faq-icon{
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-icon::before, .faq-icon::after{
  content: "";
  position: absolute;
  background: var(--purple-deep);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-icon::before{ width: 14px; height: 2px; }
.faq-icon::after{ width: 2px; height: 14px; transition: transform .3s var(--ease); }
.faq-question[aria-expanded="true"] .faq-icon::after{ transform: translate(-50%,-50%) rotate(90deg) scale(0); }

.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-answer p{ padding: 0 4px 22px; margin: 0; font-size: 0.98rem; }

/* ============ CONTEUDOS ============ */
.conteudos{ padding: 120px 0; background: var(--white); position: relative; overflow: hidden; }
.deco-conteudos-1{ width: 120px; top: 6%; right: 4%; opacity: .45; }
.deco-conteudos-2{ width: 80px; bottom: 8%; left: 3%; opacity: .6; filter: brightness(.6) saturate(1.3); }

.conteudo-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.conteudo-card{
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.conteudo-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card); }
.conteudo-tag{
  align-self: flex-start;
  background: var(--purple);
  color: var(--purple-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.conteudo-card h3{ margin: 0.2em 0 0; }
.conteudo-card p{ font-size: 0.93rem; flex: 1; }
.conteudo-card a{
  font-weight: 600;
  color: var(--purple-deep);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.conteudo-card a::after{ content: "→"; transition: transform .3s var(--ease); }
.conteudo-card a:hover::after{ transform: translateX(4px); }

.conteudos-cta{ text-align: center; margin-top: 48px; position: relative; z-index: 1; }

/* ============ CTA FINAL ============ */
.cta-final{ padding: 120px 0 130px; background: var(--lilac-hero); position: relative; overflow: hidden; }
.deco-cta-2{ width: 70px; bottom: 30%; left: 10%; opacity: .55; }
.deco-cta-3{ width: 140px; bottom: 6%; right: 6%; opacity: .45; }
.deco-cta-4{ width: 60px; top: 10%; right: 30%; opacity: .6; }

.cta-final-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-final-text .eyebrow{ color: var(--purple-ink); }
.cta-final-text h2{ max-width: 12ch; }
.cta-final-text p{ color: var(--purple-ink); opacity: .85; font-size: 1.08rem; max-width: 46ch; }

.cta-final-media{ position: relative; max-width: 420px; margin-left: auto; }
.cta-final-photo{
  clip-path: url(#blob-frame);
  aspect-ratio: 4/4.7;
  object-fit: cover;
  width: 100%;
  filter: drop-shadow(0 22px 30px rgba(75,52,87,0.28));
}
.cta-heart{
  position: absolute;
  width: 70px;
  top: -26px;
  right: 4px;
}

/* ============ FOOTER ============ */
.site-footer{ background: var(--purple-ink); color: #EFE6F3; padding: 80px 0 30px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-logo{ height: 40px; margin-bottom: 16px; opacity: .95; }
.footer-brand p{ color: rgba(239,230,243,0.72); font-size: 0.92rem; max-width: 30ch; }
.footer-col h4{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 16px;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p{ color: rgba(239,230,243,0.82); font-size: 0.92rem; }
.footer-col a:hover{ color: var(--mint); }
.footer-bottom{ padding-top: 26px; text-align: center; }
.footer-bottom p{ color: rgba(239,230,243,0.55); font-size: 0.82rem; margin: 0; }
.footer-bottom a{ color: rgba(239,230,243,0.75); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover{ color: var(--mint); }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp-green);
  color: #fff;
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: 0 16px 32px -12px rgba(20,110,60,0.5);
  transform: translateY(30px) scale(.9);
  opacity: 0;
  animation: wa-enter .6s var(--ease) 1.1s forwards;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease;
}
.whatsapp-float:hover{ background: var(--whatsapp-green-dark); transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(20,110,60,0.55); }
.wa-icon{ display: flex; }
.wa-label{ font-weight: 600; font-size: 0.92rem; white-space: nowrap; }

@keyframes wa-enter{
  to{ transform: translateY(0) scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
  .whatsapp-float{ animation: none; opacity: 1; transform: none; }
}

/* ============ SCROLL-REVEAL (generic) ============ */
[data-reveal],
.pre-reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in-view,
.pre-reveal.in-view{ opacity: 1; transform: translateY(0); }

.consulta-card.pre-reveal:nth-child(2n){ transition-delay: .08s; }
.consulta-card.pre-reveal:nth-child(3n){ transition-delay: .16s; }
.conteudo-card.pre-reveal:nth-child(2n){ transition-delay: .08s; }
.conteudo-card.pre-reveal:nth-child(3n){ transition-delay: .16s; }

@media (prefers-reduced-motion: reduce){
  [data-reveal], .pre-reveal{ opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px){
  .consulta-cards{ grid-template-columns: repeat(2, 1fr); }
  .timeline-track{ grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .timeline-track::before{ display: none; }
  .conteudo-cards{ grid-template-columns: repeat(2, 1fr); }
  .faq-grid{ grid-template-columns: 1fr; }
  .faq-intro{ position: static; }
  .hero-content{ max-width: 420px; }
}

@media (max-width: 900px){
  /* Scrollytelling steps fall back to a simple stacked list on smaller screens */
  .steps-scroller{ height: auto; }
  .steps-sticky{ position: static; height: auto; overflow: visible; padding: 30px 0; background: none !important; }
  .steps-panels{ min-height: 0; }
  .steps-panel{
    position: static;
    display: block;
    opacity: 1;
    pointer-events: auto;
    margin-bottom: 2.6rem;
  }
  .steps-panel-inner{ flex-direction: column; align-items: flex-start; gap: 6px; }
  .steps-panel .step-num{ font-size: 2.4rem; transform: none; opacity: 1; }
  .steps-panel-copy h3{ font-size: 1.5rem; opacity: 1; transform: none; }
  .steps-panel-copy p{ font-size: 1rem; opacity: 1; transform: none; }
}

@media (max-width: 860px){
  .main-nav{
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 30px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 50px -20px rgba(75,52,87,0.3);
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav > ul{
    flex-direction: column;
    gap: 4px;
  }
  .main-nav > ul > li > a{
    display: block;
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(75,52,87,0.08);
  }
  .nav-cta{ margin: 26px 4px 0; text-align: center; }
  .menu-toggle{ display: flex; }

  .sobre-grid{ grid-template-columns: 1fr; gap: 40px; }
  .sobre-photo{ aspect-ratio: 4/4.6; }
  .sobre-media{ order: 2; }
  .sobre-text{ order: 1; }
  .spin-badge{ width: 110px; height: 110px; top: auto; bottom: 0; left: 50%; transform: translate(-50%, 50%); }
  .spin-badge-ring text{ font-size: 16px; letter-spacing: 1.2px; }

  .cta-final-grid{ grid-template-columns: 1fr; }
  .cta-final-media{ order: -1; max-width: 340px; margin: 0 auto; }

  .footer-grid{ grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 640px){
  .hero-img-desktop{ display: none; }
  .hero-img-mobile{ display: block; }
  .hero-content{
    max-width: none;
    justify-content: flex-start;
    padding: 26px 24px 0 26px;
  }
  .hero-content h1{ max-width: 94%; font-size: 1.78rem; margin-bottom: .3em; }
  .hero-content .eyebrow{ margin-bottom: .4em; }
  .hero-sub{ font-size: .93rem; max-width: none; margin-bottom: .55em; }
  .hero-actions{ gap: 10px; margin-top: .1em; }
  .hero-actions .btn{ padding: 11px 20px; font-size: .9rem; }
  .hero-float-dots{ top: 4%; left: auto; right: 8%; width: 60px; }
  .hero-float-wave{ display: none; }

  .sobre, .consultas, .como-funciona, .timeline-section, .depoimentos, .faq, .conteudos, .cta-final{
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .deco{ transform: scale(.7); opacity: .5 !important; }

  .consulta-cards{ grid-template-columns: 1fr; }
  .timeline{ padding: 30px 22px; }
  .timeline-track{ grid-template-columns: 1fr; gap: 26px; }
  .timeline-item{ flex-direction: row; align-items: flex-start; gap: 16px; }
  .timeline-dot{ margin-bottom: 0; margin-top: 3px; flex-shrink: 0; }
  .timeline-track::before{
    left: 11px;
    right: auto;
    top: 4px;
    bottom: 4px;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(to bottom, rgba(138,87,174,.5) 0 8px, transparent 8px 16px);
    transform: scaleY(0);
    transform-origin: top center;
  }
  .timeline-track.in-view::before{ transform: scaleY(1); }

  .conteudo-cards{ grid-template-columns: 1fr; }

  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }

  .whatsapp-float .wa-label{ display: none; }
  .whatsapp-float{ padding: 15px; }

  .depoimento-card:nth-child(even){ transform: none; }
  .depoimento-card{ flex-basis: 82vw; }

  .cta-final-media{ max-width: 280px; }
}
