/* Conserlav — conserlav.com.br
   Mobile em primeiro lugar: 360–430 px é o principal; desktop a partir de 981 px. */

/* ============ Fontes (no próprio site: mais rápido e sem enviar o IP do visitante ao Google) ============ */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/inter-v20-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/fonts/outfit-v15-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* fontes de reserva com métricas parecidas: o texto não "pula" quando a fonte chega */
/* (valores medidos com as próprias fontes: largura média de um texto do site e altura das letras) */
@font-face { font-family: 'Inter Fallback'; font-weight: 400 500; src: local('Arial'), local('ArialMT'), local('Helvetica'); size-adjust: 106.65%; ascent-override: 90.96%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 600 800; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'); size-adjust: 102.22%; ascent-override: 94.89%; descent-override: 23.48%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback R'; font-weight: 400 500; src: local('Roboto'), local('Roboto-Regular'), local('Roboto Regular'); size-adjust: 107.3%; ascent-override: 90.3%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback R'; font-weight: 600 800; src: local('Roboto Bold'), local('Roboto-Bold'), local('Roboto'); size-adjust: 108.4%; ascent-override: 89.4%; descent-override: 22.3%; line-gap-override: 0%; }
@font-face { font-family: 'Outfit Fallback'; font-weight: 800; src: local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 97.1%; ascent-override: 103%; descent-override: 26.8%; line-gap-override: 0%; }
@font-face { font-family: 'Outfit Fallback'; font-weight: 600 700; src: local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 95.76%; ascent-override: 104.43%; descent-override: 27.15%; line-gap-override: 0%; }
@font-face { font-family: 'Outfit Fallback R'; font-weight: 600 800; src: local('Roboto Bold'), local('Roboto-Bold'), local('Roboto'); size-adjust: 102%; ascent-override: 98%; descent-override: 25.5%; line-gap-override: 0%; }

/* ============ Tokens ============ */
:root {
  --azul: #1b9de2;
  --azul-esc: #0b6fb0;
  --azul-900: #083a5c;
  --azul-claro: #e9f6fe;
  --grafite: #1f2227;
  --grafite-2: #2c3037;
  --noite: #0f1a24;
  --texto: #1d2329;
  --muted: #56606b;
  --borda: #e3e9ef;
  --bg: #ffffff;
  --bg-alt: #f3f7fa;
  --laranja: #ef6c12;
  --wa: #0f7a3c;          /* branco sobre ele: 5,4:1 */
  --wa-hover: #0d6e36;
  --wa-vivo: #25d366;
  --verde-claro: #5ee08f;
  --raio: 16px;
  --raio-sm: 12px;
  --raio-lg: 22px;
  --sombra: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .07);
  --sombra-hover: 0 2px 6px rgba(16, 24, 40, .08), 0 18px 42px rgba(16, 24, 40, .14);
  --fonte: 'Inter', 'Inter Fallback', 'Inter Fallback R', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fonte-tit: 'Outfit', 'Outfit Fallback', 'Outfit Fallback R', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --header-h: 72px;
  --gutter: 20px;
  --sec-y: clamp(52px, 9vw, 88px);
  --barra-h: 78px;
  /* movimento */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-rapido: .18s;
  --t-medio: .35s;
  --t-lento: .6s;
  --t-revela: .6s;
  --stagger: 60ms;
  --dist: 16px;
}
@media (min-width: 981px) { :root { --dist: 24px; } }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-tap-highlight-color: transparent; }
body { margin: 0; font-family: var(--fonte); font-size: 1.0625rem; line-height: 1.65; color: var(--texto); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-esc); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--azul-900); }
h1, h2, h3, h4 { font-family: var(--fonte-tit); line-height: 1.16; color: var(--grafite); margin: 0 0 .6em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 700; }
::selection { background: rgba(27, 157, 226, .22); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; box-shadow: var(--sombra-hover); }
.skip:focus { left: 8px; }
main:focus { outline: none; }
/* foco visível em qualquer fundo */
:focus-visible { outline: 3px solid var(--azul-esc); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .cta-band :focus-visible, .cta-box :focus-visible, .section--dark :focus-visible, .service-card--cta :focus-visible, .aside-card--cta :focus-visible, .footer :focus-visible { outline-color: #fff; }
.btn--wa:focus-visible, .mobile-bar a:focus-visible { box-shadow: 0 0 0 6px rgba(8, 58, 92, .45); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.container--narrow { max-width: 860px; }
.container--article { max-width: 1120px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.icon--xs { width: .8em; height: .8em; }
.icon--star { color: #f5a524; fill: #f5a524; }
.mt { margin-top: 26px; }

/* ============ Botões ============ */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .8em 1.3em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--fonte); touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: transform var(--t-rapido) var(--ease-out), background-color var(--t-rapido), box-shadow var(--t-medio) var(--ease-out), color var(--t-rapido), border-color var(--t-rapido); }
.btn:active { transform: scale(.97); }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn .icon + .icon { margin-left: -4px; }
.btn--lg { min-height: 54px; padding: .95em 1.55em; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn--block { display: flex; width: 100%; }
.btn--wa { background: linear-gradient(135deg, #13803f, var(--wa)); color: #fff; box-shadow: 0 8px 22px rgba(15, 122, 60, .3); }
.btn--wa:hover, .nav .btn--wa:hover { color: #fff; background: linear-gradient(135deg, var(--wa), var(--wa-hover)); }
.btn--primary { background: var(--azul-esc); color: #fff; box-shadow: 0 8px 20px rgba(11, 111, 176, .25); }
.btn--primary:hover { background: var(--azul-900); color: #fff; }
.btn--light { background: #fff; color: var(--grafite); border-color: #fff; }
.btn--light:hover { color: var(--azul-esc); }
.btn--ghost { background: transparent; color: var(--azul-esc); border-color: currentColor; }
.btn--ghost:hover { background: var(--azul-claro); color: var(--azul-900); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn--wa:hover { box-shadow: 0 14px 30px rgba(15, 122, 60, .36); }
}
/* brilho que passa no botão principal (só na 1ª página da visita) */
.btn--wa.btn--lg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-110%); pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.3em 0 .4em; }
.resp-time { display: flex; align-items: center; gap: .55em; font-size: .92rem; color: var(--muted); margin: .7em 0 0; line-height: 1.45; }
.resp-time .icon { color: var(--wa); flex: none; }

/* ============ Topbar e cabeçalho ============ */
.topbar { background: var(--grafite); color: #cfd6de; font-size: .84rem; }
.topbar__in { display: flex; gap: 22px; justify-content: flex-end; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { color: var(--azul); }
.topbar__resp { color: #fff; }
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--borda); transition: transform var(--t-medio) var(--ease-out), box-shadow var(--t-medio), border-color var(--t-medio); }
/* fundo no pseudo-elemento: assim o menu (position: fixed) não fica preso dentro do cabeçalho */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.header.is-scrolled { box-shadow: 0 8px 24px rgba(16, 24, 40, .08); border-color: transparent; }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--grafite); min-height: 44px; }
.logo__img { width: 52px; height: auto; transition: transform var(--t-medio) var(--ease-spring); }
.logo:active .logo__img { transform: rotate(-12deg) scale(.95); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-family: var(--fonte-tit); font-size: 1.45rem; font-weight: 800; letter-spacing: .01em; color: var(--grafite); }
.logo__text strong span { color: var(--azul); }
.logo__text small { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 12px; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--grafite); text-decoration: none; white-space: nowrap; transition: background-color var(--t-rapido), color var(--t-rapido); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--azul-esc); background: var(--azul-claro); }
.nav .btn--wa { color: #fff; }
.nav__extra { display: none; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 310px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--borda); border-radius: 14px; box-shadow: var(--sombra-hover); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t-rapido), transform var(--t-medio) var(--ease-out), visibility 0s var(--t-medio); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-rapido), transform var(--t-medio) var(--ease-out); }
.nav .sub a { display: flex; gap: 10px; width: 100%; padding: 10px 12px; white-space: normal; }
.sub .icon { color: var(--azul); }
.nav-toggle { display: none; position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; border-radius: 14px; color: var(--grafite); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle:active { background: var(--azul-claro); }
.burger { position: relative; display: block; width: 24px; height: 18px; }
.burger span { position: absolute; left: 0; top: 0; width: 100%; height: 2.5px; border-radius: 3px; background: currentColor; transition: transform var(--t-medio) var(--ease-out), opacity var(--t-rapido); }
.burger span:nth-child(2) { transform: translateY(7.75px); }
.burger span:nth-child(3) { transform: translateY(15.5px); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: translateY(7.75px) scaleX(.2); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(7.75px) rotate(-45deg); }
.nav-backdrop { display: none; }

/* ============ Trilha (breadcrumb) ============ */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.breadcrumb li { color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #9aa4ae; }
.breadcrumb a { color: inherit; display: inline-block; padding: 12px 0; margin: -12px 0; }
.hero .breadcrumb li, .hero .breadcrumb a { color: #e1eaf2; }
.hero .breadcrumb li[aria-current] { color: #fff; }

/* ============ Hero ============ */
.hero { position: relative; isolation: isolate; background: radial-gradient(1200px 500px at 85% -10%, rgba(27, 157, 226, .35), transparent 60%), linear-gradient(135deg, var(--grafite) 0%, #18324a 55%, var(--azul-esc) 130%); color: #e8eef4; padding: 56px 0 64px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #dbe5ee; max-width: 40em; }
.hero .resp-time { color: #cbd7e2; }
.hero .resp-time .icon { color: var(--verde-claro); }
.hero .btn--ghost { color: #fff; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__media { position: relative; border-radius: var(--raio-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.hero__media img { width: 100%; object-fit: cover; }
.hero__media picture { display: contents; }
.hero--home { padding: 64px 0 76px; }
.hero--home h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero--compact { padding: 44px 0 40px; }
.hero__trust { display: flex; flex-direction: column; gap: 6px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--azul-esc); margin-bottom: 12px; }
.hero .kicker { color: #bfe6ff; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 22px 0 0; font-size: .95rem; color: #dbe6ef; }
.hero__chips li { display: inline-flex; align-items: center; gap: 6px; }
.hero__chips .icon { color: var(--verde-claro); }

/* ============ Seções ============ */
.section { padding: var(--sec-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--alt + .section--alt { background: var(--bg); }
.section--dark { background: radial-gradient(900px 400px at 100% 0%, rgba(27, 157, 226, .18), transparent 60%), var(--grafite); color: #dfe6ec; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #8fd3f7; }
.section--dark a:not(.btn) { color: #fff; }
.section--dark .checklist li { color: #dfe6ec; }
.section-head { max-width: 760px; margin: 0 0 36px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--azul-esc); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.case__body .eyebrow::before { display: none; }
.section-sub { color: var(--muted); font-size: 1.08rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section > .container > .grid-2 + *, .section > .container > .grid-3 + *, .section > .container > .grid-4 + * { margin-top: 28px; }

/* Cartões */
.card { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px; box-shadow: var(--sombra); }
.card h3 { margin-top: 2px; }
.card p:last-child { margin-bottom: 0; }
.card-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--azul-claro); color: var(--azul-esc); margin-bottom: 14px; }
.card-icon .icon { width: 26px; height: 26px; }
.section--alt .card { box-shadow: none; }

/* Serviços */
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px; text-decoration: none; color: var(--texto); box-shadow: var(--sombra); transition: transform var(--t-medio) var(--ease-out), box-shadow var(--t-medio) var(--ease-out), border-color var(--t-rapido); }
a.service-card:active { transform: scale(.98); }
.service-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--azul), var(--azul-esc)); color: #fff; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(11, 111, 176, .25); transition: transform var(--t-medio) var(--ease-spring); }
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--azul-esc); font-size: .95rem; }
.service-card__more .icon { transition: transform var(--t-medio) var(--ease-out); }
.service-card--cta { background: radial-gradient(500px 240px at 100% 0%, rgba(27, 157, 226, .25), transparent 60%), var(--grafite); color: #dfe6ec; border-color: var(--grafite); }
.service-card--cta h3 { color: #fff; }
.service-card--cta p { color: #c9d2db; }
@media (hover: hover) and (pointer: fine) {
  a.service-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); border-color: #bfe2f6; color: var(--texto); }
  a.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.06); }
  a.service-card:hover .service-card__more .icon { transform: translateX(4px); }
}

/* Imagem + texto */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 64px; }
.split--reverse .split-media { order: 2; }
.split--top { align-items: start; }
.split-media img, .media img, .figure img { border-radius: var(--raio); box-shadow: var(--sombra); width: 100%; }
.split-text > *:last-child { margin-bottom: 0; }
.media { margin: 0 0 1.4em; border-radius: var(--raio); background-color: #e6edf2; }
.section--dark .media { background-color: #2a323b; }
.figure { margin: 1.6em 0; }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; line-height: 1.45; }
/* foto que chega depois: aparece suave sobre a cor média dela (o JS só marca imagens ainda não carregadas) */
img.img-fade { opacity: 0; }
img.img-fade.is-loaded { opacity: 1; transition: opacity .5s var(--ease-out); }

/* Listas */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat; }
/* Passo a passo em linha do tempo */
.steps { list-style: none; counter-reset: passo; padding: 0; margin: 0 0 1.2em; display: grid; gap: 0; }
.steps li { counter-increment: passo; position: relative; padding: 6px 0 24px 60px; }
.steps li::before { content: counter(passo); position: absolute; left: 0; top: 0; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--azul), var(--azul-esc)); color: #fff; font-weight: 800; font-family: var(--fonte-tit); font-size: 1.05rem; box-shadow: 0 0 0 5px var(--azul-claro), 0 8px 18px rgba(11, 111, 176, .25); }
.steps li::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(var(--azul), rgba(27, 157, 226, .12)); transform-origin: top; }
.steps li:last-child { padding-bottom: 4px; }
.steps li:last-child::after { display: none; }
.steps li strong { display: block; color: var(--grafite); font-family: var(--fonte-tit); font-size: 1.08rem; margin-bottom: 2px; }
.section--dark .steps li strong { color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1em; }
.tags li { padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--borda); font-weight: 600; font-size: .92rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.callout { border-left: 4px solid var(--azul); background: var(--azul-claro); padding: 18px 22px; border-radius: 0 var(--raio) var(--raio) 0; margin: 1.4em 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--warn { border-color: var(--laranja); background: #fff4ea; }
.callout--tip { border-color: var(--wa); background: #ecf8f0; }
/* Tabela com sombra indicando que dá para arrastar para o lado */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--borda); border-radius: var(--raio); -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)), linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 70%) 100% 0, radial-gradient(farthest-side at 0 50%, rgba(16, 24, 40, .16), transparent), radial-gradient(farthest-side at 100% 50%, rgba(16, 24, 40, .16), transparent) 100% 0;
  background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; background-attachment: local, local, scroll, scroll; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--borda); vertical-align: top; }
.table-wrap th { background: rgba(243, 247, 250, .85); font-weight: 700; color: var(--grafite); }
.table-wrap tr:last-child td { border-bottom: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose > *:first-child { margin-top: 0; }

/* ============ Chamadas (CTA) ============ */
.cta-box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; margin: 2em 0; padding: 26px 28px; border-radius: var(--raio-lg); background: radial-gradient(500px 220px at 100% 0%, rgba(27, 157, 226, .35), transparent 60%), linear-gradient(135deg, var(--grafite), #17344d); color: #fff; box-shadow: var(--sombra-hover); }
.cta-box__title { font-family: var(--fonte-tit); font-size: 1.35rem; font-weight: 700; margin: 0; color: #fff; line-height: 1.25; text-wrap: balance; }
.cta-box .resp-time { color: #c9d6e2; }
.cta-box .resp-time .icon { color: var(--verde-claro); }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box .btn--ghost { color: #fff; }
.cta-box .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.cta-band { position: relative; overflow: hidden; background: radial-gradient(600px 260px at 100% 0%, rgba(27, 157, 226, .4), transparent 60%), linear-gradient(120deg, #0a5c93, var(--azul-esc)); color: #fff; padding: 60px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 40em; color: #fff; }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band .btn--light { color: var(--azul-900); }

/* ============ Perguntas frequentes ============ */
.faq details { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); margin-bottom: 12px; overflow: hidden; transition: border-color var(--t-medio), box-shadow var(--t-medio); }
.faq details[open] { border-color: #bfe2f6; box-shadow: var(--sombra); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; min-height: 56px; font-weight: 700; color: var(--grafite); position: relative; font-size: 1.04rem; line-height: 1.4; -webkit-user-select: none; user-select: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--azul-esc); transition: transform var(--t-medio) var(--ease-out); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] > summary::before { transform: rotate(0deg); }
.faq summary:active { background: var(--bg-alt); }
.faq__a { padding: 0 20px 18px; color: #39424c; }
.faq__a p:last-child { margin: 0; }

/* ============ Blog ============ */
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); transition: transform var(--t-medio) var(--ease-out), box-shadow var(--t-medio) var(--ease-out); }
.post-card__media { display: block; overflow: hidden; background-color: #e6edf2; }
.post-card__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .8s var(--ease-out); }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--azul-esc); margin-bottom: 6px; }
.post-card h3 { font-size: 1.14rem; line-height: 1.28; }
.post-card h3 a { color: var(--grafite); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card__meta { margin-top: auto; margin-bottom: 0; font-size: .85rem !important; }
.post-card:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .post-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }
  .post-card:hover img { transform: scale(1.05); }
  .post-card h3 a:hover { color: var(--azul-esc); }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1px solid var(--borda); background: #fff; min-height: 44px; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; color: var(--grafite); white-space: nowrap; transition: background-color var(--t-rapido), color var(--t-rapido), border-color var(--t-rapido), transform var(--t-rapido); }
.chip:active { transform: scale(.96); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--azul-esc); border-color: var(--azul-esc); color: #fff; }
@media (hover: hover) { .chip:hover { border-color: var(--azul-esc); color: var(--azul-esc); } .chip.is-active:hover { color: #fff; } }
.blog-grid > [hidden] { display: none; }
.article-head { padding: 36px 0 12px; background: linear-gradient(180deg, var(--bg-alt), #fff); }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 22em; }
.article-head .lead { font-size: 1.15rem; color: #3b4550; max-width: 44em; }
.article-meta { font-size: .92rem; color: var(--muted); }
.article-cover { margin: 24px 0 0; border-radius: var(--raio-lg); overflow: hidden; box-shadow: var(--sombra); }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 36px; padding-bottom: 56px; }
.article-body { max-width: none; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside-card { border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; background: #fff; }
.aside-card--cta { background: radial-gradient(300px 160px at 100% 0%, rgba(27, 157, 226, .3), transparent 60%), var(--grafite); color: #d7dfe7; border-color: var(--grafite); }
.aside-card--cta .btn { margin-top: 10px; }
.aside-card--cta .btn--ghost { color: #fff; }
.aside-card--cta .resp-time { color: #c0ccd8; }
.aside-card__title { font-family: var(--fonte-tit); font-weight: 700; font-size: 1.15rem; color: inherit; margin-bottom: 6px; }
.aside-card--cta .aside-card__title { color: #fff; }
.aside-link { display: flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; min-height: 44px; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 22px; border-radius: var(--raio); background: var(--bg-alt); border: 1px solid var(--borda); }
.author-box__img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box__img--logo { object-fit: contain; border-radius: 18px; background: #fff; padding: 6px; }
.author-box p { margin: 0; font-size: .96rem; }
.author-box__name { font-weight: 700; color: var(--grafite); margin-bottom: 4px !important; }
/* barra de progresso de leitura */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--azul), var(--verde-claro)); transform-origin: 0 50%; transform: scaleX(0); }

/* ============ Avaliações e casos ============ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px; box-shadow: var(--sombra); }
.review footer { font-size: .9rem; color: var(--muted); }
.review--google { position: relative; overflow: hidden; background: radial-gradient(400px 200px at 100% 0%, rgba(245, 165, 36, .12), transparent 60%), linear-gradient(135deg, var(--azul-claro), #fff); }
.review--google__title { display: flex; align-items: center; gap: 8px; font-family: var(--fonte-tit); font-weight: 700; font-size: 1.2rem; color: var(--grafite); }
.review--google .btn--light { border-color: var(--borda); }
.cases { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio-lg); padding: 24px; box-shadow: var(--sombra); }
.case__media { border-radius: var(--raio-sm); background-color: #e6edf2; }
.case__media img { border-radius: var(--raio-sm); width: 100%; }
.case__facts { display: grid; gap: 12px; margin: 0 0 1em; }
.case__facts dt { font-weight: 700; color: var(--azul-esc); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; }
.case__facts dd { margin: 2px 0 0; }
.rating { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; text-decoration: none; color: inherit; font-size: .95rem; min-height: 32px; }
.rating strong { font-size: 1.05rem; }
.rating__stars { display: inline-flex; gap: 1px; }
.rating--hero { margin-top: 6px; color: #fff; }
.rating--hero span:last-child { color: #c9d6e2; text-decoration: underline; text-underline-offset: 3px; }
.rating--big { margin: 4px 0 14px; color: var(--grafite); }
.rating--big strong { font-size: 1.7rem; font-family: var(--fonte-tit); }
.rating--big .icon { width: 1.3em; height: 1.3em; }

/* ============ Mapa e contato ============ */
.map-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border-radius: var(--raio-lg); overflow: hidden; border: 1px solid var(--borda); background: #fff; box-shadow: var(--sombra); }
.map-block__info { padding: 32px; }
.map-block__map { position: relative; min-height: 340px; }
.map-block__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* mapa ilustrado leve: o Google Maps só carrega quando a pessoa toca (no celular abre o app de mapas) */
.map-facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; text-decoration: none; color: var(--grafite); overflow: hidden;
  background-color: #e8eef2;
  background-image:
    linear-gradient(118deg, transparent 46%, #fff 46.2%, #fff 49.8%, transparent 50%),
    linear-gradient(28deg, transparent 63%, rgba(255, 255, 255, .95) 63.2%, rgba(255, 255, 255, .95) 65.4%, transparent 65.6%),
    radial-gradient(circle at 78% 22%, #cfe8d4 0 54px, transparent 55px),
    radial-gradient(circle at 16% 82%, #d5e9f6 0 70px, transparent 71px),
    linear-gradient(90deg, rgba(255, 255, 255, .75) 2px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, .75) 2px, transparent 2px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 44px 44px, 44px 44px; }
.map-facade__pin { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #ef4444, #c81e1e); box-shadow: 0 12px 24px rgba(200, 30, 30, .35); }
.map-facade__pin .icon { width: 28px; height: 28px; color: #fff; transform: rotate(45deg); }
.map-facade__text { display: grid; gap: 2px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: var(--sombra); margin-top: 12px; }
.map-facade__text strong { font-size: 1rem; }
.map-facade__text small { color: var(--muted); font-size: .85rem; }
.map-facade__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--grafite); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: 0 8px 18px rgba(16, 24, 40, .25); transition: transform var(--t-rapido); }
.map-facade:active .map-facade__btn { transform: scale(.96); }
.map-facade.is-loading .map-facade__btn::after { content: ""; width: 14px; height: 14px; margin-left: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: girar .8s linear infinite; }
.nap { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.nap li { display: flex; gap: 10px; align-items: flex-start; }
.nap .icon { color: var(--azul); margin-top: .25em; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; min-height: 72px; padding: 16px 18px; border-radius: var(--raio); border: 1px solid var(--borda); background: #fff; text-decoration: none; color: var(--texto); box-shadow: var(--sombra); transition: transform var(--t-rapido), border-color var(--t-rapido); line-height: 1.45; }
.contact-card .card-icon { margin: 0; flex: none; }
.contact-card strong { display: block; color: var(--grafite); }
a.contact-card:active { transform: scale(.98); }
a.contact-card:hover { border-color: #bfe2f6; color: var(--texto); }

/* ============ Rodapé ============ */
.footer { background: var(--grafite); color: #b9c3cd; font-size: .95rem; padding-top: 56px; }
.footer a { color: #e3eaf0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer__title { font-family: var(--fonte-tit); color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.footer__group > summary { list-style: none; }
.footer__group > summary::-webkit-details-marker { display: none; }
.logo--footer .logo__text strong { color: #fff; }
.logo--footer .logo__text small { color: #9aa6b2; }
.logo--footer { margin-bottom: 14px; }
.footer .nap { margin-top: 14px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .86rem; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__cookies { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: #e3eaf0; cursor: pointer; border-radius: 4px; }
.footer__cookies:hover { color: #fff; text-decoration: underline; }
html:not(.js) .footer__cookies, html:not(.js) .footer__sep { display: none; }
.mobile-bar { display: none; }
.rail-dots { display: none; }
@media (min-width: 641px) { .footer__group > summary { pointer-events: none; } }

/* ============ Páginas especiais ============ */
.big-404 { font-family: var(--fonte-tit); font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; color: var(--azul-claro); -webkit-text-stroke: 2px var(--azul); margin: 0 0 .1em; }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #ecf8f0; color: var(--wa); margin-bottom: 18px; }
.thanks-icon .icon { width: 40px; height: 40px; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 18px; display: flex; gap: 12px; align-items: center; }
.stat .card-icon { margin: 0; flex: none; }
.stat strong { display: block; color: var(--grafite); line-height: 1.25; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ============ Notebooks pequenos ============ */
@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 8px 7px; font-size: .9rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .logo__text small { display: none; }
  .hero--home h1 { font-size: 2.6rem; }
  .hero h1 { font-size: 2.3rem; }
}

/* ============ Tablet e celular (menu recolhido) ============ */
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  html { scroll-padding-bottom: calc(var(--barra-h) + env(safe-area-inset-bottom) + 16px); }
  html.tem-cookie { scroll-padding-bottom: calc(var(--barra-h) + var(--cookie-h, 180px) + 24px); }
  .topbar { display: none; }
  /* sem vidro fosco nos elementos fixos: rolagem mais leve em celular simples */
  .header::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .nav-toggle { display: inline-flex; }
  .nav__cta { display: none; }
  /* painel do menu */
  .nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; left: auto; width: min(100%, 420px); z-index: 5; display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 14px max(var(--gutter), env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) var(--gutter); background: #fff; overflow-x: hidden; overflow-x: clip; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease-in), visibility 0s .3s; box-shadow: -24px 0 60px rgba(10, 16, 24, .18); }
  .nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav > ul > li > a:not(.btn) { display: flex; justify-content: space-between; min-height: 52px; padding: 12px 14px; font-size: 1.08rem; border-radius: 14px; }
  .nav > ul > li > a .icon--xs { display: none; }
  .nav > ul > li > a:active { background: var(--azul-claro); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 2px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; transition: none; }
  .sub li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .nav .sub a { flex-direction: row; align-items: center; gap: 10px; height: 100%; min-height: 60px; padding: 10px 12px 10px 10px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--borda); font-size: .88rem; line-height: 1.22; font-weight: 600; }
  .nav .sub a .icon { width: 22px; height: 22px; padding: 6px; border-radius: 10px; background: #fff; box-sizing: content-box; flex: none; }
  .nav .sub a[aria-current="page"] { border-color: #bfe2f6; }
  .nav__extra { display: grid; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--borda); }
  .nav__extra-btns { display: grid; gap: 10px; }
  .nav__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); line-height: 1.45; }
  .nav__info li { display: flex; gap: 8px; align-items: flex-start; }
  .nav__info .icon { color: var(--azul); margin-top: .15em; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(10, 16, 24, .5); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out); }
  .nav-backdrop[hidden] { display: none; }
  .nav-backdrop { touch-action: none; }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  /* trava a rolagem só no body (com overflow no <html> o cabeçalho "grudado" saía da tela) */
  html.menu-aberto body { overflow: hidden; }
  html.menu-aberto .header { z-index: 100; transform: none !important; transition: none !important; box-shadow: none; }
  html.menu-aberto .mobile-bar { transform: translateY(120%); }
  /* esconde o cabeçalho ao rolar para baixo, mostra ao rolar para cima */
  .header.is-hidden { transform: translateY(calc(-100% - 2px)); box-shadow: none; }
  .header.is-hidden .nav:not(.is-open) { visibility: hidden; transition: none; }
  /* com o cabeçalho deslocado, o menu fechado (fora da tela, à direita) alargava a página e o celular
     "afastava" a tela: a barra fixa do WhatsApp escorregava para fora da vista. O corte lateral impede isso. */
  .header { overflow-x: clip; }

  .hero__in, .split, .case, .map-block, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .hero__in { gap: 28px; }
  .split { gap: 24px; }
  .split + .split { margin-top: 48px; }
  .split--reverse .split-media { order: 0; }
  /* no celular: rótulo e título antes da foto, depois o texto */
  .split:has(> .split-media) { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .split:has(> .split-media) > .split-text { display: contents; }
  .split:has(> .split-media) > .split-text > .eyebrow { order: 1; align-self: flex-start; }
  .split:has(> .split-media) > .split-text > h2 { order: 2; }
  .split:has(> .split-media) > .split-media { order: 3; margin: 4px 0 22px; }
  .split:has(> .split-media) > .split-text > :not(.eyebrow):not(h2) { order: 4; }
  .split:has(> .split-media) .split-media .media { margin: 0; }
  .grid-3, .grid-4, .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-aside { order: 2; }
  .aside-sticky { position: static; }
  .article-aside .aside-card--cta { display: none; }

  /* hero com a foto ao fundo */
  .hero--home .hero__media, .hero--page .hero__media { position: absolute; inset: 0; z-index: -1; border-radius: 0; box-shadow: none; }
  .hero--home .hero__media img, .hero--page .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
  .hero--home .hero__media::after, .hero--page .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 28, .62) 0%, rgba(12, 20, 28, .76) 34%, rgba(12, 20, 28, .9) 66%, var(--noite) 100%); }
  .hero--home, .hero--page:not(.hero--compact) { background: var(--noite); }
  .hero h1, .hero .lead, .hero .kicker, .hero .breadcrumb { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
  .hero__in .kicker { padding: 5px 12px; border-radius: 999px; background: rgba(12, 20, 28, .6); text-shadow: none; }
  .hero__in .breadcrumb { text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }

  /* barra fixa de contato */
  .mobile-bar { display: grid; grid-template-columns: auto 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(255, 255, 255, .97); border-top: 1px solid rgba(16, 24, 40, .06); box-shadow: 0 -8px 28px rgba(16, 24, 40, .1); transition: transform var(--t-medio) var(--ease-out); }
  /* some inteira (com a sombra) ao rolar para baixo e volta ao rolar para cima */
  .mobile-bar.is-hidden { transform: translateY(calc(100% + 40px)); }
  .mobile-bar a { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 16px; border-radius: 16px; font-weight: 700; text-decoration: none; font-size: 1rem; touch-action: manipulation; transition: transform var(--t-rapido) var(--ease-out); }
  .mobile-bar a:active { transform: scale(.96); }
  .mobile-bar__tel { background: var(--azul-claro); color: var(--azul-900); }
  .mobile-bar__tel .icon { width: 1.25em; height: 1.25em; }
  .mobile-bar__tel .icon + .icon { margin-left: -6px; }
  .mobile-bar__wa { justify-content: flex-start; background: linear-gradient(135deg, #13803f, var(--wa)); color: #fff; box-shadow: 0 8px 22px rgba(15, 122, 60, .35); }
  .mobile-bar__wa > .icon { width: 1.7em; height: 1.7em; }
  .mobile-bar__wa::before { content: ""; position: absolute; inset: -3px; border-radius: 19px; border: 2px solid var(--wa-vivo); opacity: 0; pointer-events: none; }
  .mobile-bar__label { display: grid; line-height: 1.15; text-align: left; }
  .mobile-bar__label strong { font-size: 1.02rem; }
  .mobile-bar__label small { font-size: .78rem; font-weight: 600; opacity: .95; }
  body { padding-bottom: calc(var(--barra-h) + env(safe-area-inset-bottom)); }
}
@media (min-width: 641px) and (max-width: 980px) {
  .rail, .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .rail .post-card__body, .related-grid .post-card__body { padding: 16px; }
  .rail .post-card h3, .related-grid .post-card h3 { font-size: 1.02rem; }
}
@media (max-width: 480px) {
  .nav { width: 100%; box-shadow: none; }
}

/* sem JS (o script do <head> marca .js na hora): menu visível em linha, sem botão */
@media (max-width: 980px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header__in { flex-wrap: wrap; }
  html:not(.js) .nav { position: static; width: 100%; transform: none; visibility: visible; box-shadow: none; padding: 0 0 16px; overflow: visible; }
  html:not(.js) .header { position: static; }
  html:not(.js) .nav > ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav .sub, html:not(.js) .nav__extra { display: none; }
  html:not(.js) .chips { display: none; }
}

/* ============ Celular ============ */
@media (max-width: 640px) {
  :root { --gutter: 18px; --raio: 18px; }
  body { font-size: 1rem; line-height: 1.62; }
  h1 { font-size: clamp(1.9rem, 8.2vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6.6vw, 1.95rem); }
  h3 { font-size: 1.1rem; }
  .section-head { margin-bottom: 24px; }
  .section-sub { font-size: 1rem; }
  .logo__img { width: 42px; }
  .logo__text strong { font-size: 1.28rem; }
  .logo__text small { font-size: .75rem; letter-spacing: 0; }

  /* trilha numa linha só, com reticências no item atual */
  .breadcrumb ol { flex-wrap: nowrap; white-space: nowrap; }
  .breadcrumb li { flex: none; }
  .breadcrumb li[aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

  /* hero */
  .hero, .hero--home { padding: 30px 0 34px; }
  .hero--compact { padding: 28px 0 26px; }
  .hero--home h1 { font-size: clamp(2.1rem, 9.4vw, 2.7rem); line-height: 1.08; }
  .hero .lead { font-size: 1.04rem; line-height: 1.55; }
  .hero .breadcrumb ol { margin-bottom: 12px; font-size: .82rem; }
  .btn-row { gap: 10px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero__trust { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
  .hero__trust .resp-time { margin: 0; font-size: .86rem; }
  .hero__trust .rating--hero { margin: 0; font-size: .88rem; }
  .hero__chips { flex-wrap: nowrap; overflow-x: auto; margin: 14px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 2px; font-size: .86rem; gap: 8px; scrollbar-width: none; overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 32px), transparent); }
  .hero__chips::-webkit-scrollbar { display: none; }
  .hero__chips li { flex: none; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }

  /* grades e cartões em linhas compactas */
  .grid-2, .grid-3, .grid-4, .stat-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { padding: 18px; }
  .card--icon { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; }
  .card--icon .card-icon { grid-row: span 3; width: 46px; height: 46px; margin: 0; }
  .card--icon h3 { margin: 2px 0 4px; font-size: 1.05rem; }
  .card--icon p { font-size: .94rem; }
  .service-grid { gap: 10px; }
  a.service-card { display: grid; grid-template-columns: 52px 1fr 22px; grid-template-areas: "icone titulo seta" "icone texto seta"; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px; }
  a.service-card .service-card__icon { grid-area: icone; align-self: start; width: 52px; height: 52px; margin: 0; border-radius: 15px; }
  a.service-card .service-card__icon .icon { width: 27px; height: 27px; }
  a.service-card h3 { grid-area: titulo; margin: 0; font-size: 1.04rem; }
  a.service-card p { grid-area: texto; margin: 0; font-size: .88rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  a.service-card .service-card__more { grid-area: seta; font-size: 0; justify-content: flex-end; }
  a.service-card .service-card__more .icon { width: 22px; height: 22px; color: var(--azul-esc); }
  .service-card--cta { padding: 20px; margin-top: 4px; }
  .tags { gap: 6px; }
  .tags li { padding: 6px 12px; font-size: .86rem; box-shadow: none; }

  /* carrossel horizontal (dicas na home) */
  .rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 84%; scroll-snap-align: start; }
  .rail-dots, .section > .container > .rail + .rail-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
  .rail-dots span { width: 8px; height: 8px; border-radius: 99px; background: #c9d4de; transition: transform var(--t-medio) var(--ease-spring), background-color var(--t-medio); }
  .rail-dots span[aria-current="true"] { transform: scale(1.5); background: var(--azul-esc); }

  /* filtros do blog numa linha que desliza */
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }

  /* lista do blog e "continue lendo": miniatura ao lado */
  .blog-grid, .related-grid { gap: 12px; }
  .blog-grid .post-card, .related-grid .post-card { flex-direction: row; min-height: 124px; }
  .blog-grid .post-card__media, .related-grid .post-card__media { flex: 0 0 36%; }
  .blog-grid .post-card__media img, .related-grid .post-card__media img { height: 100%; aspect-ratio: auto; }
  .blog-grid .post-card__body, .related-grid .post-card__body { padding: 12px 14px; }
  .blog-grid .post-card__cat, .related-grid .post-card__cat { font-size: .68rem; margin-bottom: 4px; }
  .blog-grid .post-card h3, .related-grid .post-card h3 { font-size: .98rem; line-height: 1.3; margin-bottom: 6px; }
  .blog-grid .post-card p:not(.post-card__cat):not(.post-card__meta), .related-grid .post-card p:not(.post-card__cat):not(.post-card__meta) { display: none; }
  .blog-grid .post-card__meta, .related-grid .post-card__meta { font-size: .78rem !important; }
  .post-card__body { padding: 16px 18px 18px; }

  /* artigo */
  .article-head { padding: 22px 0 6px; }
  .article-head h1 { font-size: clamp(1.75rem, 7.6vw, 2.2rem); }
  .article-head .lead { font-size: 1.04rem; }
  .article-meta { font-size: .84rem; line-height: 1.5; }
  .article-cover { margin: 16px calc(-1 * var(--gutter)) 0; border-radius: 0; box-shadow: none; }
  .article-layout { padding-top: 24px; gap: 28px; }
  .prose { font-size: 1.03rem; line-height: 1.7; }
  .prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
  .prose .figure, .prose .media { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .prose .figure img, .prose .media img { border-radius: 0; box-shadow: none; }
  .prose .figure figcaption { padding: 0 var(--gutter); }
  .table-wrap { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-left: 0; border-right: 0; }
  .table-wrap table { font-size: .9rem; }
  .callout { padding: 16px 18px; margin-inline: calc(-1 * var(--gutter) / 2); }
  .author-box { padding: 16px; gap: 14px; align-items: flex-start; }
  .author-box__img { width: 56px; height: 56px; }

  /* passos, casos, CTA */
  .steps li { padding-left: 56px; }
  .steps li strong { font-size: 1.02rem; }
  .case { padding: 14px; gap: 16px; }
  .case__body { padding: 0 6px 6px; }
  .cta-box { padding: 22px 20px; border-radius: 20px; }
  .cta-box__title { font-size: 1.22rem; }
  .cta-box__actions, .cta-box__actions .btn { width: 100%; }
  .cta-band { padding: 44px 0 48px; text-align: center; }
  .cta-band__in { justify-content: center; }
  .cta-band p { margin-inline: auto; }
  .cta-band .btn-row { width: 100%; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .review { padding: 20px; }
  .review--google { text-align: center; }
  .review--google__title, .review--google .rating { justify-content: center; }
  .review--google .rating { display: flex; }

  /* mapa e contato */
  .map-block__info { padding: 22px 20px; }
  .map-block__map { min-height: 280px; }
  .map-block .btn-row .btn { flex: 1 1 100%; }

  /* rodapé: grupos recolhíveis */
  .footer { padding-top: 40px; font-size: .95rem; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 20px; }
  .footer__brand { margin-bottom: 18px; }
  .footer__group { border-top: 1px solid rgba(255, 255, 255, .1); }
  .footer__group:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .footer__group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin: 0; cursor: pointer; }
  .footer__group > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #8fd3f7; border-bottom: 2px solid #8fd3f7; transform: translateY(-3px) rotate(45deg); transition: transform var(--t-medio) var(--ease-out); }
  .footer__group[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .footer__group ul { padding: 0 0 14px; }
  .footer__group li { margin: 0; }
  .footer__group li a { display: block; padding: 9px 0; }
  .footer__bottom-in { flex-direction: column; gap: 8px; }
}
@media (max-width: 400px) {
  .btn--lg { font-size: 1rem; padding-inline: 1.1em; }
  .cta-box { padding-inline: 16px; }
  .cta-box .btn { font-size: .95rem; padding-inline: 1em; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .mobile-bar a { padding: 0 13px; }
  .mobile-bar__label small { display: none; }
}
@media (max-width: 359px) {
  .logo__text small { display: none; }
}

/* ============ Movimento ============ */
@keyframes surgir { from { opacity: 0; transform: translateY(18px); } }
@keyframes subir { from { transform: translateY(14px); } }
@keyframes zoomSuave { from { transform: scale(1.08); } }
@keyframes brilho { to { transform: translateX(110%); } }
@keyframes anel { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.4); } }
@keyframes barraEntra { from { transform: translateY(110%); } }
@keyframes itemMenu { from { opacity: 0; transform: translateX(24px); } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes pino { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(-6px, -6px); } }
@keyframes cresce { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
  /* topo da página: só deslocamento. Nada acima da dobra começa invisível (não atrasa o carregamento) */
  .hero__text > *, .article-head .container > :not(.article-cover) { animation: subir var(--t-lento) var(--ease-out) backwards; }
  .hero__text > :nth-child(2) { animation-delay: .04s; }
  .hero__text > :nth-child(3) { animation-delay: .08s; }
  .hero__text > :nth-child(n+4) { animation-delay: .12s; }
  .article-head .container > :nth-child(n+3) { animation-delay: .06s; }
  .hero__media img, .article-cover img { animation: zoomSuave 2.4s var(--ease-out) backwards; }
  /* destaques só na 1ª página da visita; o anel do WhatsApp só quando o botão do topo sai da tela */
  .primeira .hero .btn--wa.btn--lg::after { animation: brilho 1.1s var(--ease-in-out) 1.2s 1 backwards; }
  .primeira .mobile-bar { animation: barraEntra .6s var(--ease-out) .35s backwards; }
  .wa-destaque .mobile-bar__wa.is-chamando::before { animation: anel 1.6s var(--ease-out) 3; }
  .map-facade.is-visivel .map-facade__pin { animation: pino 1.2s var(--ease-in-out) .2s 2; }

  /* revelação ao rolar: só existe quando o JS marca o elemento (sem JS nada fica escondido) */
  .rv { opacity: 0; transform: translate3d(0, var(--dist), 0); transition: opacity var(--t-revela) var(--ease-out), transform var(--t-revela) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
  .rv.rv-in { opacity: 1; transform: none; }
  .steps li.rv::after { transform: scaleY(0); transition: transform .9s var(--ease-out) calc(var(--i, 0) * var(--stagger) + .25s); }
  .steps li.rv-in::after { transform: scaleY(1); }
  .rv.service-card .service-card__icon, .rv.card .card-icon { transform: scale(.6) rotate(-10deg); transition: transform .7s var(--ease-spring) calc(var(--i, 0) * var(--stagger) + .15s); }
  .rv-in.service-card .service-card__icon, .rv-in.card .card-icon { transform: none; }

  /* menu: itens entrando em cascata */
  .nav.is-open > ul > li, .nav.is-open .nav__extra { animation: itemMenu .5s var(--ease-out) backwards; }
  .nav.is-open > ul > li:nth-child(2) { animation-delay: .04s; }
  .nav.is-open > ul > li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open > ul > li:nth-child(4) { animation-delay: .12s; }
  .nav.is-open > ul > li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open > ul > li:nth-child(6) { animation-delay: .2s; }
  .nav.is-open > ul > li:nth-child(7) { animation-delay: .24s; }
  .nav.is-open .nav__extra { animation-delay: .28s; }

  /* barra de leitura do artigo (do início ao fim do texto) sem JS onde houver suporte */
  @supports (animation-timeline: view()) and (timeline-scope: --a) {
    .tipo-article { timeline-scope: --artigo; }
    .article-body { view-timeline: --artigo block; }
    .read-progress span { animation: cresce linear both; animation-timeline: --artigo; animation-range: contain 0% contain 100%; }
  }

  /* transição suave entre páginas (Chrome/Edge; os outros navegadores só trocam a página) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
  .header { view-transition-name: cabecalho; }
  .mobile-bar { view-transition-name: barra-contato; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
@media print {
  .header, .topbar, .mobile-bar, .footer, .cta-band, .article-aside, .read-progress, .nav-backdrop { display: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}
