/* =====================================================================
   Sergio Gonçalves / Consultoria Contábil — estilos v2 (azul dominante)
   ===================================================================== */

/* ---------- Fontes locais (Instrument Sans, SIL OFL 1.1) */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h, 92px) + 16px); background: var(--ink); }
body {
  margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400;
  color: var(--on-dark); background: var(--ink); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; color: var(--on-dark); text-wrap: balance; }
h1 { font-size: 56px; line-height: 62px; font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: 44px; line-height: 50px; font-weight: 500; letter-spacing: -0.015em; }
h3 { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.005em; }
.display { font-size: 72px; line-height: 76px; font-weight: 500; letter-spacing: -0.025em; }
.lead { font-size: 20px; line-height: 31px; }
.muted { color: var(--on-dark-muted); }
.small, figcaption { font-size: 14px; line-height: 20px; }
.measure { max-width: 62ch; }
ul, ol { margin: 0; padding: 0; }
.eyebrow { display: block; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--space-5); }

a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus, #FFFFFF); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 1199px) { .display { font-size: 64px; line-height: 70px; } }
@media (max-width: 1099px) { .display { font-size: 52px; line-height: 58px; } h1 { font-size: 46px; line-height: 52px; } h2 { font-size: 36px; line-height: 42px; } }
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 26px; }
  .display { font-size: 42px; line-height: 46px; }
  h1 { font-size: 36px; line-height: 42px; }
  h2 { font-size: 30px; line-height: 36px; }
  h3 { font-size: 21px; line-height: 27px; }
  .lead { font-size: 18px; line-height: 28px; }
}
@media (max-width: 359px) { .display { font-size: 38px; line-height: 42px; } h1 { font-size: 32px; line-height: 38px; } }

/* ---------- Tons de seção */
.tone-ink { background: var(--ink); }
.tone-deep { background: var(--deep-2); }
.tone-brand { background: var(--brand-deep); }
.tone-action { background: var(--brand-action); }
.tone-action .eyebrow, .tone-action .muted { color: var(--white); }

/* ---------- Layout */
.container { width: 100%; max-width: calc(var(--content-max) + 2 * var(--page-margin)); margin-inline: auto; padding-inline: var(--page-margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
@media (max-width: 767px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.section { padding-block: var(--section-y); position: relative; overflow: hidden; }
.section-head { max-width: 760px; margin-bottom: var(--space-8); }
.section-head h2 + p { margin-top: var(--space-5); }
@media (max-width: 767px) { .section-head { margin-bottom: var(--space-7); } }

/* ---------- Faixa de revisão (somente na prévia) */
.review-bar { background: var(--ink); color: var(--on-dark-muted); border-bottom: 1px solid var(--line-dark); font-size: 13px; line-height: 18px; }
.review-bar .container { padding-block: 8px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.review-bar strong { background: var(--pending-bg); color: var(--pending-text); font-weight: 600; padding: 1px 8px; border-radius: 4px; }

/* ---------- Pular para o conteúdo */
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 100; background: var(--white); color: var(--brand-deep); padding: 12px 16px; border-radius: var(--radius-control); font-weight: 600; }
.skip-link:focus { top: var(--space-4); outline-color: var(--brand-action); }

/* ---------- Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--radius-control); border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: 0.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--lg { min-height: 60px; padding: 16px 30px; font-size: 17px; }
.btn--wa, .btn--primary { background: var(--brand-action); color: var(--white); }
.btn--wa:hover, .btn--primary:hover { background: var(--white); color: var(--brand-deep); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-dark-strong); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn--light { background: var(--white); color: var(--brand-deep); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.tone-action .btn--ghost { border-color: var(--white); }
.tone-action .btn--ghost:hover { background: var(--white); color: var(--brand-deep); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
@media (max-width: 479px) { .actions .btn { width: 100%; } }
.btn.is-pending { cursor: default; }
.btn.is-pending:hover { background: var(--brand-action); color: var(--white); }
.pending-note { display: inline-block; margin-top: var(--space-3); font-size: 13px; line-height: 18px; background: var(--pending-bg); color: var(--pending-text); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.pending-chip { display: inline-block; background: var(--pending-bg); color: var(--pending-text); padding: 0 8px; border-radius: 4px; font-weight: 600; font-size: 0.85em; line-height: 1.6; }

.email-line { margin-top: var(--space-5); color: var(--on-dark-muted); font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.email-line .sg-icon { flex-shrink: 0; color: var(--on-dark); }
.email-line a { color: var(--on-dark); font-weight: 600; }
.tone-action .email-line { color: var(--white); }

.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 600; color: var(--on-dark); }
.text-link .arrow { transition: transform var(--motion-fast) ease; }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Cabeçalho (sólido, mesmo azul do topo fotográfico) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.page-home .site-header { border-bottom-color: transparent; }
.page-home .site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 92px; }
.brand-link { display: inline-flex; align-items: center; padding-block: 15px; flex-shrink: 0; }
.brand-link img { width: 288px; height: auto; }
.brand-link .brand-symbol { display: none; width: 44px; }
.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.nav-list { display: flex; align-items: center; gap: var(--space-1); list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 16px; border-bottom: 2px solid transparent; border-top: 2px solid transparent; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-link[aria-current="page"], .nav-link.is-section { border-bottom-color: var(--brand-action); font-weight: 600; }
.submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; min-height: 48px; margin-left: -10px; background: none; border: 0; color: var(--on-dark); cursor: pointer; border-radius: var(--radius-control); }
.submenu-toggle svg { width: 14px; height: 14px; transition: transform var(--motion-fast) ease; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 12px); left: 0; min-width: 300px; list-style: none; background: var(--deep-2); border: 1px solid var(--line-dark-strong); border-radius: var(--radius-control); padding: var(--space-2); box-shadow: 0 16px 32px rgba(0,0,0,0.25); }
.submenu[hidden] { display: none; }
.submenu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 6px; color: var(--on-dark); text-decoration: none; }
.submenu a:hover { background: var(--brand-deep); text-decoration: underline; }
.submenu a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }
.main-nav .btn { min-height: 48px; padding: 12px 20px; font-size: 15px; }

.header-compact { display: none; align-items: center; gap: var(--space-2); }
.btn--compact { min-height: 48px; padding: 10px 14px; font-size: 15px; gap: 8px; }
.menu-button { display: none; white-space: nowrap; align-items: center; gap: var(--space-2); min-height: 48px; padding: 0 16px; background: transparent; color: var(--on-dark); border: 2px solid var(--line-dark-strong); border-radius: var(--radius-control); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.menu-button svg { width: 20px; height: 20px; }
.menu-button:hover { border-color: var(--white); }
.mobile-menu { border-top: 1px solid var(--line-dark); background: var(--ink); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; padding-top: var(--space-4); }
.mobile-menu li a { display: flex; align-items: center; min-height: 56px; font-size: 22px; line-height: 28px; font-weight: 500; color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mobile-menu li a[aria-current="page"], .mobile-menu li a.is-section { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.mobile-menu .sub a { font-size: 17px; min-height: 48px; padding-left: var(--space-5); font-weight: 400; color: var(--on-dark-muted); }
.mobile-menu .menu-cta { padding-block: var(--space-6) var(--space-7); }
.mobile-menu .menu-cta .btn { width: 100%; }
@media (max-width: 1099px) {
  .main-nav { display: none; }
  .menu-button { display: inline-flex; }
  .header-compact { display: flex; }
  .header-inner { min-height: 80px; }
  .brand-link { padding-block: 10px; }
}
@media (max-width: 419px) { .btn--compact .wa-label { display: none; } .btn--compact { width: 48px; padding: 0; } .menu-button { padding: 0 12px; } }
@media (max-width: 374px) { .btn--lg { padding: 14px 16px; font-size: 16px; } }
@media (max-width: 559px) {
  .brand-link .brand-full { display: none; }
  .brand-link .brand-symbol { display: block; }
  .header-inner { min-height: 72px; }
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { max-height: calc(100vh - var(--header-h, 72px)); overflow-y: auto; }

/* ---------- Grafismo (faixas do manual) */
.graphic { position: absolute; pointer-events: none; z-index: 0; }
.graphic svg { width: 100%; height: auto; }

/* ---------- Topo fotográfico (home e páginas com foto) */
.photo-hero { position: relative; background: var(--ink); overflow: hidden; isolation: isolate; }
.photo-hero__media { position: absolute; inset: 0; z-index: -1; }
.photo-hero__media picture, .photo-hero__media img { width: 100%; height: 100%; }
.photo-hero__media img { object-fit: cover; object-position: 78% 0%; }
.photo-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,29,53,1) 0, rgba(11,29,53,0.55) 72px, rgba(11,29,53,0) 180px),
    linear-gradient(0deg, rgba(11,29,53,0.9) 0, rgba(11,29,53,0) 200px),
    linear-gradient(90deg, rgba(11,29,53,0.97) 0%, rgba(11,29,53,0.92) 30%, rgba(11,29,53,0.62) 48%, rgba(11,29,53,0.2) 66%, rgba(11,29,53,0.08) 100%),
    linear-gradient(rgba(20,45,78,0.22), rgba(20,45,78,0.22));
}
.photo-hero__inner { min-height: clamp(620px, calc(100vh - 128px), 820px); display: flex; align-items: center; padding-block: var(--space-8) 96px; }
.photo-hero__content { max-width: 700px; }
.photo-hero h1 { margin-bottom: var(--space-5); }
.photo-hero .lead { max-width: 560px; margin-bottom: var(--space-7); }
.photo-hero__caption { position: absolute; right: var(--page-margin); bottom: 20px; color: var(--on-dark-muted); margin: 0; }
.photo-hero--page .photo-hero__inner { min-height: clamp(520px, 72vh, 660px); }
.photo-hero--page .photo-hero__content { max-width: 640px; }
.photo-hero--center .photo-hero__media img { object-position: 60% 40%; }

/* tablet e celular: foto em largura total com enquadramento próprio, texto abaixo no azul */
@media (max-width: 1099px) {
  .photo-hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; }
  .photo-hero__media img { object-position: 50% 30%; }
  .photo-hero__media::after {
    background:
      linear-gradient(180deg, rgba(11,29,53,0.9) 0, rgba(11,29,53,0) 96px),
      linear-gradient(0deg, rgba(11,29,53,1) 0%, rgba(11,29,53,0.9) 14%, rgba(11,29,53,0.35) 42%, rgba(11,29,53,0) 62%),
      linear-gradient(rgba(20,45,78,0.2), rgba(20,45,78,0.2));
  }
  .photo-hero__inner { min-height: 0; display: block; padding-block: 0 var(--space-8); margin-top: -72px; position: relative; z-index: 1; }
  .photo-hero--page .photo-hero__inner { min-height: 0; }
  .photo-hero__caption { position: static; margin: calc(-1 * var(--space-6)) 0 0; padding: 0 var(--page-margin) var(--space-6); }
}
@media (max-width: 599px) {
  .photo-hero__media { aspect-ratio: 5 / 4; }
  .photo-hero__media img { object-position: 50% 14%; }
  .photo-hero--org .photo-hero__media { aspect-ratio: 1 / 1; }
  .photo-hero__inner { margin-top: -40px; }
}

/* ---------- Abertura tipográfica (páginas internas sem foto) */
.page-hero { position: relative; overflow: hidden; padding-block: var(--space-8) 96px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 15ch; margin-bottom: var(--space-5); }
.page-hero h1.wide { max-width: 20ch; }
.page-hero .lead { max-width: 56ch; color: var(--on-dark-muted); }
.page-hero .actions { margin-top: var(--space-6); }
.page-hero .graphic { width: 560px; right: -180px; bottom: 56px; }
@media (max-width: 1099px) { .page-hero .graphic { width: 360px; right: -170px; bottom: 24px; } .page-hero.has-graphic { padding-bottom: 140px; } }
@media (max-width: 767px) { .page-hero { padding-block: var(--space-7) var(--space-8); } .page-hero.has-graphic { padding-bottom: 120px; } .page-hero .graphic { width: 260px; right: -120px; bottom: 20px; } }

/* Breadcrumb */
.breadcrumb { margin-bottom: var(--space-7); font-size: 14px; line-height: 20px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.breadcrumb li { display: flex; align-items: center; gap: var(--space-2); color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; }
.breadcrumb a { color: var(--on-dark-muted); display: inline-flex; min-height: 24px; align-items: center; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current="page"] { color: var(--white); }
.photo-hero .breadcrumb { margin-bottom: var(--space-6); }

/* ---------- Apresentação (home) */
.intro-split { align-items: end; row-gap: var(--space-6); }
.intro-split h2 { grid-column: 1 / span 7; font-size: 52px; line-height: 58px; }
.intro-split .text { grid-column: 9 / span 4; }
.intro-split .text p { color: var(--on-dark-muted); font-size: 19px; line-height: 30px; }
@media (max-width: 1099px) { .intro-split h2, .intro-split .text { grid-column: 1 / -1; } .intro-split h2 { font-size: 40px; line-height: 46px; } }
@media (max-width: 767px) { .intro-split h2 { font-size: 30px; line-height: 36px; } }

/* ---------- Lista editorial de serviços */
.svc-list { list-style: none; border-top: 1px solid var(--line-dark-strong); }
.svc-item { border-bottom: 1px solid var(--line-dark); }
.svc-item a.svc-row { display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 5fr) 48px; column-gap: var(--gutter); align-items: center; padding-block: 36px; color: inherit; text-decoration: none; transition: background-color var(--motion-fast) ease; }
.svc-item .num { font-size: 15px; font-weight: 600; color: var(--on-dark-muted); letter-spacing: 0.04em; }
.svc-item h3 { font-size: 32px; line-height: 38px; font-weight: 500; letter-spacing: -0.015em; }
.svc-item p { margin: 0; color: var(--on-dark-muted); max-width: 46ch; }
.svc-item .go { width: 48px; height: 48px; border: 1.5px solid var(--line-dark-strong); border-radius: 50%; display: grid; place-items: center; transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
.svc-item .go svg { width: 18px; height: 18px; }
.svc-item a.svc-row:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.svc-item a.svc-row:hover .go { background: var(--brand-action); border-color: var(--brand-action); }
.svc-item a.svc-row:focus-visible { outline-offset: 6px; }
@media (max-width: 899px) {
  .svc-item a.svc-row { grid-template-columns: 48px minmax(0, 1fr) 48px; row-gap: var(--space-3); padding-block: 28px; align-items: start; }
  .svc-item h3 { grid-column: 2; font-size: 26px; line-height: 32px; }
  .svc-item p { grid-column: 2; grid-row: 2; }
  .svc-item .go { grid-column: 3; grid-row: 1; }
  .svc-item .num { padding-top: 6px; }
}
@media (max-width: 479px) { .svc-item a.svc-row { grid-template-columns: 36px minmax(0, 1fr) 44px; } .svc-item .go { width: 44px; height: 44px; } .svc-item h3 { font-size: 23px; line-height: 29px; } }

/* ---------- Princípios (seção azul de ação) */
.principles-band .graphic { width: 620px; right: -220px; top: 64px; }
.principles-band .container { position: relative; z-index: 1; }
.principles-band h2 { max-width: 14ch; font-size: 52px; line-height: 58px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); list-style: none; margin-top: 96px; }
.principles li { border-top: 2px solid var(--white); padding-top: var(--space-5); }
.principles .num { display: block; font-size: 15px; font-weight: 600; margin-bottom: var(--space-5); }
.principles h3 { margin-bottom: var(--space-3); font-size: 26px; line-height: 32px; }
.principles p { max-width: 30ch; }
@media (max-width: 1099px) { .principles-band h2 { font-size: 40px; line-height: 46px; } .principles-band .graphic { width: 400px; right: -220px; top: 40px; } }
@media (max-width: 899px) { .principles { grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-7); } .principles p { max-width: 52ch; } }
@media (max-width: 767px) { .principles-band h2 { font-size: 30px; line-height: 36px; max-width: 16ch; } .principles-band .graphic { display: none; } }

/* ---------- Fotografia ampla de atendimento */
.photo-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.photo-band__media { position: absolute; inset: 0; z-index: -1; }
.photo-band__media picture, .photo-band__media img { width: 100%; height: 100%; }
.photo-band__media img { object-fit: cover; object-position: 50% 28%; }
.photo-band__media::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(11,29,53,0.97) 0%, rgba(11,29,53,0.88) 26%, rgba(11,29,53,0.35) 52%, rgba(11,29,53,0.05) 72%),
    linear-gradient(rgba(20,45,78,0.2), rgba(20,45,78,0.2)); }
.photo-band__inner { min-height: clamp(560px, 78vh, 760px); display: flex; align-items: flex-end; padding-block: var(--space-8) 72px; }
.photo-band__content { max-width: 640px; }
.photo-band h2 { margin-bottom: var(--space-4); }
.photo-band p { color: var(--on-dark-muted); max-width: 52ch; }
.photo-band .text-link { margin-top: var(--space-4); }
.photo-band__caption { position: absolute; right: var(--page-margin); bottom: 24px; color: var(--on-dark-muted); margin: 0; }
@media (max-width: 1099px) {
  .photo-band__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .photo-band__media::after { background: linear-gradient(0deg, rgba(11,29,53,1) 0%, rgba(11,29,53,0.5) 26%, rgba(11,29,53,0) 50%), linear-gradient(rgba(20,45,78,0.18), rgba(20,45,78,0.18)); }
  .photo-band__inner { min-height: 0; display: block; padding-block: 0 var(--space-8); margin-top: -40px; position: relative; z-index: 1; }
  .photo-band__caption { position: static; margin: calc(-1 * var(--space-6)) 0 0; padding: 0 var(--page-margin) var(--space-6); }
}
@media (max-width: 599px) { .photo-band__media { aspect-ratio: 4 / 3; } .photo-band__inner { margin-top: -24px; } }

/* ---------- FAQ */
.faq-split { row-gap: var(--space-6); }
.faq-split .head { grid-column: 1 / span 4; }
.faq-split .body { grid-column: 6 / span 7; }
.faq-split .head .text-link { margin-top: var(--space-5); }
@media (max-width: 1023px) { .faq-split .head, .faq-split .body { grid-column: 1 / -1; } }
.accordion { border-top: 1px solid var(--line-dark-strong); }
.accordion-item { border-bottom: 1px solid var(--line-dark); }
.accordion-item h2, .accordion-item h3 { font-size: 20px; line-height: 28px; }
.accordion-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 72px; padding: var(--space-5) 0; background: none; border: 0; text-align: left; font: inherit; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--on-dark); cursor: pointer; }
.accordion-trigger:hover .accordion-q { text-decoration: underline; text-underline-offset: 5px; }
.accordion-icon { flex-shrink: 0; width: 36px; height: 36px; border: 1.5px solid var(--line-dark-strong); border-radius: 50%; display: grid; place-items: center; transition: background-color var(--motion-fast) ease; }
.accordion-icon svg { width: 14px; height: 14px; }
.accordion-icon .v { transition: opacity var(--motion-fast) ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { background: var(--brand-action); border-color: var(--brand-action); }
.accordion-trigger[aria-expanded="true"] .accordion-icon .v { opacity: 0; }
.accordion-panel { padding: 0 64px var(--space-6) 0; max-width: 68ch; color: var(--on-dark-muted); }
.accordion-panel[hidden] { display: none; }
.js .accordion-panel:not(.is-open) { display: none; }
@media (max-width: 767px) { .accordion-trigger, .accordion-item h2, .accordion-item h3 { font-size: 18px; line-height: 26px; } .accordion-panel { padding-right: 0; } }

/* ---------- Fechamento com contato direto */
.closing { position: relative; overflow: hidden; }
.closing .container { position: relative; z-index: 1; }
.closing .graphic { width: 520px; right: -180px; bottom: 96px; }
@media (max-width: 1099px) { .closing .graphic { display: none; } }
.closing h2 { font-size: 60px; line-height: 64px; max-width: 13ch; margin-bottom: var(--space-5); letter-spacing: -0.02em; }
.closing .lead { color: var(--on-dark-muted); max-width: 46ch; margin-bottom: var(--space-7); }
.tone-action.closing .lead { color: var(--white); }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; }
.contact-direct .email-line { margin-top: var(--space-5); }
@media (max-width: 1099px) { .closing h2 { font-size: 44px; line-height: 50px; } }
@media (max-width: 767px) { .closing h2 { font-size: 34px; line-height: 40px; } .contact-direct { align-items: stretch; } .contact-direct .btn { width: 100%; } }

/* ---------- Texto em duas colunas (páginas internas) */
.prose-row { align-items: start; row-gap: var(--space-5); }
.prose-row .label-col { grid-column: 1 / span 5; }
.prose-row .body-col { grid-column: 7 / span 6; }
.prose-row .body-col p { color: var(--on-dark-muted); }
.prose-row .body-col .lead { color: var(--on-dark); }
@media (max-width: 1023px) { .prose-row .label-col, .prose-row .body-col { grid-column: 1 / -1; } }

/* Linhas numeradas (tópicos e princípios na página Sobre) */
.rows { list-style: none; border-top: 1px solid var(--line-dark-strong); }
.rows li { display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--gutter); padding-block: var(--space-7); border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.rows .num { font-size: 15px; font-weight: 600; color: var(--on-dark-muted); }
.rows h3 { font-size: 28px; line-height: 34px; font-weight: 500; }
.rows p { margin: 0; color: var(--on-dark-muted); max-width: 52ch; }
@media (max-width: 767px) { .rows li { grid-template-columns: 40px 1fr; row-gap: var(--space-2); padding-block: var(--space-6); } .rows p { grid-column: 2; } .rows h3 { font-size: 22px; line-height: 28px; } }

/* Mídia + texto */
.split { align-items: center; row-gap: var(--space-7); }
.split-media { grid-column: 1 / span 6; }
.split-text { grid-column: 8 / span 5; }
.split--reverse .split-media { grid-column: 7 / span 6; order: 2; }
.split--reverse .split-text { grid-column: 1 / span 5; order: 1; }
.split-text h2 { margin-bottom: var(--space-5); }
.split-text p { color: var(--on-dark-muted); }
@media (max-width: 1023px) { .split-media, .split-text, .split--reverse .split-media, .split--reverse .split-text { grid-column: 1 / -1; order: initial; } }
figure { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius-panel); }
.photo figcaption { margin-top: var(--space-3); color: var(--on-dark-muted); }

/* Perguntas da página de serviço */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); }
.qa > div { border-top: 2px solid var(--brand-action); padding-top: var(--space-5); }
.qa h3 { font-size: 22px; line-height: 29px; margin-bottom: var(--space-3); font-weight: 600; }
.qa p { color: var(--on-dark-muted); }
@media (max-width: 767px) { .qa { grid-template-columns: 1fr; gap: var(--space-6); } }

/* Relacionados */
.related { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-6); }
.related li { border-top: 1px solid var(--line-dark-strong); }
.related a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 88px; padding-block: var(--space-5); font-size: 26px; line-height: 32px; font-weight: 500; color: var(--on-dark); text-decoration: none; }
.related a .go { flex-shrink: 0; width: 44px; height: 44px; border: 1.5px solid var(--line-dark-strong); border-radius: 50%; display: grid; place-items: center; }
.related a .go svg { width: 16px; height: 16px; }
.related a:hover span:first-child { text-decoration: underline; text-underline-offset: 6px; }
.related a:hover .go { background: var(--brand-action); border-color: var(--brand-action); }
@media (max-width: 767px) { .related { grid-template-columns: 1fr; } .related a { font-size: 21px; } }

/* ---------- Serviços (visão geral) */
.svc-blocks { list-style: none; }
.svc-block { border-top: 1px solid var(--line-dark-strong); padding-block: var(--space-8); }
.svc-block:last-child { border-bottom: 1px solid var(--line-dark-strong); }
.svc-block .grid { row-gap: var(--space-5); align-items: start; }
.svc-block .idx { grid-column: 1 / span 1; font-size: 15px; font-weight: 600; color: var(--on-dark-muted); padding-top: 10px; }
.svc-block .title { grid-column: 2 / span 5; font-size: 40px; line-height: 46px; font-weight: 500; }
.svc-block .title a { color: var(--on-dark); text-decoration: none; }
.svc-block .title a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.svc-block .body { grid-column: 8 / span 5; }
.svc-block .body p { color: var(--on-dark-muted); margin-bottom: var(--space-5); }
.svc-block .media { grid-column: 2 / span 11; margin-top: var(--space-6); }
@media (max-width: 1023px) { .svc-block .idx, .svc-block .title, .svc-block .body, .svc-block .media { grid-column: 1 / -1; } .svc-block .idx { padding: 0; } .svc-block .title { font-size: 32px; line-height: 38px; } .svc-block .media { margin-top: 0; } }

/* ---------- Contato */
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(620px, calc(100vh - 128px), 860px); }
.contact__text { padding: var(--space-8) var(--space-8) 96px max(var(--page-margin), calc((100vw - var(--content-max)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.contact__text h1 { max-width: 13ch; margin-bottom: var(--space-5); }
.contact__text .lead { color: var(--on-dark-muted); max-width: 44ch; margin-bottom: var(--space-7); }
.contact__media { position: relative; }
.contact__media picture, .contact__media img { width: 100%; height: 100%; }
.contact__media img { object-fit: cover; object-position: 50% 30%; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,29,53,1) 0%, rgba(11,29,53,0.4) 22%, rgba(11,29,53,0) 45%), linear-gradient(rgba(20,45,78,0.22), rgba(20,45,78,0.22)); }
.contact__media figcaption { position: absolute; right: var(--space-5); bottom: var(--space-5); z-index: 1; color: var(--white); background: rgba(11,29,53,0.8); padding: 2px 8px; border-radius: 4px; }
.tips { margin-top: var(--space-8); border-top: 1px solid var(--line-dark-strong); padding-top: var(--space-5); max-width: 520px; }
.tips h2 { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--space-4); }
.tips ol { list-style: none; counter-reset: t; }
.tips li { counter-increment: t; display: grid; grid-template-columns: 32px 1fr; padding-block: 6px; }
.tips li::before { content: counter(t, decimal-leading-zero); color: var(--on-dark-muted); font-size: 14px; font-weight: 600; }
.tips .caution { margin-top: var(--space-4); font-size: 15px; line-height: 23px; color: var(--on-dark-muted); }
@media (max-width: 1099px) {
  .contact { grid-template-columns: 1fr; min-height: 0; }
  .contact__text { padding: var(--space-7) var(--page-margin) var(--space-8); }
  .contact__media { aspect-ratio: 16 / 10; }
  .contact__media::after { background: linear-gradient(180deg, rgba(11,29,53,1) 0%, rgba(11,29,53,0) 30%), linear-gradient(rgba(20,45,78,0.2), rgba(20,45,78,0.2)); }
}
@media (max-width: 599px) { .contact__media { aspect-ratio: 4 / 3; } }

/* ---------- Privacidade */
.legal { max-width: 760px; }
.legal section { padding-block: var(--space-6); border-top: 1px solid var(--line-dark); }
.legal h2 { font-size: 24px; line-height: 30px; font-weight: 600; margin-bottom: var(--space-3); }
.legal p { color: var(--on-dark-muted); }
.draft-banner { max-width: 760px; border: 1px solid var(--pending-bg); border-left-width: 4px; padding: var(--space-4) var(--space-5); border-radius: var(--radius-control); margin-bottom: var(--space-6); color: var(--on-dark); font-size: 15px; line-height: 23px; }
.draft-banner strong { color: var(--pending-bg); }

/* ---------- 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* ---------- Rodapé */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 96px var(--space-6); border-top: 1px solid var(--line-dark); }
.site-footer a { color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-7); padding-bottom: var(--space-8); }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand .footer-logo { display: inline-block; padding: 15px; margin: -15px; border-radius: 2px; }
.footer-brand img { width: 288px; height: auto; }
.footer-brand p { margin-top: var(--space-5); font-size: 19px; line-height: 29px; max-width: 28ch; color: var(--on-dark-muted); }
.footer-nav { grid-column: span 2; }
.footer-nav.services { grid-column: span 3; }
.footer-nav h2, .footer-contact h2 { font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--space-4); }
.footer-nav ul { list-style: none; }
.footer-nav li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer-nav li a:hover, .footer-nav li a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { grid-column: span 2; }
.footer-contact a { display: inline-flex; min-height: 40px; align-items: center; }
.footer-contact dl { margin: 0; }
.footer-contact dt { font-size: 13px; color: var(--on-dark-muted); margin-top: var(--space-3); }
.footer-contact dd { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line-dark); font-size: 14px; line-height: 20px; color: var(--on-dark-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-dark-muted); display: inline-flex; min-height: 24px; align-items: center; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .credit { margin-left: auto; }
.footer-bottom .credit a { color: var(--on-dark); }
@media (max-width: 1023px) { .footer-brand { grid-column: 1 / -1; } .footer-nav, .footer-nav.services, .footer-contact { grid-column: span 4; } }
@media (max-width: 767px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-brand img { width: 280px; } .footer-nav, .footer-nav.services { grid-column: span 1; } .footer-contact { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-bottom .credit { margin-left: 0; } }
@media (max-width: 399px) { .footer-top { grid-template-columns: 1fr; } .footer-nav, .footer-nav.services { grid-column: 1 / -1; } }

/* ---------- Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .review-bar, .graphic, .skip-link { display: none !important; } body { background: #fff; color: #000; } }


/* =====================================================================
   v3 — Camada visual: ícones, diagramas, destaques e respiros claros
   ===================================================================== */
.sg-icon { display: block; flex-shrink: 0; }
.wa-glyph { width: 20px; height: 20px; }

/* ---------- Respiros claros (branco e #EDF3FC) — variáveis de cor redefinidas */
.tone-light { background: var(--white); }
.tone-surface { background: #EDF3FC; }
.tone-light, .tone-surface {
  --on-dark: #142D4E; --on-dark-muted: #26364A; --line-dark: #C5D1E0; --line-dark-strong: #8FA3BC; --focus: #142D4E;
  color: #26364A;
}
.tone-light .eyebrow, .tone-surface .eyebrow, .tone-light .flow-label, .tone-surface .flow-label { color: #53677D; }
.tone-light .btn--ghost, .tone-surface .btn--ghost { color: #142D4E; border-color: #142D4E; }
.tone-light .btn--ghost:hover, .tone-surface .btn--ghost:hover { background: #142D4E; color: var(--white); }
.tone-light .btn--wa:hover, .tone-surface .btn--wa:hover { background: #142D4E; color: var(--white); }
.section--intro { padding-bottom: var(--space-8); }
.section--intro + .tone-surface { padding-top: var(--section-y); }

/* ---------- Suportes de ícone */
.support { width: 64px; height: 64px; border-radius: 14px; background: var(--brand-deep); color: var(--white); display: grid; place-items: center; transition: background-color var(--motion-fast) ease; }
.support .sg-icon { width: 40px; height: 40px; }
@media (max-width: 767px) { .support { width: 52px; height: 52px; border-radius: 12px; } .support .sg-icon { width: 32px; height: 32px; } }

/* ---------- Linha de serviço com identificador vetorial */
.svc-item a.svc-row { grid-template-columns: 64px minmax(0, 4fr) minmax(0, 5fr) 24px; column-gap: 32px; padding-block: 28px; }
.svc-item h3 { color: var(--on-dark); }
.svc-item .go { width: auto; height: auto; border: 0; border-radius: 0; color: var(--on-dark); transition: transform var(--motion-fast) ease; }
.svc-item .go .sg-icon { width: 22px; height: 22px; }
.svc-item a.svc-row:hover .go, .svc-item a.svc-row:focus-visible .go { background: none; transform: translateX(3px); }
.svc-item a.svc-row:hover .support, .svc-item a.svc-row:focus-visible .support { background: var(--brand-action); }
.svc-item a.svc-row:focus-visible h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 899px) {
  .svc-item a.svc-row { grid-template-columns: 52px minmax(0, 1fr) 22px; column-gap: 16px; row-gap: 6px; padding-block: 24px; align-items: start; }
  .svc-item .support { grid-row: 1 / span 2; }
  .svc-item h3 { grid-column: 2; }
  .svc-item p { grid-column: 2; grid-row: 2; }
  .svc-item .go { grid-column: 3; grid-row: 1; padding-top: 4px; }
}
@media (max-width: 767px) { .svc-item h3 { font-size: 22px; line-height: 28px; } }

/* ---------- Princípios com ícone (sobre #326BCE: branco) */
.principle-icon { display: block; color: var(--white); margin-bottom: var(--space-5); }
.principle-icon .sg-icon { width: 44px; height: 44px; }
.principles li { padding-top: var(--space-6); }
@media (max-width: 899px) {
  .principles li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: center; padding-top: var(--space-5); }
  .principle-icon { margin: 0; }
  .principle-icon .sg-icon { width: 40px; height: 40px; }
  .principles h3 { margin: 0; }
  .principles p { grid-column: 2; margin-top: var(--space-2); }
}

/* Linhas com ícone (página A consultoria) */
.rows-icon { color: var(--on-dark); }
.rows-icon .sg-icon { width: 40px; height: 40px; }
.rows li { align-items: center; }
@media (max-width: 767px) { .rows li { grid-template-columns: 40px 1fr; } .rows-icon .sg-icon { width: 32px; height: 32px; } }

/* ---------- Diagrama A: etapas conectadas */
.flow-wrap { margin-top: 96px; }
.flow-label { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--space-6); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.flow-step { position: relative; }
.flow-num { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--on-dark-muted); margin-bottom: var(--space-3); }
.tone-light .flow-num, .tone-surface .flow-num { color: #53677D; }
.flow-support { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 16px; background: var(--brand-action); color: var(--white); display: grid; place-items: center; }
.flow-support .sg-icon { width: 40px; height: 40px; }
.flow-step h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); }
.flow-step p { max-width: 32ch; color: var(--on-dark-muted); }
.flow--connected .flow-step:not(:last-child)::after { content: ""; position: absolute; top: calc(20px + 12px + 36px - 1px); left: 88px; right: -16px; height: 2px; background: var(--line-dark-strong); }
.flow--features .flow-support { width: 64px; height: 64px; border-radius: 14px; background: var(--brand-deep); }
@media (max-width: 767px) {
  .flow { grid-template-columns: 1fr; gap: var(--space-6); }
  .flow-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .flow-support, .flow--features .flow-support { grid-column: 1; grid-row: 1 / span 3; width: 56px; height: 56px; border-radius: 14px; }
  .flow-support .sg-icon { width: 32px; height: 32px; }
  .flow-num { grid-column: 2; margin: 0; }
  .flow-step h3 { grid-column: 2; margin-top: 4px; }
  .flow-step p { grid-column: 2; }
  .flow--features .flow-step h3 { margin-top: 0; }
  .flow--connected .flow-step:not(:last-child)::after { top: 64px; bottom: -24px; left: 27px; right: auto; width: 2px; height: auto; }
}

/* ---------- Diagrama B: informações → organização → acompanhamento */
.routine { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.routine-step { text-align: center; }
.routine-figure { position: relative; height: 128px; display: flex; align-items: center; justify-content: center; }
.routine-step:not(:last-child) .routine-figure::after { content: ""; position: absolute; top: 50%; left: calc(50% + 68px); width: calc(100% + 32px - 136px); height: 2px; background: #53677D; }
.routine-support { width: 96px; height: 96px; border-radius: 20px; background: var(--brand-action); color: var(--white); display: grid; place-items: center; }
.routine-support .sg-icon { width: 52px; height: 52px; }
.routine-step h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); }
.routine-step p { max-width: 30ch; margin-inline: auto; color: var(--on-dark-muted); }
@media (max-width: 767px) {
  .routine { grid-template-columns: 1fr; gap: 0; }
  .routine-step { text-align: left; display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 20px; padding-bottom: var(--space-6); }
  .routine-figure { grid-row: 1 / span 2; height: auto; flex-direction: column; justify-content: flex-start; }
  .routine-figure .routine-art { width: 76px; height: auto; }
  .routine-support { width: 72px; height: 72px; border-radius: 16px; }
  .routine-support .sg-icon { width: 40px; height: 40px; }
  .routine-step:not(:last-child) .routine-figure::after { position: static; flex: 1; width: 2px; height: auto; min-height: 24px; margin: 8px 0 calc(-1 * var(--space-6)); }
  .routine-step h3 { margin-top: 8px; }
  .routine-step p { margin-inline: 0; }
}

/* ---------- Destaque editorial */
.highlight { border-left: 4px solid var(--brand-action); padding: 4px 0 4px 24px; margin-top: var(--space-6); }
.highlight-label { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--space-2); }
.highlight-text { font-size: 26px; line-height: 36px; font-weight: 500; letter-spacing: -0.01em; color: var(--on-dark); max-width: 32ch; }
.prose-row .body-col .highlight:first-child { margin-top: 0; }
@media (max-width: 767px) { .highlight { padding-left: 18px; } .highlight-text { font-size: 21px; line-height: 30px; } }

/* ---------- Sobretítulo com identificador (páginas de serviço) */
.eyebrow--icon { display: flex; align-items: center; gap: 14px; }
.eyebrow-support { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-action); color: var(--white); display: grid; place-items: center; }
.eyebrow-support .sg-icon { width: 28px; height: 28px; }

/* ---------- Links relacionados com ícone */
.related a { justify-content: flex-start; }
.related-icon { width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line-dark-strong); color: var(--on-dark); display: grid; place-items: center; flex-shrink: 0; transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
.related-name { flex: 1; }
.related a .go { width: auto; height: auto; border: 0; border-radius: 0; transition: transform var(--motion-fast) ease; }
.related a:hover .go, .related a:focus-visible .go { background: none; transform: translateX(3px); }
.related a:hover .related-icon, .related a:focus-visible .related-icon { background: var(--brand-action); border-color: var(--brand-action); }
.related a:hover span:first-child { text-decoration: none; }
.related a:hover .related-name, .related a:focus-visible .related-name { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Serviços (visão geral) com identificador */
.svc-block .support.idx { grid-column: 1 / span 1; padding: 0; }
@media (max-width: 1023px) { .svc-block .support.idx { grid-column: 1 / -1; } }

/* ---------- Topo dividido (foto na metade direita) */
@media (min-width: 900px) {
  .photo-hero--split .photo-hero__media { position: absolute; inset: 0 0 0 50%; aspect-ratio: auto; z-index: -1; }
  .photo-hero--split .photo-hero__media img { object-position: 35% 30%; }
  .photo-hero--split .photo-hero__media::after { background: linear-gradient(90deg, rgba(11,29,53,1) 0%, rgba(11,29,53,0.5) 16%, rgba(11,29,53,0) 42%), linear-gradient(180deg, rgba(11,29,53,0.85) 0, rgba(11,29,53,0) 120px), linear-gradient(0deg, rgba(11,29,53,0.7) 0, rgba(11,29,53,0) 160px), linear-gradient(rgba(20,45,78,0.16), rgba(20,45,78,0.16)); }
  .photo-hero--split .photo-hero__inner { min-height: clamp(520px, 72vh, 660px); display: flex; align-items: center; margin-top: 0; padding-block: var(--space-8) 96px; }
  .photo-hero--split .photo-hero__content { max-width: calc(50% - 64px); }
  .photo-hero--split .photo-hero__caption { position: absolute; right: var(--page-margin); bottom: 20px; margin: 0; padding: 0; }
}
@media (min-width: 900px) and (max-width: 1099px) { .photo-hero--split h1 { font-size: 40px; line-height: 46px; } }
@media (max-width: 599px) { .photo-hero--split .photo-hero__media { aspect-ratio: 1 / 1; } }

.tone-light .draft-banner, .tone-surface .draft-banner { background: #FFF6DB; border-color: #B58A00; color: #3D2C00; }
.tone-light .draft-banner strong, .tone-surface .draft-banner strong { color: #3D2C00; }

/* Suporte sobre fundos azuis escuros: contorno para separar do fundo */
.tone-ink .support, .tone-deep .support, .tone-brand .support { border: 1.5px solid var(--line-dark-strong); }
.svc-block .title a:hover ~ .support, .svc-block:hover .support { background: var(--brand-action); border-color: var(--brand-action); }

/* ---------- Contatos confirmados (produção) */
.wa-number, .address-line { display: flex; align-items: flex-start; gap: 10px; margin-top: var(--space-4); color: var(--on-dark-muted); font-size: 17px; line-height: 26px; }
.wa-number .wa-glyph, .address-line .sg-icon { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; color: var(--on-dark); }
.wa-number a, .address-line a { color: var(--on-dark); font-weight: 600; }
.address-line .address-text { margin-right: 10px; }
.maps-link { display: inline-flex; align-items: center; min-height: 24px; white-space: nowrap; }
.contact__text .address-line { max-width: 44ch; }

/* Rodapé com contatos confirmados: colunas reequilibradas e e-mail longo sem transbordar */
.footer-brand { grid-column: 1 / span 4; }
.footer-contact { grid-column: span 3; min-width: 0; }
.footer-contact dd { overflow-wrap: break-word; font-size: 15px; line-height: 22px; }
.footer-contact dd a { display: inline; min-height: 0; }
.address-line, .email-line, .wa-number { overflow-wrap: anywhere; }
@media (max-width: 1023px) { .footer-brand { grid-column: 1 / -1; } .footer-nav, .footer-nav.services { grid-column: span 4; } .footer-contact { grid-column: span 4; } }
@media (max-width: 767px) { .footer-contact { grid-column: 1 / -1; } }
