/* Tema Clínica — calmo, claro, com serifa nos títulos */
:root {
  --bg: #fbf9f4; --surface: #ffffff; --ink: #1d2b2a; --muted: #5d6b69; --line: #e2ded2;
  --brand: #0f6b62; --brand-dark: #0a4c46; --soft: #e6f1ee; --warm: #f3ede0;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-size: clamp(27px, 3.4vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 56ch; }
.button { display: inline-block; padding: 15px 26px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; transition: background .15s; }
.button:hover { background: var(--brand-dark); }
.button--light { background: #fff; color: var(--brand-dark); }
.button--light:hover { background: var(--warm); }
:focus-visible { outline: 3px solid #f0a23a; outline-offset: 3px; }
.preview-flag { position: sticky; top: 0; z-index: 9; background: #1d2b2a; color: #fff; text-align: center; font-size: 13px; padding: 6px; }

.hero { padding: clamp(48px, 7vw, 96px) 0; background: linear-gradient(180deg, var(--warm), var(--bg)); }
.hero--split .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero--centered .hero-inner { text-align: center; }
.hero--centered .hero-copy { max-width: 780px; margin: 0 auto; }
.hero--centered .lead { margin-left: auto; margin-right: auto; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-media img, .hero-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 180px 180px 24px 24px; }
.hero-placeholder, .doctor-placeholder { background: radial-gradient(circle at 30% 25%, #cfe5df, var(--soft) 55%, #d9e6e1); }

.feature-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.feature p { margin: 0; color: var(--muted); }
.features--list .feature-grid { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
.features--list .feature { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 24px 0; }

.doctor { background: var(--soft); }
.doctor-inner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.doctor-photo img, .doctor-placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.credential { font-weight: 600; color: var(--brand-dark); margin-top: -8px; }
.tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.quote { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.quote blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: 15px; }
.quote figcaption span { display: block; color: var(--muted); }

.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.cta { padding-top: 0; }
.cta-box { background: var(--brand); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-box h2 { margin-bottom: 8px; }
.cta-box p { margin: 0; opacity: .9; }

.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer strong { color: var(--ink); font-family: var(--serif); font-size: 18px; }
.footer p { margin: 6px 0 0; }
.footer-meta { text-align: right; }
.legal { font-size: 13px; }

@media (max-width: 800px) {
  .hero--split .hero-inner, .doctor-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 360px; }
  .doctor-photo { max-width: 200px; }
  .footer-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
