/* =========================================================
   Dr. Thiago M. Sales — Médico & Psicólogo
   VOICE   acolhedor, sereno, sábio; um consultório com luz natural
   IDEA    a árvore do cuidado (do logotipo): raízes = acolhimento,
           tronco = conhecimento, copa = sabedoria, anéis = acompanhamento
   PICTURE arcos (porta aberta) + ramos finos em linha, como no emblema
   COLOUR  ciano escuro da marca dominante, bege e sálvia de apoio, areia como acento
   TYPE    Gyst (serifa da marca) + Articulat CF; reservas Fraunces + Figtree
   ========================================================= */

@font-face { font-family: "Gyst"; src: url("../../fonts/Gyst_Variable_Light.otf") format("opentype"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gyst"; src: url("../../fonts/Gyst_Variable_Light_Italic.otf") format("opentype"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Articulat CF"; src: url("../../fonts/Articulat_CF_Medium.otf") format("opentype"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --verde: #044437;        /* ciano escuro (marca) */
  --verde-2: #0a5546;
  --tinta: #21383c;        /* cor do logotipo */
  --suave: #4a625f;        /* texto secundário */
  --bege: #f1e8df;         /* laranja claro (marca) */
  --bege-2: #f8f3ee;
  --salvia: #d7dbd5;       /* verde claro (marca) */
  --areia: #bfb8a9;        /* laranja pastel (marca) */
  --azul: #e6e6ea;         /* azul claro (marca) */
  --ouro: #a8916f;         /* areia aprofundada para linhas finas */
  --branco: #fff;
  --alerta: #b42318;
  --serif: "Gyst", "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Articulat CF", "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --raio: 18px;
  --sombra: 0 1px 2px rgba(4,68,55,.05), 0 10px 30px rgba(4,68,55,.07);
  --sombra-forte: 0 24px 60px rgba(4,68,55,.18);
  --largura: 1200px;
  --ramos: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M200 400V250c0-40-30-60-60-90s-40-70-30-110M200 250c0-40 30-60 60-90s40-70 30-110M140 160c-30 0-60-20-80-50M260 160c30 0 60-20 80-50M200 300c-20-20-60-30-90-20M200 300c20-20 60-30 90-20'/%3E%3Cg fill='%23ffffff' fill-opacity='.12' stroke='none'%3E%3Ccircle cx='110' cy='50' r='5'/%3E%3Ccircle cx='290' cy='50' r='5'/%3E%3Ccircle cx='60' cy='110' r='4'/%3E%3Ccircle cx='340' cy='110' r='4'/%3E%3Ccircle cx='110' cy='280' r='3'/%3E%3Ccircle cx='290' cy='280' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--tinta); background: var(--branco); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.015em; color: var(--verde); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }
em.serif, h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0; }
.muted { color: var(--suave); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 99; background: var(--verde); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.section { padding: 104px 0; }
.section-sm { padding: 48px 0; }
.bg-cinza { background: var(--bege-2); }
.bg-bege { background: var(--bege); }
.bg-salvia { background: var(--salvia); }
.bg-verde { background: var(--verde); color: #e8efec; }
.bg-verde h2, .bg-verde h3 { color: #fff; }
.lead { font-size: 1.16rem; color: var(--suave); margin-top: 20px; max-width: 62ch; }
.center .lead, .section-head .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ouro); font-family: var(--serif); font-style: italic; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.stack > * + * { margin-top: 18px; }

/* Ícones */
.icon { width: 1.2em; height: 1.2em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-circle { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--bege); color: var(--verde); box-shadow: inset 0 0 0 1px rgba(168,145,111,.35); }
.icon-circle .icon { width: 26px; height: 26px; }
.icon-circle.sm { width: 38px; height: 38px; } .icon-circle.sm .icon { width: 18px; height: 18px; }
.icon-big { width: 46px; height: 46px; margin: 0 auto 22px; color: var(--areia); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; min-height: 48px; padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--verde); transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.btn-primary { background: var(--verde); color: #fff; }
.btn-primary:hover { background: var(--verde-2); transform: translateY(-2px); box-shadow: var(--sombra-forte); }
.btn-outline { background: transparent; color: var(--verde); }
.btn-outline:hover { background: var(--verde); color: #fff; }
.btn-light { background: var(--bege); color: var(--verde); border-color: var(--bege); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-sm { padding: 11px 22px; min-height: 44px; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(4,68,55,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 500; color: var(--verde); }
.brand-sub { font-size: .7rem; letter-spacing: .08em; color: var(--suave); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { white-space: nowrap; }
.brand-sub { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--suave); font-weight: 500; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; border-radius: 50%; background: var(--ouro); transform: translateX(-50%) scale(0); transition: transform .25s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--verde); }
.nav a[aria-current="page"]::after, .nav a:not(.btn):hover::after { transform: translateX(-50%) scale(1); }
.menu-toggle { display: none; background: none; border: 0; color: var(--verde); width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.menu-open .menu-toggle .i-menu { display: none; }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 28px; border-bottom: 1px solid var(--salvia); box-shadow: var(--sombra-forte); }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; font-size: 1.08rem; border-bottom: 1px solid var(--bege); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
}

/* Hero das páginas internas (sobre) */
.hero { padding: 72px 0 104px; background: linear-gradient(180deg, var(--bege-2), #fff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; align-items: center; gap: 14px; }
.photo-wrap { position: relative; }
.photo { border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: var(--sombra-forte); background: url("../img/logo.png") center/52% no-repeat, var(--ramos) center/120% no-repeat, var(--verde); aspect-ratio: 3 / 4; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge { position: absolute; left: -28px; bottom: 28px; background: #fff; padding: 18px 22px; border-radius: 16px; box-shadow: var(--sombra-forte); max-width: 280px; }
.photo-badge strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; display: block; color: var(--verde); }
.photo-badge span { font-size: .9rem; color: var(--suave); }

/* Faixa de topo das páginas internas */
.page-hero { position: relative; padding: 96px 0 88px; text-align: center; background: var(--verde) var(--ramos) center bottom/520px no-repeat; color: #dce8e4; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.page-hero:has(+ .bg-bege)::after { background: var(--bege); }
.page-hero:has(+ .bg-cinza)::after { background: var(--bege-2); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c9dad5; }
.page-hero .eyebrow, .page-hero .icon-big { color: var(--areia); }
.page-hero + .bg-cinza, .page-hero + .bg-bege, .page-hero + .section-sm { position: relative; }

/* Cartões e grades */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.card { background: #fff; border-radius: var(--raio); padding: 36px; box-shadow: var(--sombra); border: 1px solid rgba(4,68,55,.06); }
.card.tinted { background: var(--bege-2); box-shadow: none; }
.bg-cinza .card.tinted, .bg-bege .card.tinted { background: #fff; }
.card.bordered { border: 1px solid var(--salvia); box-shadow: none; }
.card.centered { text-align: center; display: flex; flex-direction: column; align-items: center; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--suave); }
.card .icon-circle + h3 { margin-top: 22px; }

.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--verde); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.4rem; flex-shrink: 0; box-shadow: 0 0 0 6px var(--bege); }
.steps-vertical { position: relative; display: grid; gap: 40px; max-width: 660px; margin: 48px auto 0; }
.steps-vertical::before { content: ""; position: absolute; left: 25px; top: 30px; bottom: 30px; border-left: 1.5px dashed var(--areia); }
.steps-vertical .step { position: relative; display: flex; gap: 26px; }
.steps-vertical p { color: var(--suave); margin-top: 6px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--verde); margin-top: 4px; }
.check-list.two-col { grid-template-columns: 1fr 1fr; }
.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.tagline { margin-top: 52px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--verde); }

/* Depoimentos */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 2px 22px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: #fff; border-radius: var(--raio); padding: 30px; box-shadow: var(--sombra); display: flex; flex-direction: column; text-decoration: none; position: relative; }
.review::before { content: "\201D"; position: absolute; right: 22px; bottom: -14px; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--bege); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-who { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--verde); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--verde); color: var(--bege); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.1rem; }
.stars { display: flex; gap: 2px; color: var(--ouro); }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.review p { margin-top: 18px; color: var(--suave); flex: 1; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review time { display: block; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--bege); font-size: .82rem; color: var(--suave); }
.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--areia); background: #fff; color: var(--verde); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.carousel-btn:hover { background: var(--verde); color: #fff; border-color: var(--verde); }
.carousel-btn.prev .icon { transform: rotate(180deg); }
.carousel > .carousel-btn { position: absolute; top: 45%; transform: translateY(-50%); box-shadow: var(--sombra); }
.carousel > .carousel-btn.prev { left: -64px; } .carousel > .carousel-btn.next { right: -64px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--salvia); border-radius: 16px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sombra); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; color: var(--verde); display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--ouro); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 26px 22px; color: var(--suave); }

/* Contato */
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 40px 30px; }
.contact-card h3 { margin-top: 0; font-size: 1.3rem; }
.contact-card a { color: var(--verde); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.contact-card .line { margin-top: 14px; color: var(--suave); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.contact-card .line a { font-size: 1.12rem; }
.contact-card .line small { font-size: .85rem; }
.contact-card .line + .line { padding-top: 14px; border-top: 1px solid var(--bege); }
.contact-card .line a[href*="maps"] { font-size: 1.05rem; line-height: 1.5; }
.contact-card .addr { display: block; }
.contact-card .addr + .addr { font-weight: 500; }
.addr-grid .contact-card { padding: 36px 22px; }
@media (min-width: 901px) and (max-width: 1060px) { .addr-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.urgent { border-top: 4px solid var(--alerta); text-align: center; }
.urgent h3 { margin-top: 0; display: flex; justify-content: center; align-items: center; gap: 10px; }
.urgent h3 .icon { color: var(--alerta); }
.urgent ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--suave); display: grid; gap: 6px; }

/* Conteúdos */
.notice { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: .95rem; text-align: center; color: var(--verde); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { border: 1px solid var(--salvia); background: #fff; color: var(--verde); border-radius: 999px; padding: 10px 20px; min-height: 44px; font: 500 .94rem var(--sans); cursor: pointer; transition: .2s; }
.chip:hover, .chip.active { background: var(--verde); color: #fff; border-color: var(--verde); }
.post-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); border: 1px solid rgba(4,68,55,.06); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sombra-forte); }
.post-thumb { aspect-ratio: 16 / 9; background: var(--verde) var(--ramos) center/70% no-repeat; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 26px 28px 30px; }
.tag { display: inline-block; background: var(--bege); color: var(--verde); border-radius: 999px; padding: 4px 13px; font-size: .8rem; font-weight: 600; }
.post-body h2 { font-size: 1.32rem; margin-top: 14px; line-height: 1.2; }
.post-body p { margin-top: 10px; color: var(--suave); font-size: .97rem; }
.post-card[hidden] { display: none; }

/* Artigo */
.breadcrumb { font-size: .86rem; color: var(--suave); padding: 18px 0; border-bottom: 1px solid var(--bege); }
.breadcrumb a { text-decoration: none; } .breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: var(--areia); }
.back-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .94rem; color: var(--suave); margin-bottom: 22px; min-height: 44px; }
.back-link .icon { transform: rotate(180deg); }
.article-hero { padding: 48px 0 32px; }
.article-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-top: 16px; }
.article-cover { aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--verde) var(--ramos) center/50% no-repeat; box-shadow: var(--sombra-forte); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { padding: 44px 24px 80px; font-size: 1.07rem; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-top: 52px; }
.prose h3 { font-size: 1.28rem; margin-top: 34px; }
.prose p { line-height: 1.78; }
.prose ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; line-height: 1.65; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ouro); }
.intro { border-left: 2px solid var(--ouro); padding-left: 24px; font-family: var(--serif); font-style: italic; font-size: 1.22rem; color: var(--verde); }
.highlight { background: var(--bege); border-radius: 16px; padding: 24px 26px; display: flex; gap: 16px; font-weight: 500; color: var(--verde); }
.highlight .icon { margin-top: 3px; width: 24px; height: 24px; }
.quote { background: var(--verde); color: #e8efec; border-radius: 20px; padding: 32px 34px 32px 72px; position: relative; font-family: var(--serif); font-size: 1.2rem; }
.quote::before { content: "\201C"; position: absolute; left: 22px; top: 8px; font-family: var(--serif); font-size: 4.6rem; line-height: 1; color: var(--areia); }
.warning { background: #fdf1f0; border: 1px solid #f3c5c0; border-radius: 16px; padding: 24px; display: flex; gap: 16px; }
.warning .icon { color: var(--alerta); width: 24px; height: 24px; margin-top: 2px; }
.warning small { display: block; margin-top: 8px; color: var(--suave); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-cols .card { padding: 28px; }
.two-cols h4 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.two-cols ul { color: var(--suave); font-size: .98rem; }
.author-box { margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--salvia); text-align: center; }
.author-box strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; display: block; color: var(--verde); }
.author-box small { display: block; color: var(--suave); }
.author-box em { display: block; margin-top: 12px; color: var(--suave); font-size: .94rem; }

.legal h2 { font-size: 1.55rem; margin-top: 44px; }
.legal p, .legal ul { color: var(--suave); margin-top: 12px; }

/* Rodapé */
.site-footer { background: var(--verde) var(--ramos) right -60px bottom -40px/460px no-repeat; color: #d4e2de; padding: 84px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 72px; height: 72px; box-shadow: 0 0 0 4px rgba(241,232,223,.15); }
.site-footer h3 { color: #fff; font-size: 1.5rem; }
.site-footer h4 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; color: var(--areia); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; color: #d4e2de; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cred { font-size: .86rem; color: var(--areia); margin-top: 14px; }
.footer-about { margin-top: 14px; font-size: .95rem; max-width: 380px; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: #a9c0ba; text-align: center; }

.floating-cta { display: none; }
@media (max-width: 760px) {
  .floating-cta { display: inline-flex; position: fixed; right: 16px; bottom: 18px; z-index: 60; box-shadow: var(--sombra-forte); padding: 15px 24px; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

@media (max-width: 1320px) { .carousel > .carousel-btn { display: none; } }
@media (max-width: 1060px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 52px; }
  .hero { padding-top: 44px; }
  .photo-wrap { max-width: 440px; margin: 0 auto; width: 100%; }
  .photo-wrap[style] { position: relative !important; top: auto !important; }
  .photo-badge { left: -6px; }
  .split .order-first-mobile { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 64px 0 72px; }
  .grid-2, .grid-4, .two-cols, .check-list.two-col { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: 88%; }
  .card { padding: 28px; }
  .btn-row .btn { width: 100%; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-sub .regs { display: none; }
  .brand-name { font-size: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote { padding: 28px 22px 24px 54px; }
  .site-footer { padding-bottom: 104px; }
}

/* Fotos */
.photo img, .arch-photo { object-position: center 22%; }
.wide-photo { margin: 0 auto 40px; max-width: 900px; border-radius: 28px; overflow: hidden; box-shadow: var(--sombra-forte); aspect-ratio: 4 / 3; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.side-photo { margin: 0; position: relative; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: var(--sombra-forte); aspect-ratio: 3 / 4; max-width: 460px; width: 100%; justify-self: center; background: var(--bege); }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }
.side-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.92); color: var(--verde); font-family: var(--serif); font-size: 1rem; text-align: center; padding: 10px 14px; border-radius: 999px; }
.steps-split { align-items: center; }

/* ============ Páginas editoriais (Sobre, Para quem atendo, Como funciona) ============ */
.ed-hero { background: var(--bege-2); padding: 72px 0 96px; border-bottom: 1px solid rgba(168,145,111,.25); }
.ed-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 72px; align-items: center; }
.ed-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; }
.ed-hero .lead { font-size: 1.2rem; }
.ed-arch { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 999px 999px 28px 28px; overflow: visible; max-width: 460px; width: 100%; justify-self: center; }
.ed-arch > img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: inherit; box-shadow: var(--sombra-forte); }
.ed-arch figcaption { position: absolute; left: -32px; bottom: 34px; background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--sombra-forte); font-size: .88rem; color: var(--suave); line-height: 1.4; }
.ed-arch figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--verde); }

.ed-quote { background: var(--verde) var(--ramos) right -60px center/520px no-repeat; color: #e8efec; padding: 104px 0; }
.ed-quote blockquote { margin: 0 auto; max-width: 900px; text-align: center; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.25; color: #fff; text-wrap: balance; }
.ed-quote blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--areia); margin-bottom: 18px; }
.ed-quote cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--sans); font-size: .95rem; color: var(--areia); }

.ed-story { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 64px; align-items: start; }
.ed-label { position: sticky; top: 120px; }
.ed-label h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.ed-label p { margin-top: 12px; color: var(--suave); font-family: var(--serif); font-style: italic; }
.ed-text { max-width: 68ch; font-size: 1.1rem; line-height: 1.8; color: var(--tinta); }
.ed-text p + p { margin-top: 22px; }
.ed-text > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.4rem; line-height: .82; padding: 8px 12px 0 0; color: var(--verde); }
.ed-text strong { color: var(--verde); font-weight: 600; }
.ed-sign { margin-top: 34px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--verde); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; border-left: 1.5px solid var(--areia); }
.timeline li { position: relative; padding: 0 0 34px 48px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--bege-2); border: 1.5px solid var(--ouro); box-shadow: inset 0 0 0 5px var(--bege-2), inset 0 0 0 12px var(--verde); }
.timeline li.now::before { box-shadow: inset 0 0 0 5px var(--bege-2), inset 0 0 0 12px var(--ouro); }
.timeline h3 { font-size: 1.4rem; }
.timeline .where { margin-top: 4px; color: var(--suave); }
.timeline .tag-ne { display: inline-block; margin-top: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; color: var(--suave); border: 1px solid var(--areia); border-radius: 999px; padding: 3px 10px; }
.ed-split-photo { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; }
.ed-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--sombra-forte); }
.ed-photo img { width: 100%; height: 100%; object-fit: cover; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--salvia); }
.values > div { padding: 34px 26px 6px 0; }
.values > div + div { padding-left: 26px; border-left: 1px solid var(--salvia); }
.values h3 { font-size: 1.35rem; }
.values p { margin-top: 8px; color: var(--suave); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); background: #fff; border-radius: 24px; box-shadow: var(--sombra-forte); position: relative; z-index: 2; margin-top: -64px; }
.facts > div { padding: 30px 32px; display: flex; gap: 16px; align-items: flex-start; }
.facts > div + div { border-left: 1px solid var(--bege); }
.facts strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--verde); }
.facts span { color: var(--suave); font-size: .95rem; }
.facts .icon { color: var(--ouro); width: 28px; height: 28px; margin-top: 2px; }

.tips { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.tips > div { border-top: 2px solid var(--verde); padding-top: 22px; }
.tips h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.tips h3 .icon { color: var(--ouro); }
.tips p { margin-top: 10px; color: var(--suave); }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door { position: relative; border-radius: 28px; padding: 48px 44px; text-decoration: none; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .3s, box-shadow .3s; }
.door:hover { transform: translateY(-4px); box-shadow: var(--sombra-forte); }
.door.d1 { background: var(--verde) var(--ramos) right -40px top -30px/360px no-repeat; color: #d4e2de; }
.door.d2 { background: var(--bege) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23044437' stroke-opacity='.1' stroke-width='1.2'%3E%3Ccircle cx='100' cy='100' r='30'/%3E%3Ccircle cx='100' cy='100' r='55'/%3E%3Ccircle cx='100' cy='100' r='80'/%3E%3C/g%3E%3C/svg%3E") right -60px top -60px/300px no-repeat; color: var(--suave); }
.door .k { font-family: var(--serif); font-style: italic; color: var(--areia); }
.door.d2 .k { color: var(--ouro); }
.door h2 { margin-top: 8px; font-size: clamp(2rem, 3.4vw, 2.6rem); }
.door.d1 h2 { color: #fff; }
.door p { margin-top: 12px; max-width: 40ch; }
.door .more { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: inherit; }
.door.d1 .more { color: var(--bege); }
.door.d2 .more { color: var(--verde); }

.topic-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.topic-list li { padding: 16px 0; border-bottom: 1px solid var(--salvia); font-family: var(--serif); font-size: 1.25rem; color: var(--verde); display: flex; align-items: center; gap: 14px; }
.topic-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ouro); flex-shrink: 0; }

@media (max-width: 1060px) {
  .values { grid-template-columns: 1fr 1fr; }
  .values > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .ed-hero-grid, .ed-story, .ed-split-photo, .doors { grid-template-columns: 1fr; gap: 44px; }
  .ed-label { position: static; }
  .ed-arch { max-width: 400px; }
  .ed-arch figcaption { left: 12px; }
  .facts { grid-template-columns: 1fr; margin-top: -48px; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--bege); }
  .tips { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .ed-hero { padding: 40px 0 72px; }
  .values { grid-template-columns: 1fr; }
  .values > div, .values > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--salvia); }
  .topic-list { grid-template-columns: 1fr; }
  .door { padding: 36px 28px; min-height: 260px; }
  .ed-quote { padding: 80px 0; }
}
figure picture { display: block; width: 100%; height: 100%; }
figure picture img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb picture, .article-cover picture, .lk-avatar picture { display: block; height: 100%; }

/* Texto corrido: justificado, com recuo de parágrafo e hifenização em português */
.prose p:not(.intro), .ed-text p:not(.ed-sign), .legal p, .ed-story .lead, .lead.just {
  text-align: justify; text-justify: inter-word;
  -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3;
  text-indent: 2em;
}
.ed-text > p:first-child { text-indent: 0; }
.prose li, .prose .highlight, .prose .warning, .prose .quote { text-indent: 0; }
.prose p, .ed-text p { orphans: 2; widows: 2; }
@media (max-width: 420px) { .prose p:not(.intro), .ed-text p:not(.ed-sign), .legal p, .ed-story .lead { text-indent: 1.4em; } }
.prose .intro, .split .lead, .ed-hero .lead, .h-hero .lead, .ed-split-photo .lead, .h-alone .lead, .door p, .h-kids-card > span:not(.k), .values p, .tips p, .path p {
  text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto;
}
.path p { text-align: center; }
@media (max-width: 640px) { .path p { text-align: justify; } }

/* Frase do Dr. Thiago */
.motto { margin: 64px auto 0; max-width: 820px; text-align: center; position: relative; padding: 44px 48px 40px; background: var(--bege); border-radius: 28px; }
.motto::before { content: ""; position: absolute; left: 50%; top: -22px; width: 44px; height: 44px; transform: translateX(-50%); border-radius: 50%; background: var(--verde) url("../img/logo-160.png") center/100% no-repeat; box-shadow: 0 0 0 6px #fff; }
.motto blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.15; color: var(--verde); text-wrap: balance; }
.motto figcaption { margin: 18px auto 0; max-width: 60ch; color: var(--suave); text-align: justify; text-align-last: center; -webkit-hyphens: auto; hyphens: auto; }
.motto figcaption span { display: block; margin-top: 14px; font-family: var(--serif); font-style: italic; color: var(--ouro); text-align: center; }
.motto-left { margin-top: 48px; }
.bg-cinza .motto { background: #fff; box-shadow: var(--sombra); }
.bg-cinza .motto::before { box-shadow: 0 0 0 6px var(--bege-2); }
@media (max-width: 640px) { .motto { padding: 40px 24px 30px; } }

/* Valores: tudo centralizado */
.values > div, .values > div + div { text-align: center; padding: 34px 24px 6px; }
.values p { text-align: center; -webkit-hyphens: manual; hyphens: manual; max-width: 24ch; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .values > div, .values > div + div { padding: 24px 0; } }
