/* Sites das clínicas (Mentez · Marketing → Site). Cores e fontes vêm do estilo (variáveis em :root na página);
   o layout (classe L-* no body) muda abertura, composição e acabamento. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 12px; }
.i { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.narrow { max-width: 820px; }

/* tipografia */
.h1 { font-family: var(--serif); font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.6rem); line-height: 1.06; letter-spacing: -.02em; }
.h2 { font-family: var(--serif); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.1; letter-spacing: -.015em; }
.h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: .45em; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow__n { display: none; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; letter-spacing: 0; color: var(--accent-text); }
.prose p, .sec__lead p, .hero__lead p { color: var(--muted); }
.sec__lead { max-width: 640px; margin-top: 1.1rem; font-size: 1.1rem; }
.prose { margin-top: 1.2rem; font-size: 1.08rem; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--accent); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px var(--accent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__i { width: 1.1em; height: 1.1em; }
.btn--sm { min-height: 40px; padding: .45rem 1.1rem; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--ghost-light { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 45%, transparent); }
.is-dark .btn--light { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.is-dark .btn--ghost-light { color: var(--ink); }

/* topo */
.preview-bar { position: sticky; top: 0; z-index: 60; padding: 8px 16px; background: #1e293b; color: #fff; font: 600 .85rem/1.4 system-ui, sans-serif; text-align: center; }
.topbar { background: var(--ink); color: var(--bg); font-size: .85rem; }
.topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-block: .45rem; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; opacity: .9; }
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -24px rgba(0,0,0,.4); }
.header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand__logo { max-height: 46px; width: auto; max-width: 220px; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.nav ul { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.menu-btn { display: none; border: 0; background: none; color: var(--ink); padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn .i { width: 28px; height: 28px; }
.menu { border-top: 1px solid var(--line); background: var(--bg); }
.menu ul { width: min(1180px, 100%); margin: 0 auto; padding: .6rem clamp(18px, 4vw, 40px) 1.2rem; }
.menu a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; font-family: var(--serif); }
@media (max-width: 960px) { .nav { display: none; } .menu-btn { display: inline-flex; } .header__in { gap: .8rem; min-height: 64px; } }
@media (max-width: 420px) { .header__cta { display: none; } }

/* abertura */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 6vw, 7rem); }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero__eyebrow { margin: 0 0 1.2rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.hero__lead { margin-top: 1.4rem; max-width: 560px; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__media img { width: 100%; border-radius: 18px; object-fit: cover; }
@media (min-width: 960px) { .hero--split .hero__grid, .hero--text .hero__grid, .hero--round .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero--round .hero__media img { border-radius: 50%; aspect-ratio: 1; max-width: 460px; margin-inline: auto; box-shadow: 0 30px 70px -40px rgba(0,0,0,.5); }
.hero--text .hero__media img { max-width: 340px; margin-left: auto; }
.hero--cover { min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; padding-block: clamp(5rem, 4rem + 6vw, 9rem); }
.hero--cover.hero--noimg { color: var(--ink); min-height: 0; background: var(--soft); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.35), rgba(10,12,16,.62)); }
.hero--cover .hero__grid { position: relative; text-align: center; justify-items: center; }
.hero--cover .hero__lead { margin-inline: auto; }
.hero--cover .hero__actions { justify-content: center; }
.hero--cover:not(.hero--noimg) .hero__eyebrow, .hero--cover:not(.hero--noimg) .hero__lead p { color: rgba(255,255,255,.9); }
.hero--cover:not(.hero--noimg) .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero--cover:not(.hero--noimg) .h1 { max-width: 15ch; }
.header--ondark + main .hero--cover { margin-top: 0; }

/* seções */
.sec { padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); }
.alt { background: var(--surface); }
.sec__head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.sec__cta { margin-top: 2.5rem; }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: .9fr 1.1fr; } .split--rev { grid-template-columns: 1.1fr .9fr; } .sec--contato .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.split__media img, .rounded { width: 100%; border-radius: 18px; object-fit: cover; }
.ticks { margin-top: 1.5rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .45rem; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { padding: 1.6rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.card p { margin: 0; color: var(--muted); }
.alt .card { background: var(--bg); }
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.step { padding-top: 1.2rem; border-top: 1px solid var(--line); }
.step__n { display: block; margin-bottom: .8rem; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent-text); }
.step p { color: var(--muted); margin: 0; }
.modes { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.mode { padding: 2rem; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.mode p { color: var(--muted); margin: 0; }
.mode__i { width: 34px; height: 34px; color: var(--accent-text); margin-bottom: 1rem; }
.team { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.person__img, .person__ph { width: 100%; aspect-ratio: 1; border-radius: 18px; object-fit: cover; margin-bottom: 1rem; }
.person__ph { display: grid; place-items: center; background: var(--soft); color: var(--accent-text); font-family: var(--serif); font-size: 2.6rem; }
.person__role { margin: 0; color: var(--accent-text); font-weight: 600; font-size: .95rem; }
.person__text { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; padding: 1.25rem 2.5rem 1.25rem 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--accent-text); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--muted); padding-right: 2rem; }
.contacts { display: grid; gap: .7rem; }
.contacts a, .contacts__row { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); text-decoration: none; transition: border-color .18s; }
.contacts a:hover { border-color: var(--accent-text); }
.contacts .i { width: 26px; height: 26px; color: var(--accent-text); }
.contacts small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* agendamento on-line */
.book { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1024px) { .book { grid-template-columns: .8fr 1.2fr; } .book__intro { position: sticky; top: 100px; } }
.book__steps { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.book__steps li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.book__steps span { font-family: var(--serif); font-style: italic; color: var(--accent-text); font-size: 1.1rem; }
.book__alt { margin-top: 1.4rem; }
.book__alt a { color: var(--accent-text); font-weight: 700; }
.book__card { position: relative; min-height: 420px; padding: clamp(12px, 2vw, 24px) clamp(10px, 2vw, 24px) 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -50px rgba(0,0,0,.45); }
.book__card iframe { display: block; width: 100%; height: 520px; border: 0; transition: height .25s ease; }
.book__load { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #66625C; background: #fff; border-radius: 18px; transition: opacity .3s; }
.book__card.is-ready .book__load { opacity: 0; pointer-events: none; }
.book__open { margin: .9rem 0 0; font-size: .9rem; }
.book__open a { color: var(--accent-text); }
@media (max-width: 1023px) { .book__steps { display: none; } }

/* chamada final e rodapé */
.final { padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); background: var(--ink); color: var(--bg); text-align: center; }
.final .h2 { max-width: 20ch; margin-inline: auto; }
.final__lead { max-width: 560px; margin: 1.2rem auto 0; opacity: .85; font-size: 1.12rem; }
.final .hero__actions { justify-content: center; }
.footer { padding-block: 3rem 1.5rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer__in p { margin: 0 0 .3rem; }
.footer__name { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: flex-start; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }
.footer__small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .8rem; }
.footer__small a { color: inherit; }
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; gap: .5rem; height: 56px; padding: 0 18px 0 14px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .2s ease; }
.wa-float .i { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float.is-hidden { transform: translateY(160%); }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

/* páginas simples (privacidade, 404) */
.legal-page { min-height: 100vh; }
.legal { max-width: 760px; padding-block: 3rem 5rem; }
.legal h1 { margin: 1rem 0 1.5rem; }
.legal h2 { margin: 2rem 0 .6rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5rem; }
.legal a { color: var(--accent-text); }
.legal__small { margin-top: 2.5rem; font-size: .85rem; color: var(--muted); }
.center { text-align: center; padding-top: 18vh; }

/* animação de entrada (respeita “reduzir movimento”) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
  .js .rv.is-in { opacity: 1; transform: none; }
}

/* ---------- Layouts ---------- */
/* Editorial: seções numeradas, filetes finos, serifas grandes */
.L-editorial .eyebrow__n { display: inline-flex; align-items: center; gap: .8rem; }
.L-editorial .eyebrow__n::after { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: .6; }
.L-editorial .h1 { font-weight: 400; }
.L-editorial .card { border-radius: 2px; background: transparent; border-width: 1px 0 0; padding-inline: 0; }
.L-editorial .mode, .L-editorial .contacts a, .L-editorial .contacts__row, .L-editorial .book__card, .L-editorial .hero__media img, .L-editorial .split__media img, .L-editorial .person__img, .L-editorial .person__ph { border-radius: 2px; }
.L-editorial .btn { border-radius: 2px; }
.L-editorial .hero--split .hero__media img { aspect-ratio: 4 / 5; }

/* Acolhedor: tudo arredondado, fundos suaves */
.L-acolhedor .sec--ajuda, .L-acolhedor .sec--equipe { background: var(--soft); }
.L-acolhedor .card, .L-acolhedor .mode { border-radius: 26px; border: 0; box-shadow: 0 20px 50px -38px rgba(0,0,0,.35); }
.L-acolhedor .hero { background: radial-gradient(900px 500px at 85% 0%, var(--soft), transparent 70%); }
.L-acolhedor .split__media img, .L-acolhedor .rounded { border-radius: 36px; }
.L-acolhedor .person__img, .L-acolhedor .person__ph { border-radius: 50%; }
.L-acolhedor .team { text-align: center; }
.L-acolhedor .step { border: 0; padding: 1.6rem; border-radius: 22px; background: var(--surface); }
.L-acolhedor .final { background: var(--accent); color: var(--on-accent); }
.L-acolhedor .final .btn--light { background: var(--bg); color: var(--ink); }
.L-acolhedor .final .btn--ghost-light { color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 45%, transparent); }
.L-acolhedor .h2, .L-acolhedor .h1 { letter-spacing: -.01em; }

/* Minimalista: sem enfeites, texto em primeiro plano */
.L-minimalista .h1, .L-minimalista .h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -.03em; }
.L-minimalista .h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.9rem); }
.L-minimalista .alt { background: transparent; border-top: 1px solid var(--line); }
.L-minimalista .card, .L-minimalista .mode { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.2rem 0 0; }
.L-minimalista .btn { border-radius: 8px; }
.L-minimalista .final { background: transparent; color: var(--ink); border-top: 1px solid var(--line); }
.L-minimalista .final .btn--light { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.L-minimalista .final .btn--ghost-light { color: var(--ink); border-color: var(--line); }
.L-minimalista .hero--text .hero__media img { border-radius: 8px; filter: grayscale(.15); }

/* Clássico: centralizado, ornamentos discretos */
.L-classico .sec__head, .L-classico .narrow .eyebrow, .L-classico .narrow .h2 { text-align: center; }
.L-classico .sec__head .eyebrow, .L-classico .narrow .eyebrow { justify-content: center; }
.L-classico .sec__lead { margin-inline: auto; }
.L-classico .sec__head .h2::after, .L-classico .narrow > .h2::after { content: ""; display: block; width: 56px; height: 2px; margin: 1.2rem auto 0; background: var(--accent); }
.L-classico .h1, .L-classico .h2 { font-weight: 500; }
.L-classico .card { text-align: center; }
.L-classico .steps { text-align: center; }
.L-classico .team { text-align: center; }
.L-classico .person__img, .L-classico .person__ph { border-radius: 50%; width: 76%; margin-inline: auto; }

/* Escuro elegante */
.is-dark .header { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.is-dark .hero { background: radial-gradient(800px 480px at 80% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.is-dark .card, .is-dark .mode, .is-dark .contacts a, .is-dark .contacts__row { background: var(--surface); }
.is-dark .alt .card, .is-dark .alt .mode { background: var(--bg); }
.is-dark .final { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); }
.is-dark .btn--ghost { color: var(--ink); }
.is-dark .book__card { border-color: transparent; }
.is-dark .person__ph { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: var(--ink); }

/* Clínica e equipe: barra de contatos, abertura com foto, cartões fortes */
.L-clinica .h1, .L-clinica .h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -.025em; }
.L-clinica .card { border-top: 4px solid var(--accent); border-radius: 12px; box-shadow: 0 18px 40px -34px rgba(0,0,0,.4); }
.L-clinica .sec--equipe { background: var(--soft); }
.L-clinica .person { background: var(--surface); border-radius: 16px; padding: 1rem 1rem 1.3rem; box-shadow: 0 18px 40px -34px rgba(0,0,0,.4); }
.L-clinica .person__img, .L-clinica .person__ph { border-radius: 12px; }
.L-clinica .btn { border-radius: 10px; }
.L-clinica .eyebrow { color: var(--accent-text); }

/* cabeçalho sobre foto (abertura com foto de fundo) */
.header--ondark:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body:not(.is-dark) .header--ondark:not(.is-scrolled) .nav a, body:not(.is-dark) .header--ondark:not(.is-scrolled) .brand__name, body:not(.is-dark) .header--ondark:not(.is-scrolled) .menu-btn { color: #fff; }
.L-classico .header--ondark, .L-clinica .header--ondark { position: fixed; left: 0; right: 0; }
.L-clinica .topbar + .header--ondark { top: auto; }
.L-classico .header--ondark ~ main .hero--cover, .L-clinica .header--ondark ~ main .hero--cover { padding-top: calc(clamp(5rem, 4rem + 6vw, 9rem) + 60px); }
.header--ondark.is-scrolled { position: fixed; top: 0; }
.brand__logo--d { display: none; }
.header--ondark:not(.is-scrolled) .brand__logo--d { display: block; }
.header--ondark:not(.is-scrolled) .brand__logo--l { display: none; }
.has-preview .header--ondark, .has-preview .header--ondark.is-scrolled { top: 40px; }
@media (max-width: 600px) { .has-preview .header--ondark, .has-preview .header--ondark.is-scrolled { top: 56px; } }
