/* Elementar Perícias Técnicas: tema do Painel v4 (padrão do kit 1).
   Conceito: laudo e croqui técnico. Cantos retos, filetes de 1 px, marcas de mira da fotografia pericial,
   linhas de cota, numeração de itens como num laudo e a grade de um croqui ao fundo das faixas escuras. */

/* ===== tema ===== */
:root {
  --bg: #F4F6F9;          /* papel de laudo, branco frio */
  --bg-2: #E8EDF3;
  --bg-3: #FFFFFF;
  --ink: #0E1A2C;         /* grafite azulado */
  --ink-2: #33425A;
  --muted: #56657D;
  --line: #D5DCE6;
  --accent: #194080;      /* azul-marinho da marca */
  --accent-hi: #62BEFF;   /* azul-claro da marca: detalhes e faixas escuras */
  --accent-ink: #143468;
  --accent-rgb: 25 64 128;
  --on-accent: #FFFFFF;
  --accent-2: #62BEFF;
  --accent-2-ink: #0B1424;
  --dark: #0B1424;        /* azul-noite das faixas de autoridade */
  --wa: #25D366;
  --wa-ink: #0B2A16;
  --azul-a: #3D74CC;      /* azul médio do "A" do logo */
  --erro: #A8231C;
  --erro-claro: #FFB4AB;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Exo 2', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-2: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 34px);
  --sec: clamp(64px, 8.5vw, 112px);
  --chanfro: 26px;
  --escuro-2: color-mix(in oklab, var(--dark) 86%, var(--accent));
  --escuro-txt: color-mix(in oklab, var(--bg-3) 90%, var(--dark));
  --escuro-muted: color-mix(in oklab, var(--bg-3) 70%, var(--dark));
  --escuro-line: color-mix(in oklab, var(--bg-3) 16%, var(--dark));
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 4.9vw, 4.05rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.65rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.escuro h1 em, .escuro h2 em { color: var(--accent-hi); }
p { margin: 0 0 1em; }
small, figcaption, time, label, legend { font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.escuro :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .menu-celular :focus-visible { outline-color: var(--accent-hi); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent-hi); color: var(--dark); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--dark); }
main:focus { outline: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: calc(800px + var(--gut) * 2); }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i.i-fill { fill: currentColor; stroke: none; }

/* faixas escuras */
.escuro { background: var(--dark); color: var(--escuro-txt); position: relative; isolation: isolate; }
.escuro .lead, .escuro .sub, .escuro .prose { color: var(--escuro-muted); }
.escuro a:not(.btn) { color: var(--accent-hi); }

/* grade de croqui (fundo das faixas escuras) */
.grade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(color-mix(in oklab, var(--accent-hi) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklab, var(--accent-hi) 9%, transparent) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 90% at 75% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(120% 90% at 75% 20%, #000 20%, transparent 75%); }

/* botões (retos) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .78em 1.4em; border: 1.5px solid transparent; border-radius: 0; font-family: var(--font); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: .55em 1.05em; font-size: .94rem; }
.btn-lg { min-height: 56px; padding: .9em 1.65em; font-size: 1.04rem; }
.btn-bloco { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 80%, black); color: var(--on-accent); }
.escuro .btn-primary, .site-header .btn-primary, .item-box-escuro .btn-primary { background: var(--accent-hi); color: var(--dark); }
.escuro .btn-primary:hover, .site-header .btn-primary:hover, .item-box-escuro .btn-primary:hover { background: color-mix(in oklab, var(--accent-hi) 82%, white); color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--bg-3); }
.btn-dark:hover { background: var(--accent); color: var(--bg-3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 40%, transparent); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost-light { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 35%, transparent); }
.btn-ghost-light:hover { border-color: var(--ink); color: var(--ink); }
.escuro .btn-ghost-light, .item-box-escuro .btn-ghost-light, .menu-celular .btn-ghost-light { color: var(--bg-3); border-color: color-mix(in oklab, var(--bg-3) 40%, transparent); }
.escuro .btn-ghost-light:hover, .item-box-escuro .btn-ghost-light:hover, .menu-celular .btn-ghost-light:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: color-mix(in oklab, var(--wa) 85%, white); color: var(--wa-ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* chamada com o triângulo da marca */
.kicker { display: inline-flex; align-items: center; gap: .65em; margin: 0 0 1.1rem; font-family: var(--font-2); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kicker .i { width: 1.15em; height: 1.15em; stroke-width: 1.7; }
.kicker .i-fill { width: 1.05em; height: 1.05em; }
.escuro .kicker { color: var(--accent-hi); }

/* marcas de mira (cantos) e chanfro das fotos */
.mira { position: absolute; inset: 14px; pointer-events: none; }
.mira i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent-hi); }
.mira i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.mira i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.mira i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.mira i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.foto-pericial, .hero-foto { position: relative; margin: 0; overflow: hidden; background: var(--bg-2); clip-path: polygon(var(--chanfro) 0, 100% 0, 100% 100%, 0 100%, 0 var(--chanfro)); }
.foto-pericial img, .hero-foto img { width: 100%; height: 100%; object-fit: cover; }

/* linhas de cota (desenho técnico) */
.cota { position: absolute; display: block; pointer-events: none; color: var(--accent); }
.escuro .cota { color: var(--accent-hi); }
.cota-v { top: 0; bottom: 0; right: -22px; width: 1px; background: currentColor; opacity: .7; }
.cota-v::before, .cota-v::after { content: ""; position: absolute; left: -6px; width: 13px; height: 1px; background: currentColor; }
.cota-v::before { top: 0; }
.cota-v::after { bottom: 0; }
.cota-h { left: 0; right: 0; bottom: -20px; height: 1px; background: currentColor; opacity: .7; }
.cota-h::before, .cota-h::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: currentColor; }
.cota-h::before { left: 0; }
.cota-h::after { right: 0; }

/* revelar ao rolar (só abaixo da dobra; o topo aparece na hora) */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ===== cabeçalho ===== */
.site-header { position: sticky; top: 0; z-index: 80; background: var(--dark); color: var(--bg-3); border-bottom: 1px solid var(--escuro-line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 14px 30px -26px rgb(0 0 0 / .8); }
.header-in { display: flex; align-items: center; gap: 22px; min-height: 84px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 48px; width: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; }
.nav li { position: relative; }
.nav a { display: block; padding: 12px 14px; color: var(--escuro-txt); font-weight: 500; font-size: .98rem; text-decoration: none; position: relative; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--accent-hi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > ul > li > a:hover::after, .nav > ul > li > a.is-atual::after { transform: scaleX(1); }
.nav a:hover { color: var(--bg-3); }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: 4px; }
.sub-btn { width: 30px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--escuro-muted); cursor: pointer; }
.sub-btn .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-sub.is-open .sub-btn .i { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: -10px; z-index: 5; width: 380px; list-style: none; padding: 10px; background: var(--escuro-2); border: 1px solid var(--escuro-line); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.submenu a { display: flex; gap: 12px; align-items: baseline; padding: 9px 10px; font-size: .93rem; line-height: 1.35; color: var(--escuro-txt); border-bottom: 1px solid var(--escuro-line); }
.submenu li:last-child a { border-bottom: 0; }
.submenu a:hover, .submenu a[aria-current] { color: var(--accent-hi); background: color-mix(in oklab, var(--accent-hi) 6%, transparent); }
.sub-n { font-family: var(--font-2); font-size: .74rem; color: var(--accent-hi); flex: none; }
.header-act { display: flex; align-items: center; gap: 10px; }
.menu-btn, .icon-btn { display: none; width: 48px; height: 48px; place-items: center; border: 1.5px solid var(--escuro-line); border-radius: 0; background: transparent; color: var(--bg-3); cursor: pointer; }
.icon-btn { display: grid; }
.menu-btn .i, .icon-btn .i { width: 24px; height: 24px; }

/* menu do celular */
.menu-celular { position: fixed; inset: 0; z-index: 120; background: var(--dark); color: var(--escuro-txt); overflow-y: auto; }
.menu-celular[hidden] { display: none; }
.mc-in { display: flex; flex-direction: column; gap: 22px; min-height: 100%; padding: 16px var(--gut) 32px; }
.mc-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.mc-top img { height: 38px; width: auto; max-width: calc(100% - 64px); object-fit: contain; object-position: left center; }
.mc-lista { list-style: none; border-top: 1px solid var(--escuro-line); }
.mc-lista > li { border-bottom: 1px solid var(--escuro-line); }
.mc-lista > li > a { display: block; padding: 15px 2px; color: var(--bg-3); font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; text-decoration: none; }
.mc-sub { list-style: none; padding: 0 0 14px 14px; border-left: 1px solid var(--accent-hi); margin: -4px 0 0 2px; }
.mc-sub a { display: block; padding: 6px 0; color: var(--escuro-muted); font-size: .95rem; text-decoration: none; }
.mc-wa { display: grid; gap: 10px; }
.mc-info { list-style: none; color: var(--escuro-muted); font-size: .95rem; display: grid; gap: 4px; overflow-wrap: anywhere; }

/* ===== topo (hero) ===== */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--escuro-txt); padding-block: clamp(48px, 6.5vw, 92px) clamp(72px, 8vw, 112px); }
.hero .grade { -webkit-mask-image: radial-gradient(90% 100% at 80% 30%, #000 25%, transparent 78%); mask-image: radial-gradient(90% 100% at 80% 30%, #000 25%, transparent 78%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero .kicker { color: var(--accent-hi); }
.hero h1 { color: var(--bg-3); max-width: 13ch; margin-bottom: .45em; }
.hero h1 em { color: var(--accent-hi); }
.hero .lead { font-size: clamp(1.06rem, 1.45vw, 1.2rem); color: var(--escuro-muted); max-width: 54ch; margin-bottom: 2em; }
.hero .btn-primary { background: var(--accent-hi); color: var(--dark); }
.hero .btn-primary:hover { background: color-mix(in oklab, var(--accent-hi) 82%, white); color: var(--dark); }
.hero .btn-ghost-light { color: var(--bg-3); border-color: color-mix(in oklab, var(--bg-3) 40%, transparent); }
.hero .btn-ghost-light:hover { color: var(--accent-hi); border-color: var(--accent-hi); }
.hero-lado { position: relative; width: 100%; max-width: 460px; justify-self: end; margin-right: 22px; color: var(--accent-hi); }
.hero-foto { aspect-ratio: 713 / 1020; }
.ficha { position: absolute; left: -56px; bottom: 34px; width: min(330px, 86%); background: var(--bg-3); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }
.ficha-t { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; background: var(--accent); color: var(--bg-3); font-family: var(--font-2); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.ficha-t .i { width: 15px; height: 15px; color: var(--accent-hi); }
.ficha dl { margin: 0; display: grid; }
.ficha dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); border-top: 1px solid var(--line); }
.ficha dl div:first-child { border-top: 0; }
.ficha dt { padding: 9px 12px 9px 16px; border-right: 1px solid var(--line); font-family: var(--font-2); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); align-self: center; }
.ficha dd { margin: 0; padding: 9px 14px; font-size: .9rem; font-weight: 600; line-height: 1.35; align-self: center; }

/* ===== faixa de destaques ===== */
.fatos { background: var(--bg-3); border-bottom: 1px solid var(--line); }
.fatos-lista { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fatos-lista > li { border-left: 1px solid var(--line); }
.fatos-lista > li:first-child { border-left: 0; }
.fato { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 28px 22px; color: var(--ink); text-decoration: none; position: relative; }
.fatos-lista > li:first-child .fato { padding-left: 0; }
a.fato:hover { color: var(--accent); }
.fato-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--accent); }
.fato-ic .i { width: 22px; height: 22px; }
.fato-txt strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.fato-txt small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; margin-top: 2px; }
.fato-seta { position: absolute; top: 24px; right: 14px; color: var(--muted); }
.fato-seta .i { width: 16px; height: 16px; }

/* ===== seções ===== */
.sec { padding-block: var(--sec); position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head h2 { margin-bottom: .4em; }
.sec-head .sub { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; }
.sec-head.center .sub { margin-inline: auto; }
.sec-head .sub:last-child { margin-bottom: 0; }
.prose p:last-child { margin-bottom: 0; }
.prose a { font-weight: 500; }

/* quem somos */
.apres { background: var(--bg); }
.apres-in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.apres-foto { position: relative; padding-bottom: 20px; color: var(--accent); }
.apres-foto .foto-pericial { aspect-ratio: 760 / 1139; }
.apres-txt .prose { color: var(--ink-2); font-size: 1.05rem; }
.valores { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px 0; }
.valores li { border-top: 2px solid var(--accent); padding-top: 16px; }
.valor-t { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase; }
.valor-n { font-family: var(--font-2); font-size: .76rem; font-weight: 500; color: var(--accent); letter-spacing: .08em; }
.valor-x { color: var(--muted); font-size: .96rem; }
.valor-x p:last-child { margin: 0; }

/* como podemos ajudar */
.frentes { background: var(--bg-2); }
.frentes-grade { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.frente { display: flex; flex-direction: column; height: 100%; background: var(--bg-3); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.frente:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--ink); }
.frente-foto { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--dark); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.frente-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.frente:hover .frente-foto img { transform: scale(1.04); }
.frente-txt { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.frente-n { font-family: var(--font-2); font-size: .74rem; color: var(--accent); letter-spacing: .1em; margin-bottom: 10px; }
.frente h3 { margin-bottom: .35em; }
.frente p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.frente-mais { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--accent); }
.frente-mais .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.frente:hover .frente-mais .i { transform: translateX(3px); }

/* serviços: índice numerado (home) e cartões (página de serviços) */
.serv-resumo { background: var(--bg-3); }
.serv-completo { background: var(--bg); }
.serv-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(30px, 4vw, 48px); }
.serv-topo .sec-head { margin-bottom: 0; }
.serv-indice { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.serv-linha { display: grid; grid-template-columns: 34px 40px minmax(0, 1fr) 24px; gap: 14px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; height: 100%; }
.serv-linha .serv-n { font-family: var(--font-2); font-size: .82rem; color: var(--accent); padding-top: 3px; }
.serv-linha .serv-ic { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); color: var(--accent); transition: background-color .25s, color .25s; }
.serv-linha .serv-ic .i { width: 22px; height: 22px; }
.serv-linha-txt h3 { font-size: 1.1rem; margin: 0 0 .25em; }
.serv-linha-txt span { display: block; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.serv-seta { color: var(--muted); padding-top: 6px; transition: transform .3s var(--ease), color .25s; }
.serv-seta .i { width: 20px; height: 20px; }
.serv-linha:hover h3 { color: var(--accent); }
.serv-linha:hover .serv-ic { background: var(--accent); color: var(--bg-3); border-color: var(--accent); }
.serv-linha:hover .serv-seta { transform: translateX(3px); color: var(--accent); }
.serv-cards { --gap: 22px; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.serv-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; background: var(--bg-3); border: 1px solid var(--line); border-top: 3px solid var(--accent); transition: border-color .25s, transform .3s var(--ease); }
.serv-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.serv-card-topo { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.serv-card .serv-n { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--accent); }
.serv-card .serv-n small { font-family: var(--font-2); font-weight: 500; font-size: .76rem; color: var(--muted); margin-left: 4px; }
.serv-card .serv-ic { color: var(--azul-a); }
.serv-card .serv-ic .i { width: 34px; height: 34px; stroke-width: 1.3; }
.serv-card-t { font-family: var(--font-display); font-size: 1.24rem; font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
.serv-card-t a { color: var(--ink); text-decoration: none; }
.serv-card-t a::after { content: ""; position: absolute; inset: 0; }
.serv-card-t a:focus-visible { outline: none; }
.serv-card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.serv-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.serv-mais { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--accent); }
.serv-mais .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.serv-card:hover .serv-mais .i { transform: translateX(3px); }

/* tecnologia (faixa escura com croqui) */
.tec { overflow: hidden; }
.tec-bg { position: absolute; inset: 0; z-index: -2; }
.tec-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: .32; }
.tec-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 18%, color-mix(in oklab, var(--dark) 70%, transparent) 60%, color-mix(in oklab, var(--dark) 88%, transparent)); }
.tec-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.tec h2 { color: var(--bg-3); }
.tec .prose { font-size: 1.05rem; max-width: 60ch; }
.checks { list-style: none; display: grid; gap: 10px; margin: 26px 0 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { color: var(--accent-hi); margin-top: .2em; stroke-width: 2; }
.croqui { justify-self: center; width: 100%; max-width: 520px; border: 1px solid var(--escuro-line); background: color-mix(in oklab, var(--dark) 72%, transparent); }
.croqui-svg { display: block; width: 100%; height: auto; }
.croqui-svg path, .croqui-svg circle, .croqui-svg rect { fill: none; vector-effect: non-scaling-stroke; }
.cq-grade path { stroke: color-mix(in oklab, var(--accent-hi) 10%, transparent); stroke-width: 1; }
.cq-via path { stroke: color-mix(in oklab, var(--bg-3) 34%, transparent); stroke-width: 1.2; }
.cq-via .cq-tracejado { stroke-dasharray: 10 10; }
.cq-traj { stroke: var(--accent-hi); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cq-pos { stroke-dasharray: .02 .015; stroke-dashoffset: 0; opacity: .8; }
.cq-veic rect { stroke: var(--bg-3); stroke-width: 1.4; }
.cq-impacto circle, .cq-impacto path { stroke: var(--accent-hi); stroke-width: 1.4; }
.cq-impacto circle:first-child { fill: color-mix(in oklab, var(--accent-hi) 25%, transparent); }
.cq-vetor path { stroke: var(--bg-3); stroke-width: 1.6; }
.cq-cota path { stroke: color-mix(in oklab, var(--accent-hi) 70%, transparent); stroke-width: 1; }
.cq-rot text { fill: var(--accent-hi); font-family: var(--font-2); font-size: 15px; }
.js .croqui .cq-a, .js .croqui .cq-b { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.js .croqui .cq-b { transition-delay: .5s; }
.js .croqui .cq-impacto, .js .croqui .cq-pos, .js .croqui .cq-rot { opacity: 0; transition: opacity .6s ease 1.5s; }
.js .croqui.is-in .cq-a, .js .croqui.is-in .cq-b { stroke-dashoffset: 0; }
.js .croqui.is-in .cq-impacto, .js .croqui.is-in .cq-rot { opacity: 1; }
.js .croqui.is-in .cq-pos { opacity: .8; }

/* para quem trabalhamos */
.publico { background: var(--bg); }
.publico-grade { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pub { height: 100%; padding: 24px 22px; background: var(--bg-3); border: 1px solid var(--line); }
.pub-topo { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.pub-ic { display: grid; place-items: center; width: 50px; height: 50px; background: var(--dark); color: var(--accent-hi); clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); }
.pub-ic .i { width: 24px; height: 24px; }
.pub-n { font-family: var(--font-2); font-size: .74rem; color: var(--muted); }
.pub h3 { margin-bottom: .4em; }
.pub p { color: var(--muted); font-size: .95rem; margin: 0; }

/* instagram */
.insta { background: var(--bg-3); }
.insta-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 26px; }
.insta-topo .sec-head { margin-bottom: 0; }
.insta-perfil { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.insta-conta { font-family: var(--font-2); font-size: .92rem; color: var(--ink-2); text-decoration: none; }
.insta-conta:hover { color: var(--accent); }
.insta-faixa .kig { --kig-raio: 0px; --kig-gap: 6px; }

/* perguntas frequentes */
.faq { background: var(--bg); }
.faq-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-a { padding: 0 2px 22px; color: var(--ink-2); max-width: 66ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* contato */
.contato { background: var(--bg-2); }
.contato-in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.canais { list-style: none; display: grid; border-top: 1px solid var(--line); }
.canais li { border-bottom: 1px solid var(--line); }
.canais a, .canal { display: flex; align-items: center; gap: 14px; padding: 13px 2px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.canais a { transition: color .25s; }
.canais a:hover { color: var(--accent); }
.canal-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; background: var(--bg-3); border: 1px solid var(--line); color: var(--accent); }
.canais small { display: block; color: var(--muted); font-family: var(--font-2); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.canais span { font-weight: 500; }
.mapa { margin-top: 22px; }
.mapa iframe { display: block; width: 100%; height: 300px; border: 1px solid var(--line); }
.contato-form { position: relative; background: var(--bg-3); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: clamp(24px, 3vw, 36px); }
.ficha-canto { position: absolute; top: -3px; right: -1px; width: 46px; height: 46px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%); }

/* formulário do kit */
.q-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.q-form .field { display: grid; gap: 6px; align-content: start; }
.q-form .field-full, .q-form .btn, .q-form .form-note, .q-form .form-ok { grid-column: 1 / -1; }
.q-form label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.q-form .req { color: var(--accent); }
.q-form input, .q-form select, .q-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); border-radius: 0; background: var(--bg-3); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.q-form textarea { min-height: 128px; resize: vertical; }
.q-form input::placeholder, .q-form textarea::placeholder { color: var(--muted); opacity: 1; }
.q-form input:focus, .q-form select:focus, .q-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .18); }
.q-form .invalid input, .q-form .invalid select, .q-form .invalid textarea { border-color: var(--erro); }
.q-form .err { color: var(--erro); font-size: .86rem; font-weight: 600; }
.q-form .err:empty { display: none; }
.q-form .btn { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: .88rem; }
.form-ok { display: none; margin: 0; padding: 12px 14px; background: color-mix(in oklab, var(--wa) 14%, var(--bg-3)); border-left: 3px solid var(--wa); color: var(--ink); font-weight: 600; }
.form-ok.show { display: block; }

/* topo das páginas internas */
.page-top { overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(52px, 7vw, 92px); }
.pt-bg { position: absolute; inset: 0; z-index: -2; }
.pt-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.pt-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 22%, color-mix(in oklab, var(--dark) 55%, transparent)); }
.page-top h1 { color: var(--bg-3); font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 20ch; }
.page-top .lead { max-width: 66ch; margin-bottom: 0; font-size: 1.08rem; }
.page-top .btns { margin-top: 28px; }
.pt-cota { position: absolute; left: var(--gut); right: var(--gut); bottom: 22px; height: 1px; background: color-mix(in oklab, var(--accent-hi) 35%, transparent); max-width: var(--wrap); margin-inline: auto; }
.pt-cota::before, .pt-cota::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: inherit; }
.pt-cota::before { left: 0; }
.pt-cota::after { right: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-family: var(--font-2); font-size: .78rem; letter-spacing: .06em; color: var(--escuro-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--accent-hi); }
.crumbs a { color: var(--escuro-txt); text-decoration: none; }
.crumbs a:hover { color: var(--accent-hi); }

/* história, valores e fundador (Sobre nós) */
.historia { background: var(--bg-3); }
.historia-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.historia .prose { color: var(--ink-2); font-size: 1.05rem; }
.historia-foto { margin: 0; }
.historia-foto .foto-pericial { aspect-ratio: 756 / 505; }
.historia-foto figcaption { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--font-2); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mvv { background: var(--bg); }
.mvv-grade { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mvv-item { height: 100%; padding: 28px 26px; background: var(--bg-3); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.mvv-n { display: block; font-family: var(--font-2); font-size: .76rem; color: var(--accent); margin-bottom: 14px; }
.mvv-item h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; }
.mvv-x { color: var(--muted); }
.mvv-x p:last-child { margin: 0; }
.fundador { background: var(--bg-3); }
.fundador-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.fundador-foto { position: relative; margin-right: 22px; color: var(--accent); }
.fundador-foto .foto-pericial { aspect-ratio: 740 / 1110; }
.fundador .sec-head { margin-bottom: 22px; }
.fundador .sec-head h2 { margin-bottom: .15em; }
.fundador-cargo { font-family: var(--font-2); font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0; }
.fundador .prose { color: var(--ink-2); }
.fundador-listas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 30px 0; padding-top: 26px; border-top: 1px solid var(--line); }
.fundador-listas h3 { font-family: var(--font-2); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 12px; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.fundador .checks { margin: 0; gap: 8px; font-size: .95rem; }
.fundador .checks .i { color: var(--accent); }

/* chamada */
.chamada { background: var(--bg-2); padding-block: clamp(56px, 7vw, 88px); }
.chamada-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(26px, 4vw, 44px); background: var(--bg-3); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.chamada h2 { margin-bottom: .3em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.chamada .lead { margin: 0; max-width: 58ch; color: var(--ink-2); }

/* obrigado */
.obrigado { overflow: hidden; padding-block: clamp(56px, 8vw, 110px); }
.obrigado-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.obrigado h1 { color: var(--bg-3); }
.obrigado .lead { max-width: 50ch; margin-bottom: 1.8em; }
.obrigado-foto { aspect-ratio: 756 / 505; }

/* texto corrido (políticas) */
.texto { background: var(--bg-3); }
.prose-longa { color: var(--ink-2); }
.prose-longa h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 1.8em 0 .6em; color: var(--ink); }
.prose-longa h2:first-child { margin-top: 0; }
.prose-longa ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose-longa li { position: relative; padding-left: 22px; }
.prose-longa li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1.5px; background: var(--accent); }
.prose-longa strong { color: var(--ink); }

/* página do serviço */
.item-corpo { background: var(--bg); }
.item-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.item-texto { background: var(--bg-3); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); font-size: 1.04rem; }
.item-lateral { position: sticky; top: 110px; display: grid; gap: 18px; }
.item-box { background: var(--bg-3); border: 1px solid var(--line); padding: 22px; display: grid; gap: 12px; }
.item-box-escuro { background: var(--dark); color: var(--escuro-txt); border-color: var(--dark); }
.item-box-t { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-family: var(--font-2); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.item-box-escuro .item-box-t { color: var(--accent-hi); }
.item-box-linha { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .92rem; color: var(--escuro-muted); }
.item-box-linha .i { color: var(--accent-hi); margin-top: .15em; }
.item-links { list-style: none; display: grid; }
.item-links a { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: .94rem; line-height: 1.35; text-decoration: none; }
.item-links a:hover { color: var(--accent); }
.item-n { font-family: var(--font-2); font-size: .74rem; color: var(--accent); flex: none; }
.item-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.item-nav a { display: grid; gap: 4px; padding: 18px 20px; background: var(--bg-3); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .25s; }
.item-nav a:hover { border-color: var(--accent); }
.item-nav small { font-family: var(--font-2); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.item-nav span { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.item-nav-p { text-align: right; }

/* 404 */
.nf { overflow: hidden; padding-block: clamp(64px, 9vw, 130px); }
.nf-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.nf h1 { color: var(--bg-3); max-width: 16ch; }
.nf .lead { max-width: 48ch; margin-bottom: 1.8em; }
.nf-art { position: relative; justify-self: center; padding-bottom: 24px; color: var(--accent-hi); }
.nf-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 15vw, 10rem); line-height: .9; color: var(--accent-hi); letter-spacing: -.02em; }

/* ===== rodapé ===== */
.site-footer { background: var(--dark); color: var(--escuro-muted); font-size: .95rem; position: relative; }
.f-cota { height: 1px; background: color-mix(in oklab, var(--accent-hi) 40%, transparent); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .6fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; padding-block: 64px 44px; }
.f-logo { display: block; max-width: 100%; }
.f-logo img { width: 380px; max-width: 100%; height: auto; }
.f-brand p { margin: 20px 0 0; max-width: 38ch; }
.f-redes { list-style: none; display: flex; gap: 10px; margin-top: 22px; }
.f-redes a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--escuro-line); color: var(--bg-3); }
.f-redes a:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
.f-title { font-family: var(--font-2); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); margin: 6px 0 16px; }
.f-col ul { list-style: none; display: grid; gap: 10px; }
.f-col a, .f-linha { color: var(--escuro-txt); text-decoration: none; display: inline-flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; min-width: 0; line-height: 1.45; }
.f-col a:hover { color: var(--accent-hi); }
.f-contato .i { margin-top: .1em; color: var(--accent-hi); }
.f-contato small { color: var(--escuro-muted); font-size: .82rem; margin-left: 4px; }
.f-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 40px; align-items: center; padding-block: 26px; border-top: 1px solid var(--escuro-line); }
.f-news-txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.f-news .f-title { margin: 0; }
.f-news p { margin: 0; }
.nl-form { display: grid; gap: 10px; }
.nl-linha { display: flex; gap: 0; }
.nl-linha input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid var(--escuro-line); border-right: 0; border-radius: 0; background: color-mix(in oklab, var(--dark) 80%, var(--bg-3)); color: var(--bg-3); font: inherit; font-size: .95rem; }
.nl-linha input::placeholder { color: var(--escuro-muted); opacity: 1; }
.nl-linha input:focus { outline: none; border-color: var(--accent-hi); }
.nl-linha .btn { min-height: 46px; padding: .5em 1em; }
.site-footer .btn-primary { background: var(--accent-hi); color: var(--dark); }
.site-footer .btn-primary:hover { background: color-mix(in oklab, var(--accent-hi) 82%, white); color: var(--dark); }
.nl-aceite { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.45; }
.nl-aceite input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-hi); flex: none; }
.nl-aceite label { font-weight: 400; }
.nl-aceite a { color: var(--accent-hi); }
.nl-form .invalid input { border-color: var(--erro-claro); }
.nl-msg { margin: 0; font-size: .86rem; color: var(--erro-claro); }
.nl-ok { margin: 0; padding: 10px 12px; border-left: 3px solid var(--accent-hi); color: var(--bg-3); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-legal { margin: 0 0 20px; font-size: .88rem; }
.f-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-block: 22px 28px; border-top: 1px solid var(--escuro-line); font-size: .86rem; }
.f-bottom p { margin: 0; line-height: 1.7; }
.f-bottom a { color: var(--escuro-txt); }
.f-bottom a:hover { color: var(--accent-hi); }
.dev-sign { display: inline-flex; flex: none; opacity: .62; transition: opacity .25s; margin-right: 78px; margin-bottom: 4px; }
.dev-sign:hover { opacity: 1; }
.dev-sign img { width: 160px; height: 23px; max-width: none; display: block; }

/* ===== WhatsApp flutuante ===== */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-fab { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--wa); color: var(--wa-ink); cursor: pointer; box-shadow: 0 10px 26px -8px rgb(0 0 0 / .45); transition: transform .35s var(--ease); }
.wa-fab .i { width: 30px; height: 30px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: onda 2.4s var(--ease) infinite; }
.wa-fab:hover { transform: scale(1.07); }
@keyframes onda { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-bubble { position: relative; width: min(320px, calc(100vw - 36px)); padding: 20px 18px 18px; background: var(--bg-3); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: 0 24px 50px -24px rgb(0 0 0 / .45); }
.wa-bubble[hidden] { display: none; }
.wa-bubble-titulo { margin: 0 30px 6px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.wa-bubble p { font-size: .95rem; color: var(--ink-2); }
.wa-bubble-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.wa-bubble-x:hover { background: var(--bg); }
.wa-bubble-alt { display: block; margin-top: 12px; font-size: .88rem; color: var(--accent); }

/* ===== responsivo ===== */
@media (max-width: 1240px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .ficha { left: -24px; }
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-news { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .frentes-grade, .publico-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fatos-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fatos-lista > li:nth-child(3) { border-left: 0; }
  .fatos-lista > li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fatos-lista > li:nth-child(3) .fato { padding-left: 0; }
  .serv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 3 colunas: o cartão que sobra sozinho na última linha vai para a coluna do meio; 2 sobrando andam meia coluna */
@media (min-width: 1101px) {
  .serv-cards > :nth-last-child(1 of :not([hidden])):nth-child(3n+1 of :not([hidden])) { translate: calc(100% + var(--gap)) 0; }
  .serv-cards > :nth-last-child(2 of :not([hidden])):nth-child(3n+1 of :not([hidden])),
  .serv-cards > :nth-last-child(1 of :not([hidden])):nth-child(3n+2 of :not([hidden])) { translate: calc(50% + var(--gap) / 2) 0; }
}
/* 2 colunas: o último, se sobrar sozinho */
@media (min-width: 701px) and (max-width: 1100px) {
  .serv-cards > :nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])) { translate: calc(50% + var(--gap) / 2) 0; }
}
@media (max-width: 1040px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .header-in { min-height: 74px; }
  .brand img { height: 46px; }
}
@media (max-width: 960px) {
  .hero-in, .apres-in, .tec-in, .faq-in, .contato-in, .historia-in, .fundador-in, .item-grid, .obrigado-in, .nf-in { grid-template-columns: minmax(0, 1fr); }
  .hero-lado { justify-self: center; width: 100%; max-width: 420px; margin-inline: auto; }
  .ficha { left: -16px; }
  .apres-foto { justify-self: center; width: 100%; max-width: 440px; margin-inline: auto; }
  .historia-foto { justify-self: center; width: 100%; max-width: 640px; margin-inline: auto; }
  .fundador-foto { justify-self: center; width: 100%; max-width: 400px; margin-inline: auto; }
  .obrigado-foto { justify-self: center; width: 100%; max-width: 560px; margin-inline: auto; }
  .croqui { justify-self: center; width: 100%; max-width: 520px; margin-inline: auto; }
  .faq-head, .item-lateral { position: static; }
  .serv-indice { grid-template-columns: minmax(0, 1fr); }
  .nf-art { justify-self: center; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .frentes-grade, .publico-grade, .serv-cards, .mvv-grade, .valores, .fundador-listas, .item-nav { grid-template-columns: minmax(0, 1fr); }
  .fatos-lista { grid-template-columns: minmax(0, 1fr); }
  .fatos-lista > li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .fatos-lista > li:first-child { border-top: 0; }
  .fato { padding: 20px 0 !important; }
  .q-form { grid-template-columns: minmax(0, 1fr); }
  .q-form .btn { justify-self: stretch; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 52px 36px; }
  .f-bottom { flex-direction: column; align-items: center; text-align: center; padding-bottom: 100px; }
  .dev-sign { margin-right: 0; }
  .serv-linha { grid-template-columns: 28px 36px minmax(0, 1fr); }
  .serv-linha .serv-ic { width: 36px; height: 36px; }
  .serv-seta { display: none; }
  .item-nav-p { text-align: left; }
  .cota-v { right: -11px; }
  .hero-lado, .fundador-foto { margin-right: auto; }
}
@media (max-width: 420px) {
  .header-in { gap: 12px; }
  .brand img { height: 38px; }
  .kicker { font-size: .72rem; letter-spacing: .1em; }
  .btns .btn { width: 100%; }
  .ficha { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -40px; }
  .ficha dl div { grid-template-columns: 88px minmax(0, 1fr); }
}

/* CDW assinatura padrao 160x23 */
.cdw-css-guard {}
/* computador: direita, na linha da ultima info, longe do botao do WhatsApp */
.dev-sign { display: flex !important; width: fit-content; flex: 0 0 auto !important; order: 99 !important; line-height: 0; opacity: 1 !important;
  margin: 0 max(0px, calc(var(--cdw-fab, 100px) - (100vw - 100%) / 2)) 0 auto !important; align-self: flex-end !important; justify-self: end !important; }
.dev-sign img { width: 160px !important; height: 23px !important; max-width: none !important; display: block; opacity: 1 !important; }
@media (min-width: 701px) {
  :has(> .dev-sign) { flex-wrap: nowrap !important; }
  :has(> .dev-sign) > :not(.dev-sign) { min-width: 0; }
}
/* celular: texto centralizado -> assinatura centralizada abaixo da ultima linha */
@media (max-width: 700px) {
  .dev-sign { margin: 0 calc((100% - 160px) / 2) !important; align-self: center !important; justify-self: center !important; }
}
/* pagina de links (bio do Instagram): conteudo centralizado -> assinatura centralizada */
.pg-links .dev-sign, .tpl-links .dev-sign { margin: 6px auto 0 !important; align-self: center !important; justify-self: center !important; }
