/* ==========================================================================
   Site da Dra. Priscilla Marcondelli (página inicial e LPs)
   Identidade da cliente: oliva + papel + caramelo, Fraunces + Montserrat.
   Conceito: "o mapa e a rota" (curvas de nível, pinos e rota tracejada).
   Hero: dupla hélice de DNA animada no fundo (aprovada em 2026-09-11).
   ========================================================================== */

:root {
  --paper: #f5f2ea;
  --paper-2: #ede8dc;
  --card: #fbf9f4;
  --ink: #2c3117;
  --ink-soft: #4b5036;
  --muted: #676b55;

  --olive-900: #2f3616;
  --olive-800: #3a431c;
  --olive-700: #4f5a26;
  --olive-500: #6f7c3a;
  --sage-200: #d3d8bd;
  --sage-100: #e5e8d6;

  --caramel: #9a6541;
  --caramel-600: #875534;
  --caramel-light: #e2b48f;
  --caramel-soft: #d9a67f;

  --line: rgba(47, 54, 22, 0.13);
  --line-strong: rgba(47, 54, 22, 0.24);
  --line-light: rgba(245, 242, 234, 0.18);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 22px 44px -26px rgba(47, 54, 22, 0.42);
  --shadow-cta: 0 14px 28px -14px rgba(111, 68, 41, 0.75);

  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --topbar-h: 68px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.25vw + 0.95rem, 1.08rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h3 {
  text-wrap: pretty;
}

p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 600;
}

::selection {
  background: var(--sage-200);
  color: var(--olive-900);
}

:focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--olive-900);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn--primary {
  background: var(--caramel);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: var(--caramel-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(111, 68, 41, 0.8);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 1.05em 1.75em;
  font-size: 1.02rem;
}

.btn--sm {
  padding: 0.62em 1.1em;
  font-size: 0.86rem;
}

/* no celular o CTA principal ocupa a largura toda: alvo de toque maior e texto sem quebra */
@media (max-width: 559px) {
  .btn--lg {
    width: 100%;
    padding-inline: 1.2em;
  }
}

/* ---------- Topo ---------- */

.topbar {
  position: relative;
  z-index: 20;
  background: rgba(245, 242, 234, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
}

@supports (backdrop-filter: blur(1px)) {
  .topbar {
    background: rgba(245, 242, 234, 0.72);
    backdrop-filter: saturate(140%) blur(14px);
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar-h);
}

.wordmark {
  display: block;
  flex: none;
}

/* a logo original é branca; no topo claro entra a cópia em oliva */
.wordmark img {
  width: auto;
  height: 46px;
}

@media (min-width: 860px) {
  :root {
    --topbar-h: 80px;
  }

  .wordmark img {
    height: 62px;
  }
}

/* ---------- Primeira dobra ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(211, 216, 189, 0.55), rgba(211, 216, 189, 0) 70%),
    var(--paper);
}

/* Dupla hélice de fundo: passa na diagonal por trás da Dra. e anda no próprio eixo,
   o que dá a ilusão de girar (aprovada no lugar das curvas de nível em 2026-09-11) */
.hero__dna {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  /* celular: só na metade de baixo, em volta da foto, com o texto limpo */
  -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000 66%);
  mask-image: linear-gradient(180deg, transparent 40%, #000 66%);
}

.hero__dna-axis {
  --dna-w: 280px;      /* largura do bloco (a hélice tem ~74% disso de diâmetro) */
  --dna-h: 560px;      /* uma volta completa; manter a proporção 1:2 do SVG */
  --dna-x: 60%;
  --dna-y: 80%;
  --dna-rot: 24deg;
  position: absolute;
  top: var(--dna-y);
  left: var(--dna-x);
  width: var(--dna-w);
  height: 2600px;
  transform: translate(-50%, -50%) rotate(var(--dna-rot));
}

.hero__dna-strand {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: calc(100% + var(--dna-h));
  background: url("../images/dna-helice.svg") 0 0 / var(--dna-w) var(--dna-h) repeat-y;
  animation: dna-giro 42s linear infinite;
  will-change: transform;
}

@keyframes dna-giro {
  to {
    transform: translate3d(0, calc(var(--dna-h) * -1), 0);
  }
}

@media (min-width: 860px) {
  .hero__dna {
    -webkit-mask-image: linear-gradient(100deg, transparent 32%, #000 60%);
    mask-image: linear-gradient(100deg, transparent 32%, #000 60%);
  }

  .hero__dna-axis {
    --dna-w: 400px;
    --dna-h: 800px;
    --dna-x: 73%;
    --dna-y: 52%;
    --dna-rot: 34deg;
  }
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 36px;
}

.hero__text {
  max-width: 640px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-700);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--caramel);
}

.hero__title {
  margin-top: 18px;
  font-size: clamp(2.45rem, 4.4vw + 1.05rem, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--olive-900);
}

.hero__title em {
  display: block;
  font-style: italic;
  color: var(--olive-500);
}

.hero__lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(1.02rem, 0.4vw + 0.95rem, 1.16rem);
  color: var(--ink-soft);
}

.hero__lead strong {
  color: var(--ink);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
}

.hero__note {
  font-size: 0.86rem;
  color: var(--muted);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 28px;
}

.hero__proof li {
  padding: 0.45em 0.95em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(251, 249, 244, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--olive-800);
}

.hero__proof .hero__proof-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(154, 101, 65, 0.35);
  background: rgba(226, 180, 143, 0.16);
}

.hero__proof-rating .icon {
  width: 1em;
  height: 1em;
  color: var(--caramel);
}

.hero__media {
  position: relative;
  justify-self: center;
  width: min(74vw, 330px);
  height: min(104vw, 470px);
}

/* brilho suave atrás da Dra.: separa a silhueta da hélice e deixa o rosto limpo */
.hero__halo {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 104%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 242, 234, 0.96) 35%, rgba(229, 232, 214, 0.7) 68%, rgba(229, 232, 214, 0));
}

.hero__photo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  filter: drop-shadow(0 26px 34px rgba(47, 54, 22, 0.2));
}

@media (min-width: 860px) {
  .topbar {
    position: sticky;
    top: 0;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: 40px;
  }

  .hero__text {
    align-self: center;
    padding-bottom: 56px;
  }

  .hero__media {
    width: min(100%, 440px);
    height: 620px;
  }
}

/* ---------- Fatos rápidos ---------- */

.facts {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--card);
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fact {
  padding: 22px 16px 22px 0;
}

.fact:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.fact:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.fact__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.3vw + 1rem, 1.85rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--olive-800);
}

.fact__label {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (min-width: 860px) {
  .facts__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fact,
  .fact:nth-child(even) {
    padding: 30px 24px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .fact:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- Seções: base ---------- */

.section {
  position: relative;
  padding-block: var(--section-y);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-700);
}

.kicker__num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--caramel);
}

.kicker__num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.kicker--light {
  color: var(--sage-200);
}

.kicker--light .kicker__num {
  color: var(--caramel-soft);
}

.section-title {
  max-width: 30ch;
  font-size: clamp(1.8rem, 2.1vw + 1.05rem, 2.75rem);
  line-height: 1.1;
  color: var(--olive-900);
}

.section-lead {
  max-width: 40em;
  margin-top: 18px;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--center {
  text-align: center;
}

.section-head--center .kicker {
  justify-content: center;
}

.section-head--center .section-title,
.section-head--center .section-lead {
  margin-inline: auto;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(44px, 5vw, 64px);
}

/* ---------- 01 De onde você vem ---------- */

.problem__grid {
  display: grid;
  gap: 28px;
}

.problem__scene {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 0.7vw + 1.02rem, 1.5rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--olive-800);
}

.problem__question {
  margin-top: 20px;
  font-size: 1.06rem;
}

.problem__question em {
  font-family: var(--font-display);
  font-size: 1.12em;
  font-style: italic;
  color: var(--caramel);
}

.problem__limits {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.problem__limits li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.problem__limits li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--caramel);
  border-radius: 50%;
}

.problem__limits strong {
  color: var(--ink);
}

.motto {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(36px, 5.5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--olive-800) url("../images/topo-escuro.svg") center / cover no-repeat;
  color: var(--paper);
}

.motto::before {
  content: "\201C";
  position: absolute;
  top: -0.06em;
  right: 0.14em;
  font-family: var(--font-display);
  font-size: clamp(9rem, 16vw, 15rem);
  line-height: 1;
  color: rgba(226, 180, 143, 0.16);
  pointer-events: none;
}

.motto p {
  position: relative;
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw + 0.85rem, 2.6rem);
  line-height: 1.2;
}

.motto em {
  font-style: italic;
  color: var(--caramel-light);
}

.motto figcaption {
  position: relative;
  margin-top: 24px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-200);
}

@media (min-width: 860px) {
  .problem__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 72px;
    align-items: start;
  }
}

/* ---------- 02 O mapa ---------- */

.map {
  background: var(--paper-2);
}

.exams {
  display: grid;
  gap: 18px;
}

.exam {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.exam:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.exam__icon {
  width: 40px;
  height: 40px;
  color: var(--olive-500);
}

.exam__title {
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--olive-900);
}

.exam__title span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
}

.exam p {
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.exam strong {
  color: var(--ink);
}

.exam--featured {
  border-color: transparent;
  background: var(--olive-800) url("../images/topo-escuro.svg") right center / cover no-repeat;
  color: var(--paper);
}

.exam--featured .exam__icon {
  width: 48px;
  height: 48px;
  color: var(--caramel-light);
}

.exam--featured .exam__title {
  font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.05rem);
  color: var(--paper);
}

.exam--featured .exam__title span {
  color: var(--caramel-soft);
}

.exam--featured p {
  max-width: 58ch;
  font-size: 1.02rem;
  color: var(--sage-200);
}

.exam--featured .exam__highlight {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem);
  font-style: italic;
  color: #f3e8da;
}

.map__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 780px;
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--sage-100);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.map__note .icon {
  margin-top: 0.2em;
  color: var(--olive-500);
}

.map__note strong {
  color: var(--ink);
}

@media (min-width: 720px) {
  .exams {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exam--featured {
    grid-column: 1 / -1;
    padding: clamp(32px, 4vw, 52px);
  }
}

@media (min-width: 1024px) {
  .exams {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* destaque em duas colunas: nome e frase-chave à esquerda, explicação à direita */
  .exam--featured {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-content: center;
    column-gap: 56px;
    row-gap: 14px;
  }

  .exam--featured > * {
    grid-column: 1;
  }

  .exam--featured > p:not(.exam__highlight) {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    padding-left: 40px;
    border-left: 1px solid var(--line-light);
    font-size: 1.08rem;
  }
}

/* ---------- 03 A rota ---------- */

.route {
  background: var(--olive-900) url("../images/topo-escuro.svg") center / cover no-repeat;
  color: var(--paper);
}

.route .section-title {
  color: var(--paper);
}

.steps {
  position: relative;
  display: grid;
  gap: 40px;
  max-width: 1040px;
  margin-inline: auto;
}

.steps::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  border-left: 2px dashed rgba(226, 180, 143, 0.5);
}

.step {
  position: relative;
  padding-left: 76px;
}

.step__pin {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--caramel);
  box-shadow: 0 0 0 7px rgba(154, 101, 65, 0.24);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
}

.step__title {
  margin-bottom: 10px;
  padding-top: 8px;
  font-size: 1.45rem;
  color: var(--paper);
}

.step p {
  color: var(--sage-200);
}

.step strong {
  color: #f3e8da;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
  }

  .steps::before {
    top: 24px;
    right: calc(100% / 6);
    bottom: auto;
    left: calc(100% / 6);
    border-top: 2px dashed rgba(226, 180, 143, 0.5);
    border-left: 0;
  }

  .step {
    padding-top: 80px;
    padding-left: 0;
    text-align: center;
  }

  .step__pin {
    left: 50%;
    transform: translateX(-50%);
  }

  .step__title {
    padding-top: 0;
  }
}

/* ---------- 04 Onde eu atuo ---------- */

.services__list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 18px;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.service__num {
  grid-row: span 2;
  padding-top: 0.22em;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--caramel);
}

.service__title {
  font-size: 1.34rem;
  line-height: 1.2;
  color: var(--olive-900);
}

.service--lead .service__title {
  color: var(--caramel-600);
}

.service p {
  margin-top: 8px;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
  }
}

@media (min-width: 1024px) {
  .services__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 52px;
  }

  .service {
    padding: 34px 0 38px;
  }
}

/* ---------- 05 Quem traça a rota ---------- */

.about {
  background: var(--paper-2);
}

.about__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.about__media {
  position: relative;
  max-width: 480px;
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about__badge {
  position: absolute;
  right: 16px;
  bottom: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem;
  line-height: 1.3;
  color: var(--muted);
}

.about__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.05;
  color: var(--olive-800);
}

.about__fact {
  margin-top: 22px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.about__fact strong {
  color: var(--caramel-600);
}

.credentials {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.credentials li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
}

.credentials li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--caramel);
  border-radius: 50%;
}

.about__quote {
  margin-top: 30px;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--caramel);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 0.7vw + 1rem, 1.45rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--olive-800);
}

@media (min-width: 860px) {
  .about__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 76px;
  }

  .about__badge {
    right: -22px;
    bottom: 40px;
  }
}

/* ---------- 06 Quem já está na rota ---------- */

.testimonials {
  display: grid;
  grid-auto-columns: min(84vw, 360px);
  grid-auto-flow: column;
  align-items: start;  /* no carrossel cada card fica com a própria altura */
  gap: 16px;
  overflow-x: auto;
  padding: 4px var(--gutter) 18px;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  scroll-snap-align: start;
}

.testimonial blockquote {
  flex: 1;
}

.testimonial p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.testimonial p::before {
  content: "\201C";
}

.testimonial p::after {
  content: "\201D";
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--olive-800);
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--olive-800);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--paper);
}

/* avaliações do Google: estrelas no lugar do rótulo de tema */
.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--caramel);
}

.stars .icon {
  width: 17px;
  height: 17px;
}

.testimonial__who {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.testimonial__who small {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}

/* primeiro card da seção: a nota do consultório no Google */
.reviews-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--olive-800) url("../images/topo-escuro.svg") center / cover no-repeat;
  color: var(--paper);
  scroll-snap-align: start;
}

.reviews-summary__score {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 3vw + 2.4rem, 4.4rem);
  line-height: 0.95;
}

.reviews-summary .stars {
  color: var(--caramel-light);
}

.reviews-summary .stars .icon {
  width: 24px;
  height: 24px;
}

.reviews-summary__label {
  max-width: 24ch;
  font-size: 0.95rem;
  color: var(--sage-200);
}

.reviews-summary__link {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration-color: rgba(245, 242, 234, 0.45);
  text-underline-offset: 4px;
}

.reviews-summary__link:hover {
  text-decoration-color: var(--caramel-light);
}

@media (min-width: 1024px) {
  .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    grid-auto-flow: row;
    align-items: stretch;
    gap: 20px;
    max-width: var(--container);
    margin-inline: auto;
    overflow: visible;
    padding-block: 4px 0;
  }
}

/* ---------- 07 Primeiro passo ---------- */

.first-step {
  background: var(--sage-100);
}

.first-step__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.first-step__media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--radius-lg);
}

.first-step__card {
  padding: clamp(28px, 4.5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 26px 0 32px;
}

.checklist li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--olive-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 5 8.5l4.4-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.checklist strong {
  color: var(--ink);
}

@media (min-width: 860px) {
  .first-step__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
  }

  .first-step__media img {
    max-height: none;
    aspect-ratio: 4 / 4.6;
  }
}

/* ---------- 08 Perguntas frequentes ---------- */

.faq__grid {
  display: grid;
  gap: 8px;
}

.faq__list {
  border-top: 1px solid var(--line-strong);
}

.qa {
  border-bottom: 1px solid var(--line-strong);
}

.qa summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.45vw + 1rem, 1.3rem);
  line-height: 1.3;
  color: var(--olive-900);
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background:
    linear-gradient(var(--caramel), var(--caramel)) center / 16px 2px no-repeat,
    linear-gradient(var(--caramel), var(--caramel)) center / 2px 16px no-repeat;
  transition: transform 0.25s ease;
}

.qa[open] summary::after {
  transform: rotate(45deg);
}

.qa summary:hover {
  color: var(--caramel-600);
}

.qa p {
  max-width: 62ch;
  padding-bottom: 24px;
  color: var(--ink-soft);
}

@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
  }

  .faq .section-head {
    position: sticky;
    top: calc(var(--topbar-h) + 40px);
  }
}

/* ---------- 09 Fechamento e contato ---------- */

.closing {
  background: var(--olive-900) url("../images/topo-escuro.svg") center / cover no-repeat;
  color: var(--paper);
}

.closing__grid {
  display: grid;
  gap: 48px;
}

.closing__title {
  font-size: clamp(2.2rem, 3vw + 1.1rem, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.closing__title em {
  display: block;
  font-style: italic;
  color: var(--caramel-light);
}

.closing__lead {
  max-width: 34em;
  margin: 20px 0 30px;
  font-size: 1.08rem;
  color: var(--sage-200);
}

.contact {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}

.contact__item dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel-soft);
}

.contact__item dd {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--paper);
}

.contact a {
  color: var(--paper);
  text-decoration-color: rgba(245, 242, 234, 0.4);
  text-underline-offset: 3px;
}

.contact a:hover {
  text-decoration-color: var(--caramel-light);
}

.map-frame {
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--olive-800);
  box-shadow: 0 34px 60px -32px rgba(0, 0, 0, 0.65);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) sepia(0.12);
}

.map-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--sage-200);
  text-underline-offset: 3px;
}

.map-link:hover {
  color: var(--caramel-light);
}

@media (min-width: 720px) {
  .contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

@media (min-width: 960px) {
  .closing__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 72px;
    align-items: center;
  }
}

/* ---------- Rodapé ---------- */

.footer {
  padding-block: 36px 100px;  /* espaço pro botão flutuante não cobrir a última linha */
  background: #262c12;
  font-size: 0.84rem;
  color: var(--sage-200);
}

.footer__inner {
  display: grid;
  gap: 10px;
}

.footer__logo {
  width: auto;
  height: 56px;
  margin-bottom: 10px;
}

.footer__id strong {
  font-weight: 600;
  color: var(--paper);
}

.footer__id span {
  white-space: nowrap;
}

.footer__legal {
  max-width: 72ch;
  opacity: 0.85;
}

.footer__copy {
  opacity: 0.6;
}

@media (min-width: 860px) {
  .footer {
    padding-bottom: 40px;
  }
}

/* ==========================================================================
   Peças da LP de emagrecimento (emagrecimento.html)
   ========================================================================== */

.section--alt {
  background: var(--paper-2);
}

/* hero com headline de duas frases (texto da Dra., 15/09) */
.hero__title--longo {
  font-size: clamp(2.2rem, 3.3vw + 1rem, 3.55rem);
  line-height: 1.05;
}

.hero__question {
  max-width: 30em;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.5vw + 1.02rem, 1.34rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--olive-800);
}

.hero__question + .hero__lead {
  margin-top: 12px;
}

.motto--onda p {
  max-width: 38ch;
  font-size: clamp(1.3rem, 1.4vw + 0.95rem, 2.05rem);
}

.problem__conclusion {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--caramel);
  font-weight: 500;
  color: var(--ink);
}

/* marcadores em pílula (bioimpedância, sangue, sinais do intestino) */
.markers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.markers li {
  padding: 0.4em 0.85em;
  border: 1px solid rgba(245, 242, 234, 0.24);
  border-radius: 999px;
  background: rgba(245, 242, 234, 0.07);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--paper);
}

.markers--claro li {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--olive-800);
}

/* card escuro no mesmo molde do .exam */
.exam--dark {
  border-color: transparent;
  background: var(--olive-800) url("../images/topo-escuro.svg") center / cover no-repeat;
  color: var(--paper);
}

.exam--dark .exam__icon {
  color: var(--caramel-light);
}

.exam--dark .exam__title {
  font-size: clamp(1.4rem, 0.9vw + 1.1rem, 1.8rem);
  color: var(--paper);
}

.exam--dark p {
  color: var(--sage-200);
}

.exam--dark strong {
  color: #f3e8da;
}

.exam--dark .exam__highlight {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  color: #f3e8da;
}

/* avaliação em toda consulta: bioimpedância + sangue */
.assess {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .assess {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

/* texto de um lado, card de destaque do outro (intestino, menopausa) */
.split {
  display: grid;
  gap: 36px;
  align-items: center;
}

.split__body {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  color: var(--ink-soft);
}

.split__body strong {
  color: var(--ink);
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
  }
}

.spot {
  display: grid;
  gap: 16px;
  padding: clamp(26px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.spot__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel);
}

.spot__badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--olive-800);
  color: var(--sage-200);
}

.spot__badge .icon {
  width: 32px;
  height: 32px;
  color: var(--caramel-light);
}

.spot__badge strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--paper);
}

.spot__note {
  font-size: 0.9rem;
  color: var(--muted);
}

.spot__note a {
  font-weight: 600;
  color: var(--caramel-600);
  text-underline-offset: 3px;
}

.spot--dark {
  border-color: transparent;
  background: var(--olive-800) url("../images/topo-escuro.svg") center / cover no-repeat;
  color: var(--paper);
}

.spot--dark .spot__label {
  color: var(--caramel-light);
}

.spot__list {
  display: grid;
  gap: 12px;
}

.spot__list li {
  position: relative;
  padding-left: 32px;
  color: var(--sage-200);
}

.spot__list li::before {
  content: "";
  position: absolute;
  top: 0.15em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--caramel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 5 8.5l4.4-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.spot__quote {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem);
  font-style: italic;
  line-height: 1.35;
  color: #f3e8da;
}

/* exame genético: apresentação à esquerda, como funciona à direita */
.gene {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--olive-800) url("../images/topo-escuro.svg") right center / cover no-repeat;
  color: var(--sage-200);
}

.gene .exam__icon {
  width: 48px;
  height: 48px;
  color: var(--caramel-light);
}

.gene__intro {
  display: grid;
  align-content: start;
  gap: 14px;
}

.gene__title {
  font-size: clamp(1.55rem, 1.2vw + 1.15rem, 2.1rem);
  line-height: 1.15;
  color: var(--paper);
}

.gene__title span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--caramel-soft);
}

.gene__hook {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.35rem);
  font-style: italic;
  line-height: 1.35;
  color: #f3e8da;
}

.gene__motto {
  padding-left: 16px;
  border-left: 2px solid var(--caramel-light);
  font-weight: 600;
  color: var(--paper);
}

.gene__how {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(47, 54, 22, 0.4);
}

.gene__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-light);
}

.gene__steps {
  display: grid;
  gap: 14px;
}

.gene__steps li {
  font-size: 0.95rem;
}

.gene__steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--paper);
}

.panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.panels li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(245, 242, 234, 0.08);
  font-size: 0.8rem;
  line-height: 1.35;
}

.panels strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--paper);
}

.gene__once {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  color: #f3e8da;
}

@media (min-width: 1024px) {
  .gene {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
  }
}

/* celular: tira a margem dupla (card dentro de card) pra sobrar largura pro texto */
@media (max-width: 599px) {
  .gene {
    padding: 26px 18px;
  }

  .gene__how {
    padding: 18px 14px;
  }
}

/* teste de intolerância: card largo, ícone ao lado do texto */
.exam--wide {
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  margin-top: 18px;
}

.exam--wide .exam__icon {
  flex-shrink: 0;
}

.exam__body {
  display: grid;
  gap: 10px;
}

@media (max-width: 599px) {
  .exam--wide {
    flex-direction: column;
  }
}

/* frase do "manual exclusivo" em destaque dentro do card (pedido da Dra., 21/09) */
.exam .exam__destaque {
  margin-top: 6px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--olive-800) url("../images/topo-escuro.svg") center / cover no-repeat;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 0.4vw + 1rem, 1.22rem);
  line-height: 1.4;
  color: var(--paper);
}

.exam .exam__destaque strong {
  font-style: italic;
  font-weight: 500;
  color: var(--caramel-light);
}

.exams__quote {
  max-width: 34ch;
  margin: 36px auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.9rem);
  font-style: italic;
  line-height: 1.3;
  text-align: center;
  color: var(--olive-800);
}

.exams__quote p::before,
.exams__quote p::after {
  color: var(--caramel);
}

.exams__quote p::before {
  content: "\201C";
}

.exams__quote p::after {
  content: "\201D";
}

/* sobre: bloco da nutrição funcional integrativa */
.about__feature {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.about__feature-title {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--olive-900);
}

.about__feature p:not(.about__feature-title) {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* versão verde, em destaque (pedido da Dra., 21/09, só na LP de emagrecimento) */
.about__feature--verde {
  border-color: transparent;
  background: var(--olive-800) url("../images/topo-escuro.svg") center / cover no-repeat;
}

.about__feature--verde .about__feature-title {
  color: var(--caramel-light);
}

.about__feature--verde p:not(.about__feature-title) {
  color: var(--sage-200);
}

/* linha "da sanfona à afinação" no bloco da virada */
.motto__onda {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 30px;
}

/* ---------- Opções: consulta avulsa e programas ---------- */

.plans {
  display: grid;
  gap: 18px;
  max-width: 1080px;
  margin-inline: auto;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.plan__tuning {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel);
}

/* uma bolinha por afinação (consulta com avaliação corporal) */
.plan__dots {
  display: inline-flex;
  gap: 4px;
}

.plan__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.plan__name {
  font-size: clamp(1.45rem, 1vw + 1.1rem, 1.75rem);
  line-height: 1.15;
  color: var(--olive-900);
}

.plan__for {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--olive-500);
}

.plan__list {
  gap: 11px;
  margin: 8px 0 18px;
}

.plan__list li {
  font-size: 0.95rem;
}

.plan .btn {
  width: 100%;
  margin-top: auto;
  padding: 1em 1.2em;
  font-size: 0.95rem;
}

.btn--ghost {
  border: 1.5px solid rgba(79, 90, 38, 0.45);
  background: transparent;
  color: var(--olive-800);
}

.btn--ghost:hover {
  background: var(--sage-100);
  transform: translateY(-2px);
}

.plan__badge {
  align-self: flex-start;
  padding: 0.42em 0.9em;
  border-radius: 999px;
  background: var(--caramel-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-900);
}

.plan--featured {
  border-color: transparent;
  background: var(--olive-800) url("../images/topo-escuro.svg") center / cover no-repeat;
  box-shadow: 0 30px 60px -30px rgba(31, 36, 14, 0.7);
  color: var(--paper);
}

.plan--featured .plan__name {
  color: var(--paper);
}

.plan--featured .plan__for {
  color: var(--sage-200);
}

.plan--featured .plan__tuning {
  color: var(--caramel-light);
}

.plan--featured .checklist li {
  color: var(--sage-200);
}

.plan--featured .checklist strong {
  color: #f3e8da;
}

.plan--featured .checklist li::before {
  background-color: var(--caramel);
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
  }

  /* o destaque fica um pouco mais alto que os vizinhos (margem, pra não brigar com a animação) */
  .plan--featured {
    margin-block: -14px;
  }
}

/* ---------- Botão flutuante de WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--olive-500);
  color: #fff;
  text-decoration: none;
  /* anel claro: some no fundo claro e destaca o botão nos blocos escuros */
  box-shadow: 0 0 0 3px rgba(245, 242, 234, 0.6), 0 16px 30px -12px rgba(31, 36, 14, 0.65);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.wa-float:hover {
  background: var(--olive-700);
  transform: translateY(-2px);
}

.wa-float .icon {
  width: 28px;
  height: 28px;
}

/* pulso lento pra chamar o olho sem piscar */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: wa-pulso 3s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulso {
  0% {
    box-shadow: 0 0 0 0 rgba(111, 124, 58, 0.5);
  }

  70%,
  100% {
    box-shadow: 0 0 0 18px rgba(111, 124, 58, 0);
  }
}

.wa-float__label {
  display: none;
}

/* desktop: o rótulo abre ao passar o mouse */
@media (hover: hover) and (min-width: 860px) {
  .wa-float {
    right: 28px;
    bottom: 28px;
    width: auto;
    height: 60px;
    padding: 0 16px;
  }

  .wa-float__label {
    display: block;
    max-width: 0;
    overflow: hidden;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    transition: max-width 0.35s ease, margin-left 0.35s ease;
  }

  .wa-float:hover .wa-float__label,
  .wa-float:focus-visible .wa-float__label {
    max-width: 220px;
    margin-left: 10px;
  }
}

/* ---------- Revelação no scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* .reveal-fallback entra pelo timer do <head> se o main.js não carregar */
.js .reveal.is-visible,
.reveal-fallback .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .exam,
  .wa-float,
  .wa-float__label {
    transition: none;
  }

  .wa-float::before {
    animation: none;
  }

  .hero__dna-strand {
    animation: none;
  }
}

/* ==========================================================================
   Página inicial (index.html), criada em 2026-09-18
   Clone das seções e do conteúdo do site atual da Dra., no design system das LPs.
   ========================================================================== */

/* ---------- Topo que entra depois da capa ---------- */

/* no celular a capa já traz logo e botão, e o flutuante cobre o resto da página;
   no desktop o topo fica fixo e aparece quando a capa sai da tela (main.js, [data-cover]) */
.topbar--reveal {
  display: none;
}

@media (min-width: 860px) {
  .topbar--reveal {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    border-bottom-color: var(--line);
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
  }

  .topbar--reveal.is-shown,
  .reveal-fallback .topbar--reveal {
    visibility: visible;
    transform: none;
    transition: transform 0.35s ease, visibility 0s;
  }

  /* sem JavaScript o topo vira uma barra comum acima da capa */
  .no-js .topbar--reveal {
    position: relative;
    visibility: visible;
    transform: none;
  }
}

/* ---------- Capa: a Dra. na clínica ---------- */

.cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  min-height: min(92vh, 900px);
  min-height: min(92svh, 900px);
  overflow: hidden;
  background: var(--olive-900);
  color: var(--paper);
}

.cover__media,
.cover__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover__media img {
  object-fit: cover;
  object-position: 50% 18%;
}

/* escurece a parte de baixo, onde ficam a logo e o botão, sem apagar o rosto */
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 44, 18, 0) 40%, rgba(38, 44, 18, 0.55) 66%, rgba(38, 44, 18, 0.92) 100%);
  pointer-events: none;
}

.cover__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 0 clamp(40px, 7vw, 72px);
  text-align: center;
}

.cover__logo {
  width: min(76vw, 400px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.cover__tag {
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-200);
}

.cover__cta {
  margin-top: 26px;
}

@media (min-width: 560px) {
  .cover__cta {
    min-width: 300px;
  }
}

/* ---------- Primeira dobra (depois da capa) ---------- */

.hero--inicio {
  padding-top: clamp(56px, 8vw, 104px);
}

/* o destaque em itálico fica no meio da frase, como no site dela */
.hero__title--inline em {
  display: inline;
}

.hero__statement {
  max-width: 32em;
  margin-top: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--caramel);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 0.4vw + 1rem, 1.25rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--olive-800);
}

/* botão de agendar + link discreto pro Instagram (no site dela é um segundo botão) */
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.hero__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--olive-800);
  text-decoration-color: rgba(79, 90, 38, 0.35);
  text-underline-offset: 4px;
}

.hero__social:hover {
  color: var(--caramel-600);
  text-decoration-color: currentColor;
}

@media (max-width: 559px) {
  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
  }

  .hero__social {
    justify-content: center;
    padding-block: 4px;
  }
}

.btn--md {
  padding: 0.95em 1.5em;
  font-size: 0.95rem;
}

.btn--ghost-light {
  border: 1.5px solid rgba(245, 242, 234, 0.45);
  background: transparent;
  color: var(--paper);
}

.btn--ghost-light:hover {
  border-color: var(--caramel-light);
  background: rgba(245, 242, 234, 0.08);
  transform: translateY(-2px);
}

/* ---------- Faixa: presencial ou online ---------- */

.reach {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--olive-900) url("../images/topo-escuro.svg") center / cover no-repeat;
  color: var(--paper);
}

.reach__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.reach__title {
  max-width: 28ch;
  font-size: clamp(1.5rem, 1.8vw + 1rem, 2.35rem);
  line-height: 1.22;
  color: var(--paper);
}

.reach__title em {
  font-style: italic;
  color: var(--caramel-light);
}

.reach__side {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.reach__places {
  display: grid;
  gap: 12px;
}

.reach__places li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--sage-200);
}

.reach__places .icon {
  margin-top: 0.15em;
  color: var(--caramel-light);
}

.reach__places strong {
  display: block;
  color: var(--paper);
}

.reach__note {
  max-width: 34ch;
  color: var(--sage-200);
}

@media (min-width: 900px) {
  .reach__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 64px;
  }

  .reach__side {
    padding-left: 36px;
    border-left: 1px solid var(--line-light);
  }

  /* cabe "Quero saber mais sobre Nutrigenética" numa linha a partir de ~1200px */
  .reach .btn {
    padding-inline: 1.3em;
    font-size: 0.92rem;
  }
}

/* ---------- Títulos com destaque em itálico ---------- */

.section-title em {
  font-style: italic;
  color: var(--olive-500);
}

/* ---------- Atuação: cards com mais de um parágrafo e link ---------- */

.service__body {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.service__body p {
  margin-top: 0;
}

.service__sub {
  font-weight: 600;
  color: var(--olive-700);
}

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--caramel-600);
  text-underline-offset: 3px;
}

.service__link .icon {
  width: 1em;
  height: 1em;
  transition: transform 0.2s ease;
}

.service__link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Foto de um lado, texto do outro (avaliação, intestino, nutrigenética) ---------- */

.media-split {
  display: grid;
  gap: 40px;
}

.media-split__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 480px;
}

.media-split__media img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.media-split__body {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  color: var(--ink-soft);
}

.media-split__body strong {
  color: var(--ink);
}

.media-split__cta {
  margin-top: 32px;
}

/* número de destaque sobre a foto */
.media-split__badge {
  position: absolute;
  right: 16px;
  bottom: 20px;
  max-width: 220px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--muted);
}

.media-split__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.05;
  color: var(--olive-800);
}

.pull {
  margin-top: 12px;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--caramel);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 0.7vw + 1rem, 1.45rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--olive-800);
}

@media (min-width: 960px) {
  .media-split {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 72px;
  }

  .media-split--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .media-split--reverse .media-split__media {
    order: 2;
  }

  /* a foto acompanha o texto longo enquanto a página rola */
  .media-split__media {
    position: sticky;
    top: calc(var(--topbar-h) + 32px);
    justify-self: stretch;
    max-width: none;
  }

  .media-split__media img {
    aspect-ratio: 4 / 5;
  }

  .media-split__badge {
    right: -22px;
    bottom: 40px;
  }

  .media-split--reverse .media-split__badge {
    right: auto;
    left: -22px;
  }
}

/* ---------- Bloco escuro (nutrigenética) ---------- */

.section--dark {
  background: var(--olive-900) url("../images/topo-escuro.svg") center / cover no-repeat;
  color: var(--paper);
}

.section--dark .section-title {
  color: var(--paper);
}

.section--dark .section-title em {
  color: var(--caramel-light);
}

.section--dark .media-split__body {
  color: var(--sage-200);
}

.section--dark .media-split__body strong {
  color: #f3e8da;
}

.section--dark .media-split__media img {
  box-shadow: 0 34px 60px -32px rgba(0, 0, 0, 0.65);
}

.gene-motto {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(245, 242, 234, 0.06);
}

.gene-motto p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  line-height: 1.35;
  color: var(--paper);
}

.gene-motto em {
  font-style: italic;
  color: var(--caramel-light);
}

.gene-motto .gene-motto__close {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--sage-200);
}

/* ---------- Diferenciais ---------- */

.diffs__grid {
  display: grid;
  gap: 44px;
}

.diffs__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 460px;
  padding-bottom: 64px;
}

.diffs__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.diffs__inset {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 46%;
}

.diffs__inset img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 40%;
  border: 6px solid var(--paper-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.diffs__statement {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.3vw + 1.05rem, 2rem);
  line-height: 1.2;
  color: var(--olive-900);
}

.diffs__statement strong {
  font-style: italic;
  font-weight: 500;
  color: var(--caramel);
}

.diffs .about__feature {
  margin-top: 22px;
}

.diffs__list {
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.diff {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}

.diff__icon {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  color: var(--olive-500);
}

.diff__title {
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--olive-900);
}

.diff p {
  margin-top: 6px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

@media (min-width: 1024px) {
  .diffs__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 72px;
  }

  .diffs__media {
    position: sticky;
    top: calc(var(--topbar-h) + 32px);
    justify-self: stretch;
    max-width: none;
  }
}

/* ---------- Faixa de chamada ---------- */

.cta-band {
  padding-block: clamp(48px, 7vw, 80px);
  border-block: 1px solid var(--line);
  background: var(--sage-100);
}

.cta-band__inner {
  display: grid;
  justify-items: start;
  gap: 26px;
}

.cta-band__text {
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.6vw + 1rem, 2.2rem);
  line-height: 1.2;
  color: var(--olive-900);
}

.cta-band__text em {
  font-style: italic;
  color: var(--olive-500);
}

@media (min-width: 860px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 56px;
  }
}

/* ---------- Depoimentos do site (vários parágrafos, mural no desktop) ---------- */

/* a nota do Google sai do carrossel e fica ao lado do título: no celular, card curto
   ao lado do depoimento mais longo deixava um vão em branco */
.proof__head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.proof__head .section-head {
  margin-bottom: 0;
}

.reviews-summary--inline {
  flex-direction: row;
  align-items: center;
  justify-self: start;
  gap: 22px;
  max-width: 460px;
  padding: 22px 26px;
}

.reviews-summary__body {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.reviews-summary--inline .reviews-summary__label {
  max-width: 30ch;
  font-size: 0.9rem;
}

.reviews-summary--inline .reviews-summary__link {
  margin-top: 0;
}

@media (min-width: 860px) {
  .proof__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
  }
}

.testimonial p + p {
  margin-top: 0.8em;
}

.testimonial p + p::before,
.testimonial p:not(:last-child)::after {
  content: none;
}

@media (min-width: 1024px) {
  .testimonials--mural {
    display: block;
    columns: 3;
    column-gap: 20px;
  }

  .testimonials--mural > * {
    margin-bottom: 20px;
    break-inside: avoid;
  }
}

/* ---------- Rodapé com as outras páginas ---------- */

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 6px;
}

.footer__nav a {
  font-weight: 600;
  color: var(--paper);
  text-decoration-color: rgba(245, 242, 234, 0.35);
  text-underline-offset: 3px;
}

.footer__nav a:hover {
  text-decoration-color: var(--caramel-light);
}

@media (prefers-reduced-motion: reduce) {
  .topbar--reveal,
  .topbar--reveal.is-shown,
  .service__link .icon {
    transition: none;
  }
}
