/*
 * Base global + componentes compartilhados (header, drawer, rodapé, botões).
 * Componente usado em mais de um template mora AQUI, nunca no home.css (lição design.md).
 * Projeto Gerado pelo Prompt Mestre do Desenvolvedor e Vibe Coder Dante Testa · www.dantetesta.com.br
 */

/* ---------- Reset leve + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
html.ct-no-scroll { overflow: hidden; }
body {
	margin: 0;
	overflow-x: hidden; /* R86: nenhum overflow horizontal */
	background: var(--ct-bg);
	color: var(--ct-text);
	font-family: var(--ct-font-body);
	font-size: var(--ct-fs-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ct-accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
	font-family: var(--ct-font-display);
	color: var(--ct-heading);
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -.015em;
	text-wrap: balance;
	margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Utilitários ---------- */
.ct-container { max-width: var(--ct-maxw); margin-inline: auto; padding-inline: var(--ct-gutter); }
.ct-main { display: block; }
.ct-sr, .ct-skip {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ct-skip:focus {
	position: fixed !important; top: 12px; left: 12px; width: auto; height: auto;
	clip: auto; padding: 10px 16px; background: var(--ct-petroleo); color: #fff;
	border-radius: var(--ct-radius-sm); z-index: 999; font-weight: 600;
}
.ct-eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: var(--ct-fs-eyebrow); font-weight: 700; letter-spacing: .16em;
	text-transform: uppercase; color: var(--ct-accent-ink);
}
.ct-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ct-accent); }
:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--ct-accent); outline-offset: 2px; border-radius: 4px;
}
.ct-icon { flex: 0 0 auto; }

/* ---------- Botões ---------- */
.ct-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--ct-font-body); font-weight: 600; font-size: .95rem; line-height: 1;
	padding: .85em 1.35em; border-radius: var(--ct-radius-sm); border: 1px solid transparent;
	cursor: pointer; text-decoration: none; transition: background var(--ct-dur) var(--ct-ease), color var(--ct-dur) var(--ct-ease), transform var(--ct-dur) var(--ct-ease);
}
.ct-btn--accent { background: var(--ct-teal-ink); color: #fff; }
.ct-btn--accent:hover { background: var(--ct-petroleo); color: #fff; }
.ct-btn--primary { background: var(--ct-petroleo); color: #fff; }
.ct-btn--primary:hover { background: var(--ct-petroleo-deep); }
.ct-btn--ghost { background: transparent; color: var(--ct-heading); border-color: var(--ct-line); }
.ct-btn--ghost:hover { border-color: var(--ct-accent); color: var(--ct-accent-ink); }
.ct-link-arrow {
	display: inline-flex; align-items: center; gap: .4em; font-weight: 600;
	color: var(--ct-accent-ink); text-decoration: none;
}
.ct-link-arrow .ct-icon { width: 18px; height: 18px; transition: transform var(--ct-dur) var(--ct-ease); }
.ct-link-arrow:hover .ct-icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.ct-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--ct-white) 92%, transparent);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid transparent;
	transition: box-shadow var(--ct-dur) var(--ct-ease), border-color var(--ct-dur) var(--ct-ease);
}
.ct-header.is-scrolled { border-bottom-color: var(--ct-line); box-shadow: var(--ct-shadow-sm); }
.ct-header__inner {
	max-width: var(--ct-maxw); margin-inline: auto; padding-inline: var(--ct-gutter);
	min-height: var(--ct-header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--ct-s3);
	padding-top: 10px;
}
.ct-logo { display: inline-flex; align-items: center; text-decoration: none; }
.ct-logo__img { display: block; }
.ct-logo--text { font-family: var(--ct-font-display); font-size: 1.4rem; font-weight: 600; color: var(--ct-heading); }
.ct-nav { min-width: 0; }
.ct-nav__list { display: flex; align-items: center; gap: var(--ct-s3); list-style: none; margin: 0; padding: 0; }
.ct-nav__list a {
	font-family: var(--ct-font-body); font-weight: 500; font-size: .98rem;
	color: var(--ct-text); text-decoration: none; padding: .4em 0; position: relative;
}
.ct-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
	background: var(--ct-accent); transition: right var(--ct-dur) var(--ct-ease);
}
.ct-nav__list a:hover::after, .ct-nav__list .current-menu-item > a::after { right: 0; }
.ct-header__actions { display: flex; align-items: center; gap: var(--ct-s2); }
.ct-nav { display: none; }
.ct-header__cta { display: none; }
.ct-menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border: 1px solid var(--ct-line); border-radius: var(--ct-radius-sm);
	background: var(--ct-white); color: var(--ct-heading); cursor: pointer;
}
@media (min-width: 981px) {
	.ct-nav { display: block; }
	.ct-header__cta { display: inline-flex; }
	.ct-menu-toggle { display: none; }
}

/* ---------- Drawer mobile (R86: fixed contido, sem vazar scroll) ---------- */
.ct-drawer { position: fixed; inset: 0; z-index: 200; overflow: hidden; visibility: hidden; }
.ct-drawer.is-open { visibility: visible; }
.ct-drawer__backdrop {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; z-index: 1;
	background: rgba(0, 47, 72, .5); opacity: 0; transition: opacity var(--ct-dur) var(--ct-ease);
}
.ct-drawer.is-open .ct-drawer__backdrop { opacity: 1; }
.ct-drawer__panel {
	position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 360px); z-index: 2;
	background: var(--ct-white); box-shadow: var(--ct-shadow); overflow-y: auto; overflow-x: hidden;
	padding: calc(var(--ct-header-h) + 12px) var(--ct-s3) var(--ct-s4);
	display: flex; flex-direction: column; gap: var(--ct-s2);
	transform: translateX(100%); transition: transform var(--ct-dur) var(--ct-ease);
}
.ct-drawer.is-open .ct-drawer__panel { transform: translateX(0); }
.ct-drawer__close {
	position: absolute; top: 16px; right: 16px; width: 44px; height: 44px;
	border: 1px solid var(--ct-line); border-radius: var(--ct-radius-sm);
	background: var(--ct-white); color: var(--ct-heading); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.ct-drawer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-drawer__list a {
	display: block; padding: .8em 0; font-family: var(--ct-font-body); font-weight: 600;
	font-size: 1.1rem; color: var(--ct-heading); text-decoration: none; border-bottom: 1px solid var(--ct-line);
}
.ct-drawer__cta { margin-top: var(--ct-s2); }

/* ---------- Redes sociais (ícones, nunca texto) ---------- */
.ct-social { display: flex; gap: var(--ct-s1); list-style: none; margin: 0; padding: 0; }
.ct-social__link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ct-line);
	color: var(--ct-heading); transition: background var(--ct-dur) var(--ct-ease), color var(--ct-dur) var(--ct-ease), border-color var(--ct-dur) var(--ct-ease);
}
.ct-social__link:hover { background: var(--ct-accent); color: #00303a; border-color: transparent; }

/* ---------- Páginas genéricas / posts ---------- */
.ct-page { padding-block: var(--ct-section); }
.ct-page__head { max-width: var(--ct-maxw-read); margin-bottom: var(--ct-s4); display: grid; gap: 12px; }
.ct-page__title { font-size: var(--ct-fs-h1); }
.ct-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--ct-s3); }
.ct-post-card { border: 1px solid var(--ct-line); border-radius: var(--ct-radius); overflow: hidden; background: var(--ct-bg); display: flex; flex-direction: column; transition: transform var(--ct-dur) var(--ct-ease), box-shadow var(--ct-dur) var(--ct-ease); }
.ct-post-card:hover { transform: translateY(-3px); box-shadow: var(--ct-shadow); }
.ct-post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ct-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-post-card__body { padding: var(--ct-s3); display: grid; gap: 10px; }
.ct-post-card__title { font-size: var(--ct-fs-h3); margin: 0; }
.ct-post-card__title a { color: var(--ct-heading); text-decoration: none; }
.ct-post-card__excerpt { color: var(--ct-text-soft); font-size: .95rem; margin: 0; }

/* ---------- Rodapé ---------- */
.ct-footer { background: var(--ct-ground-deep); color: var(--ct-on-ground); margin-top: 0; }
.ct-footer__inner {
	max-width: var(--ct-maxw); margin-inline: auto; padding: var(--ct-s6) var(--ct-gutter) var(--ct-s4);
	display: grid; gap: var(--ct-s4); grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 900px) { .ct-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ct-footer__inner { grid-template-columns: 1fr; } }
.ct-footer h2, .ct-footer .ct-logo--text { color: #fff; }
.ct-footer__title { font-family: var(--ct-font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ct-on-ground-soft); margin: 0 0 var(--ct-s2); }
.ct-footer__brand .ct-logo__img { filter: brightness(0) invert(1); }
.ct-footer__tagline { color: var(--ct-on-ground-soft); margin: var(--ct-s2) 0 var(--ct-s3); max-width: 34ch; }
.ct-footer__addr { font-style: normal; display: grid; gap: var(--ct-s2); color: var(--ct-on-ground); }
.ct-footer__addr strong { color: #fff; }
.ct-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct-footer__contact li { display: flex; align-items: center; gap: .6em; color: var(--ct-on-ground); }
.ct-footer__contact a { color: var(--ct-on-ground); text-decoration: none; }
.ct-footer__contact a:hover { color: #fff; }
.ct-footer__contact .ct-icon { color: var(--ct-turq); }
.ct-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ct-footer__menu a { color: var(--ct-on-ground); text-decoration: none; }
.ct-footer__menu a:hover { color: #fff; }
.ct-footer .ct-social__link { border-color: rgba(255,255,255,.2); color: #fff; }
.ct-footer .ct-social__link:hover { background: var(--ct-accent); color: #00303a; }
.ct-footer__legal { border-top: 1px solid rgba(255,255,255,.12); }
.ct-footer__legal-inner { max-width: var(--ct-maxw); margin-inline: auto; padding: var(--ct-s3) var(--ct-gutter); display: grid; gap: 8px; }
.ct-footer__id { color: var(--ct-on-ground); font-size: .9rem; margin: 0; }
.ct-footer__disclaimer { color: var(--ct-on-ground-soft); font-size: .82rem; margin: 0; max-width: 90ch; }
.ct-footer__copy { color: var(--ct-on-ground-soft); font-size: .85rem; margin: 0; }
.ct-footer__credit a { color: #fff; text-decoration: underline; }

/* ---------- Paginação ---------- */
.pagination, .navigation.pagination { margin-top: var(--ct-s4); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--ct-line); border-radius: var(--ct-radius-sm); color: var(--ct-heading); text-decoration: none; }
.page-numbers.current { background: var(--ct-petroleo); color: #fff; border-color: transparent; }

/* ============================================================
   Componentes compartilhados (home + archives + singles)
   ============================================================ */

/* ---------- Seção + cabeçalho ---------- */
.ct-section { padding-block: var(--ct-section); }
.ct-band { background: var(--ct-surface); }
.ct-sec-head { max-width: 62ch; margin: 0 auto var(--ct-s4); display: grid; gap: 12px; text-align: center; justify-items: center; }
.ct-sec-head h2 { font-size: var(--ct-fs-h2); margin: 0; }
.ct-sec-lead { color: var(--ct-text-soft); margin: 0; }
.ct-sec-cta { margin-top: var(--ct-s4); text-align: center; }
.ct-empty { color: var(--ct-text-soft); text-align: center; }

/* ---------- Select estilizado ---------- */
.ct-select { position: relative; }
.ct-select select {
	appearance: none; -webkit-appearance: none; width: 100%;
	font-family: var(--ct-font-body); font-size: 1rem; color: var(--ct-heading);
	background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius-sm);
	padding: .8em 2.4em .8em 1em; cursor: pointer;
}
.ct-select .ct-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ct-accent-ink); pointer-events: none; }

/* ---------- Barra de Movimento ---------- */
.ct-movbar {
	display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--ct-s2); align-items: end;
	background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius);
	padding: var(--ct-s3); box-shadow: var(--ct-shadow-sm);
}
.ct-movbar__field { display: grid; gap: 6px; min-width: 0; }
.ct-movbar__field label { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-text-soft); }
.ct-movbar__go { height: 48px; white-space: nowrap; }
@media (max-width: 620px) { .ct-movbar { grid-template-columns: 1fr; } .ct-movbar__go { width: 100%; } }

/* ---------- Grade de procedimentos ---------- */
.ct-procs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ct-s3); }
@media (max-width: 900px) { .ct-procs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ct-procs__grid { grid-template-columns: 1fr; } }

/* ---------- Card de Procedimento ---------- */
.ct-proc-card { display: flex; flex-direction: column; background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); overflow: hidden; transition: transform var(--ct-dur) var(--ct-ease), box-shadow var(--ct-dur) var(--ct-ease); }
.ct-proc-card:hover { transform: translateY(-4px); box-shadow: var(--ct-shadow); }
.ct-proc-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ct-surface-2); }
.ct-proc-card__img { width: 100%; height: 100%; object-fit: cover; }
.ct-proc-card__ph { position: absolute; inset: 0; background: var(--ct-surface-2); }
.ct-proc-card__ph::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; background: var(--ct-turq); }
.ct-proc-card__ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 90% at 100% 0%, color-mix(in srgb, var(--ct-turq) 14%, transparent), transparent 62%); }
.ct-proc-card__body { padding: var(--ct-s3); display: grid; gap: 10px; align-content: start; flex: 1; }
.ct-proc-card__title { font-size: var(--ct-fs-h3); margin: 0; }
.ct-proc-card__title a { color: var(--ct-heading); text-decoration: none; }
.ct-proc-card__lead { color: var(--ct-text-soft); font-size: .95rem; margin: 0; }
.ct-tag { position: absolute; left: 12px; top: 12px; font-family: var(--ct-font-body); font-size: .72rem; font-weight: 600; color: #fff; background: color-mix(in srgb, var(--ct-petroleo-deep) 82%, transparent); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .3em .7em; backdrop-filter: blur(2px); }

/* ---------- Chips factuais ---------- */
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.ct-chip { font-family: var(--ct-font-body); font-size: .74rem; font-weight: 600; color: var(--ct-accent-ink); background: var(--ct-surface-2); border: 1px solid var(--ct-line); border-radius: 999px; padding: .32em .72em; }

/* ---------- Eixo-Timeline da Jornada ---------- */
.ct-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.ct-step { position: relative; padding: 0 var(--ct-s3) 0 0; }
.ct-step__dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--ct-accent); position: relative; z-index: 1; margin-bottom: var(--ct-s2); }
.ct-step::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ct-line); }
.ct-step:first-child::before { left: 8px; }
.ct-step:last-child::before { right: calc(100% - 16px); }
.ct-step__n { font-family: var(--ct-font-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--ct-text-soft); }
.ct-step__t { font-size: 1.15rem; margin: 2px 0 8px; }
.ct-step p { color: var(--ct-text-soft); font-size: .92rem; margin: 0; padding-right: var(--ct-s2); }
@media (max-width: 760px) { .ct-timeline { grid-template-columns: 1fr 1fr; gap: var(--ct-s3) var(--ct-s2); } .ct-step::before { display: none; } }
@media (max-width: 420px) { .ct-timeline { grid-template-columns: 1fr; } }

/* ---------- Pills de região ---------- */
.ct-regioes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--ct-s2); list-style: none; margin: 0; padding: 0; }
.ct-regiao-pill { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius-sm); padding: 1em 1.1em; text-decoration: none; color: var(--ct-heading); font-family: var(--ct-font-display); font-size: 1.1rem; transition: border-color var(--ct-dur) var(--ct-ease), background var(--ct-dur) var(--ct-ease); }
.ct-regiao-pill .ct-icon { color: var(--ct-accent-ink); transition: transform var(--ct-dur) var(--ct-ease); }
.ct-regiao-pill:hover { border-color: var(--ct-accent); background: var(--ct-surface-2); }
.ct-regiao-pill:hover .ct-icon { transform: translateX(4px); }

/* ---------- Card de médico ---------- */
.ct-corpo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ct-s3); }
@media (max-width: 900px) { .ct-corpo__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ct-corpo__grid { grid-template-columns: 1fr; } }
.ct-medico-card { background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); overflow: hidden; }
.ct-medico-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--ct-petroleo), var(--ct-petroleo-deep)); }
.ct-medico-card__img { width: 100%; height: 100%; object-fit: cover; }
.ct-medico-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--ct-font-display); font-size: 3rem; color: rgba(255,255,255,.6); }
.ct-medico-card__body { padding: var(--ct-s3); display: grid; gap: 4px; }
.ct-medico-card__name { font-size: 1.15rem; margin: 0; }
.ct-medico-card__name a { color: var(--ct-heading); text-decoration: none; }
.ct-medico-card__esp { color: var(--ct-accent-ink); font-weight: 600; font-size: .9rem; margin: 0; }
.ct-medico-card__crm { color: var(--ct-text-soft); font-size: .82rem; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* ---------- CTA final (cor distinta do rodapé escuro) ---------- */
.ct-final-cta { background: linear-gradient(180deg, var(--ct-white) 0%, var(--ct-surface-2) 100%); }
.ct-final-cta__inner { padding-block: var(--ct-s6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ct-s4); }
.ct-final-cta h2 { font-size: var(--ct-fs-h2); margin: 0 0 8px; max-width: 20ch; }
.ct-final-cta p { color: var(--ct-text-soft); margin: 0; max-width: 46ch; }
.ct-final-cta__actions { display: flex; flex-wrap: wrap; gap: var(--ct-s2); }
.ct-btn--ghost-invert { background: var(--ct-white); }
.ct-btn--block { width: 100%; }

/* ============================================================
   Templates internos (page-hero, single, arquivo, prose)
   ============================================================ */
.ct-page-hero { position: relative; background: linear-gradient(168deg, var(--ct-white), var(--ct-surface-2)); border-bottom: 1px solid var(--ct-line); padding-block: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 44px); }
.ct-page-hero__title { font-size: var(--ct-fs-h1); margin: 0; max-width: 22ch; }
.ct-page-hero__lead { color: var(--ct-text-soft); max-width: 62ch; margin: 14px 0 0; font-size: var(--ct-fs-lead); }
.ct-page-hero .ct-chips { margin-top: 16px; }

.ct-crumb { font-size: .85rem; color: var(--ct-text-soft); margin-bottom: 14px; }
.ct-crumb a { color: var(--ct-accent-ink); text-decoration: none; }
.ct-crumb a:hover { text-decoration: underline; }
.ct-crumb span { margin: 0 6px; color: var(--ct-line); }
.ct-crumb em { font-style: normal; color: var(--ct-heading); font-weight: 600; }

/* Single com coluna de leitura + aside */
.ct-single__body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 4vw, 56px); padding-block: var(--ct-section); align-items: start; }
.ct-single__main { min-width: 0; }
.ct-single__media { margin: 0 0 var(--ct-s3); border-radius: var(--ct-radius-lg); overflow: hidden; box-shadow: var(--ct-shadow-sm); }
.ct-single__media img, .ct-single__img { width: 100%; height: auto; display: block; }
.ct-single__aside { min-width: 0; }
.ct-aside-card { position: sticky; top: calc(var(--ct-header-h) + 16px); background: var(--ct-surface-2); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: var(--ct-s3); display: grid; gap: 12px; }
.ct-aside-card__title { font-size: 1.25rem; margin: 0; }
.ct-aside-card p { color: var(--ct-text-soft); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .ct-single__body { grid-template-columns: 1fr; } .ct-aside-card { position: static; } }

/* Prose (conteúdo editorial em medida de leitura confortável) */
.ct-prose { max-width: 68ch; color: var(--ct-text); }
.ct-prose > * + * { margin-top: 1.1em; }
.ct-prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.ct-prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.ct-prose ul, .ct-prose ol { padding-left: 1.3em; display: grid; gap: .4em; }
.ct-prose a { color: var(--ct-accent-ink); }
.ct-prose img { border-radius: var(--ct-radius); }

.ct-disclaimer { margin-top: var(--ct-s4); background: var(--ct-surface); border-left: 3px solid var(--ct-turq); border-radius: 0 var(--ct-radius-sm) var(--ct-radius-sm) 0; padding: 14px 18px; font-size: .88rem; color: var(--ct-text-soft); }

.ct-page-content { display: grid; gap: var(--ct-s3); }
.ct-page-content .ct-single__media { max-width: 960px; }

/* Single de médico */
.ct-medico-single { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ct-medico-single__media { position: relative; border-radius: var(--ct-radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--ct-petroleo), var(--ct-petroleo-deep)); box-shadow: var(--ct-shadow-sm); }
.ct-medico-single__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-medico-single__media .ct-medico-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--ct-font-display); font-size: 4rem; color: rgba(255,255,255,.6); }
.ct-medico-single__body { min-width: 0; display: grid; gap: var(--ct-s2); }
.ct-medico-single__body h1 { font-size: var(--ct-fs-h1); margin: 0; }
.ct-medico-single__esp { color: var(--ct-accent-ink); font-weight: 600; margin: 0; }
.ct-medico-single__ids { color: var(--ct-text-soft); font-size: .9rem; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 720px) { .ct-medico-single { grid-template-columns: 1fr; } .ct-medico-single__media { max-width: 300px; } }

/* ============================================================
   Formulário de lead
   ============================================================ */
.ct-lead-form { max-width: 720px; }
.ct-lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ct-s3) var(--ct-s3); }
.ct-field { display: grid; gap: 6px; min-width: 0; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label { font-weight: 600; font-size: .9rem; color: var(--ct-heading); }
.ct-field input[type="text"], .ct-field input[type="tel"], .ct-field input[type="email"], .ct-field textarea, .ct-field select {
	width: 100%; box-sizing: border-box; font-family: var(--ct-font-body); font-size: 1rem; color: var(--ct-ink);
	background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius-sm); padding: .8em 1em;
	transition: border-color var(--ct-dur) var(--ct-ease), box-shadow var(--ct-dur) var(--ct-ease);
}
.ct-field textarea { resize: vertical; line-height: 1.5; }
.ct-field input:focus, .ct-field textarea:focus, .ct-field select:focus { outline: none; border-color: var(--ct-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ct-accent) 20%, transparent); }
.ct-field .ct-select select { padding-right: 2.4em; }
.ct-field--consent label { font-weight: 400; font-size: .92rem; color: var(--ct-text-soft); display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ct-field--consent input { margin-top: 3px; flex: 0 0 auto; }
.ct-req { color: #c0392b; }
.ct-lead-form__submit { margin-top: var(--ct-s3); }
.ct-form-msg { padding: 14px 18px; border-radius: var(--ct-radius-sm); margin-bottom: var(--ct-s3); font-size: .95rem; }
.ct-form-msg--ok { background: #e6f6ee; color: #0a6b3f; border: 1px solid #b6e2cb; }
.ct-form-msg--err { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
@media (max-width: 560px) { .ct-lead-form__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Componentes premium (breadcrumb-hero, wave, vídeo, splits, stats)
   ============================================================ */

/* Breadcrumb-hero com foto (padrão premium das páginas internas) */
.ct-phero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--ct-white), var(--ct-surface-2)); border-bottom: 1px solid var(--ct-line); }
.ct-phero__bg { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0, 66, 100, .05) 1.3px, transparent 1.6px); background-size: 24px 24px; opacity: .5; }
.ct-phero__inner { position: relative; z-index: 2; max-width: var(--ct-maxw); margin-inline: auto; padding: clamp(36px, 5vw, 66px) var(--ct-gutter); min-height: 230px; display: flex; flex-direction: column; justify-content: center; }
.ct-phero__copy { max-width: 56%; }
.ct-phero__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 12px 0 0; }
.ct-phero__lead { color: var(--ct-text-soft); margin: 12px 0 0; max-width: 52ch; }
.ct-phero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 1; }
.ct-phero__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ct-surface-2), transparent 44%); }
.ct-phero--plain .ct-phero__copy { max-width: 100%; }
@media (max-width: 860px) { .ct-phero__media { display: none; } .ct-phero__copy { max-width: 100%; } }

/* Wave divider (transição para o rodapé escuro) */
.ct-footer-wave { display: block; line-height: 0; color: var(--ct-ground-deep); background: var(--ct-surface-2); }
.ct-footer-wave svg { display: block; width: 100%; height: clamp(40px, 6vw, 72px); }

/* Vídeo (facade leve: thumb + play, iframe só no clique , bom p/ CWV) */
.ct-video { position: relative; border-radius: var(--ct-radius); overflow: hidden; background: var(--ct-petroleo-deep); cursor: pointer; aspect-ratio: 9 / 16; box-shadow: var(--ct-shadow); }
.ct-video__thumb { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.ct-video__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.ct-video__play::before { content: ""; width: 66px; height: 66px; border-radius: 50%; background: var(--ct-accent); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform var(--ct-dur) var(--ct-ease); }
.ct-video__play::after { content: ""; position: absolute; width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 6px; }
.ct-video:hover .ct-video__play::before { transform: scale(1.08); }
.ct-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ct-s3); max-width: 840px; margin-inline: auto; }
.ct-video--wide { aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .ct-videos-grid { grid-template-columns: 1fr; max-width: 320px; } }

/* Split genérico imagem + texto */
.ct-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.ct-split__media { margin: 0; border-radius: var(--ct-radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--ct-shadow); }
.ct-split__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-split__copy { display: grid; gap: var(--ct-s2); min-width: 0; }
.ct-split__video { max-width: 300px; width: 100%; margin-inline: auto; }
.ct-split__copy h2, .ct-split__copy h3 { margin: 0; font-size: var(--ct-fs-h2); }
.ct-split__copy p { margin: 0; color: var(--ct-text-soft); }
.ct-split--reverse .ct-split__media { order: 2; }
@media (max-width: 820px) { .ct-split { grid-template-columns: 1fr; } .ct-split--reverse .ct-split__media { order: 0; } }

/* Checklist com check turquesa */
.ct-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct-checklist li { padding-left: 34px; position: relative; color: var(--ct-text); }
.ct-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ct-surface-2); border: 1px solid var(--ct-line); }
.ct-checklist li::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border-right: 2px solid var(--ct-accent-ink); border-bottom: 2px solid var(--ct-accent-ink); transform: rotate(40deg); }

/* Stat cards */
.ct-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ct-s3); }
.ct-stat { background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: var(--ct-s3); text-align: center; box-shadow: var(--ct-shadow-sm); }
.ct-stat strong { display: block; font-family: var(--ct-font-display); font-weight: 500; font-size: 2.3rem; color: var(--ct-petroleo); line-height: 1; }
.ct-stat span { color: var(--ct-text-soft); font-size: .88rem; }
@media (max-width: 700px) { .ct-stats { grid-template-columns: repeat(2, 1fr); } }

/* Mapa */
.ct-map { border-radius: var(--ct-radius-lg); overflow: hidden; box-shadow: var(--ct-shadow); aspect-ratio: 16 / 8; }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Dois formulários (ortopedia / fisioterapia) */
.ct-forms-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ct-s4); }
.ct-form-block { background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--ct-shadow-sm); }
.ct-form-block__head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--ct-s2); }
.ct-form-block__head .ct-icon { color: var(--ct-accent-ink); width: 26px; height: 26px; }
.ct-form-block h3 { font-size: var(--ct-fs-h3); margin: 0; }
.ct-form-block__desc { color: var(--ct-text-soft); margin: 0 0 var(--ct-s2); font-size: .92rem; }
@media (max-width: 820px) { .ct-forms-2 { grid-template-columns: 1fr; } }

/* Seção do corpo clínico por área (título + intro) */
.ct-cc-area { margin-bottom: var(--ct-s6); }
.ct-cc-area:last-child { margin-bottom: 0; }
.ct-cc-area__head { max-width: 66ch; margin-bottom: var(--ct-s4); display: grid; gap: 10px; }
.ct-cc-area__head h2 { font-size: var(--ct-fs-h2); margin: 0; }
.ct-cc-area__head p { color: var(--ct-text-soft); margin: 0; }

/* Lista de contato em fundo CLARO (override do estilo do rodapé escuro) */
.ct-contact-list { display: grid; gap: 12px; }
.ct-contact-list li { color: var(--ct-text); }
.ct-contact-list a { color: var(--ct-accent-ink); }
.ct-contact-list strong { color: var(--ct-heading); }
.ct-contact-list .ct-icon { color: var(--ct-accent-ink); }

/* Convênios (grade de logos) */
.ct-conv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--ct-s2); }
.ct-conv-logo { background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius-sm); padding: 14px; display: grid; place-items: center; aspect-ratio: 3 / 2; }
.ct-conv-logo img { max-width: 100%; max-height: 62px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter var(--ct-dur) var(--ct-ease), opacity var(--ct-dur) var(--ct-ease); }
.ct-conv-logo:hover img { filter: grayscale(0); opacity: 1; }

/* FAQ (accordion nativo) */
.ct-faq { background: linear-gradient(180deg, var(--ct-white) 0%, var(--ct-surface-2) 100%); }
.ct-faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.ct-faq-item { background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: var(--ct-radius-sm); overflow: hidden; }
.ct-faq-q { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--ct-font-display); font-size: 1.1rem; color: var(--ct-heading); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ct-faq-q::-webkit-details-marker { display: none; }
.ct-faq-ic { flex: 0 0 auto; width: 18px; height: 18px; position: relative; }
.ct-faq-ic::before, .ct-faq-ic::after { content: ""; position: absolute; background: var(--ct-accent-ink); transition: transform var(--ct-dur) var(--ct-ease); }
.ct-faq-ic::before { left: 8px; top: 0; width: 2px; height: 18px; }
.ct-faq-ic::after { left: 0; top: 8px; width: 18px; height: 2px; }
.ct-faq-item[open] .ct-faq-ic::before { transform: scaleY(0); }
.ct-faq-a { padding: 0 22px 20px; color: var(--ct-text-soft); }
.ct-faq-a p { margin: 0; }

/* Dois mapas lado a lado */
.ct-maps-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ct-s3); }
.ct-maps-2 .ct-map { aspect-ratio: 4 / 3; }
.ct-map__label { display: block; font-family: var(--ct-font-body); font-weight: 600; color: var(--ct-heading); margin-bottom: 8px; }
@media (max-width: 760px) { .ct-maps-2 { grid-template-columns: 1fr; } }

/* Cargo do médico (ex.: Diretor Técnico) */
.ct-medico-card__role { color: var(--ct-accent-ink); font-weight: 600; font-size: .8rem; margin: 0; }

/* Botão flutuante do WhatsApp (canto inferior direito) */
.ct-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform var(--ct-dur) var(--ct-ease); }
.ct-wa-float:hover { transform: scale(1.08); color: #fff; }
.ct-wa-float .ct-icon { width: 30px; height: 30px; }
@media (max-width: 560px) { .ct-wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; } }
