/* ==========================================================================
   Dr. Wander Pirota – Cirurgião Plástico em Goiânia
   Design system: Wander Pirota Clinical Elegance 1.0.0 (07-design-system.json)
   Mobile first · WCAG 2.2 AA · sem frameworks
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;
  /* cores */
  --primary: #12254F;
  --primary-hover: #0B1B3F;
  --primary-active: #071631;
  --primary-soft: #E8EEF7;
  --primary-soft-2: #DCE5F2;
  /* prata: o tom sólido sustenta bordas/ícones; o gradiente cria o acabamento metálico */
  --accent: #C8D1DC;
  --accent-hover: #E8EDF3;
  --accent-active: #9AA7B7;
  --silver-light: #F7F9FC;
  --silver-mid: #B8C3D0;
  --silver-deep: #758398;
  --silver-metal: linear-gradient(118deg, #F9FBFD 0%, #A7B3C2 20%, #EDF2F7 43%, #8C99AA 68%, #DDE4EC 84%, #FFFFFF 100%);
  --silver-metal-soft: linear-gradient(128deg, #FFFFFF 0%, #DDE4EC 34%, #AAB6C5 56%, #F4F7FA 78%, #C1CBD7 100%);
  --text: #16213D;
  --text-muted: #5D6678;
  --surface: #FFFFFF;
  --surface-alt: #F4F6FA;
  --border: #D7DDE8;
  --border-input: #7D8799; /* borda de campo com contraste 3:1 ou mais */
  --success: #1F7A4D;
  --error: #B42318;
  --focus: #2F6FED;
  --accent-text: #46556A; /* aço escuro: mantém contraste sobre fundo claro */
  --overlay: rgba(8, 20, 46, 0.7);
  --on-dark: #FFFFFF;
  --on-dark-muted: #E8EEF7;
  --disabled-bg: #E7EAF0;

  /* tipografia */
  --font-display: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(2.5rem, 1.55rem + 3.2vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.45rem + 1.8vw, 3.5rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 0.9vw, 2.25rem);
  --fs-h4: clamp(1.25rem, 1.08rem + 0.45vw, 1.625rem);
  --fs-h5: clamp(1.0625rem, 1rem + 0.2vw, 1.25rem);
  --fs-h6: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  --fs-body-lg: clamp(1.0625rem, 1rem + 0.2vw, 1.25rem);
  --fs-body: clamp(1rem, 0.96rem + 0.12vw, 1.125rem);
  --fs-body-sm: clamp(0.875rem, 0.84rem + 0.1vw, 0.9375rem);
  --fs-label: clamp(0.8125rem, 0.78rem + 0.08vw, 0.875rem);

  /* espaço, raio, sombra */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px;
  --s-48: 48px; --s-64: 64px; --s-96: 96px; --s-128: 128px;
  --section: 64px;
  --card-inner: clamp(24px, 2.4vw, 36px);
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 20px; --r-pill: 999px; --r-input: 8px; --r-image: 8px; --r-card: 8px;
  --sh-xs: 0 1px 2px rgba(18, 37, 79, 0.06);
  --sh-sm: 0 6px 18px rgba(18, 37, 79, 0.08);
  --sh-md: 0 14px 36px rgba(18, 37, 79, 0.12);
  --sh-lg: 0 24px 64px rgba(18, 37, 79, 0.16);
  --t-fast: 120ms ease-out;
  --t-base: 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-slow: 360ms cubic-bezier(0.2, 0.8, 0.2, 1);

  /* layout */
  --container: 1290px;
  --gutter: 16px;
  --outer: 20px;
  --header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 20px; --outer: 32px; --section: 80px; } }
@media (min-width: 1024px) { :root { --gutter: 24px; --outer: clamp(32px, 5vw, 72px); --section: clamp(96px, 8vw, 128px); --header-h: 88px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; color: var(--primary); margin: 0; text-wrap: balance; }
h5 { font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.045em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.035em; }
h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.025em; }
h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; color: inherit; }
a { color: var(--primary); font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color var(--t-fast), text-decoration-thickness var(--t-fast); }
a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 24px; height: 24px; flex: none; fill: currentColor; }
[hidden] { display: none !important; }

/* marcador de rascunho [PREENCHER] / [CONFIRMAR] — remover antes de publicar */
.todo { display: inline; font-family: var(--font-body); font-size: 0.8em; font-weight: 700; letter-spacing: 0; color: #7A4B12; background: #FBEFD9; border-radius: 4px; padding: 0 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--outer)); margin-inline: auto; padding-inline: var(--outer); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--primary); color: var(--on-dark); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--on-dark); }

.eyebrow { font-size: var(--fs-label); font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--silver-deep), #F7FAFD, var(--silver-mid)); border-radius: 2px; box-shadow: 0 0 8px rgba(184, 195, 208, .45); }

/* ---------- 3. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent; font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; line-height: 1.25;
  text-decoration: none; text-align: center;
  transition: background-color var(--t-base), border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base), color var(--t-base);
}
.btn .i { width: 20px; height: 20px; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { background: var(--primary); color: var(--surface); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--surface); }
.btn-primary:active { background: var(--primary-active); }
.btn-secondary { background: var(--silver-metal); color: #0B1B3F; border-color: #DCE3EB; box-shadow: inset 0 1px 0 rgba(255,255,255,.92), inset 0 -1px 0 rgba(38,53,76,.22), 0 10px 24px rgba(18,37,79,.14); }
.btn-secondary:hover { background: var(--silver-metal-soft); border-color: #F3F6F9; color: #071631; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(38,53,76,.18), 0 14px 30px rgba(18,37,79,.2); }
.btn-secondary:active { background: linear-gradient(118deg, #DCE3EB, #929FAF 50%, #EEF2F6); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); box-shadow: none; }
.btn-ghost:active { background: var(--primary-soft-2); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: var(--fs-body-sm); }
.btn-lg { min-height: 56px; padding: 16px 28px; }
.btn-block { width: 100%; }
.section-dark .btn:focus-visible, .cta-final .btn:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--focus); }

/* ---------- 4. Topbar ---------- */
.topbar { background: var(--primary); color: var(--on-dark); font-size: var(--fs-body-sm); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-info, .topbar-contact { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); text-decoration: none; font-weight: 500; white-space: nowrap; min-height: 40px; }
.topbar-item .i { width: 16px; height: 16px; color: var(--accent); }
a.topbar-item:hover { color: var(--accent); text-decoration: underline; }
.topbar-social { display: inline-flex; gap: 4px; }
.topbar-social a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--on-dark); border-radius: var(--r-pill); }
.topbar-social a:hover { color: var(--accent); }
.topbar-social .i { width: 18px; height: 18px; }
.topbar a:focus-visible { outline-color: var(--surface); outline-offset: 2px; }
.topbar-hide-sm, .topbar-hide-md { display: none; }
.topbar-info .topbar-item span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479px) { .topbar-info { display: none; } .topbar-inner { justify-content: center; } }
@media (min-width: 768px) { .topbar-hide-sm { display: inline-flex; } }
@media (min-width: 1280px) { .topbar-hide-md { display: inline-flex; } }

/* ---------- 5. Header e navegação ---------- */
.site-header { position: sticky; top: -40px; z-index: 100; }
.header-bar { background: var(--surface); border-bottom: 1px solid transparent; transition: box-shadow var(--t-base), border-color var(--t-base); }
.site-header.is-scrolled .header-bar { box-shadow: var(--sh-sm); border-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: block; flex: none; margin-right: auto; border-radius: 4px; }
.logo img { width: 176px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { padding: 0; width: 48px; min-height: 48px; }
.header-cta-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--border); background: var(--surface); color: var(--primary); border-radius: var(--r-pill); font-weight: 700; }
.menu-toggle:hover { background: var(--primary-soft); }

/* drawer (celular e tablet) */
.nav {
  position: fixed; inset: 0 0 0 auto; z-index: 120;
  width: min(92vw, 400px); background: var(--surface);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--t-slow), visibility 0s linear 360ms;
  padding-top: env(safe-area-inset-top, 0px);
  box-shadow: var(--sh-lg);
}
.nav.is-open { transform: none; visibility: visible; transition: transform var(--t-slow), visibility 0s; }
.nav-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(8, 20, 46, 0.7); }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.nav-drawer-head img { width: 150px; }
.nav-close { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border: 1px solid var(--border); background: var(--surface); color: var(--primary); border-radius: var(--r-pill); font-weight: 700; }
.nav-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px; }
.nav-trigger { display: none; }
.nav-link { display: flex; align-items: center; min-height: 52px; padding: 0 12px; color: var(--primary); font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-link::after { content: "→"; margin-left: auto; color: var(--accent); font-weight: 500; }
.nav-link:hover { background: var(--primary-soft); text-decoration: none; }
.nav-drawer-foot { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); background: var(--surface); }
.nav-drawer-foot .btn { padding-inline: 12px; font-size: var(--fs-body-sm); }

/* acordeões (celular) */
.mega-col { border-bottom: 1px solid var(--border); }
.mega-col > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--primary); border-radius: var(--r-md); }
.mega-col > summary::-webkit-details-marker { display: none; }
.mega-col > summary .i { width: 22px; height: 22px; color: var(--accent); }
.mega-col > summary .i-caret-down { margin-left: auto; color: var(--primary); transition: transform var(--t-base); }
.mega-col[open] > summary .i-caret-down { transform: rotate(180deg); }
.mega-col > summary:hover { background: var(--primary-soft); }
.mega-col ul { padding: 0 0 12px; }
.mi, .mega-hub a { display: flex; gap: 12px; align-items: flex-start; position: relative; padding: 10px 12px; border-radius: var(--r-md); min-height: 56px; transition: background-color var(--t-base), transform var(--t-base); }
.mi:hover, .mega-hub a:hover, .mi:focus-within { background: var(--primary-soft); }
.mi-body { display: flex; flex-direction: column; min-width: 0; }
.mi-link { color: var(--primary); font-weight: 700; text-decoration: none; line-height: 1.35; }
.mi-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.mi-link:hover { text-decoration: underline; }
.mi-desc { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: 1.45; }
.mi-desc a { position: relative; z-index: 1; color: var(--text-muted); font-weight: 500; }
.mi-desc a:hover { color: var(--primary); }
.mega-hub a { text-decoration: none; flex-wrap: wrap; column-gap: 12px; }
.mega-hub .i { color: var(--accent); }
.mega-hub .mi-name { font-weight: 700; color: var(--primary); }
.mega-hub .mi-desc { flex-basis: 100%; padding-left: 36px; margin-top: -2px; }
.mega-feature { display: none; }
.mega-band { padding: 4px 0; }
.band-item { display: flex; gap: 12px; align-items: center; min-height: 52px; padding: 0 12px; color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--border); }
.band-item .i { color: var(--accent); }
.band-item strong { font-family: var(--font-display); font-size: 1.0625rem; display: block; }
.band-sub { display: none; }
.band-hide-mobile { display: none; }
.panel .mega-col { border-bottom: 1px solid var(--border); }

/* desktop: menu horizontal e mega menu */
@media (min-width: 1024px) {
  .site-header { top: -40px; }
  .logo img { width: 220px; }
  .menu-toggle, .nav-drawer-head, .nav-drawer-foot, .nav-overlay { display: none !important; }
  .header-cta { width: auto; padding: 12px 22px; min-height: 48px; font-size: var(--fs-body-sm); }
  .header-cta-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .nav { position: static; transform: none; visibility: visible; width: auto; box-shadow: none; background: transparent; padding: 0; transition: none; flex: 1; justify-content: center; }
  .nav-list { display: flex; align-items: center; justify-content: center; gap: 4px; overflow: visible; padding: 0; }
  .nav-item { position: static; }
  .nav-trigger, .nav-link {
    display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px;
    border: 0; background: none; border-radius: var(--r-pill);
    font-family: var(--font-body); font-size: var(--fs-body-sm); font-weight: 500; color: var(--primary);
    text-decoration: none; position: relative;
  }
  .nav-link::after { content: none; }
  .nav-link { border-bottom: 0; }
  .nav-trigger .i { width: 16px; height: 16px; transition: transform var(--t-base); }
  .nav-trigger:hover, .nav-link:hover { background: var(--primary-soft); color: var(--primary-hover); }
  .nav-trigger[aria-expanded="true"] { background: var(--primary-soft); }
  .nav-trigger[aria-expanded="true"] .i { transform: rotate(180deg); }
  .nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

  /* painéis */
  .mega, .panel {
    position: absolute; top: 100%; z-index: 90;
    background: var(--surface); border: 1px solid var(--border); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-base), transform var(--t-base), visibility 0s linear 200ms;
    transition-delay: 300ms;
  }
  .mega { left: 50%; width: min(1290px, calc(100vw - 48px)); margin-left: calc(min(1290px, calc(100vw - 48px)) / -2); padding: 28px 28px 20px; max-height: calc(100vh - 140px); overflow-y: auto; }
  .has-panel-sm { position: relative; }
  .panel { left: 0; width: 540px; padding: 16px; border-radius: var(--r-lg); margin-top: 8px; }
  .has-panel:hover > .mega, .has-panel:hover > .panel,
  .has-panel:focus-within > .mega, .has-panel:focus-within > .panel,
  .has-panel.is-open > .mega, .has-panel.is-open > .panel {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--t-base), transform var(--t-base), visibility 0s;
    transition-delay: 150ms;
  }
  .has-panel.is-closed > .mega, .has-panel.is-closed > .panel { opacity: 0; visibility: hidden; transition-delay: 0s; }

  .mega-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .mega-col, .panel .mega-col { border: 0; }
  .mega-col > summary { display: none; }
  .mega-col ul { padding: 0; display: grid; gap: 2px; }
  .mega-hub a { min-height: 0; padding: 0 12px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--border); border-radius: 0; flex-direction: row-reverse; flex-wrap: nowrap; justify-content: flex-end; align-items: center; gap: 8px; }
  .mega-hub a:hover { background: none; }
  .mega-hub .mi-name { font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; }
  .mega-hub a:hover .mi-name { text-decoration: underline; }
  .mega-hub .i { width: 16px; height: 16px; transition: transform var(--t-base); }
  .mega-hub a:hover .i { transform: translateX(4px); }
  .mega-hub .mi-desc { display: none; }
  .mi { padding: 8px 10px; min-height: 56px; gap: 10px; }
  .mi:hover { transform: translateX(4px); }
  .mi-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.45em); font-size: 0.8125rem; }
  .panel-grid { grid-template-columns: 1fr 1fr; }
  .mi-link { font-size: 0.9375rem; }

  .mega-band { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 24px; margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--border); }
  .band-hide-mobile { display: flex; }
  .band-item { border: 0; padding: 12px; border-radius: var(--r-md); align-items: flex-start; }
  a.band-item:hover { background: var(--primary-soft); text-decoration: none; }
  .band-item strong { font-family: var(--font-body); font-size: var(--fs-body-sm); }
  .band-sub { display: block; font-size: var(--fs-body-sm); color: var(--text-muted); font-weight: 400; }
  .band-contact { gap: 8px; padding: 0; }
  .band-contact span { font-size: var(--fs-body-sm); }
  .band-contact a { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--r-md); color: var(--primary); text-decoration: none; flex: 1; }
  .band-contact a:hover { background: var(--primary-soft); }
  .band-contact .i { color: var(--accent); }
}
@media (min-width: 1200px) {
  .mega-grid { grid-template-columns: 1fr 260px; }
  .mega-feature { display: flex; flex-direction: column; gap: 10px; background: var(--surface-alt); border-radius: var(--r-lg); padding: 16px; }
  .mega-feature img { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
  .mega-feature-title { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: var(--fs-h5); line-height: 1.3; }
  .mega-feature-text { font-size: var(--fs-body-sm); color: var(--text-muted); }
  .mega-feature .btn { margin-top: auto; font-size: 0.875rem; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-cta { padding: 12px 16px; }
  .nav-trigger, .nav-link { padding: 0 10px; }
}



/* ==========================================================================
   Seções da home · 07-design-system.json v1.1.0
   (hero 6/6, cards sobrepostos, sobre 5/7, números, serviços 3:4,
    CTA editorial panorâmico, etapas, depoimento sobre painel, blog 2 x 2)
   ========================================================================== */

/* ---------- 6. Estrutura de seção ---------- */
.section { padding-block: var(--section); background: var(--surface); }
.section-alt { background: var(--surface-alt); }
.section-head { display: grid; gap: 16px; margin-bottom: var(--s-48); max-width: 760px; }
.section-head-row { max-width: none; }
.section-head-side { display: grid; gap: 20px; justify-items: start; }
.section-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.section-intro { font-size: var(--fs-body); color: var(--text-muted); max-width: 62ch; }
@media (min-width: 1024px) { .section-head-row { grid-template-columns: 7fr 5fr; align-items: end; gap: 64px; } }
.section-foot { margin-top: var(--s-48); display: flex; justify-content: center; }

.grid { display: grid; gap: var(--gutter); }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }


.card-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; font-size: var(--fs-body-sm); font-weight: 700; color: var(--primary); text-decoration: none; }
.card-link .i { width: 18px; height: 18px; color: var(--accent); transition: transform var(--t-base); }
.card-link:hover { color: var(--primary-hover); text-decoration: underline; }
.card-link:hover .i { transform: translateX(4px); }

/* ---------- 7. Hero principal (grid 6/6) ---------- */
.hero { background: var(--surface-alt); position: relative; }
.hero-grid { display: grid; }
.hero-text-wrap { padding: 48px var(--outer) 40px; }
.hero-text { display: grid; gap: 24px; max-width: 640px; }
.hero-lead { font-size: var(--fs-body-lg); line-height: 1.75; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--primary-soft); }
@media (max-width: 639px) { .hero-ctas .btn { width: 100%; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 720px; }
  .hero-text-wrap { display: flex; justify-content: flex-end; padding: 96px 56px 176px max(var(--outer), calc((100vw - 1290px) / 2)); }
  .hero-media { position: relative; }
  .hero-media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}


/* credenciais na hero: CRM, RQE e logos das associações */
.hero-creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.cred { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 68px; padding: 10px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.cred-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); line-height: 1.3; }
.cred-value { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; color: var(--primary); letter-spacing: -0.01em; }
.cred-logo { align-items: center; min-width: 176px; min-height: 84px; background: linear-gradient(145deg, #183263 0%, #0B1B3F 58%, #1A3568 100%); border-color: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 22px rgba(18,37,79,.14); }
.cred-logo img { height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.cred-logo img[src*="baps"] { height: 60px; }
@media (min-width: 640px) { .hero-creds { grid-template-columns: repeat(4, auto); justify-content: start; } }

/* ---------- 8. Cards rápidos sobrepostos (7 + 5 colunas) ---------- */
.hero-cards { display: grid; gap: 16px; padding-block: 16px 0; position: relative; z-index: 2; }
.quick-card { display: grid; gap: 14px; align-content: start; padding: var(--card-inner); border-radius: var(--r-card); }
.quick-card-light { background: var(--surface); box-shadow: var(--sh-md); }
.quick-card-dark { background: var(--primary); color: var(--on-dark-muted); }
.quick-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h5); line-height: 1.35; color: var(--primary); }
.quick-card-dark .quick-title { color: var(--on-dark); }
.quick-text { font-size: var(--fs-body-sm); color: var(--text-muted); }
.quick-card-dark .quick-text { color: var(--on-dark-muted); }
.quick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.quick-list a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding-left: 24px; color: var(--text); font-weight: 500; text-decoration: none; }
.quick-list a:hover { color: var(--primary); text-decoration: underline; }
.quick-list .i { width: 20px; height: 20px; color: var(--accent); }
.call-row { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; color: var(--on-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.call-row:hover { color: var(--accent); }
.call-circle { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: var(--r-pill); background: var(--silver-metal); color: #0B1B3F; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(38,53,76,.2); }
.call-circle .i { width: 24px; height: 24px; }
.quick-card-dark a:focus-visible { outline-color: var(--surface); }
.hero + .section, .hero ~ .section:first-of-type { position: relative; }
@media (min-width: 1024px) {
  .hero { padding-bottom: 0; }
  .hero-cards { grid-template-columns: 7fr 5fr; gap: 0; margin-top: -120px; padding-block: 0; margin-bottom: -120px; }
  .quick-card { padding: 40px 44px; }
  .quick-card-light { border-radius: var(--r-card) 0 0 var(--r-card); }
  .quick-card-dark { border-radius: 0 var(--r-card) var(--r-card) 0; }
  #dr-wander-pirota { padding-top: calc(var(--section) + 120px); }
}

/* ---------- 9. Sobre (grid 5/7) ---------- */
.about { display: grid; gap: 48px; align-items: center; }
.about-text { display: grid; gap: 24px; }
.about-text > p { color: var(--text-muted); }
.features { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 2px solid var(--accent); }
.feature-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h5); line-height: 1.35; color: var(--primary); }
.feature-text { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: 1.6; }
.about-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-image); background: var(--primary-soft); aspect-ratio: 3 / 4; }
.mosaic .mosaic-wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; object-position: 50% 66%; }
@media (min-width: 1024px) { .about { grid-template-columns: 5fr 7fr; gap: 72px; } .mosaic { gap: 24px; } }

/* ---------- 11. Cards de diferencial com ícone (4 áreas, diferenciais, áreas atendidas) ---------- */
.icard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: var(--card-inner); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-xs); border-inline-start: 3px solid transparent; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.icard:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.icard:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.icard:active { border-inline-start-color: var(--accent); }
.icard-flat { box-shadow: none; border: 1px solid var(--border); }
.icard-title { font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.01em; }
.icard p { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.6; }
.icard .card-link::after { content: ""; position: absolute; inset: 0; }
.icard .card-link:focus-visible { outline: none; }

/* ---------- 12. Serviços em destaque (foto 3:4 + caixa branca sobreposta) ---------- */
.grid-services { gap: 32px var(--gutter); }
.scard { position: relative; display: flex; flex-direction: column; transition: transform var(--t-base); }
.scard:hover { transform: translateY(-6px); }
.scard-media { overflow: hidden; border-radius: var(--r-image); aspect-ratio: 3 / 4; background: var(--primary-soft); }
.scard-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform var(--t-slow); }
.scard:hover .scard-media img { transform: scale(1.03); }
.scard-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 164px; margin: -56px 16px 0; padding: 24px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-sm); transition: box-shadow var(--t-base); }
.scard:hover .scard-body { box-shadow: var(--sh-md); }
.scard:focus-within .scard-body { outline: 3px solid var(--focus); outline-offset: 3px; }
.scard:active .scard-body { box-shadow: inset 0 0 0 1px var(--accent), var(--sh-sm); }
.scard-title { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -0.015em; transition: color var(--t-base); }
.scard:hover .scard-title { color: var(--primary-hover); }
.scard-body p { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.6; }
.scard .card-link::after { content: ""; position: absolute; inset: 0; }
.scard .card-link:focus-visible { outline: none; }
@media (min-width: 1024px) { .scard-body { margin-top: -72px; } }

/* ---------- 13. CTA editorial escuro (panorâmico 2.4:1) ---------- */
.editorial { background: var(--surface); padding-bottom: var(--section); }
.editorial-band { position: relative; overflow: hidden; background: var(--primary); color: var(--on-dark); }
.editorial-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 20, 46, 0.92) 0%, rgba(8, 20, 46, 0.8) 100%); }
.editorial-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; min-height: 75vw; padding-block: 64px 120px; }
.editorial-text { display: grid; gap: 20px; max-width: 520px; }
.editorial-text h2 { color: var(--on-dark); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
.editorial-text p:not(.eyebrow) { color: var(--on-dark-muted); }
.editorial-text .btn { justify-self: start; }
.editorial .btn:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--focus); }
.eyebrow-light { color: var(--on-dark-muted); }
.editorial-cards { display: grid; gap: var(--gutter); margin-top: -72px; position: relative; z-index: 2; }
.ecard { display: grid; gap: 14px; align-content: start; padding: var(--card-inner); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-md); }
.ecard h3 { font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.01em; }
.ecard p { color: var(--text-muted); }
@media (min-width: 768px) { .editorial-inner { min-height: calc(100vw / (16 / 7)); align-items: center; } .editorial-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .editorial-inner { min-height: calc(100vw / 2.4); padding-block: 96px 152px; }
  .editorial-band::after { background: linear-gradient(90deg, rgba(8, 20, 46, 0.9) 0%, rgba(8, 20, 46, 0.72) 42%, rgba(8, 20, 46, 0.35) 100%); }
  .editorial-text { max-width: 33%; min-width: 440px; }
  .editorial-cards { margin-top: -96px; }
}

/* ---------- 14. Etapas (imagem 5 + etapas 7) ---------- */
.process { display: grid; gap: 48px; align-items: center; }
.process-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-image); background: var(--primary-soft); }
.process-text { display: grid; gap: 18px; }
.steps { display: grid; gap: 16px; margin-top: 8px; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: -16px; width: 2px; background: var(--border); }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-pill); background: var(--silver-metal); color: #0B1B3F; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(38,53,76,.22), 0 8px 18px rgba(18,37,79,.14); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; transition: background-color var(--t-base), color var(--t-base); }
.step:hover .step-num { background: var(--primary); color: var(--surface); }
.step-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-xs); }
.step-body { display: grid; gap: 4px; }
.step-title { font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.01em; }
.step p { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.6; }
@media (min-width: 1024px) {
  .process { grid-template-columns: 5fr 7fr; gap: 72px; }
  .process-media img { aspect-ratio: 3 / 4; }
}

/* ---------- 15. Guia de decisão (tabela comparativa) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-sm); -webkit-overflow-scrolling: touch; }
.guide-table { min-width: 520px; font-size: var(--fs-body-sm); line-height: 1.5; }
.guide-table th, .guide-table td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.guide-table thead th { background: var(--primary); color: var(--on-dark); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.guide-table tbody th { font-weight: 700; color: var(--text); position: sticky; left: 0; background: inherit; width: 36%; box-shadow: 4px 0 6px -4px rgba(18, 37, 79, 0.12); }
.guide-table tbody tr { background: var(--surface); transition: background-color var(--t-fast); }
.guide-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.guide-table tbody tr:hover { background: var(--primary-soft); }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table td:last-child { color: var(--text-muted); }
.guide-table a { font-weight: 700; }
@media (min-width: 1024px) { .guide-table { min-width: 0; } .guide-table tbody th { box-shadow: none; } }

/* Informações de serviço em cards: mais leves e legíveis que tabelas extensas. */
.service-info-grid, .factor-grid, .compare-stack { display: grid; gap: 16px; margin-top: 24px; }
.service-info-card, .factor-card, .compare-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: linear-gradient(145deg, #FFFFFF 0%, #F6F8FB 100%);
  box-shadow: var(--sh-xs);
}
.service-info-card::before, .factor-card::before, .compare-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--silver-metal);
}
.service-info-card h4, .factor-card h3, .compare-card h4 { color: var(--primary); line-height: 1.3; }
.service-info-card > p:last-child, .factor-card > p:not(.factor-example), .compare-options p { margin-top: 8px; color: var(--text-muted); line-height: 1.6; }
.service-info-kicker, .compare-option-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-text);
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.factor-card { padding-top: 72px; }
.factor-index {
  position: absolute;
  top: 22px;
  left: clamp(22px, 2.4vw, 32px);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--silver-metal);
  color: var(--primary-active);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px rgba(18,37,79,.12);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
}
.factor-example { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-muted); }
.factor-example strong { display: block; margin-bottom: 4px; color: var(--primary); font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; }
.compare-stack { margin-bottom: 32px; }
.compare-options { display: grid; gap: 12px; margin-top: 18px; }
.compare-options > div { padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
@media (min-width: 700px) {
  .service-info-grid, .factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .service-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 16. Depoimento em destaque (painel primary, foto 7 + card 5) ---------- */
.review-panel { display: grid; background: var(--primary); border-radius: var(--r-lg); overflow: hidden; }
.review-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--primary-soft); }
.review-card { display: grid; gap: 0; padding: 8px 24px 24px; margin: -40px 16px 16px; position: relative; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-md); transition: box-shadow var(--t-base); }
.review-card:hover { box-shadow: var(--sh-lg); }
.review-card .card-link { margin-top: 12px; }
.testimonial { margin: 0; display: grid; grid-template-columns: 1fr; gap: 4px 14px; padding-block: 20px; border-bottom: 1px solid var(--border); }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.0625rem; line-height: 1.5; color: var(--primary); }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.testimonial figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.testimonial figcaption strong { color: var(--primary); font-size: var(--fs-body-sm); }
.t-meta, .t-source { font-size: 0.8125rem; color: var(--text-muted); }
@media (min-width: 1024px) {
  .review-panel { grid-template-columns: 7fr 5fr; align-items: center; overflow: visible; padding: 48px 0; }
  .review-media { margin-left: -1px; }
  .review-media img { aspect-ratio: 4 / 3; border-radius: 0 var(--r-image) var(--r-image) 0; }
  .review-card { margin: 0 48px 0 -96px; padding: 12px 36px 32px; }
}

/* ---------- 17. Blog (2 x 2, cards horizontais) ---------- */
.grid-blog { gap: 20px; }
.bcard { position: relative; display: grid; grid-template-columns: 1fr; background: var(--surface); border-radius: var(--r-card); overflow: hidden; transition: box-shadow var(--t-base); }
.bcard:hover { box-shadow: var(--sh-sm); }
.bcard:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.bcard-media { overflow: hidden; border-radius: var(--r-image); aspect-ratio: 4 / 3; background: var(--primary-soft); }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.bcard:hover .bcard-media img { transform: scale(1.03); }
.bcard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.bcard-title { font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.01em; transition: color var(--t-base); }
.bcard:hover .bcard-title { color: var(--primary-hover); }
.bcard-body > p:not(.blog-meta) { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.6; }
.bcard .card-link::after { content: ""; position: absolute; inset: 0; }
.bcard .card-link:focus-visible { outline: none; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; min-height: 28px; padding: 6px 10px; border-radius: var(--r-pill); background: var(--primary-soft); color: var(--primary); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.02em; }
.blog-meta { font-size: 0.8125rem; color: var(--text-muted); }
@media (min-width: 768px) {
  .bcard { grid-template-columns: 42% 58%; align-items: stretch; padding: 12px; }
  .bcard-media { aspect-ratio: auto; min-height: 100%; }
  .bcard-body { padding: 8px 12px 8px 24px; }
}

/* ---------- 19. FAQ e formulário ---------- */
.faq-layout { display: grid; gap: 40px; }
.faq-head { margin-bottom: 0; align-content: start; }
.faq-head .btn { justify-self: start; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 5fr 7fr; gap: 72px; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.faq-list { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); transition: background-color var(--t-base); }
.faq > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 12px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-body-lg); line-height: 1.4; color: var(--primary); border-radius: var(--r-md); }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary .i { width: 22px; height: 22px; flex: none; color: var(--accent-text); transition: transform var(--t-base); }
.faq > summary:hover { background: var(--surface-alt); }
.faq[open] { border-left: 3px solid var(--accent); }
.faq[open] > summary .i { transform: rotate(45deg); color: var(--primary); }
.faq-body { padding: 0 16px 20px 12px; color: var(--text-muted); max-width: 68ch; }

.form-card { background: var(--surface); color: var(--text); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); box-shadow: var(--sh-lg); display: grid; gap: 20px; }
.form-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h5); color: var(--primary); }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-size: var(--fs-body-sm); font-weight: 700; color: var(--text); }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--border-input); border-radius: var(--r-input);
  background: var(--surface); color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input::placeholder { color: var(--text-muted); }
.field input:hover, .field select:hover { border-color: var(--primary); }
.field input:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus); }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.field-error { color: var(--error); font-size: var(--fs-body-sm); font-weight: 500; }
.radio-row { display: grid; gap: 8px; }
@media (min-width: 480px) { .radio-row { grid-template-columns: 1fr 1fr; } }
.radio, .checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: var(--fs-body-sm); font-weight: 500; line-height: 1.5; }
.radio { min-height: 52px; align-items: center; padding: 0 14px; border: 1px solid var(--border-input); border-radius: var(--r-input); }
.radio:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.radio input, .checkbox input { width: 20px; height: 20px; flex: none; accent-color: var(--primary); margin: 2px 0 0; }
.checkbox { font-weight: 400; color: var(--text-muted); }
.form-status { font-size: var(--fs-body-sm); font-weight: 500; }
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }
.form-card button[aria-busy="true"] { opacity: 0.8; cursor: progress; }


/* ---------- 20. CTA final (painel escuro arredondado) ---------- */
.cta-final { background: var(--surface); padding-block: var(--section); }
.cta-panel { position: relative; overflow: hidden; background: var(--primary); color: var(--on-dark-muted); border-radius: var(--r-lg); padding: 40px 24px; }
.cta-panel::before { content: ""; position: absolute; right: -140px; top: -140px; width: 440px; height: 440px; border-radius: 50%; border: 1px solid rgba(201, 151, 91, 0.35); box-shadow: 0 0 0 60px rgba(201, 151, 91, 0.05); pointer-events: none; }
.cta-grid { display: grid; gap: 40px; align-items: center; }
.cta-text { position: relative; display: grid; gap: 20px; }
.cta-text h2 { color: var(--on-dark); }
.cta-proofs { display: grid; gap: 10px; }
.cta-proofs li { color: var(--on-dark); }
.cta-text .btn { justify-self: start; }
.cta-panel .btn:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--focus); }
@media (max-width: 639px) { .cta-text .btn { width: 100%; } }
@media (min-width: 1024px) { .cta-panel { padding: 72px; } .cta-grid { grid-template-columns: 5fr 6fr; gap: 64px; } }

/* ---------- 21. Rodapé ---------- */
.site-footer { background: var(--primary); color: var(--on-dark-muted); padding-block: 80px 28px; font-size: var(--fs-body-sm); }
.site-footer a { color: var(--on-dark); font-weight: 500; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline-color: var(--surface); }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { width: 200px; }
.footer-desc { line-height: 1.7; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--silver-metal); color: #0B1B3F; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(38,53,76,.22); }
.social a:hover { background: var(--surface); color: var(--primary); }
.social .i { width: 20px; height: 20px; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 1.05fr 3fr; gap: 56px; }
  .footer-cols { grid-template-columns: 1fr 1fr 1fr 1.35fr; gap: 32px; }
}
.footer-title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--on-dark); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 0; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-dark-muted); }
.footer-col li a:hover { color: var(--accent); }
.footer-contact address { display: grid; gap: 12px; }
.nap-name { display: flex; flex-direction: column; color: var(--on-dark); line-height: 1.5; }
.nap-line { display: flex; gap: 0; align-items: flex-start; line-height: 1.55; }
.nap-line .i { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.call-box { display: flex; gap: 14px; align-items: center; margin-top: 6px; padding: 14px 16px; border-radius: var(--r-md); background: var(--silver-metal); color: #0B1B3F !important; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(38,53,76,.22); text-decoration: none !important; }
.call-box .call-circle { background: var(--primary); color: var(--accent); width: 44px; height: 44px; }
.call-box span:last-child { display: flex; flex-direction: column; line-height: 1.35; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; }
.call-box strong { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; }
.call-box:hover { background: var(--surface); }
.footer-legal { display: grid; gap: 6px; padding-top: 24px; font-size: 0.8125rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 6px; }
.legal-links a, .link-button { display: inline-flex; align-items: center; min-height: 44px; }
.link-button { background: none; border: 0; padding: 0; color: var(--on-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 0.22em; font-size: inherit; }
.link-button:hover { color: var(--accent); }

/* ---------- 22. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .btn:hover, .icard:hover, .scard:hover, .mi:hover, .bcard:hover .bcard-media img, .scard:hover .scard-media img { transform: none !important; }
}

/* ---------- 23. Sem ícones decorativos: marcadores tipográficos ---------- */
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.text-link:hover { color: var(--primary-hover); }
.dash-list { display: grid; gap: 10px; }
.dash-list li { position: relative; padding-left: 28px; color: var(--text); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 14px; height: 2px; background: var(--accent); }
.dash-light li { color: var(--on-dark); }
.quick-list a::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 2px; background: var(--accent); }
.acard { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-xs); transition: transform var(--t-base), box-shadow var(--t-base); }
.acard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.acard:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.acard-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--primary-soft); }
.acard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.acard:hover .acard-media img { transform: scale(1.03); }
.acard-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.acard-title { font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.01em; }
.acard-body p { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.6; }
.acard .card-link::after { content: ""; position: absolute; inset: 0; }
.acard .card-link:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .acard:hover, .acard:hover .acard-media img { transform: none !important; } }

/* ---------- 24. Mapa e endereço ---------- */
.location { display: grid; gap: var(--gutter); }
.map-wrap { position: relative; border-radius: var(--r-image); overflow: hidden; background: var(--primary-soft); box-shadow: var(--sh-sm); aspect-ratio: 4 / 3; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location-card { display: grid; gap: 28px; align-content: start; padding: var(--card-inner); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-xs); }
.location-block { display: grid; gap: 12px; justify-items: start; }
.location-block + .location-block { padding-top: 28px; border-top: 1px solid var(--border); }
.location-title { font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.01em; }
.location-block p { color: var(--text-muted); }
@media (min-width: 1024px) { .location { grid-template-columns: 7fr 5fr; align-items: stretch; } .map-wrap { aspect-ratio: auto; min-height: 460px; } }

/* ---------- 25. Guia de decisão em cards (queixa → cirurgia) ---------- */
.qgrid { gap: var(--gutter); }
.qcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.qcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.qcard:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.qcard-quote { display: grid; gap: 10px; align-content: start; min-height: 168px; padding: 28px 28px 24px; background: var(--primary-soft); }
.qcard-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 28px 20px; }
.qcard-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.qcard-title { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--primary); }
.qcard-answer { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.65; }
.qcard-answer strong { color: var(--primary); }
.qcard .card-link { padding-top: 6px; }
.qcard .card-link::after { content: ""; position: absolute; inset: 0; }
.qcard .card-link:focus-visible { outline: none; }
.guide-cta { display: grid; gap: 24px; align-items: center; margin-top: 40px; padding: 32px; background: var(--primary); color: var(--on-dark-muted); border-radius: var(--r-lg); }
.guide-cta-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); line-height: 1.25; color: var(--on-dark); margin-bottom: 8px; }
.guide-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.guide-cta-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--on-dark); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.guide-cta-link:hover { color: var(--accent); }
.guide-cta a:focus-visible { outline-color: var(--surface); }
@media (min-width: 1024px) { .guide-cta { grid-template-columns: 1.2fr 1fr; padding: 40px 48px; gap: 48px; } .guide-cta-actions { justify-content: flex-end; } }
@media (max-width: 639px) { .guide-cta-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .qcard:hover { transform: none !important; } }

/* ---------- 26. Hero: selos flutuantes sobre a fotografia ---------- */
.hero-media { position: relative; }
.hero-badge { position: absolute; z-index: 2; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-lg); }
.hero-badge p { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: 1.45; }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--primary); }
.hero-badge-rating { left: 16px; bottom: 16px; display: grid; gap: 6px; padding: 16px 20px; }
.stars { display: flex; gap: 2px; color: #F4B400; }
.stars .i { width: 18px; height: 18px; }
.hero-badge-areas { display: none; }
.hero-badge-label { font-size: var(--fs-label) !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text) !important; margin-bottom: 4px; }
@media (min-width: 1024px) {
  .hero-badge-rating { left: -56px; top: 420px; bottom: auto; padding: 20px 24px; }
  .hero-badge-areas { display: block; right: 32px; top: 48px; max-width: 280px; padding: 18px 22px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px); }
  .hero-badge-areas p:last-child { color: var(--primary); font-weight: 500; }
}

/* ---------- 27. Seção escura (diferenciais) ---------- */
.section-dark { background: var(--primary); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark .eyebrow { color: var(--on-dark); }
.section-dark .section-intro { color: var(--on-dark-muted); }
.section-dark .icard-flat { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: none; }
.section-dark .icard-flat:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent); box-shadow: none; }
.section-dark .icard p { color: var(--on-dark-muted); }
.section-dark .btn:focus-visible, .guide-cta .btn:focus-visible, .editorial .btn:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--focus); }
@media (min-width: 1024px) { .header-cta .i { display: none; } }
.hero h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem); line-height: 1.06; }

/* =========================================================
   HUB DE CATEGORIA (modelo: /cirurgia-mamaria/)
   ========================================================= */
/* breadcrumb */
.breadcrumb { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; font-size: var(--fs-body-sm); color: var(--text-muted); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; margin-inline: 12px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.breadcrumb a:hover { color: var(--primary-hover); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 700; }

/* hero do hub */
.hero-points { display: grid; gap: 10px; font-weight: 500; color: var(--primary); }
@media (min-width: 1024px) {
  .hero-hub .hero-grid { min-height: 680px; }
  .hero-hub .hero-text-wrap { padding-top: 72px; padding-bottom: 88px; }
  .hero-hub .hero-badge-rating { top: auto; bottom: 56px; }
}

/* card em destaque (serviço principal) */
.fcard { position: relative; display: grid; background: var(--primary); color: var(--on-dark-muted); border-radius: var(--r-card); overflow: hidden; margin-bottom: var(--gutter); }
.fcard-media { aspect-ratio: 4 / 3; background: var(--primary-soft); overflow: hidden; }
.fcard-media img { width: 100%; height: 100%; object-fit: cover; }
.fcard-body { display: grid; gap: 16px; align-content: center; justify-items: start; padding: clamp(28px, 4vw, 56px); }
.fcard-label, .acard-want, .xcard-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.acard-want { color: var(--accent-text); }
.fcard-title { font-size: var(--fs-h3); line-height: 1.15; color: var(--on-dark); }
.fcard-want { font-family: var(--font-display); font-size: var(--fs-h5); line-height: 1.4; color: var(--on-dark); }
.fcard-body > p:not(.fcard-label):not(.fcard-want) { line-height: 1.7; max-width: 560px; }
.fcard-sublinks { display: flex; flex-wrap: wrap; gap: 8px; }
.fcard-sublinks a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--r-pill); color: var(--on-dark); font-size: var(--fs-body-sm); font-weight: 700; text-decoration: none; transition: border-color var(--t-base), color var(--t-base); }
.fcard-sublinks a:hover { border-color: var(--accent); color: var(--accent); }
.fcard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.fcard-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--on-dark); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.fcard-link:hover { color: var(--accent); }
.fcard a:focus-visible { outline-color: var(--surface); }
@media (min-width: 900px) { .fcard { grid-template-columns: 1fr 1fr; } .fcard-media { aspect-ratio: auto; min-height: 460px; } }

/* cards horizontais 2x2 */
@media (min-width: 640px) {
  .acard-row { flex-direction: row; }
  .acard-row .acard-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 240px; }
}

/* CTA de combinação: cards com foto e fundo escuro */
.section-tight { padding-block: 0 var(--section); }
.xcard { position: relative; display: flex; align-items: flex-end; min-height: 440px; border-radius: var(--r-card); overflow: hidden; background: var(--primary); isolation: isolate; }
.xcard-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--t-slow); background-image: linear-gradient(135deg, #1B3366 0%, var(--primary) 100%); }
.xcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 46, 0.25) 0%, rgba(8, 20, 46, 0.92) 62%); }
.xcard:hover .xcard-bg { transform: scale(1.03); }
.xcard-body { display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 3.5vw, 48px); color: var(--on-dark-muted); }
.xcard-title { font-size: var(--fs-h3); line-height: 1.15; color: var(--on-dark); max-width: 460px; }
.xcard-body p:not(.xcard-label) { max-width: 460px; line-height: 1.65; }
.xcard .btn { margin-top: 6px; }
.xcard .btn:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--focus); }

/* como escolher: 3 colunas */
.choose { display: flex; flex-direction: column; gap: 18px; padding: var(--card-inner); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-sm); }
.choose-num { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--accent-text); }
.choose-title { font-size: var(--fs-h4); line-height: 1.2; }
.choose-list { display: grid; gap: 0; flex: 1; }
.choose-list li { display: grid; gap: 4px; padding-block: 14px; border-top: 1px solid var(--border); }
.choose-list h4 { font-family: var(--font-display); font-size: var(--fs-h6); line-height: 1.35; color: var(--primary); }
.choose-list p { font-size: var(--fs-body-sm); line-height: 1.55; color: var(--text-muted); }
@media (min-width: 768px) and (max-width: 1023px) { .choose-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.process-cta { margin-top: 8px; }
.review-card > .btn { margin-top: 8px; justify-self: start; align-self: flex-start; }
.section-intro a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* =========================================================
   PÁGINA SOBRE (entity home: /dr-wander-pirota/)
   ========================================================= */
/* trajetória: texto + linha do tempo vertical */
.story { display: grid; gap: 48px; }
.story-intro { display: grid; gap: 18px; align-content: start; }
.story-intro > p:not(.eyebrow) { color: var(--text-muted); line-height: 1.75; }
.story-media { margin: 12px 0 0; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-image); background: var(--primary-soft); }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: var(--primary-soft-2); }
.tl-item { position: relative; display: grid; gap: 6px; padding: 0 0 32px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--primary); }
.tl-now::before { background: var(--primary); }
.tl-year { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.tl-title { font-size: var(--fs-h5); line-height: 1.3; }
.tl-body p { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.6; margin-top: 4px; }
@media (min-width: 1024px) {
  .story { grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
  .timeline { padding-top: 8px; }
  .tl-item { grid-template-columns: 130px 1fr; gap: 24px; padding-left: 40px; }
  .tl-year { padding-top: 3px; }
}

/* missão, visão e valores em primeira pessoa */
.voice { display: grid; gap: 40px; align-items: center; }
.voice-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-image); background: var(--primary-soft); }
.voice-text { display: grid; gap: 20px; }
.voice-quote { display: grid; gap: 16px; font-family: var(--font-display); font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text); }
.voice-quote strong { color: var(--primary); }
.voice-sign { display: grid; gap: 2px; padding-top: 20px; border-top: 1px solid var(--border); }
.voice-sign strong { font-family: var(--font-display); font-size: 1.125rem; color: var(--primary); }
.voice-sign span { font-size: var(--fs-body-sm); color: var(--text-muted); }
@media (min-width: 1024px) { .voice { grid-template-columns: 5fr 7fr; gap: 80px; } }

/* números */
.stats { gap: 16px; }
.stat { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; padding: 32px 20px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-card); background: rgba(255, 255, 255, 0.05); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.stat-label { color: var(--on-dark-muted); font-size: var(--fs-body-sm); line-height: 1.5; max-width: 24ch; }

/* credenciais */
.ccard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.ccard-mark { display: grid; place-items: center; height: 128px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.ccard-mark img { height: 56px; width: auto; max-width: 70%; object-fit: contain; }
.ccard-mark:has(img[src*="logo-sbcp"]), .ccard-mark:has(img[src*="logo-baps"]) { min-height: 128px; padding: 20px; border-radius: var(--r-md); background: linear-gradient(145deg, #183263, #0B1B3F 62%, #1A3568); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.ccard-mark:has(img[src*="logo-sbcp"]) img, .ccard-mark:has(img[src*="logo-baps"]) img { height: 64px; max-width: 94%; }

/* Logomarcas institucionais nas provas de credencial das páginas de serviço */
.proof.proof-institutions { grid-template-columns: 1fr 1fr; gap: 14px; min-height: 88px; padding: 14px; background: linear-gradient(145deg, #183263, #0B1B3F 62%, #1A3568); border-color: rgba(255,255,255,.18); }
.proof.proof-institutions img { width: 100%; height: 54px; object-fit: contain; }
.proof.proof-institutions img[src*="baps"] { height: 60px; }

/* Ponto focal por ativo: preserva rosto e postura nos recortes 4:3, 3:4 e mobile. */
.hero-media img, .split-media img, .acard-media img, .fcard-media img, .process-media img, .review-media img,
.scard-media img, .bfeat-media img, .story-media img, .voice-media img, .press-media img, .map-static, .author-photo, .byline-photo, .mega-feature img {
  object-position: var(--media-position, 50% 38%);
}
img[src*="lipoaspiracao-publico-feminino"] { --media-position: 50% 30%; }
img[src*="cirurgia-facial-goiania"] { --media-position: 50% 28%; }
img[src*="cirurgia-reparadora-goiania"] { --media-position: 50% 30%; }
img[src*="blog-categoria-guia-da-paciente"] { --media-position: 50% 30%; }
img[src*="blog-categoria-cirurgia-mamaria"] { --media-position: 50% 27%; }
img[src*="blog-categoria-contorno-corporal"] { --media-position: 50% 32%; }
img[src*="blog-categoria-cirurgia-reparadora"] { --media-position: 50% 27%; }
img[src*="blog-categoria-cirurgia-facial"] { --media-position: 50% 26%; }
img[src*="paciente-mamoplastia-redutora-real"] { --media-position: 50% 24%; }
img[src*="mommy-makeover-paciente-real"] { --media-position: 50% 26%; }
img[src*="dr-wander-pirota-centro-cirurgico-original"] { --media-position: 50% 66%; }
img[src*="dr-wander-pirota-cirurgiao-plastico-retrato"] { --media-position: 50% 30%; }
.ccard-abbr { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: 0.04em; color: var(--primary); }
.ccard-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: var(--card-inner); }
.ccard-title { font-size: var(--fs-h5); line-height: 1.3; }
.ccard-body p { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.65; }
.ccard-body strong { color: var(--primary); }
.press { display: grid; margin-top: var(--gutter); background: var(--primary); color: var(--on-dark-muted); border-radius: var(--r-card); overflow: hidden; }
.press-media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--primary-soft); }
.press-body { display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(28px, 4vw, 56px); }
.press-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.press-title { font-size: var(--fs-h3); line-height: 1.15; color: var(--on-dark); }
.press-body p:not(.press-label) { line-height: 1.7; max-width: 520px; }
.press-body strong { color: var(--on-dark); }
.press .btn:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--focus); }
@media (min-width: 900px) { .press { grid-template-columns: 1fr 1fr; } .press-media img { aspect-ratio: auto; min-height: 360px; } }

/* área de atuação: faixa com foto */
.reach { position: relative; overflow: hidden; background: var(--primary); color: var(--on-dark-muted); padding-block: var(--section); isolation: isolate; }
.reach-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.reach::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 46, 0.94) 0%, rgba(8, 20, 46, 0.82) 55%, rgba(8, 20, 46, 0.7) 100%); }
.reach-inner { display: grid; gap: 40px; align-items: center; }
.reach-text { display: grid; gap: 20px; justify-items: start; max-width: 520px; }
.reach-text h2 { color: var(--on-dark); }
.reach-text p:not(.eyebrow) { line-height: 1.7; }
.reach-grid { display: grid; gap: 12px; }
.reach-card { display: grid; gap: 8px; align-content: start; padding: 24px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-card); backdrop-filter: blur(6px); transition: background-color var(--t-base), border-color var(--t-base); }
.reach-card:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--accent); }
.reach-title { font-size: var(--fs-h5); line-height: 1.3; color: var(--on-dark); }
.reach-card p { font-size: var(--fs-body-sm); line-height: 1.6; color: var(--on-dark-muted); }
.reach .btn:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--focus); }
@media (min-width: 640px) { .reach-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; } }
@media (min-width: 1024px) { .reach-inner { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* contato e perfis */
.contact { display: grid; gap: var(--gutter); }
.contact-card { display: grid; gap: 20px; align-content: center; justify-items: start; padding: var(--card-inner); background: var(--surface-alt); border-radius: var(--r-card); }
.contact-title { font-size: var(--fs-h5); line-height: 1.35; }
.nap { display: grid; gap: 14px; font-style: normal; width: 100%; }
.nap-row { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--border); line-height: 1.55; color: var(--text); }
.nap-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.nap a { color: var(--primary); font-weight: 700; }
@media (min-width: 1024px) { .contact { grid-template-columns: 7fr 5fr; } .contact-map { aspect-ratio: auto; min-height: 460px; } }
.social-heading { margin-top: var(--s-48); margin-bottom: 20px; font-size: var(--fs-h5); }
.stile { display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); text-decoration: none; transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base); }
.stile:hover { border-color: var(--primary); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.stile-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--r-pill); background: var(--primary); color: var(--on-dark); }
.stile-icon .i { width: 22px; height: 22px; }
.stile-text { display: grid; gap: 2px; }
.stile-text strong { font-family: var(--font-display); color: var(--primary); }
.stile-text span { font-size: var(--fs-body-sm); color: var(--text-muted); }

/* =========================================================
   PÁGINA DE CONTATO (/contato/)
   ========================================================= */
.contact-hero { background: var(--surface-alt); padding-block: 48px var(--section); }
.contact-hero-grid { display: grid; gap: 40px; align-items: start; }
.contact-hero-text { display: grid; gap: 24px; }
.contact-hero h1 { font-size: clamp(2rem, 1.35rem + 2vw, 3.25rem); line-height: 1.08; }
.contact-facts { display: grid; gap: 12px; }
.contact-facts li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.contact-facts strong { display: block; font-family: var(--font-display); color: var(--primary); margin-bottom: 2px; }
.contact-facts li > span:last-child { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: 1.55; }
.cf-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-pill); background: var(--primary-soft); color: var(--primary); }
.cf-icon .i { width: 20px; height: 20px; }
.contact-hero .form-card { box-shadow: var(--sh-md); }
@media (min-width: 1024px) { .contact-hero { padding-top: 72px; } .contact-hero-grid { grid-template-columns: 6fr 5fr; gap: 64px; } }

.channel { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: var(--card-inner); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); text-decoration: none; color: var(--text); transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base); }
.channel:hover { border-color: var(--primary); box-shadow: var(--sh-md); transform: translateY(-3px); }
.channel-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: var(--r-pill); background: var(--primary); color: var(--on-dark); }
.channel-icon .i { width: 24px; height: 24px; }
.channel-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.channel-value { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.35; color: var(--primary); overflow-wrap: anywhere; }
.channel-action { margin-top: auto; padding-top: 10px; font-size: var(--fs-body-sm); font-weight: 700; color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

.map-lazy { position: relative; display: grid; place-items: center; min-height: 320px; border-radius: var(--r-image); overflow: hidden; background: var(--primary-soft); box-shadow: var(--sh-sm); }
.map-static { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-open { position: relative; z-index: 1; box-shadow: var(--sh-lg); }
.map-lazy iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-tiles { position: absolute; left: calc(50% - 407px); top: calc(50% - 402px); z-index: 1; display: grid; grid-template-columns: repeat(3, 256px); grid-template-rows: repeat(3, 256px); width: 768px; height: 768px; background: #e9e5dc; }
.map-tiles img { display: block; width: 256px; height: 256px; max-width: none; }
.map-marker { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; color: #fff; background: var(--primary); border: 5px solid #fff; border-radius: 50% 50% 50% 10%; box-shadow: var(--sh-lg); transform: translate(-50%, -68%) rotate(-45deg); }
.map-marker .i { width: 23px; height: 23px; transform: rotate(45deg); }
.map-place-label { position: absolute; left: 20px; top: 20px; z-index: 3; display: grid; gap: 1px; min-width: 180px; padding: 14px 16px; border: 1px solid rgba(18,37,79,.12); border-radius: var(--r-card); background: rgba(255,255,255,.94); box-shadow: var(--sh-md); color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.4; backdrop-filter: blur(6px); }
.map-place-label strong { color: var(--primary); font-family: var(--font-display); font-size: 1rem; }
.map-attribution { position: absolute; right: 8px; bottom: 6px; z-index: 3; padding: 2px 5px; border-radius: 3px; background: rgba(255,255,255,.84); color: var(--text-muted); font-size: .65rem; }
.map-route { position: absolute; left: 20px; bottom: 20px; z-index: 2; box-shadow: var(--sh-lg); }
@media (max-width: 520px) { .map-place-label { left: 12px; top: 12px; min-width: 0; } .map-route { left: 12px; bottom: 16px; } }
@media (min-width: 1024px) { .map-lazy { min-height: 460px; } }

.wa-cta .btn .i { margin-right: 4px; }

/* =========================================================
   BLOG (/blog/ e /blog/[categoria]/)
   ========================================================= */
.blog-head { background: var(--surface-alt); padding-block: 48px 40px; }
.blog-head .container { display: grid; gap: 20px; justify-items: start; }
.blog-head h1 { font-size: clamp(2rem, 1.35rem + 2vw, 3.25rem); line-height: 1.08; max-width: 900px; }
.blog-intro { font-size: var(--fs-body-lg); line-height: 1.75; color: var(--text); max-width: 820px; }
.blog-intro a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.catnav { width: 100%; margin-top: 8px; }
.catnav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--surface); color: var(--primary); font-size: var(--fs-body-sm); font-weight: 700; text-decoration: none; transition: border-color var(--t-base), background-color var(--t-base), color var(--t-base); }
.chip:hover { border-color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-dark); }
@media (min-width: 1024px) { .blog-head { padding-block: 72px 56px; } }
.section-first { padding-top: var(--s-48); }

.bfeat { position: relative; display: grid; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-sm); }
.bfeat-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--primary-soft); }
.bfeat-media img { width: 100%; height: 100%; object-fit: cover; }
.bfeat-body { display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(28px, 4vw, 56px); }
.bfeat-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.bfeat-title { font-size: var(--fs-h3); line-height: 1.15; }
.bfeat-body > p:not(.bfeat-label):not(.post-meta) { color: var(--text-muted); line-height: 1.7; max-width: 560px; }
@media (min-width: 900px) { .bfeat { grid-template-columns: 7fr 5fr; } .bfeat-media { aspect-ratio: auto; min-height: 420px; } }

.badge-link { position: relative; z-index: 2; text-decoration: none; }
.badge-link:hover { background: var(--primary-soft-2); }
.post-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { font-size: var(--fs-label) !important; color: var(--text-muted) !important; }
.posts .acard-title { font-size: var(--fs-h5); }

.pagination { margin-top: var(--s-48); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.page { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--surface); color: var(--primary); font-weight: 700; text-decoration: none; transition: border-color var(--t-base); }
a.page:hover { border-color: var(--primary); }
.page.is-current { background: var(--primary); border-color: var(--primary); color: var(--on-dark); }
.page .i { width: 18px; height: 18px; color: var(--accent); }
.blog-cta { margin-bottom: 0; }

/* =========================================================
   ARTIGO DO BLOG (/blog/[slug]/)
   ========================================================= */
.post-head { background: var(--surface-alt); padding-block: 40px; }
.post-head-inner { display: grid; gap: 20px; justify-items: start; max-width: 960px; }
.post-head h1 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem); line-height: 1.1; }
.byline { display: flex; align-items: center; gap: 14px; }
.byline-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--primary-soft); flex: none; }
.byline-name { font-size: var(--fs-body-sm); color: var(--text); }
.byline-name a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.byline-meta { font-size: var(--fs-label); color: var(--text-muted); margin-top: 2px; }
@media (min-width: 1024px) { .post-head { padding-block: 64px 56px; } }

.post-layout { display: grid; gap: 32px; padding-block: 40px var(--section); }
.post-aside { display: grid; gap: 16px; align-content: start; }
.toc { padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.toc-title { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; align-items: baseline; min-height: 40px; padding-block: 8px; color: var(--primary); font-size: var(--fs-body-sm); font-weight: 500; text-decoration: none; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-label); color: var(--accent-text); }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.aside-cta { display: none; }
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; padding-top: 56px; }
  .post-aside { grid-column: 2; grid-row: 1; position: sticky; top: 104px; }
  .prose { grid-column: 1; grid-row: 1; }
  .aside-cta { display: grid; gap: 14px; padding: 24px; background: var(--primary); border-radius: var(--r-card); }
  .aside-cta-title { font-family: var(--font-display); font-weight: 700; color: var(--on-dark); line-height: 1.35; }
  .aside-cta .btn { background: var(--accent); border-color: var(--accent); color: var(--primary); }
}

.prose { display: grid; gap: 20px; min-width: 0; }
.prose > p, .prose li { font-size: var(--fs-body); line-height: 1.8; color: var(--text); }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); line-height: 1.2; margin-top: 28px; scroll-margin-top: 100px; }
.prose h3 { font-size: var(--fs-h4); line-height: 1.3; margin-top: 12px; scroll-margin-top: 100px; }
.prose h4 { font-size: var(--fs-h6); line-height: 1.35; color: var(--primary); }
.prose > p a, .prose li a, .faq-body a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose > p a:hover, .prose li a:hover { color: var(--primary-hover); }
.lead-answer { font-size: var(--fs-body-lg) !important; line-height: 1.75 !important; padding-bottom: 8px; }
.summary-box { padding: 24px 28px; background: var(--primary-soft); border-radius: var(--r-card); }
.summary-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h5); color: var(--primary); margin-bottom: 12px; }
.summary-box .dash-list { display: grid; gap: 10px; }
.summary-box li { font-size: var(--fs-body-sm); line-height: 1.65; }
.steps-list { display: grid; gap: 12px; counter-reset: st; }
.steps-list li { counter-increment: st; position: relative; padding-left: 44px; }
.steps-list li::before { content: counter(st); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-dark); font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; }
.prose .dash-list { display: grid; gap: 10px; }
.inline-cta { display: grid; gap: 20px; margin-block: 16px; padding: 28px; background: var(--primary); border-radius: var(--r-card); color: var(--on-dark-muted); }
.inline-cta-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.inline-cta-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); line-height: 1.25; color: var(--on-dark); margin-block: 6px 8px; }
.inline-cta p:last-child { font-size: var(--fs-body-sm); line-height: 1.65; }
.inline-cta .btn { justify-self: start; }
.inline-cta .btn:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--focus); }
.post-table { min-width: 640px; }
.post-table tbody th { width: 18%; }
.post-faq { display: grid; gap: 16px; margin-top: 12px; }
.post-faq h2 { margin-top: 16px; }
.author-box { display: grid; gap: 20px; margin-top: 32px; padding: 28px; background: var(--surface-alt); border-radius: var(--r-card); }
.author-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--primary-soft); }
.author-text { display: grid; gap: 8px; justify-items: start; }
.author-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.author-name { font-size: var(--fs-h4) !important; margin-top: 0 !important; }
.author-role { font-size: var(--fs-body-sm); color: var(--primary); font-weight: 700; }
.author-text p:not(.author-label):not(.author-role) { font-size: var(--fs-body-sm); line-height: 1.7; color: var(--text-muted); }
@media (min-width: 640px) { .author-box { grid-template-columns: 120px 1fr; align-items: start; gap: 28px; } }

/* =========================================================
   PÁGINAS LEGAIS, OBRIGADO E 404
   ========================================================= */
.legal-date { font-size: var(--fs-body-sm); color: var(--text-muted); }
.legal h2 { font-size: var(--fs-h4); }
.legal-more { display: grid; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.legal .btn { text-decoration: none; }

.thanks { background: var(--surface-alt); padding-block: 64px; text-align: center; }
.thanks-inner { display: grid; gap: 18px; justify-items: center; max-width: 820px; }
.thanks h1 { font-size: clamp(2rem, 1.35rem + 2vw, 3.25rem); line-height: 1.1; }
.thanks-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: var(--on-dark); }
.thanks-icon .i { width: 36px; height: 36px; }
.thanks-lead { font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text); max-width: 680px; }
.thanks-service { padding: 10px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: var(--fs-body-sm); color: var(--text-muted); }
.thanks-service strong { color: var(--primary); }
.thanks .eyebrow::before { display: none; }
@media (min-width: 1024px) { .thanks { padding-block: 96px; } }
.next-steps { counter-reset: none; }
.next-step { display: flex; flex-direction: column; gap: 12px; padding: var(--card-inner); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.next-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--on-dark); font-family: var(--font-display); font-weight: 700; }
.next-title { font-size: var(--fs-h5); line-height: 1.3; }
.next-step p { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.65; }
.nf-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 3rem + 5vw, 7rem); line-height: 1; color: var(--primary); letter-spacing: -0.04em; }
.nf-ctas { justify-content: center; }

/* =========================================================
   PÁGINA DE SERVIÇO (/[categoria]/[servico]/)
   ========================================================= */
.proofs { display: grid; gap: 10px; }
.proof { display: grid; gap: 2px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.proof strong { font-family: var(--font-display); color: var(--primary); }
.proof span { font-size: var(--fs-body-sm); color: var(--text-muted); }
@media (min-width: 640px) { .proofs { grid-template-columns: repeat(3, 1fr); } }

/* landing de conversão: prótese de recuperação rápida */
.sales-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); background: radial-gradient(circle at 78% 18%, rgba(232, 237, 243, .2), transparent 28%), radial-gradient(circle at 88% 70%, rgba(117, 131, 152, .16), transparent 36%), linear-gradient(135deg, #17284f 0%, #0f1d3b 100%); color: var(--on-dark-muted); }
.sales-hero::after { content: ""; position: absolute; right: -12%; bottom: -44%; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; pointer-events: none; }
.sales-hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.sales-hero-copy { display: grid; gap: 24px; align-content: center; }
.sales-hero .eyebrow { color: #EEF2F6; }
.sales-hero .eyebrow::before { background: var(--silver-metal); }
.sales-hero h1 { max-width: 760px; font-size: clamp(2.35rem, 1.45rem + 3vw, 4.5rem); line-height: 1.02; letter-spacing: -.04em; color: var(--on-dark); }
.sales-hero-lead { max-width: 690px; font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.7; }
.sales-hero-lead strong { color: var(--on-dark); }
.sales-benefits { display: grid; gap: 10px; }
.sales-benefits li { position: relative; padding: 12px 14px 12px 42px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); background: rgba(255,255,255,.06); color: var(--on-dark); font-size: var(--fs-body-sm); font-weight: 700; }
.sales-benefits li::before { content: "✓"; position: absolute; left: 15px; top: 50%; translate: 0 -50%; color: #F4F7FA; text-shadow: 0 1px 10px rgba(200,209,220,.65); font-weight: 800; }
.sales-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.sales-hero .btn-primary { background: var(--silver-metal); border-color: #EEF2F6; color: #071631; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(38,53,76,.28), 0 14px 34px rgba(0,0,0,.24); }
.sales-hero .btn-primary:hover { background: var(--silver-metal-soft); border-color: #FFFFFF; color: #071631; }
.sales-hero .text-link { color: var(--on-dark); text-decoration-color: #DDE4EC; }
.sales-proofline { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 4px; font-size: var(--fs-label); color: rgba(255,255,255,.74); }
.sales-proofline strong { color: var(--on-dark); }
.sales-institution-logos { display: flex; align-items: center; gap: 24px; flex-basis: 100%; margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.sales-institution-logos img { width: auto; height: 50px; max-width: 46%; object-fit: contain; }
.sales-institution-logos img[src*="baps"] { height: 56px; }
.sales-doctor { position: relative; min-height: 520px; border-radius: 32px; overflow: hidden; background: #e9edf4; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.sales-doctor img { display: block; width: 100%; height: 100%; min-height: 520px; max-height: 690px; object-fit: cover; object-position: center 30%; }
.sales-doctor figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 2px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-md); background: rgba(15,29,59,.86); color: var(--on-dark-muted); backdrop-filter: blur(10px); }
.sales-doctor figcaption strong { font-family: var(--font-display); color: var(--on-dark); }
.sales-doctor figcaption span { font-size: var(--fs-label); }
.sales-consult { padding-block: clamp(48px, 7vw, 88px); background: var(--surface-alt); }
.sales-consult-grid { display: grid; gap: 36px; align-items: start; }
.sales-consult-copy { display: grid; gap: 18px; align-content: start; }
.sales-consult-copy h2 { max-width: 650px; font-size: clamp(2rem, 1.5rem + 1.7vw, 3.25rem); line-height: 1.08; }
.sales-consult-copy > p:not(.eyebrow) { max-width: 620px; font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text-muted); }
.sales-consult-list { display: grid; gap: 10px; margin-top: 4px; }
.sales-consult-list li { position: relative; padding-left: 30px; line-height: 1.55; color: var(--text); }
.sales-consult-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 800; }
.sales-consult .form-card { box-shadow: var(--sh-md); }
@media (min-width: 700px) { .sales-benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .sales-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: clamp(56px, 6vw, 96px); }
  .sales-consult-grid { grid-template-columns: 5fr 6fr; gap: clamp(56px, 7vw, 96px); }
  .sales-consult-copy { position: sticky; top: 112px; }
}
@media (max-width: 639px) {
  .sales-hero .hero-ctas { align-items: stretch; }
  .sales-hero .hero-ctas .btn { width: 100%; }
  .sales-doctor, .sales-doctor img { min-height: 430px; }
}
.split { display: grid; gap: 40px; align-items: start; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-image); background: var(--primary-soft); }
.prose-block { display: grid; gap: 16px; }
.prose-block p:not(.eyebrow) { line-height: 1.8; color: var(--text); }
.prose-block h3 { font-size: var(--fs-h4); margin-top: 8px; scroll-margin-top: 100px; }
.prose-block a, .narrow > p a, .table-note a, .narrow h4 + p a, .contact-text a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 80px; } .split-media { position: sticky; top: 104px; } }
.sign { display: flex; flex-direction: column; gap: 10px; padding: var(--card-inner); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-xs); }
.sign-num { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.08em; color: var(--text-muted); }
.sign-title { font-size: var(--fs-h5); line-height: 1.3; }
.sign p { color: var(--text-muted); font-size: var(--fs-body-sm); line-height: 1.6; }
.service-timeline { max-width: 880px; }
.tl-time { display: block; margin-top: 6px; font-size: var(--fs-label); font-weight: 700; color: var(--primary); }
.table-title { font-size: var(--fs-h4); margin: 48px 0 16px; }
.table-note { margin-top: 14px; font-size: var(--fs-body-sm); color: var(--text-muted); }
.include-card { display: grid; gap: 16px; align-content: start; padding: var(--card-inner); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.include-card-alt { background: var(--surface-alt); }
.include-title { font-size: var(--fs-h5); }
.include-card .dash-list { display: grid; gap: 10px; }
.include-grid-single { max-width: 780px; margin-inline: auto; }
.narrow { max-width: 880px; display: grid; gap: 18px; }
.narrow h2 { scroll-margin-top: 100px; }
.narrow h3 { font-size: var(--fs-h4); margin-top: 24px; scroll-margin-top: 100px; }
.narrow h4 { font-size: var(--fs-h6); color: var(--primary); margin-top: 4px; }
.narrow > p { line-height: 1.8; }
.block-answer { font-size: var(--fs-body-lg); line-height: 1.7; }
.narrow .section-foot { justify-content: flex-start; margin-top: 8px; }
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding: 12px 16px 12px 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--primary); border-radius: 4px; }
@media (min-width: 768px) { .checklist { grid-template-columns: 1fr 1fr; } }
.contact-text { color: var(--text-muted); line-height: 1.6; }
.reading-box { margin-top: var(--s-48); padding: 24px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.reading-title { font-family: var(--font-display); font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.reading-box ul { display: grid; gap: 4px; }
.reading-box a { display: inline-flex; min-height: 40px; align-items: center; color: var(--primary); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.reviewed { margin-top: 24px; font-size: var(--fs-body-sm); color: var(--text-muted); text-align: center; }
.reviewed a { color: var(--primary); font-weight: 700; }

/* =========================================================
   AJUSTES DE USABILIDADE E ACESSIBILIDADE (v1.2)
   ========================================================= */
/* Fotos: enquanto o arquivo não existe, mostra um fundo neutro em vez do texto alternativo quebrado */
main img, .mega-feature img { color: transparent; }
.hero-media img, .split-media img, .acard-media img, .fcard-media img, .process-media img, .review-media img,
.scard-media img, .bfeat-media img, .story-media img, .voice-media img, .press-media img, .map-static, .author-photo, .byline-photo, .mega-feature img {
  background-color: var(--primary-soft);
  background-image: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-soft-2) 100%);
}

/* links dentro de texto corrido: sempre sublinhados e em negrito para não depender só da cor */
.section-intro a, .block-answer a, .contact-text a, .location-block p a, .include-card a, .sign a, .choose-list a, .icard p a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.section-dark .icard p a, .section-dark .section-intro a { color: var(--on-dark); }

/* hero da página de serviço: botões visíveis antes do formulário (principalmente no celular) */
.service-hero .hero-ctas { margin-top: 4px; }
.service-hero .proofs { grid-template-columns: 1fr; }
@media (max-width: 639px) {
  .proofs { gap: 8px; }
  .proof { padding: 12px 14px; }
  .service-hero .hero-ctas .btn { width: 100%; }
}
@media (min-width: 640px) { .service-hero .proofs { grid-template-columns: repeat(3, 1fr); } }

/* bloco do autor nas páginas de serviço, hub e jornada */
.author-section .author-box { margin-top: 0; background: var(--surface); border: 1px solid var(--border); }
.author-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.author-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-weight: 700; font-size: var(--fs-body-sm); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* resposta direta no início de cada bloco (GEO) */
.answer { font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text); }

/* blocos de técnica com âncora própria (ex.: #lipo-hd) */
.tech-grid { display: grid; gap: var(--gutter); }
@media (min-width: 768px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
.tech { display: grid; gap: 12px; align-content: start; padding: var(--card-inner); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); scroll-margin-top: 110px; }
.tech-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.tech-title { font-size: var(--fs-h4); line-height: 1.2; }
.tech p { color: var(--text-muted); line-height: 1.7; }
.tech .dash-list li { font-size: var(--fs-body-sm); }
.tech:target { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft-2); }
.section-alt .tech { background: var(--surface); }

/* aviso de cookies (LGPD) */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; display: grid; gap: 14px; max-width: 560px; padding: 20px 22px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); font-size: var(--fs-body-sm); line-height: 1.6; }
.cookie-bar p a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cookie-title { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--primary); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1 1 auto; }
@media (min-width: 768px) { .cookie-bar { left: 24px; bottom: 24px; right: auto; } }

/* rolagem até âncoras não fica escondida sob o cabeçalho fixo */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.acard-sub { font-size: var(--fs-body-sm); color: var(--text-muted); }
.acard-sub a { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 32px; color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.guide-cta-text a { color: var(--on-dark); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide-cta-text a:hover { color: var(--accent); }
.xcard-body p a, .fcard-body p a { color: var(--on-dark); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; position: relative; z-index: 1; }
.xcard-body p a:hover, .fcard-body p a:hover { color: var(--accent); }
.tech .btn { justify-self: start; margin-top: 4px; }
.tech a:not(.btn) { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* cartão de avaliações do Google (substitui os depoimentos: os relatos ficam no perfil oficial do Google) */
.review-card-google { gap: 16px; padding-top: 28px; justify-items: start; }
.google-rating { display: grid; gap: 8px; }
.google-rating .stars .i { width: 24px; height: 24px; }
.google-rating-value { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: 1.45; }
.google-rating-value strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--primary); line-height: 1.15; }
.google-rating-text { color: var(--text-muted); line-height: 1.65; }
.review-card-google .btn { width: 100%; }
.review-card-google .btn .i { width: 20px; height: 20px; }
.real-review-list { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--border); }
.real-review { display: grid; gap: 8px; padding-block: 16px; border-bottom: 1px solid var(--border); }
.real-review blockquote { margin: 0; color: var(--primary); font-family: var(--font-display); font-size: 1rem; line-height: 1.55; }
.real-review figcaption { display: grid; gap: 2px; }
.real-review figcaption strong { color: var(--text); font-size: var(--fs-body-sm); }
.real-review figcaption span, .review-disclaimer { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.5; }
