/* Ariádna Brandão — folha de estilo do site
   Conceito: página editorial calma, texto à esquerda e foto/fio à direita;
   o "fio do novelo" (linha contínua) costura as seções. */
:root {
  --bg: #FAF6EF;          /* marfim/creme: base acolhedora */
  --surface: #FFFDF9;
  --ink: #1F2B2A;         /* texto principal, verde-petróleo quase preto */
  --muted: #55625F;
  --turquesa: #3ACBC6;   /* turquesa do logo (detalhes gráficos) */
  --teal: #1C8F87;        /* turquesa da marca (destaque principal) */
  --teal-deep: #136B65;
  --teal-soft: #E3F1EF;
  --lilac: #7462B5;       /* lilás (secundário) */
  --lilac-soft: #EEEBF7;
  --gold: #D4AF37;          /* dourado em tom de ouro, claro e vivo */
  --line: #EAE2D6;
  --wa: #1FA855;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  --radius: 18px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; line-height: 1.35; }
h1 em, h2 em { font-style: italic; color: var(--teal); }
p { margin: 0; max-width: 62ch; }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lilac);
}

/* Cabeçalho */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand strong { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--teal-deep); }
.brand-txt > span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 22px; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal-deep); font-weight: 600; }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 8px; }
  .nav { width: 100%; gap: 18px; overflow-x: auto; font-size: .88rem; padding-bottom: 2px; white-space: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, transform .2s;
}
.btn-wa { background: var(--teal); color: #fff; }
.btn-wa:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero-text .lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { border-radius: 50% 50% var(--radius) var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 440px; margin-inline: auto; }
.hero-photo { isolation: isolate; width: 100%; max-width: 440px; margin-inline: auto; }
.hero-photo img { position: relative; z-index: 1; }
.hero-photo .fio { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: 440px; margin-inline: auto; overflow: visible; pointer-events: none; }
.fio-trilha { stroke: var(--gold); stroke-width: .55; stroke-linecap: round; fill: none; }
.borboleta { stroke: var(--teal); stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; }
.borboleta circle { fill: var(--teal); stroke: none; }
.hero-photo .borboleta-img { position: absolute; z-index: 2; left: 106%; top: 70%; width: 20%; max-width: none; height: auto; aspect-ratio: auto; border-radius: 0; margin: 0; object-fit: contain; transform: rotate(-14deg); pointer-events: none; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 220px; margin-inline: auto; }
  .hero { padding-top: 24px; }
}

.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 8px 0 0; list-style: none; font-size: 0.95rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* Seções */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head p { color: var(--muted); }
.band { background: var(--surface); }
.band-teal { background: var(--teal-deep); color: #F2FAF9; }
.band-teal h2, .band-teal h3 { color: #fff; }
.band-teal .eyebrow { color: #F1D27A; }
.band-teal p { color: #D7ECE9; }

/* Sinais */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
@media (max-width: 860px) { .signs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .signs { grid-template-columns: 1fr; } }
.signs li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; font-size: 1.05rem; line-height: 1.5; min-width: 0;
}
.signs li q { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); quotes: "“" "”"; }
.note { margin-top: 22px; color: var(--muted); font-size: 0.98rem; }

/* Temas */
.topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 36px; }
.topics > .topic { flex: 0 1 calc((100% - 3 * 36px) / 4); }
@media (max-width: 1060px) { .topics > .topic { flex-basis: calc((100% - 2 * 36px) / 3); } }
@media (max-width: 860px) { .topics > .topic { flex-basis: calc((100% - 36px) / 2); } }
@media (max-width: 560px) { .topics > .topic { flex-basis: 100%; } }
.topic { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-top: 18px; border-top: 2px solid var(--teal-soft); }
.topic p { color: var(--muted); font-size: 1rem; }

/* Passos (sequência real) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: passo; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: passo; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps li::before {
  content: counter(passo); font-family: var(--font-display); font-size: 1.6rem; color: #F1D27A;
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(241,210,122,.55);
  display: grid; place-items: center;
}
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: 0.98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Destaque pré-natal */
.callout {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--lilac-soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
}
.callout > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.callout .eyebrow { color: var(--lilac); }
.h2-sub { display: block; font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
@media (max-width: 720px) { .callout { grid-template-columns: 1fr; } }

/* Quem cuida */
.about { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.about img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.destaque { color: var(--teal); font-weight: 600; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 0; list-style: none; }
.creds li { background: var(--teal-soft); color: var(--teal-deep); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; font-weight: 500; }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; } .about img { max-width: 280px; } }

/* Perguntas frequentes */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* CTA final */
.final { text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final p { margin-inline: auto; }

/* Rodapé */
.site-footer { background: #17201F; color: #C9D3D1; font-size: 0.92rem; padding-block: 48px 110px; }
.site-footer a { color: #E7EFED; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #F1D27A; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-grid p { max-width: 40ch; }
.emergency { margin-top: 32px; padding-top: 20px; border-top: 1px solid #2E3A38; font-size: 0.86rem; color: #A9B6B3; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed; z-index: 50;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: #fff; text-decoration: none; font-weight: 600;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(23, 32, 31, .22);
}
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 15px; } }

/* Caminhos (página Maternidade) */
.paths { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 0; margin: 0; list-style: none; }
.paths > li { flex: 0 1 calc((100% - 2 * 16px) / 3); }
.paths a {
  display: flex; flex-direction: column; gap: 8px; height: 100%; min-width: 0;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.paths a:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,32,31,.08); }
.path-fase { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); }
.paths strong { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }
.path-txt { color: var(--muted); font-size: .98rem; flex: 1; }
.path-link { color: var(--teal-deep); font-weight: 600; font-size: .95rem; }
.path-link::after { content: " →"; }
@media (max-width: 900px) { .paths > li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 560px) { .paths > li { flex-basis: 100%; } }

/* Capa da página Maternidade: foto maior, retangular com cantos suaves */
.hero-pergunta { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; color: var(--ink); margin: 0; }
.hero-pergunta em { color: var(--teal); }
.hero-capa .hero-grid { grid-template-columns: 1fr 1fr; }
.hero-capa .hero-photo img:not(.borboleta-img) { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); object-position: top; }
.hero-capa .hero-photo { max-width: 480px; }
@media (max-width: 820px) { .hero-capa .hero-grid { grid-template-columns: 1fr; } .hero-capa .hero-photo { max-width: 260px; } .hero-capa .hero-photo .borboleta-img { left: 88%; top: 72%; width: 18%; } }
.about img { object-position: top; }

.path-icon { width: 44px; height: 44px; stroke: var(--turquesa); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.fio-coracao { width: 220px; height: auto; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Logo: borboleta ao lado do nome */
.brand { flex-direction: row; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: auto; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }

/* Foto do topo: forma orgânica, um pouco maior */
.hero-photo { max-width: 520px; }
.hero-photo img:not(.brand-logo):not(.borboleta-img),
.hero-capa .hero-photo img:not(.borboleta-img) { border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; max-width: 520px; }
.hero-capa .hero-photo { max-width: 560px; }
.hero-capa .hero-photo img:not(.borboleta-img) { max-width: 560px; }
@media (max-width: 820px) {
  .hero-photo { max-width: 250px; }
  .hero-capa .hero-photo { max-width: 300px; }
}

/* Páginas de serviço: foto grande no computador, mais contida no celular (título visível) */
@media (max-width: 820px) { .hero-servico .hero-photo { max-width: 230px; } }

.prose { display: flex; flex-direction: column; gap: 16px; max-width: 70ch; }
.about-text a, .topic a { color: var(--teal-deep); font-weight: 600; }

@media (max-width: 820px) { .hero-capa:not(.hero-servico) .hero-photo { max-width: 240px; } }
