/* =========================================================
   Rumo Isenções | Layout v2
   Mesma marcação do wireframe aprovado; vira o style.css do tema.
   Direção: fundo branco e cinza frio, caixas grandes em azul
   profundo para dar contraste, âmbar como cor de destaque,
   verde vivo só no WhatsApp. Muito respiro entre os blocos.
   Fontes hospedadas no próprio site (sem Google Fonts, LGPD):
   Fraunces nos títulos, Atkinson Hyperlegible Next no texto.
   ========================================================= */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --navy-950: #0d1830;
  --navy-900: #13213f;   /* caixas de contraste */
  --navy-800: #1c2d52;
  --navy-700: #2d3b5c;   /* azul do logo */
  --navy-100: #e6ebf4;
  --amber-500: #f2a51a;  /* destaque (dourado do logo, mais vivo) */
  --amber-600: #d98e05;
  --amber-100: #fff3d9;
  --amber-text: #9a6200; /* âmbar para texto sobre fundo claro */
  --wa-500: #25d366;     /* WhatsApp, sempre com texto azul escuro (8,9:1) */
  --wa-600: #1fbb59;
  --green-text: #1b7f3b;
  --gray-50: #f4f6fa;
  --gray-100: #e9edf4;
  --line: #dde3ec;
  --line-strong: #7a8499;
  --ink: #13213f;
  --muted: #56607a;
  --on-dark: #c3ccdd;
  --error: #b42318;

  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(13, 24, 48, .06), 0 4px 14px rgba(13, 24, 48, .05);
  --shadow: 0 2px 6px rgba(13, 24, 48, .05), 0 18px 44px rgba(13, 24, 48, .09);
  --tap: 48px;
  --maxw: 1240px;
  --gutter: 20px;
  --space: 80px;          /* respiro vertical entre seções */
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --box-x: 12px;          /* recuo lateral das caixas azuis no celular */
}
@media (min-width: 960px) { :root { --gutter: 48px; --space: 112px; --box-x: 0px; } }
@media (min-width: 1200px) { :root { --header-h: 80px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-text); font-size: 1rem; line-height: 1.65; color: var(--ink); background: #fff; overflow-x: clip; }
body.has-wa-bar { padding-bottom: 84px; }
@media (min-width: 960px) { body.has-wa-bar { padding-bottom: 0; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; box-shadow: 0 0 0 7px var(--amber-500); border-radius: 6px; }
::selection { background: var(--amber-500); color: var(--navy-950); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--navy-900); text-wrap: balance; }
h1, h2 { font-family: var(--font-title); font-weight: 600; font-optical-sizing: auto; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(1.9rem, 1.45rem + 1.8vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); }
h3, h4 { font-family: var(--font-text); font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .4em; }
.lead { font-size: clamp(1.0625rem, 1rem + .25vw, 1.15rem); line-height: 1.6; color: var(--muted); }
.small { font-size: .925rem; color: var(--muted); }
.microcopy { font-size: .925rem; color: var(--muted); margin: 16px 0 0; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.22em; }

:root {
  --i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
  --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.container { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; position: relative; }
.section--fill { background: var(--gray-50); }
.section__head { max-width: 680px; margin-bottom: 40px; }
@media (min-width: 960px) { .section__head { margin-bottom: 52px; } }
.section__head .lead { margin-bottom: 0; }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { gap: 24px; } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 32px; align-items: center; }
.grid > *, .split > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* caixas azuis de contraste: banner, topo das páginas, serviços da Home, faixa final */
.hero > .container,
main > section:first-child:has(.breadcrumb) > .container,
section[aria-labelledby="h-servicos"] > .container,
.cta-band > .container {
  position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark);
  border-radius: var(--r); margin-left: var(--box-x); margin-right: var(--box-x);
}
@media (min-width: 960px) {
  .hero > .container,
  main > section:first-child:has(.breadcrumb) > .container,
  section[aria-labelledby="h-servicos"] > .container,
  .cta-band > .container { max-width: var(--maxw); margin-left: auto; margin-right: auto; border-radius: var(--r-lg); }
}
:is(.hero > .container, main > section:first-child:has(.breadcrumb) > .container, section[aria-labelledby="h-servicos"] > .container, .cta-band > .container) :is(h1, h2, h3, h4) { color: #fff; }
:is(.hero > .container, main > section:first-child:has(.breadcrumb) > .container, section[aria-labelledby="h-servicos"] > .container, .cta-band > .container) :focus-visible { outline-color: #fff; }
:is(.hero > .container, main > section:first-child:has(.breadcrumb) > .container, section[aria-labelledby="h-servicos"] > .container, .cta-band > .container) .btn:not(.btn--wa):not(.btn--primary) { border-color: rgba(255,255,255,.55); color: #fff; }
:is(.hero > .container, main > section:first-child:has(.breadcrumb) > .container, section[aria-labelledby="h-servicos"] > .container, .cta-band > .container) .btn:not(.btn--wa):not(.btn--primary):hover { background: #fff; color: var(--navy-900); border-color: #fff; }
:is(.hero > .container, main > section:first-child:has(.breadcrumb) > .container, section[aria-labelledby="h-servicos"] > .container, .cta-band > .container) .link-arrow { color: var(--amber-500); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border: 2px solid var(--navy-900); border-radius: 999px;
  background: transparent; color: var(--navy-900); font: 700 1rem/1.2 var(--font-text);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--navy-900); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-950); }
.btn--primary:hover { background: var(--amber-600); border-color: var(--amber-600); color: var(--navy-950); }
.btn--ghost { border-color: var(--line-strong); }
.btn--block, .btn--block-mobile { width: 100%; }
@media (min-width: 640px) { .btn--block-mobile { width: auto; } }
.btn--wa { background: var(--wa-500); border-color: var(--wa-500); color: var(--navy-950); }
.btn--wa:hover { background: var(--wa-600); border-color: var(--wa-600); color: var(--navy-950); }
.btn--wa::before { content: ""; width: 20px; height: 20px; flex: 0 0 20px; background: currentColor; -webkit-mask: var(--i-chat) center / contain no-repeat; mask: var(--i-chat) center / contain no-repeat; }
.btn .ico--fim { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.btn:hover .ico--fim { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-weight: 700; color: var(--navy-900); text-decoration: none; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- etiquetas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li + li { margin-top: 0; }
.chip { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .chips--scroll { flex-wrap: wrap; overflow: visible; } }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: .95rem; margin-bottom: 24px; }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumb li + li { margin-top: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: inherit; }
.breadcrumb [aria-current] { color: #fff; font-weight: 700; }

/* =========== BARRA DE APROVAÇÃO (sai do tema) =========== */
.cl-bar { background: var(--navy-950); color: var(--on-dark); font-size: .9rem; }
.cl-bar__inner { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; padding: 8px var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.cl-bar strong { color: #fff; }
.cl-bar a { color: var(--amber-500); font-weight: 700; }
.modo-cliente .wf-only, .modo-cliente .wf-n, .modo-cliente .tag { display: none !important; }
.a-definir { display: inline-block; padding: 0 8px; border: 1.5px dashed currentColor; border-radius: 6px; font-size: .85em; font-weight: 600; opacity: .8; }

/* =========== CABEÇALHO =========== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; border-radius: 8px; }
.site-logo img { height: 40px; width: auto; }
@media (min-width: 1200px) { .site-logo img { height: 48px; } }
.site-nav { display: none; margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav li + li { margin-top: 0; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--navy-900); white-space: nowrap; border-radius: 10px; }
.site-nav a:hover { background: var(--gray-50); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--amber-500); }
.site-header__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-header__cta-long { display: none; }
.site-header .btn--wa { min-height: 46px; padding: 10px 20px; font-size: .95rem; white-space: nowrap; }
.site-header .btn--wa::before { width: 20px; height: 20px; flex-basis: 20px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border: 2px solid var(--navy-900); border-radius: 999px; background: #fff; color: var(--navy-900); font: 700 1rem var(--font-text); cursor: pointer; }
.menu-toggle::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-menu) center / contain no-repeat; mask: var(--i-menu) center / contain no-repeat; }
.menu-toggle[aria-expanded="true"]::before { -webkit-mask-image: var(--i-x); mask-image: var(--i-x); }
@media (max-width: 519px) {
  .site-header__inner { gap: 8px; }
  .site-logo img { height: 38px; }
  .site-header .btn--wa { padding: 10px 14px; gap: 8px; }
  .menu-toggle { width: var(--tap); padding: 0; justify-content: center; font-size: 0; }
  .menu-toggle::before { width: 22px; height: 22px; }
}
@media (max-width: 359px) { .site-header__cta-short { display: none; } .site-header .btn--wa { width: var(--tap); padding: 0; } }
@media (min-width: 1200px) {
  .site-nav { display: block; }
  .site-header__actions { margin-left: 16px; }
  .menu-toggle, .site-header__cta-short { display: none; }
  .site-header__cta-long { display: inline; }
}
.mobile-menu { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px var(--gutter) 28px; }
.mobile-menu li + li { margin-top: 0; }
.mobile-menu li a:not(.btn) { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); font-family: var(--font-title); font-size: 1.4rem; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.mobile-menu .btn { margin-top: 24px; }
.site-header--landing .site-header__actions { margin-left: auto; }

/* =========== BANNER DA HOME E DA LANDING =========== */
/* caixa azul: texto à esquerda, foto ocupando a metade direita */
.hero { padding: 16px 0 0; }
@media (min-width: 960px) { .hero { padding: 32px 0 0; } }
.hero > .container { padding: 0; }
.hero .split { gap: 0; align-items: stretch; }
.hero .split > div:first-child { padding: 32px 24px 36px; display: flex; flex-direction: column; justify-content: center; }
.hero .foto { order: -1; position: relative; }
.hero .foto img { width: 100%; height: 100%; aspect-ratio: 16 / 10; max-height: 48vh; }
@media (min-width: 960px) {
  .hero .split { grid-template-columns: 1.1fr 1fr; min-height: 620px; }
  .hero .split > div:first-child { padding: 72px 24px 120px 72px; }
  .hero:not([data-hero]) .split > div:first-child { padding-bottom: 72px; }
  .hero .foto { order: 0; }
  .hero .foto img { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
  .hero .foto::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 28%; background: linear-gradient(90deg, var(--navy-900), rgba(19, 33, 63, 0)); pointer-events: none; }
}
.hero h1, .hero h2 { font-family: var(--font-title); font-size: clamp(2rem, 1.45rem + 2.2vw, 3.2rem); margin-bottom: 20px; }
.hero .lead { color: #fff; font-weight: 600; margin-bottom: 12px; }
.hero__slide > .split > div:first-child > p:not(.lead):not(.microcopy) { color: var(--on-dark); max-width: 50ch; }
.hero .btn-row { margin-top: 32px; }
.hero .microcopy { color: var(--on-dark); }
.hero__slide[hidden] { display: none; }
.hero__slide { animation: surge .5s var(--ease); }
@keyframes surge { from { opacity: 0; } to { opacity: 1; } }

/* Home: banner em largura total, azul até a borda, foto sangrando à direita */
.hero[data-hero] { position: relative; overflow: hidden; padding: 0; background: var(--navy-900); }
.hero[data-hero] > .container { position: static; overflow: visible; background: none; border-radius: 0; margin: 0 auto; max-width: calc(var(--maxw) + 2 * var(--gutter)); padding: 0 var(--gutter); }
.hero[data-hero] .foto { margin: 0 calc(-1 * var(--gutter)); }
.hero[data-hero] .split > div:first-child { padding: 32px 0 8px; }
.hero[data-hero] h1, .hero[data-hero] h2 { font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.12; }
.hero[data-hero] .lead { font-size: 1.1rem; }
.hero[data-hero] .hero__slide > .split > div:first-child > p:not(.lead):not(.microcopy) { font-size: .975rem; }
.hero[data-hero] .btn-row { margin-top: 28px; }
@media (min-width: 960px) {
  .hero[data-hero] .split { display: block; min-height: 0; }
  .hero[data-hero] .split > div:first-child { width: 50%; min-height: 540px; padding: 72px 0 24px; }
  .hero[data-hero] .foto { position: absolute; top: 0; right: 0; bottom: 0; width: 47%; margin: 0; }
  .hero[data-hero] .foto img { position: absolute; inset: 0; height: 100%; }
  .hero[data-hero] .foto::after { width: 32%; }
  .hero[data-hero] .hero__controls { position: static; padding: 0 0 56px; }
}
.hero__controls { display: flex; align-items: center; gap: 6px; padding: 8px 0 32px; flex-wrap: wrap; }
@media (min-width: 960px) { .hero__controls { position: absolute; left: 72px; bottom: 44px; padding: 0; } }
.hero__controls button { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: #fff; font: 700 .9rem var(--font-text); cursor: pointer; }
.hero__controls button:hover { border-color: #fff; }
.hero__controls [data-hero-prev], .hero__controls [data-hero-next] { padding: 0; }
.hero__controls .ico { width: 20px; height: 20px; }
.hero__dots { display: flex; }
.hero__dots button { min-width: 32px; padding: 0; border: 0 !important; font-size: 0; }
.hero__dots button::after { content: ""; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.4); transition: width .3s var(--ease), background-color .3s; }
.hero__dots button[aria-current="true"]::after { width: 26px; background: var(--amber-500); }
[data-hero-play] { margin-left: 6px; }

/* =========== FAIXA DE MARCAS: caixa sutil, uma linha =========== */
.marcas { padding: 72px 0; background: #fff; }
.marcas > .container { max-width: var(--maxw); padding: 28px 24px; background: var(--gray-50); border: 1px solid var(--line); border-radius: var(--r); margin: 0 var(--box-x); }
@media (min-width: 960px) { .marcas { padding: 88px 0; } .marcas > .container { margin: 0 auto; padding: 32px 48px; } }
.marcas__list { list-style: none; display: flex; gap: 36px; overflow-x: auto; padding: 0; margin: 0; scrollbar-width: none; }
.marcas__list::-webkit-scrollbar { display: none; }
.marcas__list li + li { margin-top: 0; }
.marcas__item { flex: 0 0 auto; display: grid; place-items: center; height: 40px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #6b7487; }
@media (min-width: 960px) { .marcas__list { justify-content: space-between; overflow: visible; } }
.marcas .small { text-align: center; margin: 16px auto 0 !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
@media (min-width: 960px) { .marcas .small { white-space: nowrap; } }

/* =========== FOTOS E ESPAÇOS DE FOTO =========== */
.foto { margin: 0; }
.foto img { width: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); background: var(--gray-100); }
.foto-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 260px; padding: 28px;
  border-radius: var(--r); text-align: center; color: var(--navy-700); font-size: .98rem; line-height: 1.45;
  background: repeating-linear-gradient(-45deg, rgba(45,59,92,.045) 0 12px, transparent 12px 24px), var(--gray-100);
  border: 2px dashed #b9c2d3;
}
.foto-slot__ico { width: 36px; height: 36px; color: var(--amber-text); margin-bottom: 4px; }
.foto-slot strong { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); }
.foto-slot span { max-width: 36ch; }
.split > .foto-slot { min-height: 360px; }

/* =========== CARDS =========== */
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.card h3, .card p { margin: 0; }
.card__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: auto; padding-top: 8px; }
.card > .foto--card, .card > .foto-slot.foto--card { margin: -24px -24px 10px; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.card > .foto--card img { aspect-ratio: 3 / 2; transition: transform .6s var(--ease); }
.card > .foto-slot.foto--card { min-height: 0; aspect-ratio: 3 / 2; border-width: 0 0 2px; font-size: .82rem; padding: 16px; gap: 4px; }
.card > .foto-slot.foto--card strong { font-size: .7rem; }
.card > .foto-slot.foto--card .foto-slot__ico { width: 28px; height: 28px; }

/* grupos: 4 lado a lado também em Quem tem direito */
@media (min-width: 1100px) { #grupos .grid--2 { grid-template-columns: repeat(4, 1fr); } }
/* grupos */
.card-grupo { transition: box-shadow .3s var(--ease); }
.card-grupo:hover { box-shadow: var(--shadow); }
.card-grupo:hover > .foto--card img { transform: scale(1.03); }
.card-grupo h3 { font-family: var(--font-title); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.card-grupo > p { color: var(--muted); }
.card-grupo .card__links { flex-direction: column; gap: 0; }
.card-grupo .card__links .link-arrow:last-child { color: var(--green-text); }
.card-grupo__toggle { align-self: flex-start; margin-top: 6px; min-height: 44px; padding: 8px 18px; font-size: .925rem; }
.card-grupo__toggle[aria-expanded="true"] { background: var(--navy-900); color: #fff; }
.card-grupo__panel { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }
.card-grupo__panel h4 { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; }
.card-grupo__panel { font-size: .95rem; }
.card-grupo__panel ul { list-style: none; padding: 0; }
.card-grupo__panel ul li { position: relative; padding-left: 34px; }
.card-grupo__panel ul li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1830' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.card-grupo__panel .btn-row { margin-top: 20px; }

/* =========== SERVIÇOS (Home): dentro da caixa azul =========== */
section[aria-labelledby="h-servicos"] { background: #fff; }
section[aria-labelledby="h-servicos"] > .container { padding: 48px 24px; }
@media (min-width: 960px) { section[aria-labelledby="h-servicos"] > .container { padding: 72px 64px; } }
section[aria-labelledby="h-servicos"] .grid { gap: 0 40px; }
.card-servico { gap: 10px; }
section[aria-labelledby="h-servicos"] .card-servico { background: transparent; box-shadow: none; border-radius: 0; padding: 24px 0 8px; gap: 6px; border-top: 1px solid rgba(255,255,255,.14); }
section[aria-labelledby="h-servicos"] .card-servico p { color: var(--on-dark); font-size: .925rem; }
section[aria-labelledby="h-servicos"] .card-servico h3 { font-size: 1.0625rem; }
section[aria-labelledby="h-servicos"] .card-servico .link-arrow { min-height: 40px; font-size: .925rem; }
.card-servico__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 6px; background: var(--amber-500); color: var(--navy-950); }
.card-servico__icon .ico { width: 22px; height: 22px; }
@media (min-width: 960px) {
  section[aria-labelledby="h-servicos"] .card-servico:first-child { grid-column: span 2; }
  section[aria-labelledby="h-servicos"] .card-servico:first-child h3 { font-family: var(--font-title); font-weight: 600; font-size: 1.45rem; max-width: 18ch; }
}
section[aria-labelledby="h-servicos"] .btn-row { margin-top: 36px; }

/* =========== COMO FUNCIONA =========== */
#como-funciona, body[data-pagina="home"] section[aria-labelledby="h-grupos"] { background: var(--gray-50); }
.caminho { list-style: none; counter-reset: etapa; padding: 0; margin: 0; display: grid; gap: 16px; }
.caminho__etapa { counter-increment: etapa; position: relative; margin: 0 !important; padding: 22px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.caminho__etapa::before { content: counter(etapa); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; margin-bottom: 14px; background: var(--amber-500); color: var(--navy-950); font: 600 1.25rem/1 var(--font-title); }
.caminho__etapa:last-child::before { background: var(--wa-500); }
.caminho__etapa h3 { font-size: 1.05rem; margin: 0 0 6px; }
.caminho__etapa > .small { margin-bottom: 6px; }
.caminho__etapa details summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; list-style: none; font-weight: 700; font-size: .9rem; color: var(--navy-900); }
.caminho__etapa details summary::-webkit-details-marker { display: none; }
.caminho__etapa details summary::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-chevron) center / contain no-repeat; mask: var(--i-chevron) center / contain no-repeat; transition: transform .2s; }
.caminho__etapa details[open] summary::after { transform: rotate(180deg); }
.caminho__etapa details p { margin-top: 6px; }
@media (min-width: 640px) { .caminho:not([style]) { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .caminho:not([style]) { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.caminho--compacto .caminho__etapa details { display: none; }
.caminho + p { margin: 48px 0 8px; font-family: var(--font-title); font-size: 1.35rem; font-weight: 600; color: var(--navy-900); line-height: 1.25; }
.caminho + p + .small { max-width: 70ch; }

#como-funciona .wf-block { margin-top: 88px !important; }
#como-funciona .wf-block > div > .small { margin: 0 0 8px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); }
#como-funciona .wf-block > div > .small strong { font-weight: 800; }
#como-funciona .wf-block > div > h3 { font-family: var(--font-title); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.selos { display: grid; gap: 16px; margin: 32px 0 20px; }
.selos li + li { margin-top: 0; }
@media (min-width: 640px) { .selos { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.selo { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 20px 22px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.selo__ico { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 16px; background: var(--navy-900); color: var(--amber-500); }
.selo__esfera { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); }
.selo__itens { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; color: var(--navy-900); line-height: 1.25; }
.selos + .small { font-size: .95rem; }

.vxr { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 32px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.vxr th, .vxr td { text-align: left; padding: 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .vxr th, .vxr td { padding: 16px 28px; } }
.vxr { font-size: .95rem; }
.vxr thead th { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; border-bottom: 0; }
.vxr thead th:first-child { background: var(--gray-100); color: var(--navy-900); }
.vxr thead th:last-child { background: var(--navy-900); color: #fff; }
.vxr td:last-child { font-weight: 700; color: var(--navy-900); }
.vxr tbody tr:last-child td { border-bottom: 0; }
.vxr td:first-child { border-right: 1px solid var(--line); color: var(--muted); }
.citacao { margin: 44px 0 0; padding: 0 0 0 28px; max-width: 30ch; font-family: var(--font-title); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.3; color: var(--navy-900); border-left: 5px solid var(--amber-500); }
#como-funciona .btn-row { margin-top: 48px; }

/* =========== POR QUE A RUMO (Home) =========== */
body[data-pagina="home"] .confiar { background: #fff; }
.confiar .container { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .confiar .container { grid-template-columns: 1fr 1fr; column-gap: 96px; align-items: center; }
  .confiar .container > * { grid-column: 2; }
  .confiar .confiar__foto { grid-column: 1; grid-row: 1 / span 3; min-height: 440px; }
}
.confiar .section__head { margin-bottom: 0; }
.confiar .section__head .lead { font-family: var(--font-title); font-style: italic; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--navy-900); line-height: 1.4; margin-top: 16px; }
.confiar .lista-confianca { grid-template-columns: 1fr; }
.confiar .container > p { margin: 0; }

.lista-confianca { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.lista-confianca li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy-900); line-height: 1.45; }
.lista-confianca li:first-child { border-top: 1px solid var(--line); }
.lista-confianca__ico { width: 38px; height: 38px; padding: 9px; flex: 0 0 38px; border-radius: 14px; background: var(--amber-100); color: var(--amber-text); }
.lista-confianca.grid--3 { gap: 0 32px; }
@media (min-width: 640px) { .lista-confianca.grid--3 li { border-top: 1px solid var(--line); } }
.lista-confianca li:has(a) { padding: 0; }
.lista-confianca li:has(a) .lista-confianca__ico { order: 2; margin-left: auto; background: transparent; color: var(--navy-900); }
.lista-confianca li:has(a) span { display: contents; }
.lista-confianca li a { flex: 1; padding: 16px 0; color: var(--navy-900); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.lista-confianca li:has(a):hover a { text-decoration: underline; }

/* =========== FAQ: título à esquerda, perguntas à direita =========== */
body[data-pagina="home"] section[aria-labelledby="h-faq"] { background: var(--gray-50); }
.container:has(> .faq) { max-width: calc(var(--maxw) + 2 * var(--gutter)) !important; }
@media (min-width: 960px) {
  .container:has(> .faq) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: 96px; align-items: start; }
  .container:has(> .faq) > * { grid-column: 2; }
  .container:has(> .faq) > h2, .container:has(> .faq) > .faq__lado { grid-column: 1; grid-row: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq__lado h2 { margin-bottom: 0; }
.faq__foto { display: none; }
@media (min-width: 960px) {
  .faq__foto { display: block; margin-top: 32px; }
  .faq__foto img { border-radius: var(--r); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 200px); }
}
@media (max-width: 959px) { .faq__lado h2 { margin-bottom: .55em; } }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; cursor: pointer; list-style: none; padding: 18px 56px 18px 0; min-height: 60px; display: flex; align-items: center; font-weight: 700; font-size: 1.025rem; color: var(--navy-900); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--navy-900); transition: background-color .2s; }
.faq__item summary::before { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px; z-index: 1; background: #fff; -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; transition: transform .25s var(--ease); }
.faq__item[open] summary::before { transform: rotate(45deg); background: var(--navy-950); }
.faq__item[open] summary::after { background: var(--amber-500); }
.faq__item > div { padding: 0 56px 22px 0; color: var(--muted); }
.faq__item > div p:last-child { margin-bottom: 0; }
.faq__item > div strong { color: var(--navy-900); }
.faq + p { margin-top: 20px; }

/* =========== AVISO LEGAL =========== */
.aviso-legal { position: relative; margin: 36px 0 0; padding: 16px 20px 16px 52px; background: var(--gray-50); border-radius: var(--r-sm); font-size: .925rem; color: var(--muted); }
.aviso-legal::before { content: ""; position: absolute; left: 20px; top: 18px; width: 20px; height: 20px; background: var(--navy-700); -webkit-mask: var(--i-info) center / contain no-repeat; mask: var(--i-info) center / contain no-repeat; }
.section--fill .aviso-legal, body[data-pagina="home"] section[aria-labelledby="h-faq"] .aviso-legal { background: #fff; }
.aviso-legal a { font-weight: 700; color: var(--navy-900); }

/* =========== REGRAS FISCAIS =========== */
.regras { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin: 16px 0; }
.regras summary { cursor: pointer; padding: 14px 18px; font-weight: 700; min-height: var(--tap); display: flex; align-items: center; }
.regras__body { padding: 0 18px 16px; }
.regras table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.regras th, .regras td { text-align: left; padding: 10px 6px; border-top: 1px solid var(--line); vertical-align: top; }

/* =========== FAIXA FINAL (caixa azul) =========== */
.cta-band { padding: 0 0 var(--space); text-align: center; }
.cta-band > .container { padding: 56px 24px; }
@media (min-width: 960px) { .cta-band > .container { padding: 80px 64px; } }
.cta-band > .container::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--amber-500) 0 72%, var(--wa-500) 72%); }
.cta-band h2 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.4rem); max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { font-size: 1.05rem; max-width: 58ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 36px; }
.cta-band .btn--wa { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.cta-band .microcopy { color: var(--on-dark); }
/* depois de uma seção cinza, a faixa final continua no cinza (sem corte branco) */
.section--fill + .wf-block > .cta-band, .section--fill + .cta-band,
#como-funciona + .wf-block > .cta-band,
body[data-pagina="home"] section[aria-labelledby="h-faq"] + .wf-block > .cta-band { background: var(--gray-50); }

/* =========== TOPO DAS PÁGINAS INTERNAS (caixa azul) =========== */
main > section:first-child:has(.breadcrumb) { padding: 16px 0 0; }
@media (min-width: 960px) { main > section:first-child:has(.breadcrumb) { padding: 32px 0 0; } }
main > section:first-child:has(.breadcrumb) > .container { padding: 32px 24px 40px; }
@media (min-width: 960px) { main > section:first-child:has(.breadcrumb) > .container { padding: 56px 64px 64px; } }
main > section:first-child:has(.breadcrumb) h1 { max-width: 18ch; }
main > section:first-child:has(.breadcrumb) .lead { color: var(--on-dark); max-width: 56ch; }
main > section:first-child:has(.breadcrumb) nav[aria-label="Nesta página"] a { color: #fff; }
main > section:first-child:has(.breadcrumb) + section:not(.section--fill) { padding-top: var(--space); }
/* a seção seguinte, quando cinza, ganha um respiro branco antes */
main > section:first-child:has(.breadcrumb) { margin-bottom: 0; }
main > section:first-child:has(.breadcrumb) + .section--fill { margin-top: calc(var(--space) * .6); }

/* com foto: a foto ocupa a metade direita da caixa */
.topo--foto .topo__foto { margin: -32px -24px 28px; }
.topo--foto .topo__foto img { aspect-ratio: 16 / 10; }
@media (min-width: 960px) {
  .topo--foto > .container { display: flex; flex-direction: column; justify-content: center; min-height: 460px; }
  .topo--foto > .container > :not(.topo__foto) { width: 50%; }
  .topo--foto .topo__foto { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; margin: 0; }
  .topo--foto .topo__foto img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .topo--foto .topo__foto::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 28%; background: linear-gradient(90deg, var(--navy-900), rgba(19, 33, 63, 0)); }
}
/* espaço de foto dentro da caixa azul (Quem somos) */
main > section:first-child .foto-slot { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.28); color: var(--on-dark); }
main > section:first-child .foto-slot strong, main > section:first-child .foto-slot__ico { color: var(--amber-500); }

/* =========== SERVIÇOS (página) =========== */
.atalhos { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.atalhos li { display: flex; margin: 0; }
.atalhos a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; text-align: center; line-height: 1.25; transition: background-color .2s, border-color .2s; }
.atalhos a:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.atalhos li:first-child { grid-column: 1 / -1; }
.atalhos li:first-child a { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-950); }

section[aria-label="Serviços"] { background: var(--gray-50); }
/* cards dois a dois: foto em cima, ícone sobre a foto, texto, dados e botão no pé */
section[aria-label="Serviços"] > .container { display: grid; gap: 20px; }
@media (min-width: 860px) { section[aria-label="Serviços"] > .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.servico {
  position: relative; display: flex; flex-direction: column; overflow: hidden; margin: 0;
  padding: 0 24px 28px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm);
  font-size: .95rem; scroll-margin-top: calc(var(--header-h) + 24px);
}
@media (min-width: 960px) { .servico { padding: 0 32px 32px; } }
.servico > div { display: contents; }
.servico .foto--servico, .servico .foto-slot.foto--servico { order: -2; margin: 0 -24px; border-radius: 0; }
@media (min-width: 960px) { .servico .foto--servico, .servico .foto-slot.foto--servico { margin: 0 -32px; } }
.servico .foto--servico img { aspect-ratio: 16 / 9; border-radius: 0; }
.servico .foto-slot.foto--servico { min-height: 0; aspect-ratio: 16 / 9; border-width: 0 0 2px; padding: 20px; font-size: .85rem; }
.servico .foto-slot.foto--servico strong { font-size: .7rem; }
.servico .foto-slot.foto--servico .foto-slot__ico { width: 28px; height: 28px; }
.servico__icone { order: -1; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 16px; position: relative; z-index: 1; border-radius: 14px; background: var(--amber-500); color: var(--navy-950); box-shadow: 0 0 0 5px #fff; }
.servico__icone .ico { width: 24px; height: 24px; }
.servico h2 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); margin-bottom: .5em; }
.servico p { color: #3d4760; }
.servico p.small { color: var(--muted); }
.servico ul { padding-left: 0; list-style: none; margin-bottom: 1em; }
.servico ul li { position: relative; padding-left: 22px; }
.servico ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber-500); }
.servico__meta { order: 1; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: baseline; margin: 4px 0 0; padding: 14px 16px; background: var(--gray-50); border-radius: var(--r-sm); }
.servico__meta dt { margin: 0 !important; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); }
.servico__meta dd { margin: 0; font-weight: 700; color: var(--navy-900); font-size: .9rem; line-height: 1.4; }
.servico .btn-row { order: 2; margin-top: auto; padding-top: 22px; }
section[id="2027"] { background: #fff; }

/* prometemos / não prometemos */
section[aria-labelledby="h-promessa"] > .container > h2 { margin-bottom: 36px; max-width: 22ch; }
section[aria-labelledby="h-promessa"] .card { padding: 32px; }
section[aria-labelledby="h-promessa"] .card h3 { font-family: var(--font-title); font-weight: 600; font-size: 1.4rem; }
section[aria-labelledby="h-promessa"] .card ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 16px; }
section[aria-labelledby="h-promessa"] .card li { position: relative; padding-left: 42px; margin: 0; font-weight: 600; }
section[aria-labelledby="h-promessa"] .card li::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; }
section[aria-labelledby="h-promessa"] .card li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 14px; height: 14px; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
section[aria-labelledby="h-promessa"] .card:first-child { background: var(--navy-900); color: #fff; }
section[aria-labelledby="h-promessa"] .card:first-child h3 { color: #fff; }
section[aria-labelledby="h-promessa"] .card:first-child li::before { background: var(--amber-500); }
section[aria-labelledby="h-promessa"] .card:first-child li::after { background: var(--navy-950); -webkit-mask-image: var(--i-check); mask-image: var(--i-check); }
section[aria-labelledby="h-promessa"] .card:last-child li::before { background: var(--gray-100); }
section[aria-labelledby="h-promessa"] .card:last-child li::after { background: var(--muted); -webkit-mask-image: var(--i-x); mask-image: var(--i-x); }
section[aria-labelledby="h-qs"] + section[aria-labelledby="h-promessa"] { background: #fff; }

/* =========== DESTAQUES (STF, 2027): caixa âmbar =========== */
.destaque { position: relative; overflow: hidden; padding: 36px 24px; border-radius: var(--r-lg); background: var(--amber-500); color: var(--navy-950); }
@media (min-width: 960px) { .destaque { padding: 48px 56px; } }
.destaque :is(h2, h3, p, li, strong) { color: var(--navy-950); }
.destaque h2, .destaque h3 { max-width: 22ch; }
.destaque h3 { font-family: var(--font-title); font-weight: 600; font-size: 1.6rem; }
.destaque ul { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.destaque ul li { position: relative; padding-left: 28px; margin: 0; }
.destaque ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-950); }
.destaque p:last-of-type { margin-bottom: 0; }
.destaque .btn--wa { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }
.destaque .btn--wa:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.destaque a:not(.btn) { color: var(--navy-950); font-weight: 700; }
.destaque :focus-visible { outline-color: var(--navy-950); box-shadow: 0 0 0 7px #fff; }

/* =========== QUEM TEM DIREITO =========== */
#quem-dirige, #familia { overflow: hidden; background: var(--gray-50); box-shadow: none; }
#quem-dirige h3, #familia h3 { font-family: var(--font-title); font-weight: 600; font-size: 1.45rem; }
#quem-dirige .btn-row, #familia .btn-row { margin-top: auto; padding-top: 12px; }
#quem-dirige > .foto--card img, #familia > .foto--card img { aspect-ratio: 2 / 1; }
section[aria-label="Expectativa certa"] { background: var(--gray-50); }
section[aria-label="Expectativa certa"] .container { text-align: center; }
section[aria-label="Expectativa certa"] h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
section[aria-label="Expectativa certa"] .btn-row { justify-content: center; }
section[aria-label="Expectativa certa"] .lead { margin-left: auto; margin-right: auto; max-width: 62ch; }

/* =========== QUEM SOMOS =========== */
section[aria-labelledby="h-qs"] .container { font-size: 1.05rem; }
section[aria-labelledby="h-qs"] p { color: #3d4760; }
section[aria-labelledby="h-qs"] p strong { color: var(--navy-900); }
section[aria-labelledby="h-qs"] .citacao { max-width: none; }
section[aria-labelledby="h-onde"] h2 { margin-bottom: 28px; }
.reservado { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 32px; border-radius: var(--r); border: 2px dashed #b9c2d3; background: var(--gray-50); color: var(--muted); min-height: 200px; }
.reservado strong { color: var(--navy-900); font-family: var(--font-title); font-weight: 600; font-size: 1.5rem; }
.cnpj-slot { display: inline-block; border: 1.5px dashed currentColor; padding: 4px 12px; border-radius: 8px; font-size: .95rem; opacity: .85; }

/* =========== FORMULÁRIO =========== */
.form-avaliacao { width: 100%; max-width: 580px; padding: 28px 22px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); color: var(--ink); }
@media (min-width: 960px) { .form-avaliacao { padding: 40px; } }
.form-avaliacao h2 { color: var(--navy-900) !important; font-size: clamp(1.6rem, 1.4rem + .8vw, 2rem) !important; margin-bottom: 8px; }
.form-avaliacao > .small:first-of-type { margin-bottom: 28px; }
.campo { display: grid; gap: 6px; margin-bottom: 16px; }
.campo label { font-weight: 700; color: var(--navy-900); }
.campo input[type="text"], .campo input[type="tel"], .campo input[type="email"], .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 10px 16px; font: 1rem var(--font-text); color: var(--ink);
  background: #fff; border: 2px solid var(--line-strong); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s;
}
.campo select { appearance: none; -webkit-appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313213f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 20px no-repeat; }
.campo input:hover, .campo select:hover { border-color: var(--navy-700); }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 4px var(--amber-500); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; font-size: .925rem; color: #3d4760; cursor: pointer; }
.checkbox input { width: 24px; height: 24px; flex: 0 0 24px; margin: 1px 0 0; accent-color: var(--navy-900); cursor: pointer; }
.form-avaliacao .small a { font-weight: 700; }
.form-avaliacao :focus-visible { outline-color: var(--navy-900); }
.form-avaliacao__erro { margin: 14px 0; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: var(--error); font-weight: 700; border-left: 4px solid var(--error); }
.form-avaliacao button[type="submit"] { margin-top: 10px; min-height: 54px; font-size: 1.05rem; }

.contato-grid { display: grid; gap: 20px; align-items: start; margin-top: 40px !important; }
@media (min-width: 960px) { .contato-grid { grid-template-columns: 1.4fr 1fr; gap: 32px; } }
.contato-grid > * { min-width: 0; }
.contato-grid > .card { padding: 36px 32px; background: var(--navy-800); box-shadow: none; color: var(--on-dark); }
.contato-grid > .card h2 { font-size: 1.75rem !important; }
.contato-grid > .card .btn { margin-top: 8px; }
section#avaliacao:not(:has(.breadcrumb)) { background: var(--gray-50); }

/* =========== OBRIGADO E 404 =========== */
.caminho[style] { margin-top: 40px; gap: 12px; }
.caminho[style] .caminho__etapa { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; padding: 20px 24px; background: var(--gray-50); box-shadow: none; }
.caminho[style] .caminho__etapa::before { grid-row: span 2; margin: 0; }
.caminho[style] .caminho__etapa h3 { margin: 0; }
main > section:first-child:not(:has(.breadcrumb)):not(.hero) { padding-top: calc(var(--space) * .75); }

/* =========== RODAPÉ =========== */
.site-footer { background: var(--navy-950); color: var(--on-dark); padding: 72px 0 36px; font-size: .925rem; }
.site-footer__cols { display: grid; gap: 40px; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .site-footer__cols { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 48px; } }
.site-footer__logo { width: 116px; height: auto; }
.site-footer__cols > div:first-child p { color: #fff; font-family: var(--font-title); font-size: 1.1rem; line-height: 1.35; max-width: 20ch; margin-top: 20px !important; }
.site-footer__cols > div:first-child p strong { font-weight: 600; }
.site-footer h2 { font-family: var(--font-text); font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-500); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: #fff; text-decoration: none; font-weight: 600; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer__cols > div:last-child li { padding: 6px 0; }
.site-footer__cols > div:last-child li:first-child a { color: var(--wa-500); font-weight: 800; }
.site-footer__cols > div:first-child ul { display: flex; gap: 8px; margin-top: 20px; }
.site-footer__cols > div:first-child ul a { min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .95rem; }
.site-footer__legal { display: grid; gap: 8px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal a { color: #fff; font-weight: 600; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer--min { padding: 40px 0; }
.site-footer--min p { margin: 0 0 6px; }
.site-footer--min strong { color: #fff; }
.site-footer--min a { color: #fff; }

/* =========== FLUTUANTES =========== */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 64px; height: 64px; border-radius: 50%; display: none; place-items: center; background: var(--wa-500); color: var(--navy-950); text-decoration: none; box-shadow: 0 10px 28px rgba(13, 24, 48, .25); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(13,24,48,.08); }
.wa-bar .btn { width: 100%; }
.wa-bar.is-hidden { display: none; }
@media (min-width: 960px) { .wa-float { display: grid; } .wa-bar { display: none; } }

.a11y { position: fixed; left: 14px; bottom: 96px; z-index: 95; }
@media (min-width: 960px) { .a11y { bottom: 24px; left: 24px; } }
.a11y__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; background: var(--navy-900); color: #fff; cursor: pointer; box-shadow: var(--shadow); }
.a11y__btn .ico { width: 26px; height: 26px; }
.a11y__panel { position: absolute; bottom: 64px; left: 0; width: 250px; display: grid; gap: 8px; padding: 18px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.a11y__panel strong { font-family: var(--font-title); font-size: 1.2rem; font-weight: 600; color: var(--navy-900); }
.a11y__panel button { min-height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy-900); font: 700 1rem var(--font-text); cursor: pointer; }
.a11y__panel button:hover { border-color: var(--navy-900); }

/* VLibras oficial: o widget do governo traz o próprio botão azul */
[vw] { z-index: 96 !important; }

.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 96px; z-index: 110; padding: 22px; font-size: 1rem; background: #fff; border-radius: var(--r); box-shadow: 0 24px 60px rgba(13, 24, 48, .22); }
.cookie-banner p { margin: 0; color: #3d4760; }
.cookie-banner strong { color: var(--navy-900); }
.cookie-banner .btn-row { margin-top: 14px; gap: 8px; }
.cookie-banner .btn { min-height: var(--tap); padding: 10px 20px; font-size: 1rem; }
@media (min-width: 960px) { .cookie-banner { left: 50%; right: auto; transform: translateX(-50%); width: 780px; bottom: 24px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; } .cookie-banner .btn-row { margin-top: 0; flex-wrap: nowrap; } .cookie-banner__prefs { grid-column: 1 / -1; } }

/* =========== ALTO CONTRASTE =========== */
body.alto-contraste { background: #000; color: #fff; }
body.alto-contraste :is(h1, h2, h3, h4, p, li, dd, dt, td, th, summary, label, strong, .lead, .small, a, .chip) { color: #fff !important; }
body.alto-contraste :is(.site-header, .card, .servico, .selo, .site-footer, .section, .cta-band, .cta-band > .container, .hero > .container, main > section:first-child > .container, .aviso-legal, .destaque, .faq__item, .form-avaliacao, .marcas, .lista-confianca li, .servico__meta, .vxr th, .vxr td, .caminho__etapa, .mobile-menu, .cookie-banner, .a11y__panel) { background: #000 !important; border-color: #fff !important; box-shadow: none !important; }
body.alto-contraste .btn { background: #000 !important; color: #ff0 !important; border-color: #ff0 !important; }
body.alto-contraste a { color: #ff0 !important; }

/* =========== CAPA DA APRESENTAÇÃO (sai do tema) =========== */
.lp-capa { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 32px var(--gutter) 120px; }
.lp-topo { display: grid; align-items: center; border-radius: var(--r-lg); background: var(--navy-900); color: var(--on-dark); overflow: hidden; }
.lp-topo > div { padding: 32px 24px 40px; }
@media (min-width: 960px) { .lp-topo { grid-template-columns: 1.1fr 1fr; } .lp-topo > div { padding: 72px; } }
.lp-topo h1 { color: #fff; }
.lp-topo .lead { color: var(--on-dark); }
.lp-topo .foto { order: -1; height: 100%; }
.lp-topo .foto img { height: 100%; aspect-ratio: 16 / 10; }
@media (min-width: 960px) { .lp-topo .foto { order: 0; } .lp-topo .foto img { aspect-ratio: auto; min-height: 560px; } }
.lp-topo .btn:not(.btn--primary) { border-color: rgba(255,255,255,.55); color: #fff; }
.lp-topo .btn:not(.btn--primary):hover { background: #fff; color: var(--navy-900); }
.lp-logo { width: 110px; margin-bottom: 32px; }
.lp-eyebrow { font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 10px; }
.lp-topo .lp-eyebrow { color: var(--amber-500); }
.lp-capa > h2 { margin-top: 112px; }
.lp-grid { display: grid; gap: 20px; margin: 32px 0 0; }
@media (min-width: 640px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .lp-grid { grid-template-columns: repeat(3, 1fr); } .lp-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.lp-grid .card { text-decoration: none; background: var(--gray-50); box-shadow: none; transition: background-color .2s, transform .25s var(--ease); }
.lp-grid .card:hover { background: var(--navy-900); transform: translateY(-3px); }
.lp-grid .card:hover :is(h3, p) { color: #fff; }
.lp-cores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
@media (min-width: 960px) { .lp-cores { grid-template-columns: repeat(6, 1fr); } }
.lp-cor { border-radius: var(--r); overflow: hidden; background: var(--gray-50); }
.lp-cor span { display: block; height: 110px; }
.lp-cor p { margin: 0; padding: 12px 16px 14px; font-size: .9rem; line-height: 1.35; }
.lp-cor p strong { display: block; color: var(--navy-900); }
.lp-tipos { display: grid; gap: 20px; margin-top: 32px; }
.lp-tipos > * { min-width: 0; }
@media (min-width: 960px) { .lp-tipos { grid-template-columns: 1fr 1fr; } }
.lp-tipo { padding: 36px; background: var(--gray-50); border-radius: var(--r); }
.lp-tipo .lp-amostra { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.05; color: var(--navy-900); margin: 4px 0 16px; overflow-wrap: break-word; }
.lp-tipo p { margin: 0; color: var(--muted); }
.lp-notas { margin-top: 32px; display: grid; gap: 20px; }
@media (min-width: 960px) { .lp-notas { grid-template-columns: repeat(2, 1fr); } }
.lp-notas .card { background: var(--gray-50); box-shadow: none; }
.lp-notas .card p { color: var(--muted); }

/* página que só tem o topo (Contato): respiro antes do rodapé */
main > section:first-child:last-child:has(.breadcrumb) { padding-bottom: var(--space); }
@media (min-width: 960px) { main > section:first-child:has(.breadcrumb) > .container { max-width: var(--maxw) !important; } }

/* =========== CONTATO: tudo numa tela =========== */
@media (min-width: 960px) {
  main > section#avaliacao:has(.breadcrumb) { padding-top: 24px; padding-bottom: 64px; }
  main > section#avaliacao:has(.breadcrumb) > .container {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto auto auto 1fr;
    column-gap: 56px; align-items: start; padding: 44px 56px;
  }
  #avaliacao .breadcrumb { margin-bottom: 16px; }
  #avaliacao h1 { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); margin-bottom: 14px; }
  #avaliacao .contato-grid { display: contents; }
  #avaliacao .contato-grid > .wf-block { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
  #avaliacao .contato-grid > .card { grid-column: 1; grid-row: 4; align-self: start; margin-top: 12px; padding: 28px; }
  #avaliacao .contato-grid > .card h2 { font-size: 1.4rem !important; }
  #avaliacao .form-avaliacao { max-width: none; padding: 32px; }
}
/* formulário em duas colunas quando há espaço */
@media (min-width: 640px) {
  .form-avaliacao { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .form-avaliacao > * { grid-column: 1 / -1; }
  .form-avaliacao > .campo { grid-column: auto; }
  .form-avaliacao h2 { font-size: 1.5rem !important; margin-bottom: 4px; }
  .form-avaliacao > .small:first-of-type { margin-bottom: 20px; }
  .form-avaliacao .campo { margin-bottom: 14px; }
  .form-avaliacao .campo label { font-size: .925rem; }
  .form-avaliacao .campo input, .form-avaliacao .campo select { min-height: 46px; }
  .form-avaliacao .checkbox { margin: 8px 0; font-size: .875rem; }
  .form-avaliacao > p.small:not(:first-of-type) { margin: 4px 0 0; }
  .form-avaliacao button[type="submit"] { min-height: 50px; margin-top: 14px; }
}

/* =========== PERGUNTAS: foto + título à esquerda, perguntas centralizadas na altura =========== */
.container:has(> .faq__conteudo) { max-width: calc(var(--maxw) + 2 * var(--gutter)) !important; }
@media (min-width: 960px) {
  .container:has(> .faq__conteudo) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 96px; align-items: center; }
  .faq__conteudo { align-self: center; }
}

/* =========== AJUSTES DO CELULAR =========== */
@media (max-width: 519px) { .menu-toggle { gap: 0; } }

@media (max-width: 639px) {
  /* rodapé centralizado, links em duas colunas */
  .site-footer { text-align: center; padding-top: 56px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .site-footer__cols > div:first-child, .site-footer__cols > div:last-child { grid-column: 1 / -1; }
  .site-footer__logo { margin: 0 auto; }
  .site-footer__cols > div:first-child p { margin-left: auto; margin-right: auto; }
  .site-footer__cols > div:first-child ul { justify-content: center; }
  .site-footer__cols > div:last-child { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
  .site-footer li a { justify-content: center; }
  .site-footer__legal { justify-items: center; margin-top: 36px; }
  .site-footer--min { text-align: center; }

  /* "Nosso trabalho" da Home: duas colunas centralizadas */
  section[aria-labelledby="h-servicos"] > .container { text-align: center; padding: 44px 18px; }
  section[aria-labelledby="h-servicos"] .section__head { margin-left: auto; margin-right: auto; }
  section[aria-labelledby="h-servicos"] .grid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  section[aria-labelledby="h-servicos"] .card-servico { align-items: center; padding: 22px 0 6px; }
  section[aria-labelledby="h-servicos"] .card-servico:first-child { grid-column: 1 / -1; }
  section[aria-labelledby="h-servicos"] .card-servico .card__links { justify-content: center; }
  section[aria-labelledby="h-servicos"] .btn-row { justify-content: center; }

  /* etapas, selos e cards simples centralizados */
  .caminho__etapa { text-align: center; }
  .caminho__etapa::before { margin-left: auto; margin-right: auto; }
  .caminho[style] .caminho__etapa { text-align: left; }
  .caminho + p, .caminho + p + .small { text-align: center; }
  #como-funciona .wf-block > div { text-align: center; }
  .selo { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 6px; }
  .selo__ico { grid-row: auto; }
  .selos + .small { text-align: center; }
  #como-funciona .btn-row { justify-content: center; }
  #como-funciona .microcopy { text-align: center; }
  .grid--3 > .card:not(.card-grupo) { text-align: center; }
  .section__head:has(+ .caminho), #como-funciona .section__head { text-align: center; margin-left: auto; margin-right: auto; }
  .citacao { border-left: 0; padding: 20px 0 0; border-top: 4px solid var(--amber-500); text-align: center; margin-left: auto; margin-right: auto; }
  .vxr th, .vxr td { padding: 14px; }
}

/* fotos genéricas de atendimento */
.confiar .confiar__foto img { width: 100%; height: 100%; border-radius: var(--r); aspect-ratio: 4 / 5; }
@media (max-width: 959px) { .confiar .confiar__foto img { aspect-ratio: 4 / 3; } }
@media (min-width: 960px) { .confiar .confiar__foto { position: relative; } .confiar .confiar__foto img { position: absolute; inset: 0; aspect-ratio: auto; } }
main > section:first-child .split > .foto img { border-radius: var(--r); aspect-ratio: 4 / 3; }

/* logos das montadoras: tom neutro, cor ao passar o mouse */
.marcas__item { height: 56px; }
.marcas__item img { width: auto; max-width: 132px; filter: grayscale(1); opacity: .62; transition: filter .25s, opacity .25s; }
.marcas__item:hover img { filter: none; opacity: 1; }
@media (max-width: 959px) { .marcas__list { gap: 32px; } .marcas__item img { max-width: 110px; } }
/* celular: logos em grade 4 x 2, centralizados, sem rolagem lateral */
@media (max-width: 959px) {
  .marcas__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 12px; overflow: visible; justify-items: center; }
  .marcas__item { height: 44px; }
  .marcas__item img { max-width: 100%; transform: scale(.78); }
}
.marcas__item img[alt="Chevrolet"] { opacity: .8; }
