/* ==========================================================================
   Gabriela Pereira Advocacia · style.css
   Fonte dos valores: 07-design-system.json (v1.0, 14/10/2026)
   Mobile first: escrito para 375px e ampliado com min-width (768 / 1024 / 1280)
   ========================================================================== */

/* Fonte igual à do site da AST Advogados (pedido do Bruno, 30/10/2026): Manrope em tudo,
   servida do próprio servidor (variável, pesos 200 a 800) */
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope.woff") format("woff"); font-style: normal; font-weight: 200 800; font-display: swap; }

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  /* Cores */
  --primary: #143820;
  --primary-hover: #1F4A2D;
  --primary-active: #0B2E1F;
  --primary-soft: #E7EEE8;
  --accent: #C4A35A;
  --accent-hover: #D1B474;
  --accent-active: #B79650;
  --accent-soft: #F3ECDC;
  --accent-text: #8A6A12;
  --accent-text-strong: #7A5C0F;
  --text: #13251C;
  --text-muted: #5F6B62;
  --text-inverse: #FFFFFF;
  --text-inverse-muted: #C9D2CB;
  --surface: #FFFFFF;
  --surface-alt: #F7F5EF;
  --surface-soft: #EFEBE1;
  --surface-dark: #0B2E1F;
  --surface-input: #FBFAF7;
  --border: #E4DFD3;
  --border-strong: #CBC3B1;
  --border-input: #7D867F;
  --border-inverse: rgba(255, 255, 255, 0.16);
  --success: #1E7044;
  --error: #B3261E;
  --warning: #8A5A00;
  --focus: #143820;
  --focus-on-dark: #C4A35A;
  --whatsapp: #157A43;
  --whatsapp-hover: #0F6636;
  --overlay-photo: linear-gradient(180deg, rgba(11, 46, 31, 0.72), rgba(11, 46, 31, 0.92));
  --overlay-photo-desktop: linear-gradient(90deg, rgba(11, 46, 31, 0.94) 0%, rgba(11, 46, 31, 0.78) 45%, rgba(11, 46, 31, 0.15) 85%);

  /* Tipografia */
  --font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 3.2vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --fs-h5: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --fs-h6: clamp(0.875rem, 0.86rem + 0.1vw, 0.9375rem);
  --fs-body-lg: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-body: clamp(1rem, 0.97rem + 0.1vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;
  --fs-stat: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);

  /* Espaços */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --section-y: var(--space-8);
  --head-gap: var(--space-6);
  --gutter: 16px;

  /* Raios, sombras, movimento */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(11, 46, 31, 0.06);
  --shadow-card: 0 10px 30px rgba(11, 46, 31, 0.07);
  --shadow-card-hover: 0 18px 44px rgba(11, 46, 31, 0.12);
  --shadow-floating: 0 24px 60px rgba(11, 46, 31, 0.16);
  --shadow-button: 0 6px 16px rgba(11, 46, 31, 0.14);
  --shadow-header: 0 1px 0 #E4DFD3, 0 6px 20px rgba(11, 46, 31, 0.05);
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);

  --header-h: 64px;
  --max: 1200px;
}

@media (min-width: 768px) {
  :root { --section-y: var(--space-9); --gutter: 20px; }
}
@media (min-width: 1024px) {
  :root { --section-y: var(--space-10); --head-gap: var(--space-7); --gutter: 24px; --header-h: 76px; }
}

/* ---------- 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;
  font-weight: 400;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-line: underline; text-decoration-color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease), text-decoration-thickness var(--dur-fast) var(--ease); }
a:hover { color: var(--accent-text); text-decoration-thickness: 2px; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class], nav ul { list-style: none; }
strong { font-weight: 600; color: var(--text); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; margin: 0; text-wrap: balance; color: var(--text); }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.035em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.025em; }
h4 { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h5, h6 { font-family: var(--font-body); font-weight: 600; line-height: 1.4; margin: 0; color: var(--text); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); letter-spacing: 0.01em; }
::selection { background: var(--accent-soft); color: var(--primary); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pendente { background: var(--accent-soft); color: var(--accent-text-strong); border: 1px dashed var(--accent-text); border-radius: 4px; padding: 0 4px; font-size: 0.85em; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 64px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { .container { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1024px) { .container { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--primary); color: var(--text-inverse); padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; outline-color: var(--accent); }

/* Ícones Lucide (sprite) */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic--16 { width: 16px; height: 16px; }
.ic--18 { width: 18px; height: 18px; }
.ic--20 { width: 20px; height: 20px; }
.ic--24 { width: 24px; height: 24px; }
.ic--32 { width: 32px; height: 32px; }
.ic--gold { color: var(--accent); }

/* ---------- 3. Componentes básicos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-pill);
  font: 600 15px/1.2 var(--font-body); text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--lg { min-height: 56px; padding: 16px 28px; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: var(--text-inverse); }
.btn--primary:hover { background: var(--primary-hover); color: var(--text-inverse); transform: translateY(-2px); box-shadow: var(--shadow-button); }
.btn--primary:active { background: var(--primary-active); transform: none; box-shadow: none; }
.btn--accent { background: var(--accent); color: var(--primary); }
.btn--accent:hover { background: var(--accent-hover); color: var(--primary); transform: translateY(-2px); }
.btn--accent:active { background: var(--accent-active); transform: none; }
.btn--accent:focus-visible { outline-color: var(--focus-on-dark); }
.btn--secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary); color: var(--text-inverse); }
.btn--secondary-inverse { background: transparent; color: var(--text-inverse); border-color: rgba(255, 255, 255, 0.7); }
.btn--secondary-inverse:hover { background: var(--surface); color: var(--primary); }
.btn--secondary-inverse:focus-visible { outline-color: var(--focus-on-dark); }
.btn--whatsapp { background: var(--whatsapp); color: var(--text-inverse); }
.btn--whatsapp:hover { background: var(--whatsapp-hover); color: var(--text-inverse); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--primary); text-decoration: none;
}
.link-arrow .ic { transition: transform var(--dur-base) var(--ease); }
.link-arrow:hover { color: var(--accent-text); }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow--light { color: var(--text-inverse); }
.link-arrow--light:hover { color: var(--accent); }
.link-arrow--gold { color: var(--accent); }
.link-arrow--gold:hover { color: var(--text-inverse); }
.link-arrow--light:focus-visible, .link-arrow--gold:focus-visible { outline-color: var(--focus-on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; justify-self: start; width: fit-content;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-text-strong);
  font-size: var(--fs-label); font-weight: 600; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow--dark { background: rgba(196, 163, 90, 0.14); color: var(--accent); border: 1px solid rgba(196, 163, 90, 0.35); }

.chip {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: var(--radius-md); background: var(--primary-soft); color: var(--primary);
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.chip--sm { width: 40px; height: 40px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; line-height: 1.4; }

.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143820' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list--sm li { font-size: var(--fs-small); }
.check-list--dark li { color: var(--text-inverse); }
.check-list--dark li::before { background-color: rgba(196, 163, 90, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4A35A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Grades simétricas: 4 → 2x2 → 1 · 3 → 3 → 1 · 2 → 2 → 1 */
.grid { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid--2, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid > * { min-width: 0; }

/* ---------- 4. Topbar e cabeçalho ---------- */
.topbar { display: none; background: var(--surface-dark); color: var(--text-inverse-muted); font-size: 13px; line-height: 1.3; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.topbar__proof { display: inline-flex; align-items: center; gap: 8px; }
.topbar__links { display: flex; align-items: center; gap: 24px; }
.topbar__links a, .topbar__links span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-inverse-muted); text-decoration: none; min-height: 36px; }
.topbar__links a:hover { color: var(--text-inverse); text-decoration: underline; text-decoration-color: var(--accent); }
.topbar a:focus-visible { outline-color: var(--focus-on-dark); }
@media (min-width: 1024px) { .topbar { display: block; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); box-shadow: var(--shadow-header); }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; flex: none; margin-right: auto; border-radius: 4px; }
.logo img { width: auto; height: 36px; }
@media (min-width: 1024px) { .logo img { height: 44px; } .logo { margin-right: 0; } }

.nav-desktop { display: none; }
.btn--header { display: none; }
.btn__short { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: block; flex: 1; }
  .btn--header { display: inline-flex; min-height: 44px; padding: 10px 20px; font-size: 14px; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
}
@media (min-width: 1280px) { .btn__long { display: inline; } .btn__short { display: none; } }

.menu { display: flex; align-items: center; justify-content: center; gap: 2px; }
.menu__btn, .menu__link, .menu__lang {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  border: 0; border-radius: var(--radius-pill); background: transparent;
  font: 600 15px/1 var(--font-body); color: var(--primary); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease);
}
.menu__btn:hover, .menu__link:hover, .menu__lang:hover, .menu__btn[aria-expanded="true"] { background: var(--primary-soft); color: var(--primary); }
.menu__btn .ic { transition: transform var(--dur-base) var(--ease); }
.menu__btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.menu__lang { border: 1px solid var(--border); padding: 0 12px; font-size: 14px; margin-left: 6px; }
@media (min-width: 1024px) and (max-width: 1279px) { .menu__btn, .menu__link { padding: 0 10px; font-size: 14px; } }

/* Mega menu: abre por :hover, :focus-within e aria-expanded (JS) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-top: 1px solid var(--border); box-shadow: var(--shadow-floating);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-base);
}
.menu__item--mega:hover > .mega,
.menu__item--mega:focus-within > .mega,
.menu__btn[aria-expanded="true"] + .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__item--mega.is-closed > .mega { opacity: 0; visibility: hidden; }
.mega__inner { max-width: var(--max); margin-inline: auto; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
.mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mega__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__col { display: flex; flex-direction: column; gap: 8px; }
.mega__col > ul { display: grid; gap: 2px; }
.mega__title { font: 600 13px/1.3 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text-strong); text-decoration: none; padding: 8px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.mega__title:hover { color: var(--primary); }
.mega__col li a, .bahia-panel a {
  display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 2px; align-items: start;
  padding: 10px; border-radius: var(--radius-md); text-decoration: none; color: var(--primary);
  transition: background-color var(--dur-fast) var(--ease);
}
.mega__col li a .ic, .bahia-panel a .ic { grid-row: span 2; color: var(--primary); margin-top: 1px; }
.mega__col li a:hover, .bahia-panel a:hover { background: var(--primary-soft); }
.mega__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.mega__desc { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 10px; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; min-height: 44px; }
.mega__all .ic { transition: transform var(--dur-base) var(--ease); }
.mega__all:hover { color: var(--accent-text); }
.mega__all:hover .ic { transform: translateX(3px); }
.mega__feature { background: var(--surface-dark); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.mega__feature img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mega__feature-body { padding: 20px; display: grid; gap: 8px; }
.mega__feature-title { font: 600 20px/1.25 var(--font-heading); color: var(--text-inverse); }
.mega__feature-text { font-size: 14px; line-height: 1.55; color: var(--text-inverse-muted); }
.mega__bar { background: var(--surface-alt); border-top: 1px solid var(--border); }
.mega__bar-inner { max-width: var(--max); margin-inline: auto; padding: 8px 32px; display: flex; align-items: center; gap: 32px; font-size: 14px; }
.mega__bar a, .mega__bar span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--primary); font-weight: 600; text-decoration: none; }
.mega__bar span { margin-left: auto; color: var(--text-muted); font-weight: 400; }
.mega__bar a:hover { color: var(--accent-text); }
.mega--bahia .mega__inner--bahia { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 960px; }
.bahia-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bahia-panel a { border: 1px solid var(--border); padding: 16px; }

/* Menu do celular (details) */
.mnav { display: block; }
@media (min-width: 1024px) { .mnav { display: none; } }
.mnav__toggle {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); cursor: pointer;
  font: 600 15px/1 var(--font-body); color: var(--primary); background: var(--surface);
  position: relative; z-index: 61;
}
.mnav__toggle::-webkit-details-marker { display: none; }
.mnav__close { display: none; }
.mnav[open] .mnav__open { display: none; }
.mnav[open] .mnav__close { display: block; }
.mnav[open] .mnav__toggle { background: transparent; color: var(--text-inverse); border-color: rgba(255, 255, 255, 0.4); }
.mnav[open] .mnav__toggle:focus-visible { outline-color: var(--focus-on-dark); }
.mnav__panel {
  position: fixed; inset: 0; z-index: 60; background: var(--surface-dark); color: var(--text-inverse);
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
.mnav__nav {
  flex: 1; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 4px;
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--border-inverse);
}
.mnav__group { border-bottom: 1px solid var(--border-inverse); }
.mnav__group > summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer;
  font: 600 18px/1.3 var(--font-heading); color: var(--text-inverse);
}
.mnav__group > summary::-webkit-details-marker { display: none; }
.mnav__group > summary .ic { color: var(--accent); transition: transform var(--dur-base) var(--ease); }
.mnav__group[open] > summary .ic { transform: rotate(180deg); }
.mnav__group ul { display: grid; gap: 8px; padding: 0 0 16px; }
.mnav__group li a { display: flex; gap: 12px; align-items: flex-start; min-height: 48px; padding: 8px 0; color: var(--text-inverse); text-decoration: none; }
.mnav__group li a .ic { color: var(--accent); margin-top: 2px; }
.mnav__group li a > span { display: grid; }
.mnav__group .mega__desc { color: var(--text-inverse-muted); }
.mnav__group .mnav__all { color: var(--accent); font-weight: 600; font-size: 15px; align-items: center; }
.mnav__simple { display: grid; padding: 8px 0 16px; }
.mnav__simple a { display: flex; align-items: center; min-height: 48px; color: var(--text-inverse); text-decoration: none; font-weight: 600; font-size: 16px; }
.mnav a:focus-visible, .mnav summary:focus-visible { outline-color: var(--focus-on-dark); }
.mnav__bar {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid var(--border-inverse);
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
body.menu-open { overflow: hidden; }

/* ---------- 5. Seções ---------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--surface-dark); color: var(--text-inverse); }
.section--dark h2, .section--dark h3 { color: var(--text-inverse); }
.section--dark .section-head__text { color: var(--text-inverse-muted); }
.section--dark .section-head__text strong { color: var(--text-inverse); }
.section--pattern { background-image: none; }   /* linhas diagonais retiradas a pedido do Bruno (30/10) */
.section--panel { padding-block: calc(var(--section-y) / 2); }
.panel { background: var(--surface-soft); border-radius: var(--radius-xl); margin-inline: max(8px, env(safe-area-inset-left, 0px)); padding-block: var(--section-y); }
@media (min-width: 768px) { .panel { margin-inline: 16px; } }

.section-head { display: grid; gap: 16px; margin-bottom: var(--head-gap); max-width: 760px; }
.section-head h2 { max-width: 22ch; }
.section-head__text { color: var(--text-muted); font-size: var(--fs-body-lg); line-height: 1.65; max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .eyebrow { align-self: center; }
.section-head--center h2 { max-width: 24ch; }
.section-head--split { max-width: none; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 48px; }
  .section-head--split > div { display: grid; gap: 16px; }
}
.section-foot { margin-top: var(--space-7); display: flex; justify-content: center; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--text-inverse); background: var(--surface-dark); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 70% center; filter: saturate(0.92) contrast(1.03); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--overlay-photo); }
.hero__inner { position: relative; z-index: 2; padding-block: 56px 48px; }
.hero__content { max-width: 640px; display: grid; gap: 24px; }
.hero__title { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.045em; color: var(--text-inverse); }
.hero__title span { display: block; color: var(--accent); }
.hero__lead { font-size: var(--fs-body-lg); line-height: 1.65; color: var(--text-inverse-muted); max-width: 60ch; }
.hero__lead strong { color: var(--text-inverse); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__proofs { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(196, 163, 90, 0.5); }
.hero__proofs li { display: flex; gap: 12px; align-items: center; }
.hero__proof-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(196, 163, 90, 0.5); color: var(--accent); }
.hero__proofs li > span:last-child { display: grid; line-height: 1.35; }
.hero__proofs strong { color: var(--text-inverse); font-size: 15px; }
.hero__proofs li > span:last-child > span { color: var(--text-inverse-muted); font-size: 13px; }
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__proofs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .hero::before { background: var(--overlay-photo-desktop); }
  .hero__inner { padding-block: 112px 96px; }
  .hero__content { max-width: 680px; }
}

/* ---------- 7. Faixa de números ---------- */
/* Faixa de números no tamanho da AST Advogados (30/10/2026): faixa baixa, número à esquerda e texto ao lado */
.stats { background: var(--primary); color: var(--text-inverse); }
.stats__grid { display: grid; list-style: none; margin: 0; padding: 0; }
.stats__item { padding-block: 20px; }
.stats__item + .stats__item { border-top: 1px solid var(--border-inverse); }
.stats__link { display: grid; grid-template-columns: auto minmax(0, 190px); grid-template-rows: auto auto; column-gap: 14px; align-items: center; color: inherit; text-decoration: none; border-radius: 6px; }
/* Item sem link (Sobre): o próprio item faz a grade */
.stats__item:not(:has(> .stats__link)) { display: grid; grid-template-columns: auto minmax(0, 190px); grid-template-rows: auto auto; column-gap: 14px; align-items: center; justify-content: center; }
.stats__link:hover .stats__label { text-decoration: underline; text-decoration-color: var(--accent); }
.stats__link:focus-visible { outline-color: var(--focus-on-dark); }
.stats__value { grid-row: span 2; font: 600 2.125rem/1 var(--font-heading); letter-spacing: -0.03em; white-space: nowrap; color: var(--accent); font-variant-numeric: tabular-nums; }
.stats__label { align-self: end; font-size: 0.75rem; font-weight: 500; line-height: 1.3; color: var(--text-inverse); }
.stats__source { align-self: start; margin-top: 3px; font-size: 0.6875rem; line-height: 1.3; color: var(--text-inverse-muted); }
@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { display: flex; justify-content: center; padding: 18px 12px; }
  .stats__item:not(:has(> .stats__link)) { display: grid; }
  .stats__item + .stats__item { border-top: 0; }
  .stats__item:nth-child(even) { border-left: 1px solid var(--border-inverse); }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--border-inverse); }
}
@media (min-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; min-height: 105px; }
  .stats__item:nth-child(n+3) { border-top: 0; }
  .stats__item + .stats__item { border-left: 1px solid var(--border-inverse); }
}

/* ---------- 8. Cartões de serviço ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 12px 12px 20px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.service-card > :not(.service-card__media) { margin-inline: 12px; }
.service-card__media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.03); transition: transform 500ms var(--ease); }
.service-card .chip--overlap { margin-top: -38px; position: relative; background: var(--primary); color: var(--accent); border: 3px solid var(--surface); width: 52px; height: 52px; }
.section--dark .service-card h3 { color: var(--text); font-size: 22px; }
.section--dark .feature h3 { color: var(--text); }
.service-card p { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
.service-card .check-list { padding-top: 4px; }
.service-card__link { margin-top: auto; font-size: 14px; }
.service-card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--border-strong); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card:has(a:focus-visible) { outline: 2px solid var(--focus-on-dark); outline-offset: 3px; }
.service-card a:focus-visible { outline: none; }

/* ---------- 9. Problema e solução ---------- */
.split { display: grid; gap: var(--space-7); align-items: center; }
.split__text { display: grid; gap: 20px; min-width: 0; }
.lead { font-size: var(--fs-body-lg); line-height: 1.65; color: var(--text-muted); }
.problem-list { display: grid; gap: 24px; margin-top: 8px; }
.problem { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: 24px; border-top: 1px solid var(--border); }
.problem h3 { font-size: 21px; margin-bottom: 6px; }
.problem p { color: var(--text-muted); font-size: 15.5px; }
.photo-frame { position: relative; margin: 0 16px 16px 0; }
.photo-frame::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--accent); border-radius: var(--radius-xl); }
.photo-frame img { position: relative; border-radius: var(--radius-xl); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(0.92) contrast(1.03); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-8); }
}

/* ---------- 10. Como funciona ---------- */
.steps { counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font: 600 17px/1 var(--font-body); }
.step__icon { color: var(--accent-text); }
.step h3 { font-size: 20px; line-height: 1.3; }
.step p { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
@media (min-width: 1280px) {
  .steps { position: relative; }
  .steps::before { content: ""; position: absolute; left: 60px; right: 60px; top: 50px; border-top: 1px dashed var(--accent); z-index: 0; }
  .step { position: relative; z-index: 1; }
}

/* ---------- 11. Diferenciais ---------- */
.feature { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: border-color var(--dur-base) var(--ease); }
.feature h3 { font-size: 20px; line-height: 1.3; }
.feature p { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
.feature:hover { border-color: var(--accent); }
.feature:hover .chip { background: var(--primary); color: var(--accent); }

/* ---------- 12. Guia de decisão (Information Gain) ---------- */
.container--narrow-head .section-head { max-width: 820px; }
.guide { display: grid; gap: var(--space-8); }
.guide__block { display: grid; gap: 16px; min-width: 0; }
.guide__block > p { color: var(--text-muted); max-width: 68ch; }
.guide__block > p strong { color: var(--text); }
.docs { margin-top: 8px; }
.doc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.doc .chip { grid-row: span 2; }
.doc p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.table-wrap { margin-top: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.table caption { text-align: left; padding: 14px 16px; font-weight: 600; font-size: 15px; color: var(--primary); border-bottom: 1px solid var(--border); background: var(--surface); }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--primary-soft); color: var(--primary); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.table tbody th { font-weight: 600; }
.table td { font-variant-numeric: tabular-nums; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table__total { background: var(--accent-soft); }
.table__total th, .table__total td { font-weight: 600; color: var(--primary); }
.table-source { font-size: 13px; line-height: 1.55; color: var(--text-muted); }
/* Celular: tabela de 4 colunas vira cartões (uma linha por cartão) */
@media (max-width: 767px) {
  .table--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--cards, .table--cards tbody, .table--cards tr, .table--cards th, .table--cards td { display: block; width: 100%; }
  .table--cards caption { display: block; width: 100%; box-sizing: border-box; background: var(--primary); color: var(--text-inverse); border-bottom: 0; }
  .table--cards td { text-align: right; }
  .table--cards td::before { text-align: left; flex: none; }
  .table--cards tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .table--cards tbody th, .table--cards td { padding: 4px 0; border: 0; }
  .table--cards tbody th { font-size: 16px; color: var(--primary); padding-bottom: 8px; }
  .table--cards td { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
  .table--cards td::before { content: attr(data-label); color: var(--text-muted); }
  .table--cards td:nth-of-type(n+2) { font-weight: 600; }
}

.verdicts { margin-top: 8px; }
.verdict { display: grid; align-content: start; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; border-top-width: 3px; }
.verdict p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.verdict p strong { color: var(--text); }
.verdict .verdict__tag { display: flex; align-items: center; gap: 8px; font: 600 20px/1.3 var(--font-heading); color: var(--text); }

.verdict--go { border-top-color: var(--success); }
.verdict--go .ic { color: var(--success); }
.verdict--wait { border-top-color: var(--accent); }
.verdict--wait .ic { color: var(--accent-text); }
.verdict--stop { border-top-color: var(--error); }
.verdict--stop .ic { color: var(--error); }

.criteria { counter-reset: crit; display: grid; gap: 12px; margin-top: 8px; }
.criteria li { counter-increment: crit; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 20px; line-height: 1.55; color: var(--text-muted); }
.criteria li::before { content: counter(crit); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text-strong); font-weight: 600; font-size: 15px; }
.criteria strong { color: var(--text); }
.guide__block > .link-arrow { justify-self: start; }

/* ---------- 13. Áreas atendidas ---------- */
.region-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.region-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.region-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.03); transition: transform 500ms var(--ease); }
.region-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 16px; flex: 1; }
.region-card h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.region-card h3 .ic { color: var(--accent-text); }
.region-card p { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
.region-card .link-arrow { margin-top: auto; font-size: 14px; }
.region-card .link-arrow::after { content: ""; position: absolute; inset: 0; }
.region-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.region-card:hover img { transform: scale(1.04); }
.region-card:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.region-card a:focus-visible { outline: none; }
.remote-bar { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 16px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-alt); }
.remote-bar p { display: flex; gap: 10px; align-items: center; color: var(--text); font-weight: 600; font-size: 15px; }
.remote-bar p .ic { color: var(--accent-text); }

/* ---------- 14. Avaliações ---------- */
.rating { display: grid; gap: 8px; }
.rating__value { display: flex; align-items: center; gap: 12px; }
.rating__num { font: 600 40px/1 var(--font-heading); color: var(--primary); }
.rating__stars { display: inline-flex; gap: 2px; color: var(--accent-text); }
.rating__stars .ic { fill: currentColor; }
.rating__text { color: var(--text-muted); font-size: 15px; }
.review { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); }
.review__quote { color: var(--accent); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-size: 16px; line-height: 1.65; color: var(--text); }
.review__who { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }
.review__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--primary); color: var(--accent); font: 600 16px/1 var(--font-heading); }
.review__who p { display: grid; line-height: 1.4; }
.review__name { font-weight: 600; color: var(--text); }
.review__meta, .review__src { font-size: 13px; color: var(--text-muted); }

/* ---------- 15. Perguntas frequentes ---------- */
.faq-layout { display: grid; gap: var(--space-6); }
.faq-layout__intro { display: grid; gap: 16px; align-content: start; }
.faq-layout__intro > p { color: var(--text-muted); }
.faq-layout__intro .btn { justify-self: start; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-8); }
  .faq-layout__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; min-width: 0; }
.faq__item + .faq__item { border-top: 1px solid var(--border); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; min-height: 44px; transition: background-color var(--dur-fast) var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--surface-alt); }
.faq__item summary:focus-visible { outline-offset: -3px; }
.faq__q { font-weight: 600; font-size: 16px; line-height: 1.45; color: var(--text); }
.faq__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: background-color var(--dur-base) var(--ease); }
.faq__minus { display: none; }
.faq__item[open] .faq__plus { display: none; }
.faq__item[open] .faq__minus { display: block; }
.faq__item[open] .faq__icon { background: var(--accent); }
.faq__item[open] .faq__q { color: var(--primary); }
.faq__a { padding: 0 24px 24px; }
.faq__a p { font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 68ch; }

/* ---------- 16. Blog ---------- */
.post-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.post-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 16px 8px 4px; flex: 1; }
.post-card h3 { font-size: 20px; line-height: 1.3; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.post-card p:not(.post-card__meta) { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
.post-card .link-arrow { margin-top: auto; font-size: 14px; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.post-card:hover img { transform: scale(1.04); }
.post-card:hover .link-arrow { color: var(--accent-text); }
.post-card:hover .link-arrow .ic { transform: translateX(3px); }
.post-card:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.post-card h3 a:focus-visible { outline: none; }

/* ---------- 17. CTA final e formulário ---------- */
.section--cta { padding-block: calc(var(--section-y) * 0.75) var(--section-y); }
.cta-final { display: grid; gap: var(--space-6); background: var(--primary); border-radius: var(--radius-xl); padding: 32px 20px; color: var(--text-inverse); }
.cta-final__text { display: grid; gap: 20px; align-content: start; }
.cta-final__text h2 { color: var(--text-inverse); }
.cta-final__text > p { color: var(--text-inverse-muted); font-size: var(--fs-body-lg); }
.cta-final__text .link-arrow { justify-self: start; }
@media (min-width: 1024px) {
  .cta-final { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); padding: 64px; align-items: center; }
}
.form-card { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-floating); min-width: 0; }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.lead-form { display: grid; gap: 20px; }
.form-card__title { font: 600 22px/1.25 var(--font-heading); color: var(--text); }
.form-card__sub { font-size: 14px; color: var(--text-muted); margin-top: -12px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text); }
.field input:not([type="checkbox"]), .field select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border-input); border-radius: var(--radius-sm);
  background: var(--surface-input); color: var(--text); font: 400 16px/1.2 var(--font-body);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143820' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input::placeholder { color: var(--text-muted); }
.field input:not([type="checkbox"]):hover, .field select:hover { border-color: var(--text); }
.field input:not([type="checkbox"]):focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 0 0 4px rgba(20, 56, 32, 0.18); background-color: var(--surface); }
.field [aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error) !important; }
.field__error { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--error); }
.field--check { grid-template-columns: 24px minmax(0, 1fr); align-items: start; column-gap: 10px; }
.field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--primary); }
.field--check label { font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.field--check .field__error { grid-column: 2; }
.form-errors { border: 1px solid var(--error); border-radius: var(--radius-sm); background: #FBEDEC; color: var(--error); padding: 12px 14px; font-size: 14px; }
.form-errors:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card__note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-top: -8px; }
.form-success { display: grid; gap: 16px; justify-items: start; }
.form-success > .ic { color: var(--success); }
.form-success p { color: var(--text-muted); }
.form-success .form-card__title { color: var(--text); }

/* ---------- 18. Rodapé ---------- */
.site-footer ul { list-style: none; }
.site-footer { background: var(--surface-dark); color: var(--text-inverse-muted); }
.site-footer a { color: var(--text-inverse-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text-inverse); text-decoration: underline; text-decoration-color: var(--accent); }
.site-footer :focus-visible { outline-color: var(--focus-on-dark); }
.prefooter { background: var(--primary); }
.prefooter__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-block: 16px; }
.prefooter p { display: flex; align-items: center; gap: 10px; color: var(--text-inverse); font-size: 15px; line-height: 1.5; }
.prefooter p .ic { color: var(--accent); }
.footer__main { padding-block: 56px 32px; display: grid; gap: 40px; }
.footer-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
@media (min-width: 1024px) { .footer-areas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.footer-areas a { display: grid; gap: 8px; height: 100%; padding: 18px; border: 1px solid var(--border-inverse); border-radius: var(--radius-lg); transition: border-color var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease); }
.site-footer .footer-areas a:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.03); text-decoration: none; }
.footer-areas__cat { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.footer-areas__name { font: 600 17px/1.3 var(--font-heading); color: var(--text-inverse); }
.footer-cols { display: grid; gap: 0; }
.footer-col { border-bottom: 1px solid var(--border-inverse); }
.footer-col__title { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--text-inverse); }
.footer-col__title::-webkit-details-marker { display: none; }
.footer-col__title::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; }
.footer-col[open] .footer-col__title::after { content: "−"; }
.footer-col ul { display: grid; gap: 2px; padding-bottom: 16px; }
.footer-col li a, .footer-col li > span { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 10px; font-size: 15px; line-height: 1.45; }
.footer-col--nap address { font-style: normal; }
.footer-col--nap .ic { color: var(--accent); margin-top: 1px; }
.footer-col--nap li { display: flex; gap: 10px; align-items: flex-start; }
.footer-col--nap li > a, .footer-col--nap li > span { flex: 1; padding-block: 10px; }
.footer-col--nap li > .ic { margin-top: 12px; }
.footer-col--nap li > span > span { display: inline; }
.footer-col--nap strong { color: var(--text-inverse); }
@media (min-width: 1024px) {
  .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .footer-col { border-bottom: 0; }
  .footer-col__title { pointer-events: none; min-height: 0; margin-bottom: 12px; }
  .footer-col__title::after, .footer-col[open] .footer-col__title::after { content: none; }
  .footer-col li a, .footer-col li > span { min-height: 0; padding-block: 6px; }
  .footer-col--nap li > a, .footer-col--nap li > span { padding-block: 6px; }
  .footer-col--nap li > .ic { margin-top: 8px; }
}
.footer-trust { display: grid; gap: 20px; padding-block: 28px; border-block: 1px solid var(--border-inverse); }
.seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.seals a { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 56px; padding: 10px 14px; border: 1px solid var(--border-inverse); border-radius: var(--radius-md); font-size: 13px; line-height: 1.35; color: var(--text-inverse); }
.seals .ic { color: var(--accent); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border-inverse); border-radius: 50%; color: var(--text-inverse-muted); }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
@media (min-width: 1024px) {
  .footer-trust { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .seals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer-legal { display: grid; gap: 20px; font-size: 13px; line-height: 1.6; }
.footer-legal img { height: 44px; width: auto; }
.footer-legal__text { display: grid; gap: 2px; }
.footer-legal__links { display: grid; }
.footer-legal__links a, .linkish { display: flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; font: inherit; color: var(--text-inverse-muted); cursor: pointer; text-align: left; }
.linkish:hover { color: var(--text-inverse); text-decoration: underline; text-decoration-color: var(--accent); }
@media (min-width: 1024px) {
  .footer-legal { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px 40px; }
  .footer-legal img { grid-row: span 2; }
  .footer-legal__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
  .footer-legal__links a, .linkish { min-height: 32px; }
}

/* ---------- 19. WhatsApp flutuante e cookies ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--text-inverse); box-shadow: var(--shadow-floating); /* verde original do WhatsApp */
  transition: background-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.wa-float:hover { background: #1EBE5A; color: var(--text-inverse); transform: translateY(-2px); }
body.menu-open .wa-float { display: none; }
/* 01/11/2026: some enquanto um formulário está na tela, para não cobrir o botão de enviar (main.js põe a classe) */
body.form-na-tela .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
.wa-float { transition: background-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease), visibility var(--dur-base); }
/* Aviso de cookies (Etapa 36): fixo, por cima do conteúdo (sem CLS). No celular é uma faixa baixa
   no rodapé da tela; no computador, um cartão no canto. Os 3 botões têm o mesmo destaque (LGPD/RGPD). */
.cookie {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  background: var(--surface); border-top: 1px solid var(--border); box-shadow: var(--shadow-floating);
  padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: grid; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--text);
  max-height: 45vh; overflow-y: auto;
}
.cookie__title { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: var(--primary); }
.cookie__text { margin: 0; }
.cookie__text a, .cookie-prefs__policy a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cookie__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.cookie__actions .btn { padding-left: 8px; padding-right: 8px; white-space: normal; line-height: 1.2; text-align: center; }
.cookie-prefs {
  width: 100%; max-width: 100%; max-height: 88vh; margin: auto auto 0; padding: 0; border: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow-floating);
}
.cookie-prefs::backdrop { background: rgba(11, 46, 31, 0.55); }
.cookie-prefs__box { display: grid; gap: 14px; padding: 20px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); font-size: 14px; line-height: 1.5; }
.cookie-prefs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-prefs__title { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 22px; color: var(--primary); }
.cookie-prefs__close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--primary); cursor: pointer; transition: background-color var(--dur-base) var(--ease); }
.cookie-prefs__close:hover { background: var(--surface-alt); }
.cookie-prefs__text, .cookie-prefs__policy { margin: 0; color: var(--text-muted); }
.cookie-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cookie-cat { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 14px; background: var(--surface-alt); }
.cookie-cat__head { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.cookie-cat__name { flex: 1; font-weight: 600; color: var(--text); cursor: pointer; }
.cookie-cat__always { font-size: 13px; font-weight: 600; color: var(--primary); }
.cookie-cat__text { margin: 0; color: var(--text-muted); font-size: 13px; }
.switch {
  appearance: none; -webkit-appearance: none; position: relative; flex: none; margin: 0;
  width: 48px; height: 28px; border-radius: var(--radius-pill); background: #6B756E; cursor: pointer;
  transition: background-color var(--dur-base) var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform var(--dur-base) var(--ease);
}
.switch:checked { background: var(--primary); }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { cursor: not-allowed; opacity: 0.6; }
@media (min-width: 768px) {
  .cookie { left: auto; right: calc(88px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 460px; max-height: none; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
  .cookie-prefs { max-width: 560px; margin: auto; border-radius: var(--radius-lg); }
  .cookie-prefs__box { padding: 28px; }
}

/* ---------- 20. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .btn:hover, .service-card:hover, .region-card:hover, .post-card:hover, .wa-float:hover { transform: none; }
  .service-card:hover img, .region-card:hover img, .post-card:hover img { transform: none; }
}

/* ==========================================================================
   BLOCOS POR MODELO DE PÁGINA (Etapa 24, 14/10/2026)
   Até aqui: base comum a todas as páginas (tokens, header, mega menu, botões,
   cartões, formulário, FAQ, rodapé, aviso de cookies). Igual ao style.css da Home.

   Daqui para baixo: o CSS que cada modelo acrescentou, cada um preso à classe
   do <body> da página (tpl-hub, tpl-servico, tpl-sobre, tpl-contato, tpl-blog,
   tpl-artigo, tpl-institucional). O :where() não muda a especificidade, então
   cada página fica exatamente como o modelo aprovado.

   Página nova: usar no <body> a classe do modelo que ela segue (tabela-mestre
   no CLAUDE.md). Dívida técnica conhecida: breadcrumb e topo de página interna
   têm uma versão por modelo; unificar só com o ok do Bruno (muda o visual).
   ========================================================================== */

/* ==========================================================================
   M02 Hub de categoria · Etapa 17
   Escopo: body.tpl-hub
   ========================================================================== */
/* ==========================================================================
   HUB DE CATEGORIA (Etapa 17) · acrescentado ao style.css da Home
   Breadcrumb, hero mais baixo, bloco de resposta direta, tabela comparativa,
   selos de conclusão e lista de alertas. Usa só os tokens do design system.
   ========================================================================== */

/* Breadcrumb */
:where(.tpl-hub) .breadcrumb { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
:where(.tpl-hub) .breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-block: 12px; font-size: var(--fs-small); line-height: 1.4; color: var(--text-muted); }
:where(.tpl-hub) .breadcrumb__list li { display: inline-flex; align-items: center; gap: 8px; }
:where(.tpl-hub) .breadcrumb__list li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--border-strong); border-right: 1.5px solid var(--border-strong); transform: rotate(45deg); }
:where(.tpl-hub) .breadcrumb__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); }
:where(.tpl-hub) .breadcrumb__list [aria-current="page"] { color: var(--text); font-weight: 600; }

/* Hero do hub: mesmo componente da Home, mais baixo */
:where(.tpl-hub) .hero--hub .hero__title span { display: inline; }
@media (min-width: 1024px) {
  :where(.tpl-hub) .hero--hub .hero__inner { padding-block: 88px 72px; }
}

/* Resposta direta */
:where(.tpl-hub) .section--answer { padding-block: var(--space-8); }
:where(.tpl-hub) .answer { display: grid; gap: var(--space-7); }
:where(.tpl-hub) .answer__text { font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text); max-width: 68ch; }
:where(.tpl-hub) .answer__facts { display: grid; gap: 16px; margin: 0; }
:where(.tpl-hub) .answer__fact { display: grid; gap: 6px; padding: 20px 24px; background: var(--surface-alt); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-md); }
:where(.tpl-hub) .answer__fact dt { display: flex; align-items: center; gap: 10px; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
:where(.tpl-hub) .answer__fact dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
@media (min-width: 768px) {
  :where(.tpl-hub) .answer__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  :where(.tpl-hub) .answer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--space-8); }
  :where(.tpl-hub) .answer__facts { grid-template-columns: 1fr; }
}

/* Tabela comparativa dos serviços */
:where(.tpl-hub) .table--compare tbody th a { font-weight: 600; }
:where(.tpl-hub) .table--compare td .pendente { display: block; margin-bottom: 4px; }
@media (max-width: 767px) {
  :where(.tpl-hub) .table--compare td, :where(.tpl-hub) .table--verdicts td { display: grid; grid-template-columns: 1fr; gap: 2px; }
  :where(.tpl-hub) .table--compare td::before, :where(.tpl-hub) .table--verdicts td::before { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
  :where(.tpl-hub) .table--compare td:nth-of-type(n+2), :where(.tpl-hub) .table--verdicts td:nth-of-type(n+2) { font-weight: 400; }
}

/* Selos de conclusão do parecer */
:where(.tpl-hub) .verdict-pill { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; line-height: 1.4; white-space: nowrap; border: 1px solid; }
:where(.tpl-hub) .verdict-pill--go { color: var(--success); border-color: var(--success); }
:where(.tpl-hub) .verdict-pill--wait { color: var(--accent-text); border-color: var(--accent); background: var(--accent-soft); }
:where(.tpl-hub) .verdict-pill--stop { color: var(--error); border-color: var(--error); }

/* Lista de sinais de alerta (mesmo componente .criteria, número em tom de alerta) */
:where(.tpl-hub) .criteria--alert li::before { background: var(--primary-soft); color: var(--primary); }
@media (min-width: 768px) {
  :where(.tpl-hub) .criteria--alert { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
:where(.tpl-hub) .pendente { color: var(--accent-text-strong); font-weight: 600; }

/* ==========================================================================
   M03 Serviço (e M04 Subserviço) · Etapa 18
   Escopo: body.tpl-servico
   ========================================================================== */
/* ==========================================================================
   18. Página de serviço (modelo M03) · acrescentado na Etapa 18, 14/10/2026
   Mesmos tokens da home. Nada acima desta linha foi alterado.
   ========================================================================== */
:where(.tpl-servico) .ic--14 { width: 14px; height: 14px; }

/* Breadcrumb (sobre o hero escuro) */
:where(.tpl-servico) .breadcrumb { padding-top: 20px; }
:where(.tpl-servico) .breadcrumb ol { display: flex; align-items: center; gap: 4px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 13px; line-height: 1.3; }
:where(.tpl-servico) .breadcrumb ol::-webkit-scrollbar { display: none; }
:where(.tpl-servico) .breadcrumb li { display: inline-flex; align-items: center; gap: 4px; }
:where(.tpl-servico) .breadcrumb li .ic { color: var(--text-inverse-muted); }
:where(.tpl-servico) .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-inverse); text-decoration: none; }
:where(.tpl-servico) .breadcrumb a:hover { color: var(--text-inverse); text-decoration: underline; text-decoration-color: var(--accent); }
:where(.tpl-servico) .breadcrumb a:focus-visible { outline-color: var(--focus-on-dark); }
:where(.tpl-servico) .breadcrumb [aria-current="page"] { color: var(--accent); }
/* Celular: só os 2 últimos níveis */
@media (max-width: 767px) { :where(.tpl-servico) .breadcrumb li:first-child { display: none; } }

/* Hero de serviço em 2 colunas: texto à esquerda, formulário à direita */
:where(.tpl-servico) .svc-hero { position: relative; background: var(--surface-dark); color: var(--text-inverse); padding-bottom: 48px; }
:where(.tpl-servico) .svc-hero__grid { display: grid; gap: 32px; padding-top: 16px; }
:where(.tpl-servico) .svc-hero__content { display: grid; gap: 24px; align-content: start; min-width: 0; }
:where(.tpl-servico) .svc-hero__title { font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.04em; color: var(--text-inverse); }
:where(.tpl-servico) .svc-hero__title span { display: block; color: var(--accent); }
:where(.tpl-servico) .svc-hero__lead { font-size: var(--fs-body-lg); line-height: 1.65; color: var(--text-inverse-muted); max-width: 58ch; }
:where(.tpl-servico) .svc-hero__lead strong { color: var(--text-inverse); }
:where(.tpl-servico) .svc-hero__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--text-inverse-muted); }
:where(.tpl-servico) .svc-hero__byline .ic { color: var(--accent); }
:where(.tpl-servico) .svc-hero__byline a { color: var(--text-inverse); text-decoration-color: var(--accent); }
:where(.tpl-servico) .svc-hero__byline a:hover { color: var(--accent); }
:where(.tpl-servico) .svc-hero__byline a:focus-visible { outline-color: var(--focus-on-dark); }
:where(.tpl-servico) .svc-hero__form { align-self: start; }
@media (min-width: 768px) { :where(.tpl-servico) .svc-hero__proofs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  :where(.tpl-servico) .svc-hero { padding-bottom: 96px; }
  :where(.tpl-servico) .svc-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; padding-top: 40px; }
  :where(.tpl-servico) .svc-hero__content { padding-top: 24px; }
  :where(.tpl-servico) .svc-hero__proofs { grid-template-columns: 1fr; }
}
@media (min-width: 1280px) { :where(.tpl-servico) .svc-hero__proofs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Resposta direta */
:where(.tpl-servico) .answer { padding-top: var(--space-8); }
:where(.tpl-servico) .answer__box { max-width: 880px; border-left: 3px solid var(--accent); background: var(--surface-alt); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 24px 24px 24px 28px; }
:where(.tpl-servico) .answer__box p { font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text); }

/* O que é: subdivisões */
:where(.tpl-servico) .def-list { display: grid; gap: 20px; margin-top: 4px; }
:where(.tpl-servico) .def { padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
:where(.tpl-servico) .def h3 { font-size: 21px; }
:where(.tpl-servico) .def p { color: var(--text-muted); font-size: 15.5px; }
:where(.tpl-servico) .split__text > p:not(.lead):not(.eyebrow) { color: var(--text-muted); }

/* Como funciona: linha do tempo vertical com prazo */
:where(.tpl-servico) .timeline-layout { display: grid; gap: var(--space-6); }
:where(.tpl-servico) .timeline-layout__intro { display: grid; gap: 16px; align-content: start; }
:where(.tpl-servico) .timeline-layout__intro > p { color: var(--text-muted); }
:where(.tpl-servico) .timeline-layout__intro .link-arrow { justify-self: start; }
:where(.tpl-servico) .timeline-layout__note { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; background: var(--accent-soft); border-radius: var(--radius-md); padding: 14px 16px; color: var(--text) !important; }
:where(.tpl-servico) .timeline-layout__note .ic { color: var(--accent-text-strong); margin-top: 4px; }
@media (min-width: 1024px) {
  :where(.tpl-servico) .timeline-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-8); }
  :where(.tpl-servico) .timeline-layout__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
:where(.tpl-servico) .timeline { position: relative; display: grid; gap: 16px; }
:where(.tpl-servico) .timeline::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; border-left: 1px solid var(--accent); }
:where(.tpl-servico) .timeline__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; align-items: start; }
:where(.tpl-servico) .timeline__num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--accent); font: 600 17px/1 var(--font-body); border: 3px solid var(--surface); }
:where(.tpl-servico) .timeline__step > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; display: grid; gap: 8px; }
:where(.tpl-servico) .timeline__step h3 { font-size: 20px; line-height: 1.3; }
:where(.tpl-servico) .timeline__step p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
:where(.tpl-servico) .timeline__step .timeline__time { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); }

/* O que está incluído / não incluído */
:where(.tpl-servico) .scope { display: grid; gap: var(--space-6); }
:where(.tpl-servico) .scope__title { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 20px; }
:where(.tpl-servico) .scope__lead { margin: -8px 0 20px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
:where(.tpl-servico) .scope__in .scope__title .ic { color: var(--success); }
:where(.tpl-servico) .scope__out .scope__title .ic { color: var(--error); }
:where(.tpl-servico) .scope-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
:where(.tpl-servico) .scope-item p { font-size: 15px; line-height: 1.55; color: var(--text-muted); }
:where(.tpl-servico) .scope-item p strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
:where(.tpl-servico) .scope__out { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
:where(.tpl-servico) .x-list { display: grid; gap: 14px; }
@media (min-width: 768px) { :where(.tpl-servico) .x-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; } }
:where(.tpl-servico) .x-list li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
:where(.tpl-servico) .x-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: #F6E3E1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3261E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
:where(.tpl-servico) .x-list strong { color: var(--text); }

/* Quanto custa */
:where(.tpl-servico) .container--text .section-head { max-width: 820px; }
:where(.tpl-servico) .subblock { display: grid; gap: 12px; margin-top: var(--space-7); max-width: 820px; }
:where(.tpl-servico) .subblock p { color: var(--text-muted); }

/* Information Gain: erros, checklist, leis */
:where(.tpl-servico) .mistakes { margin-top: 8px; }
:where(.tpl-servico) .mistake { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
:where(.tpl-servico) .mistake__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: #F6E3E1; color: var(--error); }
:where(.tpl-servico) .mistake > div { display: grid; gap: 8px; }
:where(.tpl-servico) .mistake p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
:where(.tpl-servico) .checkbox-card { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-top: 8px; }
:where(.tpl-servico) .checkbox-card .link-arrow { justify-self: start; }
@media (min-width: 768px) { :where(.tpl-servico) .check-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
:where(.tpl-servico) .laws { display: grid; gap: 16px; margin-top: 8px; }
:where(.tpl-servico) .law { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
:where(.tpl-servico) .law > div { display: grid; gap: 8px; }
:where(.tpl-servico) .law p { font-size: 15px; line-height: 1.65; color: var(--text-muted); }
:where(.tpl-servico) .law h5 { margin: 8px 0 0; font-size: var(--fs-h5); font-weight: 600; line-height: 1.4; color: var(--text); padding-left: 14px; border-left: 2px solid var(--accent); }
:where(.tpl-servico) .law h5 + p { padding-left: 16px; }
:where(.tpl-servico) .law__src { display: inline-block; font-weight: 600; font-size: 14px; margin-left: 2px; }

/* Caixa da autora */
:where(.tpl-servico, .tpl-hub) .author { display: grid; gap: 20px; margin-top: var(--space-7); background: var(--surface-alt); border-radius: var(--radius-lg); padding: 28px; align-items: center; }
:where(.tpl-servico, .tpl-hub) .author__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
:where(.tpl-servico, .tpl-hub) .author__body { display: grid; gap: 6px; min-width: 0; }
:where(.tpl-servico, .tpl-hub) .author__label { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
:where(.tpl-servico, .tpl-hub) .author__name { font: 600 22px/1.25 var(--font-heading); color: var(--text); }
:where(.tpl-servico, .tpl-hub) .author__cred { font-size: 14px; color: var(--text-muted); }
:where(.tpl-servico, .tpl-hub) .author__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 6px; }
:where(.tpl-servico, .tpl-hub) .author__facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--primary); }
:where(.tpl-servico, .tpl-hub) .author__btn { justify-self: start; }
@media (min-width: 1024px) {
  :where(.tpl-servico, .tpl-hub) .author { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 28px; padding: 32px 40px; }
}

/* Caixa de artigos de apoio */
:where(.tpl-servico) .reading { margin-top: var(--space-7); display: grid; gap: 12px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: var(--surface); padding: 24px; }
:where(.tpl-servico) .reading__title { display: flex; align-items: center; gap: 10px; font: 600 20px/1.3 var(--font-heading); color: var(--text); }
:where(.tpl-servico) .reading__title .ic { color: var(--accent-text); }
:where(.tpl-servico) .reading__list { display: grid; gap: 4px; }
@media (min-width: 1024px) { :where(.tpl-servico) .reading { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: center; gap: 32px; } :where(.tpl-servico) .reading__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } :where(.tpl-servico) .reading__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:where(.tpl-servico) .reading__list a { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px 0; font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--border); }
:where(.tpl-servico) .reading__list a .ic { margin-top: 3px; transition: transform var(--dur-base) var(--ease); }
:where(.tpl-servico) .reading__list a:hover { color: var(--accent-text); }
:where(.tpl-servico) .reading__list a:hover .ic { transform: translateX(3px); }

/* Formulário: textarea e opcional */
:where(.tpl-servico) .field textarea { width: 100%; min-height: 96px; padding: 12px 14px; font: 400 16px/1.5 var(--font-body); color: var(--text); background: var(--surface-input); border: 1px solid var(--border-input); border-radius: var(--radius-sm); resize: vertical; }
:where(.tpl-servico) .field textarea:hover { border-color: var(--text); }
:where(.tpl-servico) .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 0 0 4px rgba(20, 56, 32, 0.18); background-color: var(--surface); }
:where(.tpl-servico) .field__opt { font-weight: 400; color: var(--text-muted); }
:where(.tpl-servico) .cta-final__text .link-arrow--gold { margin-top: -8px; }

/* Página atual no menu: traço dourado */
:where(.tpl-servico) .mega__col li a[aria-current="page"] .mega__name { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ==========================================================================
   M06 Sobre (entity home) · Etapa 19
   Escopo: body.tpl-sobre
   ========================================================================== */
/* ==========================================================================
   21. Páginas internas e Sobre (Etapa 19, 14/10/2026)
   Acrescentado ao style.css da home. Na Fase 5 fica no mesmo arquivo único.
   ========================================================================== */

/* Breadcrumb (todas as páginas internas) */
:where(.tpl-sobre) .breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: var(--fs-small); line-height: 1.4; }
:where(.tpl-sobre) .breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
:where(.tpl-sobre) .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
:where(.tpl-sobre) .breadcrumb a:hover { color: var(--accent-text); }
:where(.tpl-sobre) .breadcrumb [aria-current="page"] { color: var(--text-muted); }
:where(.tpl-sobre) .breadcrumb .ic { color: var(--text-muted); }
:where(.tpl-sobre) .breadcrumb--dark a { color: var(--text-inverse); text-decoration-color: rgba(255, 255, 255, 0.45); }
:where(.tpl-sobre) .breadcrumb--dark a:hover { color: var(--accent); }
:where(.tpl-sobre) .breadcrumb--dark a:focus-visible { outline-color: var(--focus-on-dark); }
:where(.tpl-sobre) .breadcrumb--dark [aria-current="page"], :where(.tpl-sobre) .breadcrumb--dark .ic { color: var(--text-inverse-muted); }

/* Hero de página interna: mesmo hero da home, mais baixo */
:where(.tpl-sobre) .hero--page .hero__inner { padding-block: 16px 48px; display: grid; gap: 24px; }
:where(.tpl-sobre) .hero__title--page { font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.1; }
@media (min-width: 1024px) {
  :where(.tpl-sobre) .hero--page .hero__inner { padding-block: 24px 88px; gap: 40px; }
}

/* Link claro dentro de seção escura */
:where(.tpl-sobre) .link-inverse { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
:where(.tpl-sobre) .link-inverse:hover { color: var(--text-inverse); }
:where(.tpl-sobre) .link-inverse:focus-visible { outline-color: var(--focus-on-dark); }

/* Definição da entidade + ficha */
:where(.tpl-sobre) .entity__inner { display: grid; gap: var(--space-7); align-items: start; }
:where(.tpl-sobre) .entity__text { display: grid; gap: 20px; max-width: 70ch; }
:where(.tpl-sobre) .entity__text p { font-size: var(--fs-body-lg); line-height: 1.75; color: var(--text-muted); }
:where(.tpl-sobre) .entity__text strong { color: var(--text); }
:where(.tpl-sobre) .entity__lead { font-family: var(--font-heading); font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem) !important; line-height: 1.45 !important; color: var(--text) !important; }
:where(.tpl-sobre) .factsheet { background: var(--surface-alt); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 28px; }
:where(.tpl-sobre) .factsheet__title { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary); margin-bottom: 16px; }
:where(.tpl-sobre) .factsheet__title .ic { color: var(--accent-text); }
:where(.tpl-sobre) .factsheet__list > div { display: grid; gap: 2px; padding-block: 12px; border-top: 1px solid var(--border); }
:where(.tpl-sobre) .factsheet__list dt { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text-strong); }
:where(.tpl-sobre) .factsheet__list dd { margin: 0; font-size: 15px; color: var(--text); }
@media (min-width: 1024px) {
  :where(.tpl-sobre) .entity__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-8); }
  :where(.tpl-sobre) .factsheet { position: sticky; top: 104px; }
}

/* Linha do tempo (6 marcos, 3x2) */
:where(.tpl-sobre) .timeline { counter-reset: none; }
:where(.tpl-sobre) .milestone { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 28px 28px 32px; transition: border-color var(--dur-base) var(--ease); }
:where(.tpl-sobre) .milestone::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 3px; border-radius: 0 3px 3px 0; background: var(--border-strong); }
:where(.tpl-sobre) .milestone--key::before { background: var(--accent); }
:where(.tpl-sobre) .milestone--key { border-color: var(--accent); }
:where(.tpl-sobre) .milestone__when { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--fs-label)/1.3 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text-strong); }
:where(.tpl-sobre) .milestone h3 { font-size: 20px; line-height: 1.3; }
:where(.tpl-sobre) .milestone p:not(.milestone__when) { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
:where(.tpl-sobre) .milestone:hover { border-color: var(--accent); }

/* Cartão da fundadora */
:where(.tpl-sobre) .person { display: grid; gap: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 16px; box-shadow: var(--shadow-card); }
:where(.tpl-sobre) .person__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-dark); }
:where(.tpl-sobre) .person__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.03); }
:where(.tpl-sobre) .person__body { display: grid; gap: var(--space-6); align-content: start; padding: 8px; }
:where(.tpl-sobre) .person__head { display: grid; gap: 8px; }
:where(.tpl-sobre) .person__head h3 { font-size: var(--fs-h3); }
:where(.tpl-sobre) .person__role { color: var(--text-muted); }
:where(.tpl-sobre) .person__role strong { color: var(--text); }
:where(.tpl-sobre) .person__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
:where(.tpl-sobre) .person__cols { display: grid; gap: 24px; }
:where(.tpl-sobre) .person__col { display: grid; gap: 14px; align-content: start; padding-top: 20px; border-top: 1px solid var(--border); }
:where(.tpl-sobre) .person__col h4 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h4); }
:where(.tpl-sobre) .person__col h4 .ic { color: var(--accent-text); }
@media (min-width: 768px) { :where(.tpl-sobre) .person__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  :where(.tpl-sobre) .person { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding: 24px; gap: var(--space-7); align-items: center; }
  :where(.tpl-sobre) .person__body { padding: 16px 24px 16px 0; }
}

/* Faixa de números com título (H2) */
:where(.tpl-sobre) .stats--section { padding-block: var(--space-8); }
:where(.tpl-sobre) .stats__title { color: var(--text-inverse); text-align: center; margin: 0 auto var(--space-6); max-width: 24ch; font-size: var(--fs-h2); }

/* Credenciais e imprensa */
:where(.tpl-sobre) .creds { display: grid; gap: var(--space-8); }
:where(.tpl-sobre) .creds__block { display: grid; gap: 20px; }
:where(.tpl-sobre) .creds__block > h3 { font-size: var(--fs-h3); }
:where(.tpl-sobre) .seal-card, :where(.tpl-sobre) .press-card, :where(.tpl-sobre) .profile-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: border-color var(--dur-base) var(--ease); }
:where(.tpl-sobre) .seal-card:hover, :where(.tpl-sobre) .press-card:hover, :where(.tpl-sobre) .profile-card:hover { border-color: var(--accent); }
:where(.tpl-sobre) .seal-card:hover .chip, :where(.tpl-sobre) .profile-card:hover .chip { background: var(--primary); color: var(--accent); }
:where(.tpl-sobre) .seal-card__name, :where(.tpl-sobre) .profile-card__name { font: 600 19px/1.3 var(--font-heading); color: var(--text); }
:where(.tpl-sobre) .seal-card p:not(.seal-card__name), :where(.tpl-sobre) .profile-card p:not(.profile-card__name), :where(.tpl-sobre) .press-card > p:not(.press-card__meta) { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
:where(.tpl-sobre) .seal-card .link-arrow, :where(.tpl-sobre) .profile-card .link-arrow { margin-top: auto; font-size: 14px; }
:where(.tpl-sobre) .press-card { background: var(--surface-alt); }
:where(.tpl-sobre) .press-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
:where(.tpl-sobre) .press-card h4 { font-size: 19px; line-height: 1.3; }
:where(.tpl-sobre) .press-card__src { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--primary); }
:where(.tpl-sobre) a.press-card__src:hover { color: var(--accent-text); }
:where(.tpl-sobre) .press-card__src .ic { color: var(--accent-text); }

/* Onde encontrar */
:where(.tpl-sobre) .find { display: grid; gap: var(--space-6); align-items: start; }
:where(.tpl-sobre) .nap-card { display: grid; gap: 20px; background: var(--surface-dark); color: var(--text-inverse); border-radius: var(--radius-xl); padding: 28px; }
:where(.tpl-sobre) .nap-card h3 { color: var(--text-inverse); font-size: var(--fs-h4); }
:where(.tpl-sobre) .nap-card address { font-style: normal; }
:where(.tpl-sobre) .nap-card__list { display: grid; gap: 4px; }
:where(.tpl-sobre) .nap-card__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 8px; font-size: 15px; line-height: 1.55; }
:where(.tpl-sobre) .nap-card__list .ic { color: var(--accent); margin-top: 2px; }
:where(.tpl-sobre) .nap-card__list a { color: var(--text-inverse); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; display: inline-block; min-height: 24px; }
:where(.tpl-sobre) .nap-card__list a:hover { color: var(--accent); }
:where(.tpl-sobre) .nap-card__list a:focus-visible, :where(.tpl-sobre) .nap-card .btn:focus-visible { outline-color: var(--focus-on-dark); }
:where(.tpl-sobre) .nap-card .btn--secondary { color: var(--text-inverse); border-color: rgba(255, 255, 255, 0.7); justify-self: start; }
:where(.tpl-sobre) .nap-card .btn--secondary:hover { background: var(--surface); color: var(--primary); }
:where(.tpl-sobre) .profiles { display: grid; gap: 20px; }
:where(.tpl-sobre) .profiles > h3 { font-size: var(--fs-h4); }
:where(.tpl-sobre) .profile-card .chip svg[viewBox] { width: 20px; height: 20px; }
@media (min-width: 1024px) {
  :where(.tpl-sobre) .find { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-7); }
  :where(.tpl-sobre) .nap-card { padding: 36px; }
}
:where(.tpl-sobre) .nap-card strong { color: var(--text-inverse); }
:where(.tpl-sobre) .section-head--center .eyebrow { justify-self: center; }

/* ==========================================================================
   M07 Contato · Etapa 20 (antigo contato.css)
   Escopo: body.tpl-contato
   ========================================================================== */
/* ==========================================================================
   Gabriela Pereira Advocacia · contato.css (Etapa 20)
   Complementa /assets/css/style.css da Home (mesmos tokens do 07-design-system.json).
   Breadcrumb, textarea e campo de largura total servem para outras páginas também:
   na Etapa 24 entram no style.css e este arquivo fica só com o que é da página de contato.
   ========================================================================== */

/* ---------- Breadcrumb (reutilizável) ---------- */
:where(.tpl-contato) .breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); line-height: 1.4; }
:where(.tpl-contato) .breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); }
:where(.tpl-contato) .breadcrumb li + li::before { content: "/"; color: var(--border-strong); }
:where(.tpl-contato) .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); text-decoration: none; }
:where(.tpl-contato) .breadcrumb a:hover { text-decoration: underline; }
:where(.tpl-contato) .breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }
:where(.tpl-contato) .breadcrumb--dark li { color: var(--text-inverse-muted); }
:where(.tpl-contato) .breadcrumb--dark li + li::before { color: rgba(196, 163, 90, 0.7); }
:where(.tpl-contato) .breadcrumb--dark a { color: var(--text-inverse-muted); }
:where(.tpl-contato) .breadcrumb--dark a:hover { color: var(--accent); }
:where(.tpl-contato) .breadcrumb--dark a:focus-visible { outline-color: var(--focus-on-dark); }
:where(.tpl-contato) .breadcrumb--dark [aria-current="page"] { color: var(--text-inverse); }

/* ---------- Formulário: campos extras (reutilizável) ---------- */
@media (min-width: 640px) { :where(.tpl-contato) .field--full { grid-column: 1 / -1; } }
:where(.tpl-contato) .field textarea {
  width: 100%; min-height: 112px; padding: 12px 14px; resize: vertical;
  border: 1px solid var(--border-input); border-radius: var(--radius-sm);
  background: var(--surface-input); color: var(--text); font: 400 16px/1.5 var(--font-body);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
:where(.tpl-contato) .field textarea::placeholder { color: var(--text-muted); }
:where(.tpl-contato) .field textarea:hover { border-color: var(--text); }
:where(.tpl-contato) .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 0 0 4px rgba(20, 56, 32, 0.18); background-color: var(--surface); }
:where(.tpl-contato) .form-errors--soft { border-color: var(--warning); background: var(--accent-soft); color: var(--accent-text-strong); }

/* ---------- 1. Hero do contato: texto à esquerda, formulário à direita ---------- */
:where(.tpl-contato) .hero--contato { background: var(--surface-dark); }
:where(.tpl-contato) .hero--contato::before { display: none; }
:where(.tpl-contato) .hero-contato { display: grid; gap: var(--space-7); padding-block: 32px 56px; }
:where(.tpl-contato) .hero-contato__text { display: grid; gap: 20px; align-content: start; min-width: 0; }
:where(.tpl-contato) .hero-contato__text .breadcrumb { margin-top: -8px; }
:where(.tpl-contato) .hero__title--contato { font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.08; }
:where(.tpl-contato) .hero__proofs--stack { grid-template-columns: 1fr !important; gap: 14px; }
:where(.tpl-contato) .hero-contato .form-card { align-self: start; }
@media (min-width: 1024px) {
  :where(.tpl-contato) .hero-contato { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); padding-block: 40px 96px; align-items: start; }
  :where(.tpl-contato) .hero-contato__text { position: sticky; top: calc(var(--header-h) + 32px); padding-top: 8px; }
}

/* ---------- 2. Canais ---------- */
:where(.tpl-contato) .channel { height: 100%; }
:where(.tpl-contato) .channel h3 { font-size: 20px; }
:where(.tpl-contato) .channel__value { font-style: normal; font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--text) !important; overflow-wrap: anywhere; }
@media (min-width: 1024px) { :where(.tpl-contato) .channel__value { min-height: 4.5em; } }
:where(.tpl-contato) .channel__value a { color: var(--primary); }
:where(.tpl-contato) .channel__link { margin-top: auto; font-size: 14px; }

/* ---------- 3. Horários ---------- */
:where(.tpl-contato) .info { display: grid; grid-template-rows: auto auto auto 1fr; gap: 10px; align-content: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
:where(.tpl-contato) .info h3 { font-size: 19px; line-height: 1.3; }
:where(.tpl-contato) .info__value { font-weight: 600; color: var(--primary); line-height: 1.45; }
:where(.tpl-contato) .info p:last-child { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }

/* ---------- 4. Mapa carregado só depois do clique ---------- */
:where(.tpl-contato) .map-embed { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface-soft); aspect-ratio: 16 / 10; box-shadow: var(--shadow-card); min-width: 0; }
:where(.tpl-contato) .map-embed img, :where(.tpl-contato) .map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
:where(.tpl-contato) .map-embed__overlay { position: absolute; inset: auto 0 0 0; display: grid; justify-items: center; gap: 8px; padding: 24px 16px 20px; background: linear-gradient(180deg, rgba(247, 245, 239, 0) 0%, rgba(247, 245, 239, 0.94) 55%); text-align: center; }
:where(.tpl-contato) .map-embed__note { font-size: 13px; color: var(--text-muted); }
:where(.tpl-contato) .map-embed.is-loaded .map-embed__overlay, :where(.tpl-contato) .map-embed.is-loaded img { display: none; }
@media (min-width: 1024px) { :where(.tpl-contato) .split--map { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* ---------- 6. Cartão do WhatsApp ---------- */
:where(.tpl-contato) .wa-card { display: grid; gap: 16px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-floating); min-width: 0; }
@media (min-width: 768px) { :where(.tpl-contato) .wa-card { padding: 32px; } }
:where(.tpl-contato) .wa-card__label { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text-strong); }
:where(.tpl-contato) .wa-card__bubble { position: relative; margin: 0 0 8px; padding: 16px 18px; border-radius: 14px 14px 14px 4px; background: #E3F1E8; color: var(--text); font-size: var(--fs-body); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  :where(.tpl-contato) .hero-contato__text { position: static; }
}

/* ==========================================================================
   M08 Blog e categorias do blog · Etapa 21
   Escopo: body.tpl-blog
   ========================================================================== */
/* ==========================================================================
   18. Blog: hub (/blog/) e categoria (/blog/[categoria]/) · Etapa 21
   Usa só os tokens do item 1. Mesmos cartões da Home (.post-card)
   ========================================================================== */

/* Breadcrumb (05-arquitetura.md, seção D) */
:where(.tpl-blog) .breadcrumb { padding-top: var(--space-5); }
:where(.tpl-blog) .breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: var(--fs-small); line-height: 1.4; }
:where(.tpl-blog) .breadcrumb li { display: inline-flex; align-items: center; color: var(--text-muted); }
:where(.tpl-blog) .breadcrumb li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1.5px solid var(--border-strong); border-right: 1.5px solid var(--border-strong); transform: rotate(45deg); }
:where(.tpl-blog) .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); text-decoration: none; }
:where(.tpl-blog) .breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
:where(.tpl-blog) .breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* Cabeçalho de página (sem foto: o blog abre direto no conteúdo) */
:where(.tpl-blog) .page-hero { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
:where(.tpl-blog) .page-hero__inner { display: grid; gap: 20px; padding-block: var(--space-6) var(--space-8); }
:where(.tpl-blog) .page-hero h1 { max-width: 22ch; font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.04em; }
:where(.tpl-blog) .page-hero__lead { font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text-muted); max-width: 68ch; }
:where(.tpl-blog) .page-hero__lead strong { color: var(--text); }
:where(.tpl-blog) .page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
:where(.tpl-blog) .byline { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-muted); }
:where(.tpl-blog) .byline .chip { width: 40px; height: 40px; background: var(--accent-soft); color: var(--accent-text-strong); }
:where(.tpl-blog) .byline strong { display: block; color: var(--text); }
@media (min-width: 1024px) { :where(.tpl-blog) .page-hero__inner { padding-block: var(--space-7) var(--space-9); } }

/* Navegação por tema (categoria do blog) */
:where(.tpl-blog) .topic-bar { display: flex; flex-wrap: wrap; gap: 8px; }
:where(.tpl-blog) .topic-bar a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--primary); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background-color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
:where(.tpl-blog) .topic-bar a:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
:where(.tpl-blog) .topic-bar a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--text-inverse); }

/* Guia em destaque */
:where(.tpl-blog) .post-feature { position: relative; display: grid; gap: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 12px; box-shadow: var(--shadow-card); }
:where(.tpl-blog) .post-feature__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
:where(.tpl-blog) .post-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
:where(.tpl-blog) .post-feature__body { display: grid; gap: 16px; align-content: center; padding: 8px 12px 20px; }
:where(.tpl-blog) .post-feature h3 { font-size: var(--fs-h3); line-height: 1.2; }
:where(.tpl-blog) .post-feature h3 a { color: var(--text); text-decoration: none; }
:where(.tpl-blog) .post-feature h3 a:hover { color: var(--primary); text-decoration: underline; }
:where(.tpl-blog) .post-feature__text { color: var(--text-muted); line-height: 1.7; max-width: 56ch; }
:where(.tpl-blog) .post-feature .btn { justify-self: start; }
:where(.tpl-blog) .post-feature:hover img { transform: scale(1.03); }
@media (min-width: 1024px) {
  :where(.tpl-blog) .post-feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); padding: 16px; }
  :where(.tpl-blog) .post-feature__body { padding: 24px 32px 24px 0; }
}

/* Temas do blog: 5 cartões. Celular e tablet = 1 por linha; computador largo = 5 colunas */
:where(.tpl-blog) .topics { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
:where(.tpl-blog) .topic { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
:where(.tpl-blog) .topic .chip { grid-row: span 3; }
:where(.tpl-blog) .topic h3 { font-size: 20px; line-height: 1.3; }
:where(.tpl-blog) .topic p { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
:where(.tpl-blog) .topic .link-arrow { font-size: 14px; min-height: 44px; }
:where(.tpl-blog) .topic .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
:where(.tpl-blog) .topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--border-strong); }
:where(.tpl-blog) .topic:hover .chip { background: var(--primary); color: var(--text-inverse); }
:where(.tpl-blog) .topic:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
:where(.tpl-blog) .topic a:focus-visible { outline: none; }
@media (min-width: 1280px) {
  :where(.tpl-blog) .topics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  :where(.tpl-blog) .topic { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  :where(.tpl-blog) .topic .chip { grid-row: auto; }
  :where(.tpl-blog) .topic .link-arrow { margin-top: auto; }
}

/* Grade de artigos: 12 cartões = 3 x 4 · 2 x 6 · 1 x 12 */
@media (min-width: 768px) { :where(.tpl-blog) .grid--posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { :where(.tpl-blog) .grid--posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
:where(.tpl-blog) .post-info { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
:where(.tpl-blog) .post-info > span { display: inline-flex; align-items: center; gap: 6px; }
:where(.tpl-blog) .post-info .ic { color: var(--accent-text); }
:where(.tpl-blog) .post-card .post-info { margin-top: auto; padding-top: 4px; }
:where(.tpl-blog) .post-card .post-info + .link-arrow { margin-top: 0; }

/* Paginação (só no /blog/; categoria nunca pagina) */
:where(.tpl-blog) .pagination { margin-top: var(--space-7); }
:where(.tpl-blog) .pagination ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
:where(.tpl-blog) .pagination a, :where(.tpl-blog) .pagination span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-md); font-size: 15px; font-weight: 600; text-decoration: none; }
:where(.tpl-blog) .pagination a { border: 1px solid var(--border-strong); background: var(--surface); color: var(--primary); }
:where(.tpl-blog) .pagination a:hover { border-color: var(--primary); background: var(--primary-soft); }
:where(.tpl-blog) .pagination [aria-current="page"] { background: var(--primary); color: var(--text-inverse); }
:where(.tpl-blog) .pagination a.pagination__next { display: inline-flex; gap: 8px; padding: 0 16px; }

/* Faixa de CTA do serviço prioritário */
:where(.tpl-blog) .cta-band { display: grid; gap: var(--space-5); align-items: center; background: var(--primary); border-radius: var(--radius-xl); padding: 32px 20px; color: var(--text-inverse); }
:where(.tpl-blog) .cta-band h2 { color: var(--text-inverse); max-width: 22ch; }
:where(.tpl-blog) .cta-band__text { display: grid; gap: 16px; }
:where(.tpl-blog) .cta-band__text p { color: var(--text-inverse-muted); font-size: var(--fs-body-lg); max-width: 60ch; }
:where(.tpl-blog) .cta-band__text p strong { color: var(--text-inverse); }
:where(.tpl-blog) .cta-band__actions { display: grid; gap: 12px; justify-items: start; }
@media (min-width: 1024px) {
  :where(.tpl-blog) .cta-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); padding: 56px 64px; }
  :where(.tpl-blog) .cta-band__actions { justify-items: stretch; }
}

/* ==========================================================================
   M09 Artigo · Etapa 22 (antigo artigo.css)
   Escopo: body.tpl-artigo
   ========================================================================== */
/* ==========================================================================
   Gabriela Pereira Advocacia · artigo.css (modelo de artigo, Etapa 22)
   Carrega DEPOIS do style.css da Home e usa só os tokens dele.
   Fonte: 07-design-system.json → components.article_layout, toc, author_box,
   highlight_box, breadcrumb, comparison_table, blog_card.
   Na Etapa 24 este arquivo é juntado ao style.css (um só CSS no site).
   ========================================================================== */

/* ---------- Cabeçalho do artigo ---------- */
:where(.tpl-artigo) .article-hero { background: var(--surface-dark); color: var(--text-inverse); padding-block: var(--space-6) var(--space-7); }
:where(.tpl-artigo) .article-hero__inner { display: grid; gap: var(--space-4); max-width: 1180px; }
:where(.tpl-artigo) .article-hero .eyebrow { justify-self: start; }
:where(.tpl-artigo) .article-hero__title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.15; color: var(--text-inverse); max-width: 22ch; margin: 0; }

/* Breadcrumb (fundo escuro) */
:where(.tpl-artigo) .breadcrumb ol { display: flex; flex-wrap: nowrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
:where(.tpl-artigo) .breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
:where(.tpl-artigo) .breadcrumb li + li::before { content: ""; width: 14px; height: 14px; background: currentColor; opacity: .6; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
:where(.tpl-artigo) .breadcrumb a { color: var(--text-inverse); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
:where(.tpl-artigo) .breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
:where(.tpl-artigo) .breadcrumb a:focus-visible { outline: 2px solid var(--focus-on-dark); outline-offset: 3px; }
:where(.tpl-artigo) .breadcrumb [aria-current="page"] { color: var(--accent); }
/* No celular, só os 2 últimos níveis */
@media (max-width: 767px) { :where(.tpl-artigo) .breadcrumb li:nth-last-child(n+3) { display: none; } :where(.tpl-artigo) .breadcrumb li:nth-last-child(2)::before { display: none; } }

/* Linha da autora */
:where(.tpl-artigo) .byline { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-2); }
:where(.tpl-artigo) .byline__name { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--text-inverse); }
:where(.tpl-artigo) .byline__name a { color: var(--text-inverse); text-decoration: underline; text-decoration-color: rgba(196, 163, 90, .6); text-underline-offset: 3px; }
:where(.tpl-artigo) .byline__name a:hover { color: var(--accent); }
:where(.tpl-artigo) .byline__name a:focus-visible { outline: 2px solid var(--focus-on-dark); outline-offset: 3px; }
:where(.tpl-artigo) .byline__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 4px 0 0; padding: 0; font-size: 13px; color: var(--text-inverse-muted); }
:where(.tpl-artigo) .byline__meta li { display: inline-flex; align-items: center; gap: 6px; }
:where(.tpl-artigo) .byline__meta .ic { color: var(--accent); }

/* Avatar (monograma até chegar a foto real) */
:where(.tpl-artigo) .avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-family: var(--font-heading); font-weight: 600; border: 2px solid var(--accent); }
:where(.tpl-artigo) .avatar--sm { width: 48px; height: 48px; font-size: 16px; }
:where(.tpl-artigo) .avatar--lg { width: 96px; height: 96px; font-size: 28px; }
:where(.tpl-artigo) img.avatar { object-fit: cover; }

/* ---------- Grade: texto + lateral ---------- */
:where(.tpl-artigo) .article-layout { display: grid; gap: var(--space-7); padding-block: var(--space-7) var(--space-8); }
@media (min-width: 1024px) {
  :where(.tpl-artigo) .article-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; }
}
:where(.tpl-artigo) .article { min-width: 0; font-size: 17px; line-height: 1.7; color: var(--text); }
:where(.tpl-artigo) .article p { margin: 0 0 var(--space-4); }
:where(.tpl-artigo) .article a:not(.btn) { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; font-weight: 600; }
:where(.tpl-artigo) .article a:not(.btn):hover { color: var(--accent-text); }
:where(.tpl-artigo) .article h2 { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-h2); line-height: 1.2; margin: 0 0 var(--space-4); color: var(--primary); max-width: none; scroll-margin-top: 96px; }
:where(.tpl-artigo) .article h3 { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-h4); line-height: 1.3; margin: var(--space-6) 0 var(--space-3); color: var(--text); }
:where(.tpl-artigo) .article-section { margin-top: var(--space-8); scroll-margin-top: 96px; }
:where(.tpl-artigo) .lead-answer { font-size: var(--fs-body-lg); font-weight: 600; color: var(--text); }

/* Resposta rápida */
:where(.tpl-artigo) .answer-box { border-left: 3px solid var(--accent); padding: 4px 0 4px 24px; margin-bottom: var(--space-6); }
:where(.tpl-artigo) .answer-box__label { font-size: var(--fs-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 var(--space-2) !important; }
:where(.tpl-artigo) .answer-box p:not(.answer-box__label, .answer-box__cta) { font-size: var(--fs-body-lg); margin: 0; }
:where(.tpl-artigo) .answer-box__cta { margin: var(--space-4) 0 0 !important; }

/* Resumo (caixa "dica") */
:where(.tpl-artigo) .summary-box { background: var(--primary-soft); border-left: 3px solid var(--primary); border-radius: var(--radius-md); padding: var(--space-5); margin-bottom: var(--space-6); }
:where(.tpl-artigo) .summary-box__title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--primary); margin: 0 0 var(--space-3) !important; }
:where(.tpl-artigo) .summary-box .check-list li { font-size: 16px; }

/* Sumário */
:where(.tpl-artigo) .toc { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 24px; background: var(--surface); }
:where(.tpl-artigo) .toc__title { font-size: var(--fs-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--space-3) !important; }
:where(.tpl-artigo) .toc ol { margin: 0; padding-left: 1.25em; display: grid; gap: 2px; }
:where(.tpl-artigo) .toc a { display: block; padding: 8px 0; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none !important; }
:where(.tpl-artigo) .toc a:hover { text-decoration: underline !important; text-decoration-color: var(--accent-text) !important; }
:where(.tpl-artigo) .toc a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (min-width: 768px) { :where(.tpl-artigo) .article > .toc ol { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); } }
@media (min-width: 1024px) { :where(.tpl-artigo) .article > .toc { display: none; } }

/* Imagem do artigo */
:where(.tpl-artigo) .article-figure { margin: var(--space-6) 0 0; }
:where(.tpl-artigo) .article-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
:where(.tpl-artigo) .article-figure figcaption { font-size: 13px; color: var(--text-muted); margin-top: var(--space-2); }

/* Lista de passos */
:where(.tpl-artigo) .steps-list { counter-reset: passo; list-style: none; margin: var(--space-5) 0; padding: 0; display: grid; gap: var(--space-3); }
:where(.tpl-artigo) .steps-list li { counter-increment: passo; position: relative; padding: var(--space-4) var(--space-4) var(--space-4) 64px; background: var(--surface-alt); border-radius: var(--radius-md); }
:where(.tpl-artigo) .steps-list li::before { content: counter(passo); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--text-inverse); font-weight: 600; font-size: 15px; }

/* Tabelas do artigo */
:where(.tpl-artigo) .article .table-wrap { margin: var(--space-5) 0 var(--space-2); }
:where(.tpl-artigo) .table-wrap--scroll { overflow-x: auto; }
:where(.tpl-artigo) .table-wrap--scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
:where(.tpl-artigo) .article .table { min-width: 560px; }
:where(.tpl-artigo) .article .table th, :where(.tpl-artigo) .article .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); }
:where(.tpl-artigo) .article .table thead th { background: var(--primary-soft); color: var(--primary); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; border-top: 0; }
:where(.tpl-artigo) .article .table tbody th { font-weight: 600; }
@media (hover: hover) { :where(.tpl-artigo) .article .table tbody tr:hover { background: var(--surface-alt); } }
:where(.tpl-artigo) .article .table-source { font-size: 13px; color: var(--text-muted); }

:where(.tpl-artigo) .verdict-tag { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap; }
:where(.tpl-artigo) .verdict-tag--go { background: var(--primary-soft); color: var(--success); }
:where(.tpl-artigo) .verdict-tag--wait { background: var(--accent-soft); color: var(--accent-text-strong); }
:where(.tpl-artigo) .verdict-tag--stop { background: #FBEAE9; color: var(--error); }

/* Caixa de atenção */
:where(.tpl-artigo) .note-box { display: flex; gap: var(--space-3); background: var(--accent-soft); border-left: 3px solid var(--warning); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin-top: var(--space-5); }
:where(.tpl-artigo) .note-box .ic { color: var(--warning); margin-top: 4px; }
:where(.tpl-artigo) .note-box p { margin: 0 !important; }

/* CTA no meio do texto (variante compacta do cta_band) */
:where(.tpl-artigo) .cta-inline { display: grid; gap: var(--space-4); align-items: center; background: var(--surface-dark); color: var(--text-inverse-muted); border-radius: var(--radius-lg); padding: var(--space-6); margin-top: var(--space-8); }
:where(.tpl-artigo) .cta-inline__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.375rem; line-height: 1.3; color: var(--text-inverse); margin: 0 0 var(--space-2) !important; }
:where(.tpl-artigo) .cta-inline p { margin: 0; }
:where(.tpl-artigo) .cta-inline a:not(.btn) { color: var(--accent) !important; }
:where(.tpl-artigo) .cta-inline a:not(.btn):hover { color: var(--text-inverse) !important; }
:where(.tpl-artigo) .cta-inline a:focus-visible { outline-color: var(--focus-on-dark); }
:where(.tpl-artigo) .cta-inline .btn { justify-self: start; }

/* Caixa da autora */
:where(.tpl-artigo) .author-box { display: grid; gap: var(--space-5); background: var(--surface-alt); border-radius: var(--radius-lg); padding: var(--space-6); margin-top: var(--space-8); }
@media (min-width: 640px) { :where(.tpl-artigo) .author-box { grid-template-columns: 96px 1fr; } }
:where(.tpl-artigo) .author-box__label { font-size: var(--fs-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 4px !important; }
:where(.tpl-artigo) .author-box__name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin: 0 0 4px !important; }
:where(.tpl-artigo) .author-box__name a { text-decoration: none !important; }
:where(.tpl-artigo) .author-box__creds { font-size: var(--fs-small); color: var(--text-muted); }
:where(.tpl-artigo) .author-box__body > p:not([class]) { font-size: 16px; }
:where(.tpl-artigo) .author-box__list { display: grid; gap: var(--space-2); list-style: none; padding: 0; margin: 0 0 var(--space-5); font-size: 15px; font-weight: 600; }
@media (min-width: 768px) { :where(.tpl-artigo) .author-box__list { grid-template-columns: repeat(3, 1fr); } }
:where(.tpl-artigo) .author-box__list li { display: flex; align-items: center; gap: 8px; }
:where(.tpl-artigo) .author-box__list .ic { color: var(--accent-text); }

:where(.tpl-artigo) .disclaimer { display: flex; gap: 8px; align-items: flex-start; font-size: 13px !important; color: var(--text-muted); margin-top: var(--space-6) !important; }
:where(.tpl-artigo) .disclaimer .ic { margin-top: 3px; }

/* ---------- Lateral ---------- */
:where(.tpl-artigo) .article-aside { display: none; }
@media (min-width: 1024px) {
  :where(.tpl-artigo) .article-aside { display: block; }
  :where(.tpl-artigo) .article-aside__sticky { position: sticky; top: 104px; display: grid; gap: var(--space-5); }
}
:where(.tpl-artigo) .aside-cta { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); font-size: 15px; }
:where(.tpl-artigo) .aside-cta__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; color: var(--primary); margin: 0 0 var(--space-2); }
:where(.tpl-artigo) .aside-cta p { margin: 0 0 var(--space-4); }

/* Cartões relacionados: tempo de leitura e link claro no fundo escuro */
:where(.tpl-artigo) .post-card__time { font-size: 12px; color: var(--text-muted); margin-left: 10px; }
:where(.tpl-artigo) .link-inverse { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
:where(.tpl-artigo) .link-inverse:hover { color: var(--text-inverse); }
:where(.tpl-artigo) .link-inverse:focus-visible { outline: 2px solid var(--focus-on-dark); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { html:where(:has(> body.tpl-artigo)) { scroll-behavior: auto; } }

/* ==========================================================================
   M10 Institucional, M11 Obrigado e M12 404 · Etapa 23 (antigo 23-complemento.css)
   Escopo: body.tpl-institucional
   ========================================================================== */
/* ==========================================================================
   Gabriela Pereira Advocacia · 23-complemento.css (Etapa 23)
   Só o que a Home não tinha: breadcrumb, topo de página interna, layout de
   texto legal com sumário, passos de 3 colunas, cartões de categoria do 404.
   Usa apenas os tokens do style.css (07-design-system.json).
   Na Etapa 24 este bloco é colado no fim do /assets/css/style.css.
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
:where(.tpl-institucional) .breadcrumb { background: var(--surface-dark); border-bottom: 1px solid var(--border-inverse); }
:where(.tpl-institucional) .breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-block: 12px; font-size: var(--fs-small); line-height: 1.4; }
:where(.tpl-institucional) .breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-inverse-muted); }
:where(.tpl-institucional) .breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); }
:where(.tpl-institucional) .breadcrumb a { color: var(--text-inverse); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
:where(.tpl-institucional) .breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
:where(.tpl-institucional) .breadcrumb a:focus-visible { outline-color: var(--focus-on-dark); }
:where(.tpl-institucional) .breadcrumb [aria-current="page"] { color: var(--text-inverse-muted); }

/* ---------- Topo de página interna ---------- */
:where(.tpl-institucional) .page-hero { background: var(--surface-dark); color: var(--text-inverse); }
:where(.tpl-institucional) .page-hero__inner { display: grid; gap: 20px; padding-block: 48px 56px; max-width: 820px; }
:where(.tpl-institucional) .page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.04em; color: var(--text-inverse); }
:where(.tpl-institucional) .page-hero h1 span { display: block; color: var(--accent); }
:where(.tpl-institucional) .page-hero__lead { font-size: var(--fs-body-lg); line-height: 1.65; color: var(--text-inverse-muted); max-width: 64ch; }
:where(.tpl-institucional) .page-hero__lead strong { color: var(--text-inverse); }
:where(.tpl-institucional) .page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgba(196, 163, 90, 0.5); font-size: var(--fs-small); color: var(--text-inverse-muted); }
:where(.tpl-institucional) .page-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
:where(.tpl-institucional) .page-hero__meta .ic { color: var(--accent); }
:where(.tpl-institucional) .page-hero__meta strong { color: var(--text-inverse); }
:where(.tpl-institucional) .page-hero__actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { :where(.tpl-institucional) .page-hero__actions { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 1024px) { :where(.tpl-institucional) .page-hero__inner { padding-block: 72px 80px; } }

/* ---------- Texto legal com sumário ---------- */
:where(.tpl-institucional) .legal { display: grid; gap: var(--space-7); }
:where(.tpl-institucional) .legal > * { min-width: 0; }
@media (min-width: 1024px) { :where(.tpl-institucional) .legal { grid-template-columns: 300px minmax(0, 1fr); gap: var(--space-8); align-items: start; } }
:where(.tpl-institucional) .toc { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 1024px) { :where(.tpl-institucional) .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; } }
:where(.tpl-institucional) .toc__title { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text-strong); margin-bottom: 12px; }
:where(.tpl-institucional) .toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
:where(.tpl-institucional) .toc li { counter-increment: toc; }
:where(.tpl-institucional) .toc a { display: flex; gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 8px; border-radius: var(--radius-sm); font-size: var(--fs-small); line-height: 1.4; color: var(--text); text-decoration: none; }
:where(.tpl-institucional) .toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent-text); flex: none; }
:where(.tpl-institucional) .toc a:hover { background: var(--surface); color: var(--primary); }

:where(.tpl-institucional) .prose { max-width: 72ch; }
:where(.tpl-institucional) .prose > section { padding-bottom: var(--space-7); margin-bottom: var(--space-7); border-bottom: 1px solid var(--border); }
:where(.tpl-institucional) .prose > section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
:where(.tpl-institucional) .prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin-bottom: 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
:where(.tpl-institucional) .prose h3 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; margin: 28px 0 10px; }
:where(.tpl-institucional) .prose p + p, :where(.tpl-institucional) .prose p + ul, :where(.tpl-institucional) .prose ul + p, :where(.tpl-institucional) .prose p + .table-wrap, :where(.tpl-institucional) .prose .table-wrap + p { margin-top: 16px; }
:where(.tpl-institucional) .prose ul:not([class]) { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
:where(.tpl-institucional) .prose ul:not([class]) li { position: relative; padding-left: 22px; }
:where(.tpl-institucional) .prose ul:not([class]) li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
:where(.tpl-institucional) .prose .answer { font-size: var(--fs-body-lg); line-height: 1.65; color: var(--text); }
:where(.tpl-institucional) .prose .table-wrap { overflow-x: auto; }
:where(.tpl-institucional) .prose .table { min-width: 680px; }
:where(.tpl-institucional) .note { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--accent-soft); border-left: 3px solid var(--accent-text); font-size: var(--fs-small); line-height: 1.6; }
:where(.tpl-institucional) .note .ic { flex: none; color: var(--accent-text-strong); margin-top: 2px; }

:where(.tpl-institucional) .contact-box { display: grid; gap: 14px; margin-top: 16px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-alt); border: 1px solid var(--border); }
:where(.tpl-institucional) .contact-box li { display: flex; gap: 12px; align-items: flex-start; }
:where(.tpl-institucional) .contact-box .ic { flex: none; color: var(--accent-text); margin-top: 3px; }
:where(.tpl-institucional) .contact-box a { overflow-wrap: anywhere; }

/* ---------- Passos em 3 colunas (obrigado) ---------- */
:where(.tpl-institucional) .steps--3 .step { height: 100%; }
@media (min-width: 1024px) { :where(.tpl-institucional) .grid--3.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

:where(.tpl-institucional) .deadline { display: grid; gap: 16px; align-items: center; margin-top: var(--space-6); padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
@media (min-width: 768px) { :where(.tpl-institucional) .deadline { grid-template-columns: auto 1fr auto; gap: 24px; padding: 28px 32px; } }
:where(.tpl-institucional) .deadline__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--accent); }
:where(.tpl-institucional) .deadline__text { display: grid; gap: 4px; }
:where(.tpl-institucional) .deadline__title { font-weight: 600; font-size: var(--fs-body-lg); color: var(--text); }
:where(.tpl-institucional) .deadline__text p:not(.deadline__title) { font-size: var(--fs-small); color: var(--text-muted); }

/* ---------- Cartões de categoria (404) ---------- */
:where(.tpl-institucional) .hub-card { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
:where(.tpl-institucional) .hub-card .chip { background: var(--primary); color: var(--accent); }
:where(.tpl-institucional) .hub-card h3 { font-size: 22px; line-height: 1.25; }
:where(.tpl-institucional) .hub-card p { font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }
:where(.tpl-institucional) .hub-card .link-arrow { margin-top: auto; font-size: 14px; }
:where(.tpl-institucional) .hub-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
:where(.tpl-institucional) .hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--border-strong); }
:where(.tpl-institucional) .hub-card:hover .link-arrow { color: var(--accent-text); }
:where(.tpl-institucional) .hub-card:hover .link-arrow .ic { transform: translateX(3px); }
:where(.tpl-institucional) .hub-card:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
:where(.tpl-institucional) .hub-card a:focus-visible { outline: none; }

:where(.tpl-institucional) .lang-hint { margin-top: var(--space-6); text-align: center; font-size: var(--fs-small); color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  :where(.tpl-institucional) .hub-card, :where(.tpl-institucional) .hub-card:hover { transition: none; transform: none; }
}

/* ---------- CTA final sem formulário ---------- */
:where(.tpl-institucional) .cta-final__actions { display: grid; gap: 12px; align-content: center; }
:where(.tpl-institucional) .cta-final__actions .btn { width: 100%; }
:where(.tpl-institucional) .cta-final__actions p { font-size: var(--fs-small); color: var(--text-inverse-muted); text-align: center; }
@media (min-width: 1024px) { :where(.tpl-institucional) .cta-final--simple { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
:where(.tpl-institucional) .page-hero__lead a { color: var(--text-inverse); text-decoration-color: var(--accent); }
:where(.tpl-institucional) .page-hero__lead a:hover { color: var(--accent); }
:where(.tpl-institucional) .page-hero__lead a:focus-visible { outline-color: var(--focus-on-dark); }

/* ---------- Etapa 28 · formulários por serviço e por hub ---------- */
@media (min-width: 640px) { .form-grid .field--full { grid-column: 1 / -1; } }
.btn.is-loading { cursor: progress; opacity: 0.85; }
.btn.is-loading > .ic { display: none; }
.btn.is-loading::after { content: ""; width: 18px; height: 18px; flex: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: gp-gira 0.8s linear infinite; }
@keyframes gp-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::after { animation-duration: 2.4s; } }
.form-success:focus { outline: none; }

/* Etapa 10 (correção 15/10): Início, painel Estrangeiros e bandeiras de idioma */
.flag { display: block; flex: none; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.menu__langs { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; padding: 2px; border: 1px solid var(--border); border-radius: var(--radius-pill); }
.menu__flag { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: var(--radius-pill); font: 600 14px/1 var(--font-body); color: var(--primary); text-decoration: none; white-space: nowrap; }
a.menu__flag:hover { background: var(--primary-soft); }
.menu__flag.is-current { background: var(--primary-soft); }
.mega--estrangeiros .mega__inner--estrangeiros { display: block; max-width: 960px; }
.mega--brasil .mega__inner--brasil { display: block; max-width: var(--max); }
.mega__title-flag { display: inline-flex; vertical-align: -2px; margin-right: 8px; }
.mega__title:has(.mega__title-flag) { display: flex; align-items: center; }
.mnav__simple--top { padding: 0 0 8px; }
.mnav__sublabel { display: flex; align-items: center; padding: 12px 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-inverse-muted); }
.mnav__langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 0 16px; }
.mnav__langs .menu__flag { justify-content: center; min-height: 48px; border: 1px solid var(--border-inverse); color: var(--text-inverse); font-size: 16px; }
.mnav__langs .menu__flag.is-current { background: rgba(255, 255, 255, 0.08); }
.mnav__langs a.menu__flag:hover { background: rgba(255, 255, 255, 0.12); }
@media (min-width: 1024px) and (max-width: 1279px) { .menu__flag { padding: 0 8px; } .menu__langs { margin-left: 2px; } }
.btn--header { white-space: nowrap; }
@media (min-width: 1280px) and (max-width: 1439px) { .btn__long { display: none; } .btn__short { display: inline; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .menu__btn, .menu__link { padding: 0 8px; }
  .menu__langs .menu__flag { padding: 0 8px; gap: 0; font-size: 0; }
  .menu__langs .menu__flag .flag { width: 24px; height: 16px; }
  .btn--header { padding: 10px 14px; }
  .site-header__inner { gap: 10px; }
}
@media (min-width: 1440px) { .btn__long { display: none; } .btn__short { display: inline; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .logo img { height: 38px; }
  .btn--header .ic { display: none; }
  .menu__btn, .menu__link { padding: 0 7px; }
}
/* Bahia: Salvador (bairros nobres) + 3 regiões = 4 cartões */
.mega--bahia .mega__inner--bahia { max-width: var(--max); }
.bahia-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bahia-panel > li { display: flex; } .bahia-panel > li > a { flex: 1; }

/* Etapa 10 (correção 15/10/2026): entre 1024 e 1279 px o destaque com imagem sai dos mega menus, para as 4 colunas terem largura */
@media (min-width: 1024px) and (max-width: 1279px) {
  .mega__inner { grid-template-columns: minmax(0, 1fr); }
  .mega__feature { display: none; }
}

/* Etapa 10 (correção 15/10/2026): hub /bahia/, lista dos 20 bairros nobres de Salvador em 4 grupos de 5 */
.bairros { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
.bairros__group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
.bairros__title { font: 600 var(--fs-h4)/1.3 var(--font-heading); color: var(--text); margin-bottom: var(--space-3); }
.bairros__list { display: grid; gap: 2px; }
.bairros li a { display: flex; gap: var(--space-3); align-items: flex-start; min-height: 44px; padding: 10px 8px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; transition: background var(--dur-fast) var(--ease); }
.bairros li a .ic { color: var(--primary); flex: none; margin-top: 2px; }
.bairros li a:hover { background: var(--primary-soft); }
.bairros li a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.bairros__name { display: block; font-weight: 600; }
.bairros__desc { display: block; font-size: var(--fs-small); color: var(--text-muted); line-height: 1.45; }
@media (min-width: 640px) { .bairros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bairros { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .bairros li a { transition: none; } }

/* Seletor de idioma no computador: 6 idiomas numa lista que abre no botão (15/10/2026) */
.langs { position: relative; }
.langs__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: var(--radius-pill); font: 600 14px/1 var(--font-body); color: var(--primary); cursor: pointer; list-style: none; white-space: nowrap; }
.langs__btn::-webkit-details-marker { display: none; }
.langs__btn:hover, .langs[open] .langs__btn { background: var(--primary-soft); }
.langs__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.langs__btn .ic { transition: transform var(--dur-fast) var(--ease); }
.langs[open] .langs__btn .ic { transform: rotate(180deg); }
.langs__list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 200px; margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-floating); }
.langs__opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm); font: 600 15px/1.2 var(--font-body); color: var(--text); text-decoration: none; }
a.langs__opt:hover { background: var(--primary-soft); color: var(--primary); }
a.langs__opt:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.langs__opt.is-current { color: var(--primary); background: var(--surface-alt); }
.langs__opt.is-current::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .langs__btn .ic { transition: none; } }

/* Menu PT com "Outros estados" (16/10/2026): abaixo de 1440 px o item Sobre encurta para caber numa linha */
.menu__short { display: none; }
@media (min-width: 1024px) and (max-width: 1679px) { .menu__long { display: none; } .menu__short { display: inline; } }
@media (min-width: 1024px) and (max-width: 1279px) { .menu__btn, .menu__link { padding: 0 5px; } .menu { gap: 0; } }
/* /brasil/: 3 grupos de 5 bairros (lote 2, 16/10/2026) */
@media (min-width: 640px) and (max-width: 1023px) { .bairros--3 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1024px) { .bairros--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Formulário do WhatsApp (Etapa 33, 22/10/2026) ----------
   Igual ao formulário do site no ar (LeadShortForm.astro + App.css): fundo verde, foto com anel
   "online", cartão branco, promessa de 5 minutos e botão verde com o logotipo do WhatsApp.
   As perguntas de cada página continuam no cartão. HTML gerado por _fonte/formulario_visual.py. */
.form-card--wa { position: relative; padding: 28px 18px 18px; border: 0; border-radius: 20px; background: linear-gradient(180deg, #0B2E1F 0%, #143820 55%, #0D2419 100%); box-shadow: 0 16px 40px rgba(11, 46, 31, 0.18); color: var(--text-inverse); }
@media (min-width: 768px) { .form-card--wa { padding: 28px 22px 22px; } }
.form-card--wa .lead-form { gap: 0; }
.lead-form__brand { padding: 4px 8px 18px; text-align: center; color: var(--text-inverse); }
.lead-form__photo-wrap { position: relative; display: inline-block; margin-bottom: 18px; line-height: 0; }
.lead-form__photo { width: 84px; height: 84px; object-fit: cover; object-position: center top; border-radius: 50%; border: 3px solid #22C55E; background: var(--primary); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28), 0 0 18px rgba(34, 197, 94, 0.45), 0 8px 22px rgba(0, 0, 0, 0.35); animation: gp-online-ring 1.8s ease-out infinite; }
.lead-form__photo-wrap::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 11px; height: 11px; border-radius: 50%; background: #22C55E; border: 2px solid #0D2419; box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35), 0 0 10px rgba(34, 197, 94, 0.7); animation: gp-online-dot 1.8s ease-in-out infinite; }
@keyframes gp-online-ring {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55), 0 0 0 3px rgba(34, 197, 94, 0.28), 0 0 12px rgba(34, 197, 94, 0.4), 0 8px 22px rgba(0, 0, 0, 0.35); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0), 0 0 0 3px rgba(34, 197, 94, 0.28), 0 0 18px rgba(34, 197, 94, 0.45), 0 8px 22px rgba(0, 0, 0, 0.35); }
}
@keyframes gp-online-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .lead-form__photo, .lead-form__photo-wrap::after { animation: none; } }
.lead-form__who { margin: 0 0 8px; font: 800 26px/1.2 var(--font-body); color: var(--text-inverse); }
.lead-form__role { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.lead-form__card { display: grid; gap: 12px; padding: 22px 18px 16px; border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.lead-form__card .form-card__title { margin: 0; font: 800 20px/1.25 var(--font-body); color: var(--primary); text-align: center; }
.lead-form__hint { margin: -4px 0 4px; font-size: 14px; line-height: 1.4; color: #575757; text-align: center; }
.lead-form__card .form-grid { gap: 12px 14px; }
.lead-form__card .field { gap: 6px; }
.lead-form__card .field label { font-size: 13px; font-weight: 700; color: var(--primary); }
.lead-form__card .field input:not([type="checkbox"]), .lead-form__card .field select, .lead-form__card .field textarea { min-height: 48px; border: 1px solid #D7D7D7; border-radius: 10px; background-color: var(--surface); color: #1A1A1A; }
.lead-form__card .field textarea { min-height: 96px; padding: 12px 14px; font: 400 16px/1.45 var(--font-body); width: 100%; resize: vertical; }
.lead-form__card .field input::placeholder, .lead-form__card .field textarea::placeholder { color: #595959; }
.lead-form__card .field input:not([type="checkbox"]):hover, .lead-form__card .field select:hover { border-color: #9A9A9A; }
.lead-form__card .field input:not([type="checkbox"]):focus, .lead-form__card .field select:focus, .lead-form__card .field textarea:focus { outline: 2px solid rgba(11, 46, 31, 0.25); outline-offset: 0; border-color: var(--primary); box-shadow: none; }
.field__opt { font-weight: 400; color: var(--text-muted); }
/* Duas colunas: rótulo, campo e erro de cada linha alinhados entre os vizinhos */
@media (min-width: 640px) {
  @supports (grid-template-rows: subgrid) {
    .lead-form__card .form-grid { row-gap: 0; }
    .lead-form__card .form-grid .field { grid-row: span 3; grid-template-rows: subgrid; row-gap: 6px; padding-bottom: 12px; align-items: end; }
    .lead-form__card .form-grid .field > .field__error { align-self: start; }
  }
}
.lead-form__promise { margin: 2px 0 0; padding: 12px 14px; border-radius: 10px; background: #F3FAF5; border: 1px solid #D8EFE0; color: #345043; font-size: 14.5px; font-weight: 700; line-height: 1.45; text-align: center; }
.lead-form__promise strong { color: #166534; font-weight: 800; }
.btn--wa { margin-top: 4px; background: #15803D; color: var(--text-inverse); gap: 8px; }
.btn--wa:hover { background: #15803D; color: var(--text-inverse); filter: brightness(1.05); transform: none; box-shadow: none; }
.btn--wa:active { background: #116B33; }
.btn--wa svg { flex: none; }
.lead-form__card .form-card__note { display: block; margin: 4px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: #595959; }
.lead-form__card .form-card__note .ic { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.lead-form__card .form-card__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lead-form__card .form-card__note a:hover { color: var(--primary); }
.lead-form .form-errors a { color: inherit; font-weight: 600; }
.lead-form .form-errors--soft { border-color: var(--warning); background: var(--accent-soft); color: var(--accent-text-strong); }
@media (max-width: 480px) {
  .form-card--wa { padding: 24px 12px 12px; }
  .lead-form__photo { width: 72px; height: 72px; }
  .lead-form__who { font-size: 23px; }
  .lead-form__card { padding: 20px 14px 14px; }
}
.lead-form .form-errors--ok { border-color: #D8EFE0; background: #F3FAF5; color: #166534; font-weight: 700; text-align: center; }
/* Logotipo original do WhatsApp (o mesmo do site atual): preenchido, sem o traço dos ícones Lucide */
.wa-logo { flex: none; fill: currentColor; stroke: none; }
.wa-float { width: 58px; height: 58px; }

/* =====================================================================
   Modelo de serviço e de artigo no padrão AST (pedido do Bruno, 22/10/2026)
   Banner com foto (sem formulário), faixa de confiança, texto + coluna lateral
   com o formulário, e blocos: resposta rápida, listas de conferência, CTA em
   faixa, teste rápido, cartões de serviço, passos numerados, tabelas,
   advogada responsável, FAQ, base legal e "Leia também".
   ===================================================================== */
.m-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-dark); color: var(--text-inverse); }
.m-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.m-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay-photo); }
@media (min-width: 900px) { .m-hero::before { background: var(--overlay-photo-desktop); } }
.m-hero__inner { display: grid; gap: 18px; max-width: 680px; padding: 32px 0 40px; }
@media (min-width: 900px) { .m-hero__inner { padding: 48px 0 56px; } }
.m-hero .breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-inverse-muted); }
.m-hero .breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.m-hero .breadcrumb a { color: var(--text-inverse); text-decoration: none; }
.m-hero .breadcrumb a:hover { text-decoration: underline; }
.m-hero .breadcrumb [aria-current] { color: var(--accent); }
@media (max-width: 767px) { .m-hero .breadcrumb li + li::before { display: inline-block; } } /* Etapa 38: no modelo AST o breadcrumb mostra todos os níveis no celular, então o separador volta */
.m-hero .eyebrow { justify-self: start; }
.m-hero__title { margin: 0; font-family: var(--font-heading); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.12; color: var(--text-inverse); }
.m-hero__lead { margin: 0; max-width: 600px; font-size: var(--fs-body-lg); line-height: 1.6; color: var(--text-inverse-muted); }
.m-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.m-hero__creds { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border-inverse); }
.m-hero__person { display: flex; align-items: center; gap: 12px; margin: 0; }
.m-hero__person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.m-hero__person span { display: grid; line-height: 1.3; }
.m-hero__person strong { font-size: 14px; color: var(--text-inverse); }
.m-hero__person small { font-size: 12px; color: var(--text-inverse-muted); }
.m-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.m-hero__facts li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-inverse-muted); }
.m-hero__facts .ic { color: var(--accent); }
.m-hero__facts a { color: var(--text-inverse); text-underline-offset: 3px; }
.m-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--border-inverse); list-style: none; font-size: 13px; color: var(--text-inverse-muted); }
.m-hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.m-hero__meta .ic { color: var(--accent); }
.m-hero__meta a { color: var(--text-inverse); }

.m-trust { background: var(--primary); color: var(--text-inverse); }
.m-trust__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 0 auto; padding-top: 12px; padding-bottom: 12px; list-style: none; }
.m-trust__list li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.m-trust__list .ic { color: var(--accent); }

.m-section { padding: 48px 0 64px; }
.m-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .m-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.m-aside { display: grid; gap: 20px; }
/* Lateral sem 'sticky' (30/10): o formulário é mais alto que a tela e ficava preso, sem mostrar o botão */
.m-aside .form-card--wa { scroll-margin-top: calc(var(--header-h) + 20px); }

.m-prose { min-width: 0; }
.m-prose > * + * { margin-top: 20px; }
.m-prose > h2 { margin-top: 56px; font-family: var(--font-heading); font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); line-height: 1.2; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.m-prose > h2 + * { margin-top: 14px; }
.m-prose > h3 { margin-top: 32px; font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.3; color: var(--text); }
.m-prose > p, .m-prose > ul > li, .m-prose > ol > li { font-size: var(--fs-body); line-height: 1.7; color: var(--text-muted); }
.m-prose > p strong { color: var(--text); }
.m-prose a:not(.btn) { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.m-answer { padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); }
.m-answer__label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.m-answer p:last-child { margin: 0; font-size: var(--fs-body-lg); line-height: 1.65; color: var(--text); }

.m-checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.m-checks li { position: relative; padding-left: 32px; font-size: var(--fs-body); line-height: 1.6; color: var(--text); }
.m-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4A35A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.m-checks--x li::before { background: #F6E3E1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3261E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 11px no-repeat; }

.m-box { padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.m-box__title { margin: 0 0 12px; font-weight: 700; color: var(--text); }

.m-cta { display: grid; gap: 16px; align-items: center; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-dark); color: var(--text-inverse); }
@media (min-width: 700px) { .m-cta { grid-template-columns: minmax(0, 1fr) auto; padding: 28px 32px; } }
.m-cta p { margin: 0; }
.m-cta__title { font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.3; color: var(--text-inverse); }
.m-cta__text { margin-top: 6px !important; font-size: 15px; line-height: 1.55; color: var(--text-inverse-muted); }
.m-cta__text a { color: var(--accent); text-decoration-color: currentColor; }

.m-callout { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface-dark); color: var(--text-inverse-muted); }
.m-callout .ic { color: var(--accent); }
.m-callout p { margin: 0; font-size: 15px; line-height: 1.6; }
.m-callout__title { font-weight: 700; color: var(--text-inverse); }

.m-quote { margin: 0; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-alt); }
.m-quote blockquote { margin: 0; font-family: var(--font-heading); font-size: 1.1rem; line-height: 1.5; color: var(--text); }
.m-quote figcaption { margin-top: 10px; font-size: 13px; color: var(--text-muted); }

.m-quiz { display: grid; gap: 14px; padding: 22px; border: 2px solid var(--primary); border-radius: var(--radius-lg); background: var(--surface); }
.m-quiz p { margin: 0; }
.m-quiz__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.m-quiz__title { font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.3; color: var(--text); }
.m-quiz__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: quiz; }
.m-quiz fieldset { margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.m-quiz legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; font-weight: 600; color: var(--text); }
.m-quiz legend::before { counter-increment: quiz; content: counter(quiz) ". "; color: var(--accent-text); }
.m-quiz label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: 20px; cursor: pointer; }
.m-quiz input { width: 20px; height: 20px; accent-color: var(--primary); }
.m-quiz__result { padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--surface-alt); font-weight: 600; color: var(--text); }
.m-quiz .btn { justify-self: start; }
.m-quiz__note { font-size: 13px; color: var(--text-muted); }

.m-services { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .m-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-services li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; height: 100%; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.m-services .chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--primary-soft); color: var(--primary); }
.m-services h3, .m-services h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--text); }
.m-services h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.m-steps__time { margin-top: 4px !important; font-size: 13px; color: var(--accent-text); }
.m-services p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }

.m-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.m-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.m-steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); font-size: 14px; font-weight: 700; color: var(--accent); }
.m-steps h3 { margin: 0 0 4px; font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--text); }
.m-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.m-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.m-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.m-table caption { padding: 14px 16px; text-align: left; font-weight: 700; color: var(--text); }
.m-table thead th { background: var(--primary-soft); font-size: 12px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--primary); }
.m-table th, .m-table td { padding: 12px 16px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; color: var(--text-muted); }
.m-table tbody th { font-weight: 700; color: var(--text); }
.m-table__source { margin-top: 8px !important; font-size: 13px !important; color: var(--text-muted); }

.m-lawyer { display: grid; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--primary-soft); }
@media (min-width: 640px) { .m-lawyer { grid-template-columns: 96px minmax(0, 1fr); padding: 28px; } }
.m-lawyer img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.m-lawyer p { margin: 0; }
.m-lawyer__label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.m-lawyer__name { margin-top: 4px !important; font-family: var(--font-heading); font-size: 1.35rem; color: var(--text); }
.m-lawyer__oab { font-size: 14px; color: var(--text-muted); }
.m-lawyer__bio { margin-top: 10px !important; font-size: 15px; line-height: 1.65; color: var(--text); }
.m-lawyer__facts { display: grid; gap: 6px; margin: 12px 0 16px; padding: 0; list-style: none; }
.m-lawyer__facts li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.m-lawyer__facts .ic { color: var(--primary); }

.m-faq { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.m-faq details + details { border-top: 1px solid var(--border); }
.m-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 600; color: var(--text); }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.m-faq__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--primary); transition: transform var(--dur-base) var(--ease); }
.m-faq details[open] .m-faq__icon { transform: rotate(45deg); background: var(--primary); border-color: var(--primary); color: var(--accent); }
.m-faq__a { padding: 0 18px 18px; font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.m-faq__a p { margin: 0; }

.m-basis { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.m-basis li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); font-size: 13px; color: var(--text); }
.m-basis .ic { color: var(--accent-text); }
.m-basis a { color: var(--text) !important; text-decoration: none !important; }

.m-links { padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.m-links ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.m-links li { display: flex; gap: 8px; align-items: baseline; font-size: 15px; }
.m-links li::before { content: "→"; color: var(--accent-text); }
.m-links a { color: var(--primary) !important; text-decoration: none !important; }
.m-links a:hover { text-decoration: underline !important; }
.m-links__title { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--text); }
.m-links--2 ul { counter-reset: toc; }
@media (min-width: 640px) { .m-links--2 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-links--2 li::before { counter-increment: toc; content: counter(toc) "."; }

.m-note { padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-alt); font-size: 13px !important; color: var(--text-muted) !important; }
.m-sources { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--text-muted); }

.m-reviewer { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.m-reviewer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.m-reviewer p { margin: 0; line-height: 1.3; }
.m-reviewer__label { font-size: 12px; color: var(--text-muted); }
.m-reviewer__name { font-weight: 700; color: var(--text); }
.m-reviewer__oab { font-size: 13px; color: var(--text-muted); }
.m-aside .m-links li { font-size: 14px; }

.m-related { padding: 56px 0; background: var(--surface-soft); }
.m-related__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.m-related__head h2 { margin: 8px 0 0; font-family: var(--font-heading); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); line-height: 1.15; color: var(--text); }
.m-related__grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .m-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.m-rcard { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 14px; align-items: center; height: 100%; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.m-rcard:hover, .m-rcard:focus-within { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.m-rcard .chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--primary-soft); color: var(--primary); }
.m-rcard h3 { margin: 0; font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.35; }
.m-rcard h3 a { color: var(--text); text-decoration: none; }
.m-rcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.m-rcard p { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }
.m-rcard > .ic { color: var(--accent-text); }
.m-post { display: grid; grid-template-rows: auto 1fr; overflow: hidden; height: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); position: relative; }
.m-post img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.m-post__body { display: grid; gap: 8px; align-content: start; padding: 18px; }
.m-post__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; font-size: 12px; color: var(--text-muted); }
.m-post__tag { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--primary-soft); font-weight: 600; color: var(--primary); }
.m-post h3 { margin: 0; font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.3; }
.m-post h3 a { color: var(--text); text-decoration: none; }
.m-post h3 a::after { content: ""; position: absolute; inset: 0; }
.m-post p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }

.m-split { padding: 56px 0; }
.m-split__box { display: grid; overflow: hidden; border-radius: var(--radius-xl); background: var(--primary); color: var(--text-inverse); }
@media (min-width: 900px) { .m-split__box { grid-template-columns: 1fr 1fr; } }
.m-split__copy { display: grid; gap: 16px; align-content: center; padding: 36px 28px; }
@media (min-width: 900px) { .m-split__copy { padding: 56px 48px; } }
.m-split__copy h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); line-height: 1.15; color: var(--text-inverse); }
.m-split__copy p { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--text-inverse-muted); }
.m-split__copy .btn { justify-self: start; }
.m-split__media { min-height: 240px; }
.m-split__media img { width: 100%; height: 100%; object-fit: cover; }
.m-aside .form-grid { grid-template-columns: minmax(0, 1fr); }
.m-split__media { position: relative; }
.m-split__media img { position: absolute; inset: 0; }

/* Janela do pedido: todo CTA abre o formulário da página na tela (pedido do Bruno, 22/10/2026).
   30/10: janela larga no computador (faixa verde à esquerda, campos em 2 colunas, cabe sem rolar),
   cabeçalho compacto no celular, rolagem só dentro da janela e página de trás travada. */
html.pop-aberto, html.pop-aberto body { overflow: hidden; }
.lead-pop { width: min(880px, calc(100vw - 16px)); max-width: none; max-height: calc(100dvh - 16px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 20px; background: transparent; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); overscroll-behavior: contain; }
.lead-pop::backdrop { background: rgba(8, 28, 19, 0.72); backdrop-filter: blur(3px); }
.lead-pop[open] { animation: lead-pop-in var(--dur-slow) var(--ease); }
@keyframes lead-pop-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lead-pop[open] { animation: none; } }
.lead-pop__body > * { margin: 0 !important; width: 100%; max-width: none; position: static !important; }
.lead-pop__body .form-card--wa { padding: 0; border-radius: 20px; overflow: hidden; box-shadow: none; }
.lead-pop__body .lead-form__brand { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 18px 64px 16px 18px; text-align: left; }
.lead-pop__body .lead-form__photo-wrap { grid-row: span 2; margin: 0; }
.lead-pop__body .lead-form__photo { width: 56px; height: 56px; border-width: 2px; }
.lead-pop__body .lead-form__photo-wrap::after { right: 2px; bottom: 2px; width: 10px; height: 10px; }
.lead-pop__body .lead-form__who { margin: 0 0 2px; font-size: 19px; }
.lead-pop__body .lead-form__role { font-size: 13px; line-height: 1.4; }
.lead-pop__body .lead-form__card { gap: 10px; padding: 20px 16px 16px; border-radius: 18px 18px 0 0; box-shadow: none; }
.lead-pop__body .lead-form__card .form-card__title { font-size: 19px; text-align: left; }
.lead-pop__body .lead-form__hint { margin: -6px 0 2px; text-align: left; }
.lead-pop__body .form-grid { grid-template-columns: minmax(0, 1fr); }
.lead-pop__body .lead-form__card .field input:not([type="checkbox"]), .lead-pop__body .lead-form__card .field select { min-height: 46px; }
.lead-pop__body .lead-form__promise { padding: 10px 12px; font-size: 14px; }
@media (min-width: 560px) {
  .lead-pop__body .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-pop__body .lead-form__card { padding: 24px 24px 18px; }
}
@media (min-width: 900px) {
  .lead-pop { max-height: calc(100dvh - 40px); }
  .lead-pop__body .lead-form { display: grid; grid-template-columns: 270px minmax(0, 1fr); }
  .lead-pop__body .lead-form__brand { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 28px; }
  .lead-pop__body .lead-form__photo-wrap { margin-bottom: 20px; }
  .lead-pop__body .lead-form__photo { width: 96px; height: 96px; border-width: 3px; }
  .lead-pop__body .lead-form__photo-wrap::after { right: 6px; bottom: 6px; width: 12px; height: 12px; }
  .lead-pop__body .lead-form__who { margin-bottom: 10px; font: 600 28px/1.15 var(--font-heading); }
  .lead-pop__body .lead-form__role { font-size: 14.5px; line-height: 1.55; }
  .lead-pop__body .lead-form__card { padding: 32px 32px 22px; border-radius: 0; align-content: start; }
  .lead-pop__body .lead-form__card .form-card__title { padding-right: 48px; font-size: 22px; }
  .lead-pop .lead-pop__close { background: var(--surface-alt); color: var(--primary); }
  .lead-pop .lead-pop__close:hover { background: var(--primary-soft); }
}
.lead-pop__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background-color var(--dur-base) var(--ease); }
.lead-pop__close:hover { background: rgba(255, 255, 255, 0.22); }
.lead-pop__close:focus-visible { outline: 2px solid var(--focus-on-dark); outline-offset: 2px; }
.m-cta .btn { white-space: normal; text-align: left; }
@media (min-width: 700px) { .m-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); } .m-cta .btn { justify-self: end; } }
.m-prose .m-cta__text a, .m-prose .m-callout a, .m-split__copy p a { color: var(--accent); text-decoration-color: currentColor; }
.m-callout strong { color: var(--text-inverse); }

/* Etapa 37: autora e data no topo dos hubs e das homes */
.hero__byline { margin: 20px 0 0; max-width: 60ch; font-size: var(--fs-small); line-height: 1.5; color: var(--text-inverse-muted); }
.hero__byline strong { color: var(--text-inverse); font-weight: 600; }
.section__cta { display: flex; justify-content: center; margin: var(--space-7) 0 0; }
.section__cta .btn { white-space: normal; text-align: center; }
.section__cta--entre { margin: var(--space-6) 0; }

/* Home: banner do site atual (desktop 1920x600 e mobile 390x693) com o título, a descrição e os botões por cima, como no site atual */
.hero--banner { background: #13231a; }
.hero--banner::before { content: none; }
.hero--banner .hero__media img { filter: none; }
@media (min-width: 681px) {
  .hero--banner { display: flex; align-items: center; min-height: max(560px, 31.25vw); }
  .hero--banner .hero__media img { object-position: 68% center; }
  .hero--banner::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 46, 31, 0.92) 0%, rgba(11, 46, 31, 0.72) 38%, rgba(11, 46, 31, 0) 62%); }
  .hero--banner .hero__inner { width: 100%; padding-block: 56px; }
  .hero--banner .hero__content { max-width: min(48%, 600px); }
}
@media (min-width: 681px) and (max-width: 900px) {
  .hero--banner::after { background: linear-gradient(180deg, rgba(11, 46, 31, 0.88), rgba(11, 46, 31, 0.72)); }
  .hero--banner .hero__content { max-width: 100%; }
}
@media (max-width: 680px) {
  .hero--banner .hero__media { position: relative; display: block; height: auto; }
  .hero--banner .hero__media img { position: static; display: block; width: 100%; height: auto; object-fit: initial; }
  .hero--banner .hero__inner { margin-top: -52vw; padding-block: 0 48px; }
}

/* Home: carrossel com os 21 serviços, cada um com botão dourado para a página (pedido do Bruno, 30/10/2026).
   Rola com o dedo/trackpad sem JavaScript; as setas só avançam um cartão por vez. */
.svc-carousel { position: relative; }
.svc-carousel__track { display: flex; gap: 20px; margin: 0; padding: 4px 2px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
@media (prefers-reduced-motion: reduce) { .svc-carousel__track { scroll-behavior: auto; } }
.svc-slide { flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column; padding: 12px; border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .svc-slide { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1024px) { .svc-slide { flex-basis: calc((100% - 60px) / 4); } }
.svc-slide__media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; }
.svc-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-slide__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 8px 6px; }
.svc-slide__cat { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.section--dark .svc-slide h3 { margin: 0; font-size: 20px; line-height: 1.2; color: var(--text); }
.svc-slide__body > p:not(.svc-slide__cat) { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.svc-slide__btn { margin-top: auto; align-self: stretch; justify-content: center; text-align: center; white-space: normal; }
.svc-slide__body > p:last-of-type { margin-bottom: 8px; }
.svc-carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.svc-carousel__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(196, 163, 90, 0.6); border-radius: 50%; background: transparent; color: var(--accent); cursor: pointer; transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
.svc-carousel__btn:hover { background: var(--accent); color: var(--primary); }
.svc-carousel__btn:focus-visible { outline: 2px solid var(--focus-on-dark); outline-offset: 3px; }
.svc-carousel__btn[data-carousel-prev] svg { transform: rotate(180deg); }
.svc-carousel__btn:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--accent); }
.svc-carousel__track::-webkit-scrollbar { display: none; }
.svc-slide__btn { min-height: 48px; font-size: 14px; }
/* As 4 áreas: grade de 4 botões iguais, alinhados */
.svc-hubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .svc-hubs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.svc-hubs .link-arrow { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; height: 100%; padding: 14px 18px; border: 1px solid rgba(196, 163, 90, 0.45); border-radius: var(--radius-md); color: var(--text-inverse); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
.svc-hubs .link-arrow:hover { background: rgba(196, 163, 90, 0.12); border-color: var(--accent); }
.svc-hubs .link-arrow svg { grid-row: 1 / span 2; grid-column: 2; color: var(--accent); }
.svc-hubs__lbl { grid-column: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* Mais contraste (pedido do Bruno, 30/10): áreas em dourado cheio e setas preenchidas */
.svc-hubs .link-arrow { background: var(--accent); border-color: var(--accent); color: var(--primary-active); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.svc-hubs .link-arrow:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.svc-hubs .link-arrow svg, .svc-hubs__lbl { color: var(--primary); }
.svc-hubs__lbl { opacity: 0.8; }
.svc-hubs .link-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.svc-carousel__btn { background: var(--accent); border-color: var(--accent); color: var(--primary-active); }
.svc-carousel__btn:hover { background: var(--accent-hover); }
.svc-carousel__btn:disabled { background: rgba(196, 163, 90, 0.25); border-color: transparent; color: rgba(255, 255, 255, 0.6); opacity: 1; }

/* Celular e tablet (30/10, pedido do Bruno): nos blocos texto + foto, a foto vem primeiro e menor */
@media (max-width: 1023px) {
  .split > .split__media { order: -1; }
  .split .photo-frame { margin: 0 10px 10px 0; }
  .split .photo-frame::before { inset: 10px -10px -10px 10px; }
  .split .photo-frame img { aspect-ratio: 16 / 10; max-height: 260px; }
}

/* Cartões (regiões, serviços, blog): o link do fim vira o botão dourado (pedido do Bruno, 30/10) */
.region-card .link-arrow, .service-card .link-arrow { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: stretch; min-height: 48px; margin-top: auto; padding: 12px 20px; border-radius: var(--radius-pill); background: var(--accent); color: var(--primary-active); font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; transition: background-color var(--dur-base) var(--ease); }
.region-card .link-arrow:hover, .service-card .link-arrow:hover { background: var(--accent-hover); color: var(--primary-active); }
/* Home (30/10): título afirmativo mais longo; a linha dourada vira subtítulo menor */
.hero--banner .hero__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); }
.hero--banner .hero__title span { margin-top: 14px; font-size: 0.5em; line-height: 1.25; letter-spacing: -0.02em; }

/* Sobre: topo no modelo do site atual (texto à esquerda, retrato grande da Dra. à direita), 30/10/2026 */
.about-hero { padding: 28px 0 56px; background: var(--surface-dark); color: var(--text-inverse); }
.about-hero .breadcrumb { margin-bottom: 28px; }
.about-hero__grid { display: grid; gap: 36px; align-items: center; }
.about-hero__photo { order: -1; position: relative; margin: 0 14px 14px 0; }
.about-hero__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--accent); border-radius: var(--radius-xl); }
.about-hero__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius-xl); max-height: 420px; }
.about-hero__photo figcaption { position: absolute; left: 16px; bottom: 16px; display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--radius-md); background: rgba(11, 46, 31, 0.88); font-size: 13px; color: var(--text-inverse-muted); backdrop-filter: blur(4px); }
.about-hero__photo figcaption strong { font-size: 16px; color: var(--text-inverse); }
.about-hero__pill { display: inline-block; margin: 0 0 18px; padding: 8px 18px; border: 1px solid rgba(196, 163, 90, 0.6); border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.about-hero__title { margin: 0 0 20px; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.04em; color: var(--text-inverse); }
.about-hero__title span { display: block; margin-top: 12px; font-size: 0.55em; line-height: 1.2; letter-spacing: -0.02em; color: var(--accent); }
.about-hero__text > p:not(.about-hero__pill) { margin: 0 0 14px; font-size: var(--fs-body); line-height: 1.7; color: var(--text-inverse-muted); }
.about-hero__text > p strong { color: var(--text-inverse); }
.about-hero__lead { font-size: var(--fs-body-lg) !important; color: var(--text-inverse) !important; }
.about-hero__facts { display: grid; gap: 12px; margin: 22px 0 26px; padding: 18px 20px; list-style: none; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: rgba(255, 255, 255, 0.05); }
.about-hero__facts li { display: flex; align-items: center; gap: 12px; }
.about-hero__facts .ic { flex: none; color: var(--accent); }
.about-hero__facts span { display: grid; font-size: 13px; color: var(--text-inverse-muted); }
.about-hero__facts strong { font-size: 15px; color: var(--text-inverse); }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 640px) { .about-hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .about-hero { padding: 32px 0 88px; }
  .about-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .about-hero__photo { order: 0; }
  .about-hero__photo img { max-height: 640px; }
}
/* Sobre: topo branco, como no site atual (pedido do Bruno, 30/10) */
.about-hero { background: var(--surface); color: var(--text); }
.about-hero__title { color: var(--primary); }
.about-hero__title span { color: var(--accent-text); }
.about-hero__pill { border-color: var(--primary); color: var(--primary); }
.about-hero__text > p:not(.about-hero__pill) { color: var(--text-muted); }
.about-hero__text > p strong, .about-hero__lead { color: var(--text) !important; }
.about-hero__facts { background: var(--surface-alt); }
.about-hero__facts .ic { color: var(--accent-text); }
.about-hero__facts span { color: var(--text-muted); }
.about-hero__facts strong { color: var(--text); }
.about-hero .btn--secondary-inverse { border-color: var(--primary); color: var(--primary); background: transparent; }
.about-hero .btn--secondary-inverse:hover { background: var(--primary); color: var(--text-inverse); }
.about-hero__photo figcaption { background: rgba(255, 255, 255, 0.94); color: var(--text-muted); }
.about-hero__photo figcaption strong { color: var(--primary); }
/* Sobre: banner com foto de alto padrão; a história fica num bloco só, logo abaixo (30/10) */
.hero--sobre .breadcrumb { margin-bottom: 20px; }
.hero--sobre .hero__title span { margin-top: 14px; font-size: 0.45em; line-height: 1.3; letter-spacing: -0.02em; }
@media (min-width: 681px) { .hero--sobre { min-height: 460px; } .hero--sobre .hero__media img { object-position: center; } }
@media (max-width: 680px) { .hero--sobre .hero__media { position: absolute; inset: 0; height: 100%; } .hero--sobre .hero__media img { position: absolute; height: 100%; object-fit: cover; } .hero--sobre::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(11, 46, 31, 0.78); } .hero--sobre .hero__inner { margin-top: 0; padding-block: 40px; } }
.about-hero { padding-top: 64px; }

/* Banner padrão (30/10, pedido do Bruno): todos os banners com a medida do banner de serviço */
.m-hero, .hero--hub, .hero--banner, .hero--page, :where(.tpl-blog, .tpl-institucional) .page-hero { --banner-h: 600px; }
.m-hero__title, .hero--hub .hero__title, .hero--banner .hero__title, .hero--page .hero__title, :where(.tpl-blog, .tpl-institucional) .page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; }
@media (min-width: 900px) {
  .m-hero, .hero--hub, .hero--banner, .hero--page, :where(.tpl-blog, .tpl-institucional) .page-hero { display: flex; flex-direction: column; justify-content: center; min-height: var(--banner-h); }
  .m-hero > .container, .hero--hub > .hero__inner, .hero--banner > .hero__inner, .hero--page > .hero__inner { width: 100%; }
  :where(.tpl-hub) .hero--hub .hero__inner, .hero--banner .hero__inner { padding-block: 48px 56px; }
}
.hero--hub .hero__proofs, .hero--banner .hero__proofs, .hero--page .hero__proofs { display: none; }
.hero--hub .hero__lead, .hero--banner .hero__lead { max-width: 600px; }
.hero--hub .hero__content, .hero--banner .hero__content { display: grid; gap: 18px; }
.hero--hub .hero__content > *, .hero--banner .hero__content > * { margin: 0; }
.m-hero, .hero--hub, .hero--banner, .hero--page, :where(.tpl-blog, .tpl-institucional) .page-hero { --banner-h: 760px; }
@media (min-width: 1024px) { :where(.tpl-blog) .page-hero__inner { gap: 16px; padding-block: 40px 48px; } :where(.tpl-blog) .page-hero__lead { line-height: 1.6; } }
.hero--banner .hero__inner { padding-block: 40px 48px; }
@media (min-width: 900px) { .m-hero__inner { max-width: 780px; gap: 14px; padding-block: 32px 40px; } .m-hero__creds { gap: 10px; padding-top: 14px; } .hero--hub .hero__inner, .hero--page .hero__inner { padding-block: 32px 40px; } }
/* Faixa de números: sem traços e no tamanho da AST Advogados (30/10) */
.stats__item, .stats__item + .stats__item, .stats__item:nth-child(n) { border: 0 !important; }
@media (min-width: 640px) { .stats__grid { align-items: center; min-height: 105px; } .stats__item { padding: 18px 12px; } }
.stats__link, .stats__item:not(:has(> .stats__link)) { column-gap: 14px; grid-template-columns: auto minmax(0, 190px); }
.stats__value { font-size: 2.125rem; line-height: 1; }
/* Serviços da home organizados (30/10): título e texto centralizados um embaixo do outro, cartões com texto inteiro */
.svc-head { display: grid !important; grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 16px; max-width: 820px; margin-inline: auto; margin-bottom: 40px; }
.svc-head .eyebrow { justify-self: center; }
.svc-head .section-head__text { max-width: 680px; margin: 0; }
.svc-slide__body > p:not(.svc-slide__cat) { display: block; -webkit-line-clamp: unset; overflow: visible; }
.svc-slide__body { gap: 10px; padding: 18px 8px 8px; }
.svc-slide__btn { white-space: nowrap; font-size: 13.5px; }
/* Títulos dos banners no tamanho do site atual (30/10): home clamp(36px, 3.3vw, 54px); demais clamp(36px, 5vw, 52px), 32px no celular */
.m-hero__title, .hero--hub .hero__title, .hero--page .hero__title, .hero--banner .hero__title, :where(.tpl-blog, .tpl-institucional) .page-hero h1, .hero--contato h1 { font-size: clamp(36px, 5vw, 52px); }
.tpl-home .hero--banner .hero__title { font-size: clamp(36px, 3.3vw, 54px); }
@media (max-width: 640px) { .m-hero__title, .hero--hub .hero__title, .hero--page .hero__title, .hero--banner .hero__title, :where(.tpl-blog, .tpl-institucional) .page-hero h1, .hero--contato h1 { font-size: 32px; } }
/* Bloco da Dra. na home, no desenho da home do site atual (30/10) */
.gp-about { padding: 64px 0; background: var(--surface); }
.gp-about__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .gp-about { padding: 100px 0; } .gp-about__grid { grid-template-columns: 1fr 1fr; gap: 55px; align-items: stretch; } .gp-about__visual { position: sticky; top: 110px; align-self: start; } }
.gp-about__copy h2 { margin: 12px 0 20px; font-size: var(--fs-h2); line-height: 1.15; color: var(--text); }
.gp-about__copy > p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--text-muted); }
.gp-about__copy > p strong { color: var(--text); }
.gp-about__cred { padding-left: 14px; border-left: 3px solid var(--accent); font-size: 15px !important; }
.gp-about__values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.gp-about__values > div { min-height: 190px; padding: 26px; background: var(--primary); color: #fff; }
.gp-about__values .ic { margin-bottom: 12px; color: var(--accent); }
.gp-about__values strong { display: block; text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; }
.gp-about__values p { margin: 7px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-inverse-muted); }
.gp-about__visual img { display: block; width: 100%; height: auto; min-height: 560px; max-height: min(820px, 88vh); object-fit: cover; object-position: center top; }
@media (max-width: 899px) { .gp-about__visual { order: -1; } .gp-about__visual img { min-height: 0; max-height: 520px; } .gp-about__values { grid-template-columns: 1fr; } .gp-about__values > div { min-height: 0; } }
.gp-about__values strong { color: #fff; }
/* Serviços da home em grade branca (30/10): cartões grandes com foto, 3 por linha; nome no tamanho do site atual (20px) */
.svc-white { background: var(--surface); }
.svc-white .svc-carousel__track { display: grid; grid-template-columns: 1fr; gap: 24px; overflow: visible; padding: 0; scroll-snap-type: none; }
@media (min-width: 640px) { .svc-white .svc-carousel__track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-white .svc-carousel__track { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.svc-white .svc-slide { flex: none; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.svc-white .svc-slide:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.svc-white .svc-slide h3 { margin: 0; font-size: 20px; line-height: 1.25; color: var(--text); }
.svc-white .svc-slide__media { aspect-ratio: 16 / 10; }
.svc-white .section-head h2 { color: var(--text); }
.svc-white .section-head__text { color: var(--text-muted); }
.svc-white .svc-carousel__nav { display: none; }
@media (prefers-reduced-motion: reduce) { .svc-white .svc-slide { transition: none; } .svc-white .svc-slide:hover { transform: none; } }
/* Serviços da home em 2 carrosséis (30/10): arrastar para o lado no celular, setas no computador */
.svc-white .svc-row + .svc-row { margin-top: 48px; }
.svc-row__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.svc-row__title { margin: 0; font-size: 22px; color: var(--text); }
.svc-white .svc-carousel__nav { display: flex; margin: 0; }
.svc-white .svc-carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; }
.svc-white .svc-slide { flex: 0 0 84%; }
@media (min-width: 640px) { .svc-white .svc-slide { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1024px) { .svc-white .svc-slide { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 639px) { .svc-white .svc-carousel__nav { display: none; } }
/* Títulos de seção no tamanho do site atual (30/10): 34 a 48 px, 30 px no celular */
:root { --fs-h2: clamp(34px, 4vw, 48px); }
.section-head h2, .gp-about__copy h2 { font-size: var(--fs-h2); line-height: 1.12; }
.svc-head { max-width: 960px; }
@media (max-width: 640px) { :root { --fs-h2: 30px; } }
/* Home: banner mais limpo (30/10) */
.tpl-home .hero--banner .hero__byline { display: none; }
.tpl-home .hero--banner .hero__lead { max-width: 520px; }
/* Carrosséis: setas lado a lado também no celular (30/10) */
@media (max-width: 639px) { .svc-white .svc-carousel__nav { display: flex; gap: 10px; } .svc-white .svc-carousel__btn { width: 44px; height: 44px; } .svc-row__title { font-size: 19px; } }
/* Formulário lateral das páginas de serviço mais compacto (30/10) */
.m-aside .form-card--wa { padding: 0; }
.m-aside .lead-form__brand { padding: 18px 16px 14px; gap: 6px; }
.m-aside .lead-form__photo-wrap, .m-aside .lead-form__photo { width: 56px; height: 56px; }
.m-aside .lead-form__who { font-size: 18px; line-height: 1.2; margin: 0; }
.m-aside .lead-form__role { font-size: 12px; margin: 0; }
.m-aside .lead-form__card { padding: 16px 14px; }
.m-aside .form-card__title { font-size: 16px; margin: 0 0 4px; }
.m-aside .form-card__note { font-size: 12px; margin: 0 0 10px; }
.m-aside .form-grid { gap: 10px; }
.m-aside .lead-form label { font-size: 12px; margin-bottom: 4px; }
.m-aside .lead-form input, .m-aside .lead-form select { min-height: 42px; height: 42px; padding-block: 8px; font-size: 14px; }
.m-aside .lead-form__promise { padding: 8px 10px; font-size: 12px; margin: 10px 0; }
.m-aside .lead-form button[type="submit"] { min-height: 46px; font-size: 14px; }
.m-aside .lead-form__hint { font-size: 11px; }
.m-aside .form-grid { display: grid; row-gap: 10px !important; } .m-aside .field { margin: 0 !important; gap: 4px; } .m-aside .field label { margin: 0 0 4px !important; }
.m-aside .field { display: block !important; min-height: 0 !important; } .m-aside .field__error[hidden] { display: none !important; } .m-aside .lead-form input, .m-aside .lead-form select { height: 42px !important; min-height: 42px !important; }
.m-aside .field label { display: block; } .m-aside .lead-form input, .m-aside .lead-form select { display: block; width: 100%; }
.m-aside .field { padding: 0 !important; }
/* Home: fita dourada entre as seções e mais espaço (30/10) */
.tpl-home main > section + section { position: relative; }
.tpl-home main > section + section::before { content: ""; position: absolute; top: 0; left: 50%; z-index: 2; width: 96px; height: 3px; border-radius: 3px; background: var(--accent); transform: translate(-50%, -50%); }
.tpl-home main > .stats + section::before, .tpl-home main > .hero + section::before { display: none; }
.tpl-home main > section.section, .tpl-home main > .gp-about { padding-block: 96px; }
@media (max-width: 640px) { .tpl-home main > section.section, .tpl-home main > .gp-about { padding-block: 64px; } }
.tpl-home .section-head { margin-bottom: 48px; }
/* Avaliações do Google Meu Negócio na home, como no site atual (30/10) */
.gr-section { padding: 96px 0; background: var(--surface-dark); color: var(--text-inverse); }
.gr-head { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 900px) { .gr-head { grid-template-columns: 1fr auto; align-items: end; } }
.gr-head h2 { margin: 10px 0 0; font-size: var(--fs-h2); line-height: 1.12; color: var(--text-inverse); }
.gr-head__side { display: grid; gap: 12px; justify-items: start; }
.gr-summary { margin: 0; color: var(--text-inverse-muted); font-size: 15px; }
.gr-profile { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill); background: #fff; color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; }
.gr-profile:hover { background: var(--accent-soft); }
.gr-carousel .svc-carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; margin: 0; list-style: none; }
.gr-card { flex: 0 0 84%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-lg); background: #fff; color: var(--text); }
@media (min-width: 640px) { .gr-card { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1024px) { .gr-card { flex-basis: calc((100% - 60px) / 4); } }
.gr-card__top { position: relative; width: 48px; margin-bottom: 6px; }
.gr-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 20px; }
.gr-badge { position: absolute; right: -6px; bottom: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.gr-name { margin: 0; font-size: 17px; color: var(--text); }
.gr-meta { margin: 0; font-size: 13px; color: var(--text-muted); }
.gr-stars { display: flex; gap: 2px; margin: 4px 0; }
.gr-text { margin: 0; } .gr-text p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
/* Menu com "Contato" (30/10): cabe de 1024 a 1439 px */
@media (min-width: 1024px) and (max-width: 1439px) { .menu__btn, .menu__link { padding: 0 6px !important; font-size: 14px; } .menu { gap: 0; } .header .btn, header .header__cta { padding-inline: 14px; font-size: 13.5px; } }
@media (min-width: 1024px) and (max-width: 1279px) { .menu__item:first-child { display: none; } .menu__btn, .menu__link { font-size: 13.5px; } }
.gr-map-block { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; background: #fff; color: var(--text); }
.gr-map-link { display: block; }
.gr-map { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 420; object-fit: cover; border: 0; }
.gr-footer-cta { display: grid; gap: 16px; padding: 22px 24px; align-items: center; }
@media (min-width: 900px) { .gr-footer-cta { grid-template-columns: 1fr auto; } }
.gr-footer-cta strong { font-size: 17px; } .gr-footer-cta p { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); }
.gr-footer-cta .gr-profile { background: var(--primary); color: #fff; }
.gr-footer-cta .gr-profile:hover { background: var(--primary-hover); }

/* Home: seções alternam branco e bege (só o banner e as faixas de avaliações e chamada final ficam em verde) */
.tpl-home { --alt-bege: #F5F1EA; }
.tpl-home main > .svc-white,
.tpl-home main > .gp-about,
.tpl-home main > section[aria-labelledby="titulo-diferenciais"],
.tpl-home main > section[aria-labelledby="titulo-areas"],
.tpl-home main > section[aria-labelledby="titulo-faq"] { background: #fff; }
.tpl-home main > section[aria-labelledby="titulo-problema"],
.tpl-home main > section[aria-labelledby="titulo-como-funciona"],
.tpl-home main > section[aria-labelledby="titulo-guia"],
.tpl-home main > section[aria-labelledby="titulo-blog"] { background: var(--alt-bege); }

/* Contato: banner padrão, mapa grande e, abaixo, canais à esquerda e formulário à direita */
.ct-map-section { padding-block: 64px 0; }
.ct-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.ct-main { padding-block: 64px 96px; }
.ct-grid { display: grid; gap: 40px; align-items: start; }
.ct-info h2 { margin: 0 0 16px; font-size: var(--fs-h2); line-height: 1.15; color: var(--text); }
.ct-info > p { margin: 0 0 24px; color: var(--text-muted); font-size: 17px; line-height: 1.7; }
.ct-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ct-card { display: flex; gap: 18px; align-items: center; padding: 20px 22px; background: #F5F1EA; border-radius: var(--radius-md); }
.ct-card__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--primary); }
.ct-card__icon .ic { width: 26px; height: 26px; }
.ct-card h3 { margin: 0 0 4px; font-size: 1.125rem; color: var(--text); }
.ct-card p, .ct-card address { margin: 0; font-style: normal; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.ct-card a { color: inherit; text-decoration: none; }
.ct-card a:hover { text-decoration: underline; }
@media (min-width: 900px) { .ct-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } .ct-info { position: sticky; top: calc(var(--header-h) + 32px); } }
@media (max-width: 640px) { .ct-map-section { padding-block: 40px 0; } .ct-main { padding-block: 40px 64px; } }

/* Blog no modelo do blog da Dra. Ana: hero com guia em destaque, grade de 2 colunas com busca e temas ao lado */
.kb-trilha { background: #fff; border-bottom: 1px solid var(--border); }
.kb-trilha .breadcrumb { padding-block: 10px; background: none; border: 0; font-size: 0.8125rem; }
.kb-hero { background: radial-gradient(1200px 500px at 100% 0%, var(--primary-soft) 0%, rgba(231, 238, 232, 0) 60%), var(--surface-alt); padding-block: 40px 48px; }
.kb-hero__grade { display: grid; gap: 32px; align-items: center; }
.kb-selo { margin: 0 0 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text-strong); }
.kb-hero h1 { margin: 0 0 16px; font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); line-height: 1.12; color: var(--text); }
.kb-hero__lead { margin: 0 0 24px; font-size: 1.0625rem; line-height: 1.65; color: var(--text-muted); max-width: 54ch; }
.kb-busca { position: relative; max-width: 480px; }
.kb-busca .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.kb-busca input { width: 100%; height: 52px; padding: 0 18px 0 46px; border: 1px solid var(--border-input); border-radius: 999px; background: #fff; font: inherit; font-size: 0.9375rem; color: var(--text); box-shadow: var(--shadow-sm); }
.kb-busca input:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.kb-busca--lateral { max-width: none; }
.kb-busca--lateral input { height: 44px; border-radius: 10px; box-shadow: none; }
.kb-destaque { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; border-radius: 20px; overflow: hidden; background: var(--surface-dark); box-shadow: var(--shadow-floating); }
.kb-destaque__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.kb-destaque::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 46, 31, 0) 25%, rgba(11, 46, 31, 0.9) 100%); }
.kb-destaque__selo { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px 10px 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.kb-destaque__selo .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--primary); color: var(--accent); }
.kb-destaque__selo strong { display: block; font-size: 0.9375rem; color: var(--text); }
.kb-destaque__selo small { display: block; font-size: 0.75rem; color: var(--text-muted); }
.kb-destaque__corpo { padding: 24px; color: #fff; }
.kb-destaque__cat { margin: 0 0 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.kb-destaque__titulo { margin: 0 0 12px; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); line-height: 1.25; color: #fff; }
.kb-destaque__titulo a { color: inherit; text-decoration: none; }
.kb-destaque__titulo a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kb-destaque__meta { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.88); }
.kb-pagina { background: var(--surface); padding-block: 40px 72px; }
.kb-layout { display: grid; gap: 40px; align-items: start; }
.kb-contagem { margin: 0 0 16px; font: 700 0.75rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.kb-grade { display: grid; gap: 20px; }
.kb-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.kb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.kb-card[hidden] { display: none; }
.kb-card__imagem { display: block; aspect-ratio: 16 / 7.5; overflow: hidden; background: var(--primary-soft); }
.kb-card__imagem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.kb-card:hover .kb-card__imagem img { transform: scale(1.04); }
.kb-card__corpo { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.kb-card__cat { margin: 0 0 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text-strong); }
.kb-card__titulo { margin: 0 0 8px; font: 700 1.0625rem/1.35 var(--font-body); color: var(--text); }
.kb-card__titulo a { color: inherit; text-decoration: none; }
.kb-card__titulo a::after { content: ""; position: absolute; inset: 0; }
.kb-card:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.kb-card__titulo a:focus-visible { outline: none; }
.kb-card__resumo { margin: 0 0 14px; font-size: 0.875rem; line-height: 1.55; color: var(--text-muted); }
.kb-card__meta { margin: auto 0 0; display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-muted); }
.kb-card__meta img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.kb-vazio { padding: 24px; border: 1px dashed var(--border-strong); border-radius: 14px; background: #fff; color: var(--text-muted); }
.kb-lista .pagination { margin-top: 32px; }
.kb-lateral { display: grid; gap: 14px; align-content: start; }
.kb-lateral__titulo { margin: 8px 0 0; font: 700 0.75rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.kb-temas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kb-tema { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); text-decoration: none; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.kb-tema:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.kb-tema__topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kb-tema strong { font-size: 0.9375rem; }
.kb-tema__n { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 0.75rem; font-weight: 700; text-align: center; }
.kb-tema small { display: block; margin-top: 2px; font-size: 0.75rem; line-height: 1.45; color: var(--text-muted); }
.kb-cta { margin-top: 6px; padding: 22px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--border); text-align: center; }
.kb-cta__titulo { margin: 0 0 6px; font: 700 1.0625rem/1.3 var(--font-body); color: var(--text); }
.kb-cta p { margin: 0 0 16px; font-size: 0.875rem; color: var(--text-muted); }
.kb-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 640px) { .kb-grade { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .kb-hero { padding-block: 56px 64px; }
  .kb-hero__grade { grid-template-columns: 1fr 1fr; gap: 56px; }
  .kb-hero__grade--simples { grid-template-columns: 1fr; }
  .kb-destaque { min-height: 400px; }
  .kb-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .kb-lateral { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (prefers-reduced-motion: reduce) { .kb-card, .kb-card__imagem img { transition: none; } .kb-card:hover { transform: none; } }
.kb-card__cta { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.kb-card:hover .kb-card__cta { text-decoration: underline; }

/* País (bandeira + DDI) ao lado do WhatsApp (11/11/2026). O select herda o visual dos campos do formulário. */
.tel-ddi { display: flex; gap: 8px; align-items: stretch; width: 100%; }
.tel-ddi > input { flex: 1 1 auto; min-width: 0; }
.field .tel-ddi > select.tel-ddi__pais, .m-aside .lead-form .tel-ddi > select.tel-ddi__pais { flex: 0 0 auto; width: auto !important; max-width: 46%; display: block !important; padding-left: 10px; padding-right: 30px; background-position: right 8px center; font-variant-numeric: tabular-nums; }
.m-aside .lead-form .tel-ddi > input { width: auto !important; flex: 1 1 auto; }
