/* AJ Negócios e Serviços · Persona C (Estruturado de Alto Contraste)
   Cores e tipografia do Manual de Marca (Bardo Design). */

:root {
  --azul: #1c2e5e;            /* Azul Delfit, primária */
  --azul-profundo: #111d3f;   /* seções-âncora e rodapé */
  --azul-logo: #132f62;       /* fundo do PDF da logo */
  --azul-claro: #2a417f;
  --ouro: #d2a047;            /* Amarelo Goldenrod, primária */
  --biscotti: #e1c683;        /* secundária */
  --oak: #ad9056;             /* destaque */
  --ouro-texto: #7f6128;      /* dourado legível sobre claro (AA) */
  --branco: #f2f2f2;          /* secundária */
  --papel: #ffffff;
  --texto: #17213d;
  --texto-suave: #4a5470;
  --texto-claro: #eaf2f8;
  --texto-claro-suave: #b9c3d8;
  --linha: rgba(28, 46, 94, .14);
  --linha-clara: rgba(225, 198, 131, .24);
  --grad-ouro: linear-gradient(90deg, #dfc081 0%, #debc7c 38%, #d5a157 68%, #bc9354 86%, #a98b56 100%);
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 2px;
  --sombra: 0 22px 48px -26px rgba(17, 29, 63, .45);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--sans); font-size: 1rem; line-height: 1.7; color: var(--texto);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul, ol.metodo__passos, ol.passos-linha, ol.migalhas { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--azul); line-height: 1.18; margin: 0; letter-spacing: -.015em; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.12rem; }
.destaque { color: var(--ouro-texto); }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }

/* Tema escuro: override genérico de headings (evita herança perdida) */
.tema-escuro { background: var(--azul-profundo); color: var(--texto-claro); }
.tema-escuro h1, .tema-escuro h2, .tema-escuro h3, .tema-escuro h4 { color: #fff; }
.tema-escuro .destaque { color: var(--biscotti); }
.tema-escuro p { color: var(--texto-claro-suave); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn--ouro { background: var(--grad-ouro); color: var(--azul-profundo); box-shadow: 0 10px 24px -14px rgba(210, 160, 71, .9); }
.btn--ouro:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(210, 160, 71, .95); }
.btn--contorno { border-color: rgba(225, 198, 131, .55); color: var(--texto-claro); background: transparent; }
.btn--contorno:hover { border-color: var(--biscotti); color: #fff; background: rgba(225, 198, 131, .08); transform: translateY(-2px); }
.btn--azul { background: var(--azul); color: #fff; }
.btn--azul:hover { background: var(--azul-profundo); transform: translateY(-2px); box-shadow: var(--sombra); }
.btn--quebra { white-space: normal; text-align: center; }

.link-seta { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .85rem; letter-spacing: .03em; color: var(--azul); }
.link-seta svg { width: 18px; height: 18px; transition: transform .2s ease; }
.link-seta:hover svg { transform: translateX(4px); }

/* ---------- Eyebrow (acento só embaixo) ---------- */
.eyebrow {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ouro-texto); margin-bottom: 1.1rem;
}
.eyebrow::after { content: ''; width: 32px; height: 3px; background: var(--grad-ouro); }
.tema-escuro .eyebrow { color: var(--biscotti); }
.centro .eyebrow { align-items: center; }

.cabecalho-secao { max-width: 760px; margin-bottom: 3.2rem; }
.cabecalho-secao p { color: var(--texto-suave); font-size: 1.05rem; margin-top: 1rem; }
.tema-escuro .cabecalho-secao p { color: var(--texto-claro-suave); }
.cabecalho-secao.centro { text-align: center; margin-inline: auto; }
.cabecalho-secao.centro h2, .cabecalho-secao.centro p { margin-inline: auto; }

/* ---------- Fundos geométricos (linguagem C) ---------- */
.malha { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(225, 198, 131, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 198, 131, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, transparent 100%);
}
.malha--clara { background-image:
    linear-gradient(rgba(28, 46, 94, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 46, 94, .06) 1px, transparent 1px); }
.pontos { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(28, 46, 94, .16) 1.2px, transparent 1.4px);
  background-size: 26px 26px; }
.brilho { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(10px);
  background: radial-gradient(circle, rgba(210, 160, 71, .22) 0%, rgba(210, 160, 71, 0) 68%); }
.pattern-aj { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .07;
  background-image: url('../images/marca/simbolo.svg'); background-size: 92px auto; background-repeat: space; }

/* divisor filete + nó (transição entre seções claras) */
.divisor { position: relative; height: 1px; width: min(1200px, 100% - 48px); margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--linha) 18%, rgba(173, 144, 86, .55) 50%, var(--linha) 82%, transparent); z-index: 2; }
.divisor::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  transform: translate(-50%, -50%) rotate(45deg); background: var(--ouro); box-shadow: 0 0 0 5px var(--papel); }
.divisor--cinza::after { box-shadow: 0 0 0 5px var(--branco); }

section { position: relative; }
.secao { padding-block: clamp(4.5rem, 3rem + 4vw, 6.5rem); position: relative; overflow: clip; }
.secao--cinza { background: var(--branco); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease; }
.site-header.scrolled { background: rgba(17, 29, 63, .97); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); --header-h: 68px; height: 68px; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header__logo img { height: 40px; width: auto; transition: height .3s ease; }
.site-header.scrolled .header__logo img { height: 36px; }
.header__nav > ul { display: flex; align-items: center; gap: .3rem; }
.header__nav a { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; font-size: .86rem; font-weight: 600;
  color: var(--texto-claro); letter-spacing: .02em; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.header__nav > ul > li > a:hover, .header__nav a.active, .header__nav a[aria-current="page"] { color: var(--biscotti); border-bottom-color: var(--ouro); }
.header__nav svg { width: 15px; height: 15px; }
.has-sub { position: relative; }
.submenu { position: absolute; top: calc(100% + 10px); left: -1rem; min-width: 300px; padding: .6rem;
  background: var(--papel); border-top: 3px solid var(--ouro); box-shadow: var(--sombra);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.submenu::before { content: ''; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; color: var(--texto); padding: .6rem .8rem; border: 0; font-weight: 600; font-size: .85rem; }
.submenu a:hover { background: var(--branco); color: var(--azul); }
.header__cta { min-height: 46px; padding: .7rem 1.2rem; font-size: .82rem; flex-shrink: 0; }

.nav-toggle { display: none; background: none; border: 1px solid rgba(225, 198, 131, .4); color: var(--biscotti);
  cursor: pointer; padding: .45rem; line-height: 0; border-radius: var(--radius); min-width: 46px; min-height: 46px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Drawer mobile: visual sempre fora de @media */
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200; width: min(86vw, 360px);
  display: flex; flex-direction: column; padding: 1.1rem 1.5rem 2rem; background: var(--papel);
  box-shadow: -18px 0 50px -22px rgba(0, 0, 0, .35); transform: translateX(100%); visibility: hidden;
  transition: transform .34s cubic-bezier(.4, 0, .2, 1), visibility .34s; overscroll-behavior: contain; overflow-y: auto; }
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--linha); }
.mobile-menu__logo { height: 36px; width: auto; }
.mobile-menu__links li { border-bottom: 1px solid var(--linha); }
.mobile-menu__links a { display: flex; align-items: center; min-height: 54px; font-size: 1.02rem; font-weight: 600; color: var(--texto); transition: color .2s; }
.mobile-menu__links a:hover, .mobile-menu__links a.active { color: var(--ouro-texto); }
.mobile-menu__cta { margin-top: auto; width: 100%; }
.mobile-menu .mobile-menu__cta { margin-top: 1.6rem; }
.mobile-close { background: none; border: none; color: var(--azul); cursor: pointer; padding: .3rem; margin: -.3rem; line-height: 0; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-close svg { width: 30px; height: 30px; }
.menu-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(10, 18, 40, .55);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.menu-backdrop.open { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
  .header__inner { justify-content: space-between; }
  .header__nav, .header__cta { display: none; }
  .header__logo { margin-right: auto; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
}

/* ---------- Hero (full-bleed com painel) ---------- */
.hero { position: relative; overflow: clip; padding: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5.5rem)) 0 clamp(7rem, 5rem + 5vw, 9rem);
  background:
    radial-gradient(ellipse 70% 60% at 85% 30%, rgba(42, 65, 127, .75) 0%, transparent 70%),
    linear-gradient(160deg, var(--azul) 0%, var(--azul-profundo) 72%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%); }
.hero__faixa { position: absolute; z-index: 0; top: -10%; right: 18%; width: 220px; height: 130%;
  background: linear-gradient(180deg, rgba(210, 160, 71, 0), rgba(210, 160, 71, .14) 45%, rgba(210, 160, 71, 0));
  transform: skewX(-24deg); pointer-events: none; }
.hero__simbolo { position: absolute; z-index: 0; right: -6%; bottom: -12%; width: min(54vw, 720px); opacity: .1; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem); letter-spacing: -.025em; margin-bottom: 1.4rem; }
.hero__sub { font-size: clamp(1.02rem, .95rem + .3vw, 1.16rem); max-width: 600px; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__selos { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--linha-clara); font-size: .82rem; font-weight: 600; color: var(--texto-claro-suave); }
.hero__selos li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__selos svg { width: 18px; height: 18px; color: var(--ouro); }

.painel { position: relative; background: linear-gradient(180deg, rgba(28, 46, 94, .92), rgba(17, 29, 63, .94));
  border: 1px solid var(--linha-clara); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.painel::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-ouro); }
.painel__topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--linha-clara); }
.painel__titulo { display: flex; align-items: center; gap: .8rem; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--biscotti); }
.painel__titulo img { width: 34px; height: auto; }
.painel__num { font-size: 2rem; font-weight: 800; line-height: 1; background: var(--grad-ouro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.painel__lista a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(225, 198, 131, .12); transition: background-color .2s ease; }
.painel__lista li:last-child a { border-bottom: 0; }
.painel__lista a:hover { background: rgba(225, 198, 131, .07); }
.painel__icone { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--linha-clara); color: var(--ouro); }
.painel__icone svg { width: 22px; height: 22px; }
.painel__nome { font-weight: 700; font-size: .95rem; color: #fff; line-height: 1.3; }
.painel__nome small { display: block; font-weight: 500; font-size: .78rem; color: var(--texto-claro-suave); margin-top: .15rem; }
.painel__lista svg.seta { width: 18px; height: 18px; color: var(--biscotti); transition: transform .2s; }
.painel__lista a:hover svg.seta { transform: translateX(4px); }
.painel__rodape { padding: 1rem 1.5rem; border-top: 1px solid var(--linha-clara); }
.painel__rodape a { color: var(--biscotti); font-size: .84rem; }
.painel__rodape .link-seta { color: var(--biscotti); }

/* ---------- Faixa de fatos ---------- */
.fatos { position: relative; z-index: 3; margin-top: -4.2rem; }
.fatos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--papel); box-shadow: var(--sombra); border: 1px solid var(--linha); }
.fato { padding: 1.7rem 1.6rem; border-right: 1px solid var(--linha); }
.fato:last-child { border-right: 0; }
.fato__valor { display: block; font-size: 2rem; font-weight: 800; color: var(--azul); line-height: 1.1; margin-bottom: .45rem; letter-spacing: -.02em; }
.fato__valor span { color: var(--ouro-texto); }
.fato__texto { font-size: .86rem; color: var(--texto-suave); line-height: 1.5; }

/* ---------- Sobre ---------- */
.sobre__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.sobre__texto p { color: var(--texto-suave); }
.sobre__texto h2 { margin-bottom: 1.4rem; }
.scp { margin-top: 2rem; border: 1px solid var(--linha); border-left: 3px solid var(--ouro); background: var(--papel); padding: 1.4rem 1.5rem; }
.scp__rotulo { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-texto); margin-bottom: .8rem; }
.scp__itens { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.scp__itens strong { display: block; color: var(--azul); font-size: .95rem; line-height: 1.35; }
.scp__itens span { font-size: .82rem; color: var(--texto-suave); }
.pilares { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); background: var(--papel); }
.pilar { padding: 2rem 1.8rem; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); transition: background-color .25s ease; }
.pilar:hover { background: #fbfaf6; }
.pilar__icone { width: 52px; height: 52px; display: grid; place-items: center; background: var(--azul); color: var(--biscotti); margin-bottom: 1.2rem; }
.pilar__icone svg { width: 26px; height: 26px; }
.pilar h3 { margin-bottom: .5rem; }
.pilar p { color: var(--texto-suave); font-size: .93rem; margin: 0; }

/* ---------- Serviços (grade de células) ---------- */
.servicos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); }
.servico { position: relative; display: flex; flex-direction: column; padding: 2rem 1.7rem 1.8rem; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha);
  background: var(--papel); transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.servico::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-ouro); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.servico:hover { background: var(--azul); transform: translateY(-4px) scale(1.01); box-shadow: var(--sombra); z-index: 2; }
.servico:hover::before { transform: scaleX(1); }
.servico__num { font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--ouro-texto); margin-bottom: 1.4rem; transition: color .3s; }
.servico__icone { width: 48px; height: 48px; color: var(--ouro); margin-bottom: 1.2rem; }
.servico__icone svg { width: 44px; height: 44px; }
.servico h3 { margin-bottom: .7rem; transition: color .3s; }
.servico p { font-size: .9rem; color: var(--texto-suave); flex: 1; transition: color .3s; }
.servico .link-seta { margin-top: .4rem; transition: color .3s; }
.servico:hover h3, .servico:hover .link-seta { color: #fff; }
.servico:hover p { color: var(--texto-claro-suave); }
.servico:hover .servico__num { color: var(--biscotti); }
.servico__link::after { content: ''; position: absolute; inset: 0; }

/* ---------- Reforma (seção-âncora densa) ---------- */
.reforma { overflow: clip; clip-path: polygon(0 56px, 100% 0, 100% calc(100% - 56px), 0 100%);
  padding-block: calc(56px + clamp(4rem, 3rem + 3vw, 5.5rem)); }
.reforma__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.reforma__texto h2 { margin-bottom: 1.3rem; }
.reforma__texto .btn { margin-top: 1rem; }
.tributos { display: grid; gap: 1rem; }
.tributo { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 1.3rem; padding: 1.3rem 1.4rem; border: 1px solid var(--linha-clara); background: rgba(28, 46, 94, .55); }
.tributo .tributo__sigla { font-size: 2rem; font-weight: 800; line-height: 1; background: var(--grad-ouro); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.02em; }
.tributo strong { display: block; color: #fff; font-size: .98rem; margin-bottom: .2rem; }
.tributo strong + span { font-size: .86rem; color: var(--texto-claro-suave); line-height: 1.5; display: block; }
.linha-tempo { margin-top: clamp(3rem, 5vw, 4.5rem); }
.linha-tempo__titulo { font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--biscotti); margin-bottom: 1.4rem; }
.linha-tempo ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.linha-tempo ol::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--ouro), rgba(225, 198, 131, .25)); }
.marco { position: relative; padding: 2rem 1.4rem 0 0; }
.marco::before { content: ''; position: absolute; top: 0; left: 0; width: 16px; height: 16px; background: var(--azul-profundo); border: 2px solid var(--ouro); transform: rotate(45deg); }
.marco__ano { display: block; font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .35rem; }
.marco p { font-size: .87rem; margin: 0; line-height: 1.55; }

/* ---------- Diferenciais (numeração grande) ---------- */
.diferenciais__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--linha); }
.diferencial { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 1.5rem; padding: 2.4rem 2rem 2.4rem 0; border-bottom: 1px solid var(--linha); }
.diferencial:nth-child(odd) { border-right: 1px solid var(--linha); }
.diferencial:nth-child(even) { padding-left: 2.4rem; }
.diferencial:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.diferencial__num { font-size: clamp(3.6rem, 2.6rem + 3vw, 5.2rem); font-weight: 800; line-height: .9; letter-spacing: -.04em;
  background: linear-gradient(180deg, rgba(210, 160, 71, .95), rgba(173, 144, 86, .25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.diferencial h3 { font-size: 1.22rem; margin: .3rem 0 .6rem; }
.diferencial p { color: var(--texto-suave); margin: 0; }

/* ---------- Método (fluxo horizontal) ---------- */
.metodo__passos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: passo; }
.metodo__passos::before { content: ''; position: absolute; top: 32px; left: 32px; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--ouro), var(--azul) 60%, var(--linha)); }
.passo { position: relative; padding-right: 1.4rem; }
.passo__num { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; background: var(--azul); color: var(--biscotti);
  font-weight: 800; font-size: 1.15rem; margin-bottom: 1.4rem; box-shadow: 0 0 0 6px var(--papel); transition: background-color .25s, color .25s; }
.passo:hover .passo__num { background: var(--grad-ouro); color: var(--azul-profundo); }
.passo h3 { margin-bottom: .5rem; }
.passo p { color: var(--texto-suave); font-size: .92rem; margin: 0; }

/* ---------- CTA intermediária ---------- */
.cta { position: relative; overflow: clip; background: var(--grad-ouro); padding-block: clamp(3.5rem, 2.5rem + 3vw, 4.8rem); }
.cta::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, rgba(17, 29, 63, .05) 0 2px, transparent 2px 22px); pointer-events: none; }
.cta__simbolo { position: absolute; right: 4%; top: 50%; width: 300px; transform: translateY(-50%); opacity: .14; pointer-events: none; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--azul-profundo); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem); max-width: 640px; }
.cta p { color: #3a3420; margin: .7rem 0 0; max-width: 600px; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.faq__lado { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__lado p { color: var(--texto-suave); }
.faq__lista { border-top: 1px solid var(--linha); }
.faq__item { border-bottom: 1px solid var(--linha); }
.faq__pergunta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 1.04rem; font-weight: 700; color: var(--azul); text-align: left; line-height: 1.4; min-height: 52px; }
.faq__pergunta:hover { color: var(--ouro-texto); }
.faq__icone { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--linha); color: var(--ouro-texto); transition: transform .3s ease, background-color .3s; }
.faq__icone svg { width: 18px; height: 18px; }
.faq__item.aberto .faq__icone { transform: rotate(45deg); background: var(--azul); color: var(--biscotti); border-color: var(--azul); }
.faq__resposta { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__resposta > div { overflow: hidden; }
.faq__resposta p { color: var(--texto-suave); padding-right: 3rem; margin: 0 0 1.4rem; }
.faq__item.aberto .faq__resposta { grid-template-rows: 1fr; }

/* ---------- Contato ---------- */
.contato__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contato__info p { color: var(--texto-suave); }
.canais { margin-top: 2rem; border-top: 1px solid var(--linha); }
.canais li { border-bottom: 1px solid var(--linha); }
.canais a, .canais .canal { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding: .7rem 0; color: var(--texto); }
.canais a:hover strong { color: var(--ouro-texto); }
.canal__icone { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; background: var(--azul); color: var(--biscotti); }
.canal__icone svg { width: 22px; height: 22px; }
.canais strong { display: block; font-size: .95rem; color: var(--azul); transition: color .2s; line-height: 1.3; }
.canais strong + span { display: block; font-size: .85rem; color: var(--texto-suave); }

.form { position: relative; background: var(--papel); border: 1px solid var(--linha); box-shadow: var(--sombra); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.form::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-ouro); }
.form h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.form > p { color: var(--texto-suave); font-size: .92rem; }
.form__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.campo { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.campo label { font-size: .82rem; font-weight: 700; color: var(--azul); letter-spacing: .02em; }
.campo input, .campo textarea, .campo select { font-family: var(--sans); font-size: 1rem; color: var(--texto); padding: .85rem 1rem; border: 1px solid rgba(28, 46, 94, .25); border-radius: var(--radius); background: #fbfbfd; transition: border-color .2s, box-shadow .2s; min-height: 50px; width: 100%; }
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(210, 160, 71, .22); background: #fff; }
.campo.erro input, .campo.erro textarea { border-color: #b3261e; }
.campo__erro { font-size: .78rem; color: #b3261e; min-height: 0; }
.campo__dica { font-size: .78rem; color: var(--texto-suave); }
.form__lgpd { font-size: .8rem; color: var(--texto-suave); margin: .4rem 0 1.3rem; }
.form__lgpd a { color: var(--azul); text-decoration: underline; text-underline-offset: 2px; }
.form .btn { width: 100%; }
.form .btn.enviando { opacity: .75; pointer-events: none; }

/* ---------- Rodapé ---------- */
.rodape { position: relative; overflow: clip; background: var(--azul-profundo); color: var(--texto-claro-suave); padding-top: clamp(4rem, 3rem + 3vw, 5.5rem); }
.rodape__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--linha-clara); }
.rodape__logo img { height: 46px; width: auto; margin-bottom: 1.3rem; }
.rodape p { font-size: .9rem; color: var(--texto-claro-suave); }
.rodape h4 { color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.rodape__links a { display: inline-flex; min-height: 34px; align-items: center; font-size: .9rem; color: var(--texto-claro-suave); transition: color .2s; }
.rodape__links a:hover { color: var(--biscotti); }
.contatos { display: flex; flex-direction: column; gap: .35rem; }
.contatos a { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; color: var(--texto-claro-suave); font-size: .9rem; transition: color .2s; word-break: break-word; }
.contatos a:hover { color: var(--biscotti); }
.contatos svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--biscotti); }
.rodape__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1.6rem; font-size: .82rem; }
.rodape__base a { color: var(--texto-claro-suave); text-decoration: underline; text-underline-offset: 3px; }
.rodape__base a:hover { color: var(--biscotti); }
.rodape__base nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-flutuante { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
  animation: wa-float 3.2s ease-in-out infinite, wa-pulse 2.8s ease-out 1.2s infinite; will-change: transform, box-shadow; transition: transform .2s; }
.whatsapp-flutuante svg { width: 28px; height: 28px; }
.whatsapp-flutuante:hover { animation-play-state: paused; transform: scale(1.13); }
@keyframes wa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes wa-pulse { 0% { box-shadow: 0 10px 24px -8px rgba(0,0,0,.4), 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 10px 24px -8px rgba(0,0,0,.4), 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 10px 24px -8px rgba(0,0,0,.4), 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- Páginas de serviço ---------- */
.hero--interna { padding-bottom: clamp(6rem, 4.5rem + 4vw, 8rem); }
.hero--interna h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.migalhas { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--texto-claro-suave); margin-bottom: 1.6rem; }
.migalhas a { color: var(--biscotti); }
.migalhas a:hover { text-decoration: underline; }
.migalhas li + li::before { content: '/'; margin-right: .4rem; color: rgba(225, 198, 131, .5); }
.painel__fatos li { display: grid; gap: .25rem; padding: 1.15rem 1.5rem; border-bottom: 1px solid rgba(225, 198, 131, .12); }
.painel__fatos li:last-child { border-bottom: 0; }
.painel__fatos span { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--biscotti); }
.painel__fatos strong { color: #fff; font-size: 1rem; line-height: 1.4; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.intro__grid h2 { margin-bottom: 1.3rem; }
.intro__grid p { color: var(--texto-suave); }
.para-quem { border: 1px solid var(--linha); background: var(--branco); padding: 1.8rem; position: relative; }
.para-quem::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--grad-ouro); }
.para-quem h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-texto); margin-bottom: 1rem; }
.para-quem li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--linha); font-weight: 600; color: var(--azul); font-size: .95rem; line-height: 1.45; }
.para-quem li:last-child { border-bottom: 0; }
.para-quem svg { width: 20px; height: 20px; color: var(--ouro-texto); margin-top: .1rem; }
.escopo__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); background: var(--papel); }
.escopo__item { padding: 1.9rem 1.7rem; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); transition: background-color .25s ease; }
.escopo__item:hover { background: #fbfaf6; }
.escopo__item h3 { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .6rem; font-size: 1.04rem; }
.escopo__item h3 span { flex: 0 0 auto; font-size: .78rem; font-weight: 800; color: var(--ouro-texto); letter-spacing: .1em; margin-top: .2rem; }
.escopo__item p { color: var(--texto-suave); font-size: .92rem; margin: 0; }
.passos-linha { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.passos-linha::before { content: ''; position: absolute; top: 32px; left: 32px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--ouro), var(--azul) 60%, var(--linha)); }
.outras__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.outra { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border: 1px solid var(--linha); background: var(--papel); font-weight: 700; font-size: .9rem; color: var(--azul); line-height: 1.3; transition: border-color .2s, transform .2s, box-shadow .2s; min-height: 72px; }
.outra:hover { border-color: var(--ouro); transform: translateY(-3px); box-shadow: var(--sombra); }
.outra svg { flex: 0 0 auto; width: 26px; height: 26px; color: var(--ouro-texto); }

/* Política */
.texto-legal { max-width: 820px; }
.texto-legal h2 { font-size: 1.35rem; margin: 2.4rem 0 .8rem; }
.texto-legal p, .texto-legal li { color: var(--texto-suave); }
.texto-legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; }
.texto-legal a { color: var(--azul); text-decoration: underline; }

/* ---------- Movimento ---------- */
.animate-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 95ms); }
.animate-on-scroll.da-esquerda { transform: translateX(-36px); }
.animate-on-scroll.da-direita { transform: translateX(36px); }
.animate-on-scroll.visible { opacity: 1; transform: none; }
.animate-in { opacity: 0; animation: entrar .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
.animate-in.da-direita { animation-name: entrar-direita; }
@keyframes entrar { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes entrar-direita { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes deriva { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -16px, 0) rotate(1deg); } }
.decor-drift { animation: deriva 20s ease-in-out infinite; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll, .animate-in { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .decor-drift, .whatsapp-flutuante { animation: none !important; }
  [data-parallax] { transform: none !important; }
  .mobile-menu, .menu-backdrop { transition: none !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero__grid, .sobre__grid, .reforma__grid, .faq__grid, .contato__grid, .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__simbolo { width: 80vw; right: -20%; }
  .servicos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metodo__passos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .metodo__passos::before { display: none; }
  .faq__lado { position: static; }
  .rodape__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .escopo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outras__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .painel { max-width: 560px; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .container { width: min(1200px, 100% - 40px); }
  .header__logo img { height: 34px; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%); }
  .hero__ctas .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; flex-shrink: 1; max-width: 100%; }
  .hero__faixa { right: -10%; }
  .fatos { margin-top: -3rem; }
  .fatos__grid, .servicos__grid, .pilares, .scp__itens, .diferenciais__grid, .escopo__grid, .outras__grid, .form__linha, .rodape__grid { grid-template-columns: minmax(0, 1fr); }
  .fato { border-right: 0; border-bottom: 1px solid var(--linha); padding: 1.3rem 1.3rem; }
  .fato:last-child { border-bottom: 0; }
  .fato__valor { font-size: 1.6rem; }
  .diferencial, .diferencial:nth-child(even) { grid-template-columns: 72px minmax(0, 1fr); padding: 1.8rem 0; border-right: 0; gap: 1rem; }
  .diferencial:nth-child(odd) { border-right: 0; }
  .reforma { clip-path: polygon(0 32px, 100% 0, 100% calc(100% - 32px), 0 100%); padding-block: calc(32px + 4rem); }
  .tributo { grid-template-columns: 70px minmax(0, 1fr); gap: 1rem; padding: 1.1rem; }
  .tributo .tributo__sigla { font-size: 1.6rem; }
  .linha-tempo ol { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-left: 2.2rem; }
  .linha-tempo ol::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--ouro), rgba(225, 198, 131, .25)); }
  .marco { padding: 0; }
  .marco::before { left: -2.2rem; top: 4px; }
  .metodo__passos, .passos-linha { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .passos-linha::before { display: none; }
  .passo { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1.1rem; padding: 0 0 1.8rem; }
  .passo__num { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .passo h3 { align-self: end; }
  .cta__inner .btn { width: 100%; }
  .cta__simbolo { width: 200px; right: -40px; }
  .faq__resposta p { padding-right: 0; }
  .pilar { padding: 1.6rem 1.4rem; }
  .servico { padding: 1.7rem 1.4rem; }
  .whatsapp-flutuante { bottom: 1.2rem; right: 1.2rem; width: 56px; height: 56px; }
  .rodape__base { flex-direction: column; align-items: flex-start; padding-bottom: 5.5rem; }
}

/* Ajustes pós-revisão */
.faq__lado h2 { margin-bottom: 1rem; }
ol.migalhas { margin-bottom: 1.8rem; }
.sobre__grid { align-items: center; }

/* Foto do Sobre: moldura C (retângulo reto + borda de acento deslocada) */
.foto-sobre { position: relative; margin: 0 1.4rem 1.4rem 0; }
.foto-sobre::before { content: ''; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 2px solid var(--ouro); z-index: 0; }
.foto-sobre img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 820 / 940; object-fit: cover; box-shadow: var(--sombra); }
.foto-sobre::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(17, 29, 63, .35)); }
@media (max-width: 1080px) { .foto-sobre { max-width: 520px; } }
@media (max-width: 1080px) { .foto-sobre { order: -1; } }
