/* ==========================================================================
   DR IKEDA NETO — Design System v2 "Jardim Clínico Contemporâneo"
   Paleta IKEDA + formas orgânicas
   ========================================================================== */

:root {
  /* Paleta */
  --olive: #404C34;        /* verde-oliva profundo */
  --olive-deep: #2F3A26;
  --sage: #BECCA4;         /* verde-sálvia */
  --sage-soft: #E2E8D2;    /* verde muito claro */
  --cream: #F3F1EA;        /* creme quente (base) */
  --sand: #E9E1CE;         /* areia */
  --white-warm: #FCFAF4;   /* branco aquecido */
  --terracotta: #8F4A2C;      /* terracota para texto (contraste AA em todos os fundos claros) */
  --terracotta-line: #A85F3E; /* terracota suave, apenas traços e detalhes gráficos */
  --brown: #312216;
  --ink: #121311;

  /* Aliases da paleta original */
  --ikeda-green: var(--olive);
  --ikeda-light: var(--sage);
  --ikeda-brown: var(--brown);
  --ikeda-black: var(--ink);
  --ikeda-offwhite: var(--cream);

  --font-title: 'DM Serif Display', Georgia, serif;
  --font-sub: 'Satoshi', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
  --font-tech: 'Inter', sans-serif;

  --max-width: 1140px;
  --space-section: 5.5rem;

  /* Formas orgânicas */
  --organic-a: 62% 38% 56% 44% / 48% 56% 44% 52%;
  --organic-b: 42% 58% 38% 62% / 55% 44% 56% 45%;
  --r-card-a: 1.4rem 2.6rem 1.4rem 2.6rem;
  --r-card-b: 2.6rem 1.4rem 2.6rem 1.4rem;
  --r-card-c: 1.4rem 1.4rem 2.6rem 2.6rem;

  --shadow-soft: 0 10px 28px rgba(47, 58, 38, 0.08);
  --shadow-lift: 0 18px 42px rgba(47, 58, 38, 0.14);
  --ease-organic: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
}

h1, h2, h3 { font-family: var(--font-title); color: var(--olive); font-weight: 700; line-height: 1.18; margin: 0 0 1rem; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); max-width: 22ch; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); max-width: 30ch; }
h3 { font-size: 1.28rem; font-family: var(--font-sub); font-weight: 700; color: var(--brown); }

p { margin: 0 0 1.1rem; }
a { color: inherit; }

/* Largura de leitura confortável (~55-70 caracteres por linha).
   Vale para blocos de texto corrido — nunca para grades e listas de layout,
   que devem ocupar toda a largura útil da seção. */
section > .container > p:not(.eyebrow),
section > .container > ol:not(.fluxo),
section > .container > div > p:not(.eyebrow):not(.etapa-rotulo) { max-width: 46ch; }
/* Composições centralizadas mantêm o texto no eixo */
section > .container[style*="center"] > p { margin-left: auto; margin-right: auto; }

/* Foco visível para navegação por teclado */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 8px;
}

.eyebrow {
  font-family: var(--font-tech);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta);
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--space-section) 0; }
section[id] { scroll-margin-top: 110px; }
.section-tight { padding: 3.5rem 0; }

@media (max-width: 560px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Coluna de leitura: limita a largura do CONTEÚDO sem encolher o container.
   Assim toda seção começa na mesma margem esquerda — a linha vertical do site
   permanece contínua de cima a baixo, em qualquer largura de tela. */
.container.medida > * { max-width: 47rem; }
.container.medida > .card-grid,
.container.medida > .caminho,
.container.medida > .acolhimento,
.container.medida > .timeline { max-width: none; }

/* ==========================================================================
   Cabeçalho — leve, translúcido, com respiro
   ========================================================================== */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 241, 234, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
header.site-header.scrolled { box-shadow: 0 8px 28px rgba(18, 19, 17, 0.09); background: rgba(243, 241, 234, 0.96); }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem;
  padding: 1.15rem 1.5rem; max-width: var(--max-width); margin: 0 auto;
}
.logo-wordmark { display: block; text-decoration: none; flex-shrink: 0; }
.logo-wordmark img { display: block; height: 52px; width: auto; }
@media (max-width: 560px) { .logo-wordmark img { height: 42px; } }

nav.main-nav { margin-left: auto; }
nav.main-nav ul { list-style: none; display: flex; gap: 2.2rem; margin: 0; padding: 0; }
nav.main-nav a {
  text-decoration: none; font-family: var(--font-tech); font-size: 0.92rem; font-weight: 500;
  color: var(--ink); padding-bottom: 6px; position: relative; white-space: nowrap;
  transition: color 0.25s ease;
}
nav.main-nav a:hover { color: var(--olive); }
/* Traço curvo orgânico no hover e na página ativa */
nav.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8' preserveAspectRatio='none'><path d='M2 6 Q 16 1 32 4.5 T 62 3' fill='none' stroke='%23404C34' stroke-width='2.4' stroke-linecap='round'/></svg>") no-repeat center / 100% auto;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s var(--ease-organic), transform 0.3s var(--ease-organic);
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { opacity: 1; transform: translateY(0); }

.nav-cta {
  background: var(--olive); color: #fff !important; padding: 0.7rem 1.5rem; border-radius: 999px;
  font-family: var(--font-tech); font-weight: 600; font-size: 0.88rem; text-decoration: none;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { background: var(--olive-deep); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.nav-cta:active { transform: translateY(0); }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--olive); padding: 0.3rem 0.5rem;
}

@media (max-width: 1023px) {
  .menu-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-radius: 0 0 1.8rem 1.8rem;
    box-shadow: 0 16px 30px rgba(18, 19, 17, 0.12);
  }
  nav.main-nav.open { display: block; animation: navIn 0.3s var(--ease-organic); }
  nav.main-nav ul { flex-direction: column; gap: 0; padding: 0.4rem 1.6rem 1.2rem; }
  nav.main-nav a { display: block; padding: 0.8rem 0; font-size: 1rem; }
  nav.main-nav a::after { right: auto; width: 64px; }
}
/* Chamada de agendamento dentro do menu, apenas quando o botão do topo é ocultado */
.nav-cta-item { display: none; }
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .nav-cta-item { display: block; margin-top: 0.6rem; }
  nav.main-nav .nav-cta-item a {
    background: var(--olive); color: #fff; text-align: center;
    border-radius: 999px; padding: 0.85rem 1.4rem; font-weight: 600;
  }
  nav.main-nav .nav-cta-item a::after { content: none; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Heros — composições assimétricas com arte orgânica
   ========================================================================== */
.hero { padding: 4rem 0 3.5rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3rem; align-items: center; }
.hero p.lede { font-size: 1.15rem; color: var(--brown); max-width: 42ch; }

.hero-split-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) {
  .hero-grid, .hero-split-grid { grid-template-columns: 1fr; }
}

/* Arte abstrata dos heros */
.hero-art { position: relative; min-height: 320px; }
.blob { position: absolute; border-radius: var(--organic-a); }
.blob-a {
  width: min(300px, 60vw); height: min(270px, 54vw);
  background: var(--sage); opacity: 0.55;
  right: 6%; top: 4%;
  animation: blobFloat 16s ease-in-out infinite alternate;
}
.blob-b {
  width: min(210px, 44vw); height: min(195px, 40vw);
  background: var(--sand); border-radius: var(--organic-b); opacity: 0.85;
  right: 42%; bottom: -70px;
  animation: blobFloat 20s ease-in-out infinite alternate-reverse;
}
.blob-c {
  width: 120px; height: 112px;
  background: var(--sage-soft); border-radius: var(--organic-b); opacity: 0.9;
  right: 2%; bottom: 8%;
  animation: blobFloat 24s ease-in-out infinite alternate;
}
.dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--olive); opacity: 0.45; }
.dot.d1 { right: 18%; top: 12%; }
.dot.d2 { right: 55%; top: 38%; width: 6px; height: 6px; }
.dot.d3 { right: 10%; bottom: 26%; width: 12px; height: 12px; opacity: 0.3; }
.dot.d4 { right: 70%; bottom: 10%; width: 7px; height: 7px; }
@keyframes blobFloat {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(9px, -12px) rotate(3deg); }
}

/* Ilustração simplificada quando o hero empilha */
@media (max-width: 900px) {
  .hero-art { min-height: 190px; margin-top: 0.5rem; }
  .hero-art .blob-a { width: 180px; height: 165px; right: 8%; top: 6%; }
  .hero-art .blob-b { width: 130px; height: 120px; right: 42%; bottom: -20px; }
  .hero-art .blob-c { width: 80px; height: 75px; }
  .hero-art .dot.d3, .hero-art .dot.d4 { display: none; }
}
@media (max-width: 560px) {
  .hero-art { min-height: 150px; }
  .hero-art .blob-a { width: 140px; height: 128px; }
  .hero-art .blob-b { width: 100px; height: 92px; }
  .hero-art .blob-c { display: none; }
}

/* ---------- Foto editorial no hero ---------- */
.hero-split-grid.com-foto { align-items: stretch; }
.hero-split-grid.com-foto > div { align-self: center; }

.hero-foto {
  position: relative; margin: 0;
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lift);
  min-height: 100%;
}
.hero-foto img {
  display: block; width: 100%; height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 62% center;
  background: var(--sand);
}
/* Gradiente de leitura: dissolve a borda da imagem no fundo da página */
.hero-foto::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(
    to right,
    var(--cream) 0%,
    rgba(243, 241, 234, 0.62) 12%,
    rgba(243, 241, 234, 0.18) 28%,
    transparent 46%
  );
}

@media (max-width: 900px) {
  .hero-foto { border-radius: 20px; min-height: 0; }
  .hero-foto img { min-height: 0; aspect-ratio: 16 / 10; object-position: 66% center; }
  /* No empilhamento o texto fica acima, então o degradê suaviza o topo */
  .hero-foto::after {
    background: linear-gradient(to bottom, rgba(243, 241, 234, 0.55) 0%, transparent 32%);
  }
}
@media (max-width: 560px) {
  .hero-foto img { aspect-ratio: 4 / 3; object-position: 72% center; }
}

/* Fio do cuidado — linha orgânica contínua */
.fio { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fio path { transition: stroke-dashoffset 1.9s var(--ease-organic) 0.15s; }
.fio.drawn path { stroke-dashoffset: 0 !important; }

/* Hero da página inicial: foto em moldura orgânica */
.hero-media { position: relative; }
.hero-media .blob-behind {
  position: absolute; top: -5%; right: -7%;
  width: 82%; height: 88%;
  background: var(--sage); opacity: 0.5;
  border-radius: var(--organic-b);
  transform: rotate(-5deg);
  animation: blobFloat 18s ease-in-out infinite alternate;
}
.hero-photo {
  position: relative; display: block; width: 100%; height: auto;
  aspect-ratio: 4/5; object-fit: cover; object-position: center top;
  border-radius: var(--organic-a);
  box-shadow: var(--shadow-lift);
  transition: transform 0.7s var(--ease-organic);
}
.hero-photo:hover { transform: scale(1.012); }

/* ==========================================================================
   Botões e links
   ========================================================================== */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-tech); font-weight: 600;
  font-size: 0.94rem; padding: 0.9rem 1.8rem; border-radius: 999px; border: 1.5px solid var(--olive);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary { background: var(--olive); color: #fff; }
.btn-ghost { background: transparent; color: var(--olive); }
/* Botão para uso sobre fundos escuros */
.btn-claro { background: #fff; color: var(--olive); border-color: #fff; }
.btn-claro:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.btn:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 12px 24px rgba(64, 76, 52, 0.2); }
.btn-primary:hover { background: var(--olive-deep); }
.btn-ghost:hover { background: var(--olive); color: #fff; }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-soft); }
.btn-row { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.7rem; align-items: center; }

.link-suave {
  font-family: var(--font-tech); font-weight: 600; font-size: 0.94rem; color: var(--olive);
  text-decoration: none; border-bottom: 2px solid var(--sage); padding-bottom: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.link-suave:hover { border-color: var(--terracotta); color: var(--olive-deep); }

/* ==========================================================================
   Cartões — superfícies orgânicas alternadas
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 1.6rem; }
.card {
  background: var(--white-warm); border: none; padding: 1.9rem 1.8rem;
  border-radius: var(--r-card-a);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-grid .card:nth-child(3n+2) { border-radius: var(--r-card-b); background: #F7F3E8; }
.card-grid .card:nth-child(3n) { border-radius: var(--r-card-c); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--brown); margin-bottom: 0; }

/* ==========================================================================
   Faixas de cor — recortes curvos, sem linhas rígidas
   ========================================================================== */
.band-dark {
  background: var(--olive); color: var(--cream);
  border-radius: 4.5rem 2rem 4rem 1.8rem / 3.2rem 2rem 3rem 1.8rem;
  position: relative; overflow: hidden;
  margin: 1.5rem 0;
}
.band-dark::after {
  content: ''; position: absolute; right: -70px; bottom: -90px;
  width: 340px; height: 420px;
  background: url('../images/icone-salvia.png') no-repeat center / contain;
  opacity: 0.14; pointer-events: none;
}
.band-dark .container { position: relative; z-index: 1; }
.band-dark h2, .band-dark h3 { color: #fff; }

.band-light {
  background: var(--sage-soft); color: var(--ink);
  border-radius: 2rem 4.5rem 1.8rem 4rem / 2rem 3.2rem 1.8rem 3rem;
  margin: 1.5rem 0;
  position: relative; overflow: hidden;
}
/* Forma orgânica translúcida, para a faixa não ser um retângulo de cor */
.band-light::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  right: -6%; top: -18%;
  width: min(420px, 42vw); height: min(380px, 38vw);
  background: var(--sage); opacity: 0.38;
  border-radius: var(--organic-a);
}
.band-light::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: -5%; bottom: -22%;
  width: min(280px, 30vw); height: min(250px, 26vw);
  background: var(--white-warm); opacity: 0.4;
  border-radius: var(--organic-b);
}
.band-light > .container { position: relative; z-index: 1; }
.band-light h2 { color: var(--olive); }

/* Sementes decorativas soltas, em traço orgânico */
.semente {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50% 50% 50% 6%;
  background: var(--sage); transform: rotate(-45deg);
}
section { position: relative; }
.deco-semente-a { width: 11px; height: 11px; right: 8%; top: 16%; opacity: 0.55; }
.deco-semente-b { width: 7px; height: 7px; right: 14%; bottom: 22%; opacity: 0.45; background: var(--terracotta-line); }
.deco-semente-c { width: 15px; height: 15px; right: 4%; bottom: 12%; opacity: 0.3; }
@media (max-width: 820px) { .semente { display: none; } }

/* ==========================================================================
   Lista de etapas numeradas (sementes)
   ========================================================================== */
ol.steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; }
ol.steps li { counter-increment: step; position: relative; padding: 0 0 1.4rem 3.2rem; color: var(--brown); max-width: 52ch; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50% 50% 50% 14%;
  background: var(--olive); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-tech); font-weight: 600; font-size: 0.9rem;
}
ol.steps li strong { color: var(--ink); }

/* ==========================================================================
   Fluxo do acompanhamento — etapas com ícones em traço fino
   ========================================================================== */
ol.fluxo {
  list-style: none; margin: 2.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem 3rem;
}
@media (max-width: 820px) { ol.fluxo { grid-template-columns: 1fr; gap: 1.9rem; } }
.fluxo-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.fluxo-icone {
  flex-shrink: 0; width: 2.9rem; height: 2.9rem;
  border-radius: 50% 50% 50% 12%;
  background: var(--white-warm);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.fluxo-icone svg { width: 21px; height: 21px; stroke: var(--olive); fill: none; }
.fluxo-item h3 {
  font-family: var(--font-sub); font-size: 1.03rem; font-weight: 700;
  color: var(--olive); margin: 0.25rem 0 0.35rem; line-height: 1.35;
}
.fluxo-item p { margin: 0; font-size: 0.95rem; color: var(--brown); max-width: 46ch; }
.fluxo-item > div { min-width: 0; }

/* ==========================================================================
   Critérios de decisão clínica
   ========================================================================== */
ul.criterios { list-style: none; margin: 1.8rem 0 0; padding: 0; }
ul.criterios li {
  position: relative; padding: 0 0 1.15rem 1.9rem;
  color: var(--brown); font-size: 0.98rem; max-width: 46rem;
}
ul.criterios li::before {
  content: ''; position: absolute; left: 0; top: 0.62rem;
  width: 0.62rem; height: 0.62rem;
  border-radius: 50% 50% 50% 6%;
  background: var(--sage); transform: rotate(-45deg);
}
ul.criterios li strong { color: var(--olive); font-weight: 700; }

/* ==========================================================================
   Diferenciais — lista com marca de verificação em traço fino
   ========================================================================== */
ul.diferenciais { list-style: none; margin: 1.8rem 0 0; padding: 0; }
ul.diferenciais li {
  position: relative; padding: 0 0 0.95rem 2.2rem;
  color: var(--brown); font-size: 0.99rem; max-width: 46rem;
}
ul.diferenciais li::before {
  content: ''; position: absolute; left: 0; top: 0.34rem;
  width: 1.15rem; height: 1.15rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23404C34' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12.5l5 5L20 6.5'/></svg>") no-repeat center / contain;
}

/* ==========================================================================
   Nota científica — ilustração discreta em traço fino
   ========================================================================== */
.ciencia-nota {
  margin: 2.2rem 0 0; padding: 1.6rem 1.8rem;
  background: var(--white-warm);
  border-radius: 1.4rem 2.4rem 1.4rem 2.4rem;
  box-shadow: var(--shadow-soft);
  max-width: 46rem;
}
.ciencia-svg { display: block; width: 100%; max-width: 260px; height: auto; margin-bottom: 0.9rem; }
.ciencia-nota figcaption { font-size: 0.92rem; color: var(--brown); line-height: 1.6; }

/* ==========================================================================
   Linha do tempo — fio do cuidado como eixo
   ========================================================================== */
.timeline {
  margin-top: 1.5rem; padding-left: 2rem; border: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 160' preserveAspectRatio='none'><path d='M7 0 C 12 40 2 80 7 120 C 10 145 7 160 7 160' fill='none' stroke='%23BECCA4' stroke-width='2.4' stroke-linecap='round'/></svg>") repeat-y left top / 14px 160px;
}
.timeline-item { position: relative; padding-bottom: 2.3rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -2.45rem; top: 0.35rem;
  width: 0.85rem; height: 0.85rem;
  border-radius: 50% 50% 50% 6%;
  background: var(--olive);
  transform: rotate(-45deg);
}
.tl-year {
  display: block; font-family: var(--font-tech); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 0.3rem;
}
.tl-title {
  font-family: var(--font-sub); font-weight: 700; font-size: 1.15rem;
  color: var(--olive); margin: 0 0 0.6rem; line-height: 1.35;
}
.timeline-item p { margin: 0 0 0.9rem; color: var(--brown); font-size: 0.98rem; max-width: 46ch; }
.timeline-item p:last-child { margin-bottom: 0; }
/* Alternância discreta dos marcos em telas grandes */
@media (min-width: 820px) {
  .timeline-item:nth-child(even) { margin-left: 2.6rem; }
}
@media (max-width: 560px) {
  .timeline { padding-left: 1.5rem; background-size: 10px 160px; }
  .timeline-item::before { left: -1.85rem; width: 0.7rem; height: 0.7rem; }
}

/* ==========================================================================
   Depoimentos — citações editoriais
   ========================================================================== */
.testimonial {
  border: none; background: var(--sand);
  border-radius: 2.2rem 1.2rem 2.2rem 1.2rem;
  padding: 2.1rem 1.9rem 1.7rem; margin-bottom: 0; position: relative;
}
.testimonial:nth-child(even) { background: var(--white-warm); border-radius: 1.2rem 2.2rem 1.2rem 2.2rem; }
.testimonial::before {
  content: '\201C'; position: absolute; top: 0.4rem; left: 1.3rem;
  font-family: var(--font-title); font-size: 4rem; line-height: 1;
  color: var(--olive); opacity: 0.18;
}
.testimonial p.quote { font-style: italic; color: var(--brown); position: relative; }
.testimonial .stars { color: var(--terracotta); letter-spacing: 0.12em; font-size: 0.85rem; }
.testimonial .name { font-family: var(--font-tech); font-weight: 600; font-size: 0.85rem; margin-bottom: 0; }

/* ==========================================================================
   FAQ — accordions leves e acolhedores
   ========================================================================== */
.faq-group { margin-bottom: 2.8rem; }
.faq-group > h2 { font-size: 1.45rem; margin-bottom: 1.2rem; }
details.faq-item {
  border: none; background: var(--white-warm);
  border-radius: 1.2rem 2rem 1.2rem 2rem;
  margin-bottom: 0.9rem; box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease;
}
details.faq-item:nth-of-type(even) { background: #F7F3E8; border-radius: 2rem 1.2rem 2rem 1.2rem; }
details.faq-item:hover { box-shadow: var(--shadow-lift); }
details.faq-item summary {
  cursor: pointer; font-family: var(--font-sub); font-weight: 700; color: var(--olive);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  transition: color 0.25s ease;
}
details.faq-item summary:hover { color: var(--olive-deep); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; flex-shrink: 0;
  width: 1.7rem; height: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-soft); color: var(--olive);
  border-radius: 50% 50% 50% 14%;
  font-size: 1.15rem; font-family: var(--font-tech);
  transition: transform 0.3s var(--ease-organic), background 0.3s ease;
}
details.faq-item[open] summary::after { content: '\2212'; transform: rotate(180deg); background: var(--sage); }
details.faq-item .faq-answer { padding: 0 1.5rem 1.3rem; color: var(--brown); font-size: 0.98rem; max-width: 48ch; }
details.faq-item[open] .faq-answer { animation: faqIn 0.4s var(--ease-organic); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Agendamento — o caminho do cuidado
   ========================================================================== */
.intro-copy { max-width: 44ch; color: var(--brown); }
.caminho { position: relative; margin-top: 3rem; display: flex; flex-direction: column; gap: 2.4rem; }
.fio-caminho {
  position: absolute; left: 50%; top: -30px; transform: translateX(-50%);
  width: 70px; height: calc(100% + 60px);
}
.etapa {
  position: relative; max-width: 540px; width: 100%;
  padding: 2.3rem 2.5rem; box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.etapa:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.etapa-1 { align-self: flex-start; background: var(--sand); border-radius: 2.8rem 1.4rem 2.8rem 1.4rem; }
.etapa-2 { align-self: flex-end; background: var(--sage-soft); border-radius: 1.4rem 2.8rem 1.4rem 2.8rem; box-shadow: var(--shadow-lift); }
.etapa-num {
  position: absolute; top: 0.2rem; right: 1.4rem;
  font-family: var(--font-title); font-size: 5.6rem; line-height: 1;
  color: var(--olive); opacity: 0.1; pointer-events: none;
}
.etapa-rotulo {
  font-family: var(--font-tech); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.74rem; font-weight: 600; color: var(--terracotta); margin-bottom: 0.4rem;
}
.etapa h3 { font-family: var(--font-title); color: var(--olive); font-size: 1.45rem; }
.etapa p { color: var(--brown); font-size: 0.98rem; max-width: 40ch; }
.etapa .btn { margin-top: 0.4rem; }

/* Faixa de acolhimento */
.acolhimento {
  margin-top: 3.5rem;
  background: var(--sage-soft);
  border-radius: 999px;
  padding: 1.6rem 2.8rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 2rem; align-items: center;
  box-shadow: var(--shadow-soft);
}
.acolhimento-item {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-tech); font-weight: 500; font-size: 0.92rem; color: var(--brown);
  line-height: 1.35;
}
@media (max-width: 980px) {
  .acolhimento { grid-template-columns: 1fr; border-radius: 2.4rem 1.3rem 2.4rem 1.3rem; padding: 1.7rem 2rem; }
}
.acolhimento-item svg { flex-shrink: 0; width: 24px; height: 24px; stroke: var(--olive); }
@media (max-width: 720px) {
  .caminho { gap: 1.8rem; }
  .fio-caminho { left: auto; right: 8px; transform: none; width: 34px; }
  .etapa { max-width: 100%; padding: 2rem 1.7rem; }
  .etapa-num { font-size: 4.2rem; }
}

/* ==========================================================================
   Citação editorial — contornada pelo fio do cuidado
   ========================================================================== */
/* O texto da citação permanece na margem do site; o fio fica por fora dela,
   para não interromper a linha vertical contínua das seções. */
.citacao {
  position: relative; margin: 0; padding: 0.5rem 0;
  max-width: 46rem;
}
.fio-citacao { position: absolute; left: -2.6rem; top: 0; width: 34px; height: 100%; }
/* Em telas menores o fio ocupa a margem lateral do container, para que o texto
   da citação continue exatamente na mesma linha vertical das outras seções. */
@media (max-width: 1024px) {
  .fio-citacao { left: -1.1rem; width: 18px; }
}
.citacao blockquote {
  margin: 0.4rem 0 0.9rem;
  font-family: var(--font-title); font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.4; color: var(--olive); max-width: 30ch;
}
.citacao figcaption {
  font-family: var(--font-tech); font-size: 0.85rem; font-weight: 500; color: var(--brown);
}

/* ==========================================================================
   Duo — duas especialidades em superfícies orgânicas
   ========================================================================== */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 2.2rem; align-items: start; }
@media (max-width: 780px) { .duo-grid { grid-template-columns: 1fr; } }
.duo {
  padding: 2.2rem 2.1rem; box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.duo h3 { font-family: var(--font-title); color: var(--olive); font-size: 1.4rem; }
.duo p { color: var(--brown); font-size: 0.98rem; max-width: 38ch; }
.duo-a { background: var(--sand); border-radius: 2.8rem 1.4rem 2.8rem 1.4rem; }
.duo-b { background: var(--sage-soft); border-radius: 1.4rem 2.8rem 1.4rem 2.8rem; }
@media (min-width: 781px) { .duo-b { margin-top: 2.2rem; } }
.duo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* ==========================================================================
   Composição editorial dividida (texto + marcos)
   ========================================================================== */
.split-editorial { display: grid; grid-template-columns: 1fr 0.85fr; gap: 3rem; align-items: center; }
@media (max-width: 820px) { .split-editorial { grid-template-columns: 1fr; gap: 2rem; } }
.marcos { display: flex; flex-direction: column; gap: 0.9rem; }
.marco {
  font-family: var(--font-tech); font-size: 0.92rem; color: var(--brown);
  background: var(--white-warm); box-shadow: var(--shadow-soft);
  padding: 0.85rem 1.4rem; border-radius: 999px;
  display: flex; align-items: baseline; gap: 0.75rem;
}
.marco strong { font-weight: 700; color: var(--olive); flex-shrink: 0; }
.marco:nth-child(even) { margin-left: 1.6rem; background: var(--sand); }
@media (max-width: 480px) {
  .marco { border-radius: 1.4rem; flex-direction: column; gap: 0.15rem; }
  .marco:nth-child(even) { margin-left: 0.8rem; }
}

/* ==========================================================================
   Biografia
   ========================================================================== */
.bio-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
@media (max-width: 820px) { .bio-grid { grid-template-columns: 1fr; } }
.bio-grid p { max-width: 46ch; }
.photo-frame {
  display: block; width: 100%; height: auto;
  border-radius: var(--organic-b);
  box-shadow: var(--shadow-lift);
  transition: transform 0.7s var(--ease-organic);
}
.photo-frame:hover { transform: scale(1.012); }

/* ==========================================================================
   Destaques e avisos
   ========================================================================== */
.badge-callout {
  background: var(--white-warm); border: none; border-left: 4px solid var(--terracotta);
  border-radius: 0.6rem 1.8rem 1.8rem 0.6rem;
  padding: 1.2rem 1.6rem; font-size: 0.92rem; color: var(--brown); margin: 1.5rem 0;
  box-shadow: var(--shadow-soft);
  max-width: 50ch;
}

/* ==========================================================================
   Rodapé — encerramento orgânico
   ========================================================================== */
footer.site-footer {
  background: var(--ink); color: #E8EDE0;
  padding: 4rem 0 2rem; font-family: var(--font-tech);
  border-radius: 3.5rem 1.8rem 0 0 / 2.6rem 1.5rem 0 0;
  margin-top: 1rem;
}
footer.site-footer .footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 2.2rem; margin-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
footer.site-footer .footer-cta p {
  margin: 0; font-family: var(--font-title); font-size: 1.35rem; color: #fff;
  display: flex; align-items: center; gap: 0.9rem;
}
.fio-seed {
  display: inline-block; width: 12px; height: 12px; flex-shrink: 0;
  background: var(--sage); border-radius: 50% 50% 50% 6%;
  transform: rotate(-45deg);
}
footer.site-footer .footer-cta .btn {
  border-color: var(--sage); background: var(--sage); color: var(--ink);
}
footer.site-footer .footer-cta .btn:hover { background: #fff; border-color: #fff; }
footer.site-footer .footer-logo { display: block; height: 44px; width: auto; margin-bottom: 2.2rem; opacity: 0.92; }
footer.site-footer a { color: #E8EDE0; text-decoration: none; transition: color 0.25s ease; }
footer.site-footer a:hover { color: var(--sage); }
footer.site-footer .footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; align-items: start;
}
@media (max-width: 900px) { footer.site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { footer.site-footer .footer-grid { grid-template-columns: 1fr; } }
footer.site-footer h4 { font-family: var(--font-tech); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sage); margin-bottom: 0.9rem; }
footer.site-footer p, footer.site-footer li { font-size: 0.88rem; color: #cfd6c6; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer .legal-line {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.4rem; font-size: 0.78rem; color: #9aa392;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}

@media (hover: none) {
  .card:hover, .duo:hover, .etapa:hover, .btn:hover, .hero-photo:hover, .photo-frame:hover {
    transform: none; box-shadow: var(--shadow-soft);
  }
}

/* ==========================================================================
   Movimento — revelação e microinterações
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-organic), transform 0.8s var(--ease-organic);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Sistema de animação de entrada — declarativo, via atributos no HTML
   Uso:  data-anim="up|left|right|scale"  data-anim-delay="120"
   Só transform e opacity (propriedades compostas pela GPU, sem reflow) e
   apenas uma vez por elemento. O estado final é o normal do documento: se o
   JavaScript não rodar, tudo aparece igual, sem conteúdo preso invisível.
   ========================================================================== */
[data-anim] {
  transition:
    opacity 0.82s var(--ease-organic),
    transform 0.82s var(--ease-organic);
  transition-delay: var(--anim-delay, 0ms);
  will-change: transform, opacity;
}
/* O estado escondido só existe quando o JavaScript confirma que vai animar */
.com-animacao [data-anim]:not(.em-cena) { opacity: 0; }
.com-animacao [data-anim="up"]:not(.em-cena)    { transform: translate3d(0, 30px, 0); }
.com-animacao [data-anim="left"]:not(.em-cena)  { transform: translate3d(-42px, 0, 0); }
.com-animacao [data-anim="right"]:not(.em-cena) { transform: translate3d(42px, 0, 0); }
.com-animacao [data-anim="scale"]:not(.em-cena) { transform: scale(0.978); }
[data-anim].em-cena {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
/* Concluída a entrada, libera a dica de composição para não reter camadas */
[data-anim].animou { will-change: auto; }

@media (max-width: 700px) {
  /* Deslocamentos menores no celular: o movimento acompanha a leitura, não a disputa */
  .com-animacao [data-anim="up"]:not(.em-cena)    { transform: translate3d(0, 20px, 0); }
  .com-animacao [data-anim="left"]:not(.em-cena)  { transform: translate3d(-22px, 0, 0); }
  .com-animacao [data-anim="right"]:not(.em-cena) { transform: translate3d(22px, 0, 0); }
}

/* ==========================================================================
   Flutuação botânica — respiração lenta de poucos elementos decorativos
   ========================================================================== */
[data-flutua] {
  animation: flutuar var(--flutua-dur, 6.5s) ease-in-out infinite alternate;
  animation-delay: var(--flutua-atraso, 0s);
}
@keyframes flutuar {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -7px, 0); }
}

/* ==========================================================================
   Parallax suave — deslocamento vertical mínimo, escrito pelo JavaScript
   ========================================================================== */
[data-parallax] { will-change: transform; }
.parallax-camada { transform: translate3d(0, var(--parallax-y, 0px), 0); }

/* ==========================================================================
   Ilustrações em pintura digital — composição assimétrica com o texto
   ========================================================================== */
.cena {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3.2rem; align-items: center;
}
.cena.invertida { grid-template-columns: 0.95fr 1.05fr; }
.cena.invertida > .cena-arte { order: -1; }
@media (max-width: 860px) {
  .cena, .cena.invertida { grid-template-columns: 1fr; gap: 2.2rem; }
  .cena.invertida > .cena-arte { order: 0; }
}
.cena-arte { position: relative; margin: 0; }
.cena-arte img {
  display: block; width: 100%; height: auto;
  border-radius: 2.4rem 1.4rem 2.4rem 1.4rem;
  box-shadow: var(--shadow-lift);
}
.cena.invertida .cena-arte img { border-radius: 1.4rem 2.4rem 1.4rem 2.4rem; }
/* Forma orgânica atrás da ilustração, dando profundidade sem moldura dura */
.cena-arte::before {
  content: ''; position: absolute; z-index: -1;
  inset: -6% -5% -8% -6%;
  background: var(--sage); opacity: 0.32;
  border-radius: var(--organic-a);
}
.cena-texto p { max-width: 46ch; }

/* Ilustração solta ao lado do texto: flutua à direita da coluna de leitura,
   ocupando o espaço que antes ficava vazio. */
.cena-arte-solta {
  float: right; width: min(300px, 32%);
  margin: 0 0 1.6rem 2.6rem;
}
.cena-arte-solta img { border-radius: 1.6rem 2.6rem 1.6rem 2.6rem; }
@media (max-width: 860px) {
  .cena-arte-solta { float: none; width: min(320px, 72%); margin: 1.4rem 0 2rem; }
}

/* Acessibilidade: respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  /* Conteúdo aparece imediatamente, sem deslocamento, sem flutuação, sem parallax */
  [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-flutua] { animation: none !important; }
  [data-parallax], .parallax-camada { transform: none !important; }
  .card, .btn, .hero-photo, .photo-frame, .nav-cta, .etapa { transition: none; }
  .blob, .blob-behind { animation: none !important; }
  .fio path { transition: none; stroke-dashoffset: 0 !important; }
  details.faq-item[open] .faq-answer, nav.main-nav.open { animation: none; }
}
