/* ==========================================================================
   LBC Consultoria e Contabilidade Gerencial
   Design system + componentes. Mobile first. CSS3 puro, sem frameworks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonte (self-hosted, variável, subset latin — 1 arquivo, 400..800)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-var.woff2') format('woff2-variations'),
       url('../fonts/manrope-latin-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marca — extraídas do logotipo LBC */
  --brand-blue: #0060e4;   /* azul institucional (logo) — 5.5:1 sobre branco */
  --brand-blue-dark: #0049b0;
  --brand-cyan: #00a8e4;   /* ciano do símbolo — apenas grafismo / fundo escuro */
  --navy-900: #05132b;
  --navy-800: #0a1e3c;
  --navy-700: #12305c;

  /* Neutros */
  --ink: #0d1424;
  --gray-700: #46526b;     /* texto de apoio — 7.8:1 sobre branco */
  --gray-500: #68738d;     /* dicas e metadados — 4.75:1 sobre branco (WCAG AA) */
  --gray-300: #c3cad8;
  --gray-200: #e4e8f0;
  --gray-100: #f1f4f9;
  --gray-50:  #f8fafc;
  --warm-50: #f7f3ec;
  --accent-gold: #a77a32;
  --white: #ffffff;

  /* Semânticos */
  --surface: var(--white);
  --surface-alt: var(--gray-50);
  --border: var(--gray-200);
  --border-strong: var(--gray-300);
  --text: var(--ink);
  --text-muted: var(--gray-700);
  --success: #0f7a52;
  --error: #c02626;

  /* Tipografia — escala fluida */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 0.4vw + 1.05rem, 1.3125rem);
  --fs-h4: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
  --fs-h3: clamp(1.25rem, 0.8vw + 1.05rem, 1.5rem);
  --fs-h2: clamp(1.75rem, 2vw + 1.15rem, 2.5rem);
  --fs-h1: clamp(2.125rem, 3.6vw + 1.15rem, 3.75rem);
  --fs-display: clamp(2.375rem, 4.4vw + 1.2rem, 4.25rem);
  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-body: 1.65;

  /* Espaçamento — escala 4px */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 2.5rem;   --sp-8: 3rem;
  --sp-9: 4rem;     --sp-10: 5rem;    --sp-11: 6rem;    --sp-12: 8rem;
  --section-y: clamp(3.5rem, 7vw, 7rem);

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;

  /* Formas */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-full: 999px;

  /* Sombras — discretas, nunca pesadas */
  --shadow-xs: 0 1px 2px rgba(13, 20, 36, 0.05);
  --shadow-sm: 0 2px 8px rgba(13, 20, 36, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(13, 20, 36, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

/* --------------------------------------------------------------------------
   3. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); letter-spacing: -0.01em; }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-blue-dark); }

img, picture, svg { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 700; }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

/* Foco visível e consistente em todo o site */
:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.on-dark :focus-visible,
.footer :focus-visible { outline-color: var(--brand-cyan); }

/* --------------------------------------------------------------------------
   4. Utilitários de layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--flush-top { padding-top: var(--sp-6); }
.section--alt { background: var(--surface-alt); }
.section--bordered { border-top: 1px solid var(--border); }

.section-head { max-width: 46rem; margin-bottom: var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > p {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Olho / eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand-blue);
  flex: none;
}
.on-dark .eyebrow { color: var(--brand-cyan); }
.on-dark .eyebrow::before { background: var(--brand-cyan); }

/* Superfícies escuras */
.on-dark { background: var(--navy-900); color: #e8edf6; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark a { color: var(--brand-cyan); }

.grid { display: grid; gap: var(--sp-5); }
.single-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Pular para o conteúdo */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--brand-blue);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* --------------------------------------------------------------------------
   5. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;                 /* alvo de toque confortável */
  padding: 0.8125rem 1.5rem;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand-blue); color: var(--white); }
.btn--primary:hover { background: var(--brand-blue-dark); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--gray-50); }

.on-dark .btn--ghost, .btn--ghost-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}
.on-dark .btn--ghost:hover, .btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--whatsapp { background: #0e7a40; color: var(--white); }
.btn--whatsapp:hover { background: #0b6031; color: var(--white); }

.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Link com seta */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--brand-blue);
}
.arrow-link .arrow-link__ico { transition: transform var(--dur) var(--ease); flex: none; }
.arrow-link:hover .arrow-link__ico { transform: translateX(4px); }
.arrow-link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   6. Cabeçalho + navegação
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}
.header__logo { flex: none; display: block; line-height: 0; }
.header__logo img { width: 148px; height: 58px; }
@media (min-width: 640px) { .header__logo img { width: 176px; height: 69px; } }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* Navegação desktop */
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; margin-left: auto; }
  .nav__list {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav__list li { margin: 0; }
  .nav__link {
    display: block;
    padding: var(--sp-2) 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    transition: color var(--dur) var(--ease);
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav__link:hover { color: var(--ink); }
  .nav__link:hover::after { transform: scaleX(1); }
  .nav__link[aria-current="page"] { color: var(--ink); font-weight: 700; }
  .nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .header__cta { display: inline-flex; }
}

/* Botão do menu mobile */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--gray-50); }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* A partir do desktop, o menu completo substitui o botão. */
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* Painel mobile */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  padding: var(--sp-5) var(--gutter) var(--sp-8);
  background: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

.mobile-nav__list { list-style: none; margin: 0 0 var(--sp-6); padding: 0; }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid var(--border); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav__link[aria-current="page"] { color: var(--brand-blue); }
.mobile-nav__actions { display: grid; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #e8edf6;
  overflow: hidden;
}
/* Malha sutil de "dados" — grafismo leve, sem imagem extra */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 15% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}
.hero__title {
  font-size: var(--fs-display);
  color: var(--white);
  margin-bottom: var(--sp-5);
}
.hero__title em {
  font-style: normal;
  color: var(--brand-cyan);
}
.hero__lead {
  font-size: var(--fs-lg);
  color: #b9c5d9;
  max-width: 34rem;
  margin-bottom: var(--sp-5);
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: 0 0 var(--sp-7);
  padding: 0;
}
.hero__proof li {
  margin: 0;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  color: #dbe5f3;
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}
.hero__local {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: #94a3bd;
}
.hero__local svg { flex: none; color: var(--brand-cyan); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* Cartão de método sobreposto à imagem */
.hero__badge {
  position: absolute;
  left: clamp(-0.5rem, -1vw, 0rem);
  bottom: clamp(-1rem, -2vw, -1.5rem);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  max-width: min(92%, 22rem);
}
.hero__badge-mark {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--brand-blue);
}
.hero__badge-text { font-size: var(--fs-xs); line-height: 1.45; }
.hero__badge-text strong { display: block; font-size: var(--fs-sm); }
.hero__badge-text span { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   8. Barra de confiança
   -------------------------------------------------------------------------- */
.trust {
  display: grid;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); } }
.trust__item { margin: 0; padding-top: var(--sp-4); border-top: 2px solid var(--brand-blue); }
.trust__item h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.trust__item p { font-size: var(--fs-sm); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Card de solução */
.solution {
  position: relative;
  overflow: hidden;
}
.solution::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.solution:hover::before, .solution:focus-within::before { transform: scaleX(1); }
.solution__num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--brand-blue);
  background: var(--gray-100);
  border-radius: var(--radius-full);
}
.solution__moment {
  margin-bottom: var(--sp-2);
  color: var(--accent-gold);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}
.solution__title { margin-bottom: var(--sp-3); }
.solution__desc { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.solution__for {
  margin-bottom: var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  background: var(--warm-50);
  border-left: 2px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.solution__for strong { color: var(--ink); }
.solution__list {
  list-style: none;
  margin: 0 0 var(--sp-6);
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.solution__list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: var(--sp-2);
}
.solution__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--brand-blue);
}
.solution__cta { margin-top: auto; }

/* Cards de diferenciais */
.feature { padding: 0; border: 0; background: none; }
.feature:hover { box-shadow: none; transform: none; border-color: transparent; }
.feature__ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--sp-4);
  color: var(--brand-blue);
  background: var(--gray-100);
  border-radius: var(--radius);
}
.on-dark .feature__ico { background: rgba(0, 168, 228, 0.12); color: var(--brand-cyan); }
.feature h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.feature p { font-size: var(--fs-sm); color: var(--text-muted); }
.on-dark .feature p { color: #a9b6cc; }

/* --------------------------------------------------------------------------
   10. Contabilidade operacional x inteligência (comparativo)
   -------------------------------------------------------------------------- */
.compare { display: grid; gap: var(--sp-5); align-items: stretch; }
@media (min-width: 880px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }

.compare__col {
  padding: var(--sp-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}
.compare__col--old { background: var(--gray-50); }
.compare__col--new {
  background: var(--navy-900);
  border-color: var(--navy-700);
  color: #d7dfec;
}
.compare__col--new h3 { color: var(--white); }
.compare__tag {
  display: inline-block;
  margin-bottom: var(--sp-4);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  color: var(--gray-700);
}
.compare__col--new .compare__tag { background: rgba(0, 168, 228, 0.16); color: var(--brand-cyan); }

.compare__list { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); }
.compare__list li {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
}
.compare__col--new .compare__list li { border-bottom-color: rgba(255, 255, 255, 0.1); }
.compare__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.compare__list svg { flex: none; margin-top: 0.2em; }
.compare__col--old .compare__list svg { color: var(--gray-500); }
.compare__col--new .compare__list svg { color: var(--brand-cyan); }

/* --------------------------------------------------------------------------
   11. Metodologia (Diagnóstico → Implantação → Acompanhamento)
   -------------------------------------------------------------------------- */
.method { display: grid; gap: var(--sp-6); counter-reset: step; position: relative; }
@media (min-width: 880px) {
  .method { grid-template-columns: repeat(3, 1fr); gap: var(--sp-7); }
  /* linha que conecta as três etapas */
  .method::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
    opacity: 0.35;
  }
}
.method__step { position: relative; }
.method__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--sp-4);
  font-weight: 800;
  font-size: var(--fs-sm);
  color: var(--white);
  background: var(--brand-blue);
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 6px var(--surface-alt);
}
.method__step h3 { margin-bottom: var(--sp-2); }
.method__step p { font-size: var(--fs-sm); color: var(--text-muted); }
.method__result {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--border-strong);
  font-size: var(--fs-xs);
  color: var(--brand-blue);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   12. Pirâmide de serviços (reconstrução do antigo info.png)
   -------------------------------------------------------------------------- */
.stack { display: grid; gap: var(--sp-3); }
.stack__row {
  display: grid;
  gap: var(--sp-3);
  align-items: stretch;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .stack__row { grid-template-columns: 260px 1fr; }
}
.stack__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.3;
}
.stack__label small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  opacity: 0.75;
  margin-top: var(--sp-1);
}
.stack__row--3 .stack__label { background: var(--navy-900); color: var(--white); }
.stack__row--2 .stack__label { background: var(--brand-blue); color: var(--white); }
.stack__row--1 .stack__label { background: var(--gray-100); color: var(--ink); }

.stack__items { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 560px) { .stack__items--3 { grid-template-columns: repeat(3, 1fr); } }
.stack__item {
  display: flex;
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stack__row--3 .stack__item { border-left: 3px solid var(--navy-900); }
.stack__row--2 .stack__item { border-left: 3px solid var(--brand-blue); }
.stack__row--1 .stack__item { border-left: 3px solid var(--gray-300); color: var(--text-muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   13. Depoimentos
   -------------------------------------------------------------------------- */
.quotes { display: grid; gap: var(--sp-5); }
@media (min-width: 760px)  { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quotes--3 { grid-template-columns: repeat(3, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.quote__mark { color: var(--brand-cyan); margin-bottom: var(--sp-4); }
.quote__text {
  margin: 0 0 var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-muted);
}
.quote__text--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.quote__avatar {
  flex: none;
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--gray-100);
}
.quote__who { font-size: var(--fs-sm); line-height: 1.35; }
.quote__who cite { display: block; font-style: normal; font-weight: 700; color: var(--ink); }
.quote__who span { color: var(--text-muted); font-size: var(--fs-xs); }

/* --------------------------------------------------------------------------
   14. FAQ (details/summary — acessível, sem JS obrigatório)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) 0;
  font-family: inherit;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}
.faq__q:hover { color: var(--brand-blue); }
.faq__ico {
  flex: none;
  position: relative;
  width: 20px; height: 20px;
  color: var(--brand-blue);
}
.faq__ico::before, .faq__ico::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq__ico::before { width: 14px; height: 2px; }
.faq__ico::after  { width: 2px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq__a {
  overflow: hidden;
  height: 0;
  transition: height var(--dur) var(--ease);
}
.faq__a-inner {
  padding-bottom: var(--sp-5);
  padding-right: var(--sp-8);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  max-width: 62ch;
}
/* Sem JS: mostra as respostas */
.no-js .faq__a { height: auto; }

/* --------------------------------------------------------------------------
   15. Formulário
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: var(--sp-2); }
.field > label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}
.field .req { color: var(--error); }
.field .hint { font-size: var(--fs-xs); color: var(--gray-500); font-weight: 400; }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--gray-500); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--gray-500); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 96, 228, 0.15);
}
.textarea { min-height: 132px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2346526b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

/* Estados de erro — nunca só cor: ícone + texto + aria */
.field[data-invalid="true"] .input,
.field[data-invalid="true"] .select,
.field[data-invalid="true"] .textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(192, 38, 38, 0.12);
}
.field__error {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--error);
}
.field__error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 16px; height: 16px;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
  background: var(--error);
  border-radius: var(--radius-full);
}
.field[data-invalid="true"] .field__error { display: flex; }

/* Consentimento */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: start;
}
.consent input[type="checkbox"] {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand-blue);
  flex: none;
}
.consent label { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.55; font-weight: 400; }
.consent[data-invalid="true"] label { color: var(--error); }

/* Estado de envio */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: var(--radius-full);
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__status {
  display: none;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  border: 1px solid transparent;
}
.form__status.is-visible { display: flex; }
.form__status[data-state="success"] {
  background: #eaf6f1;
  border-color: #b9e0d0;
  color: #0b5c3e;
}
.form__status[data-state="error"] {
  background: #fdecec;
  border-color: #f4c4c4;
  color: #8f1d1d;
}
.form__status svg { flex: none; margin-top: 0.15em; }

.form__microcopy {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  max-width: 42rem;
}

/* --------------------------------------------------------------------------
   16. Contato — cartões de canal
   -------------------------------------------------------------------------- */
.channels { display: grid; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.channel {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  margin: 0;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.channel__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: var(--brand-blue);
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}
.channel__body { min-width: 0; }
.channel h3 { font-size: var(--fs-sm); margin-bottom: var(--sp-1); }
.channel p, .channel a { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.channel a { color: var(--brand-blue); font-weight: 600; text-decoration: none; word-break: break-word; }
.channel a:hover { text-decoration: underline; }

/* Formulário + canais lado a lado */
.contact-layout { display: grid; gap: var(--sp-8); align-items: start; }
@media (min-width: 940px) {
  .contact-layout { grid-template-columns: 1.35fr 1fr; gap: var(--sp-9); }
}
.panel-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-5);
}

/* Mapa sob demanda (só carrega o iframe após clique) */
.map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--gray-100);
  aspect-ratio: 16 / 10;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--sp-4);
  padding: var(--sp-6);
  text-align: center;
  background:
    linear-gradient(rgba(5, 19, 43, 0.03), rgba(5, 19, 43, 0.03)),
    repeating-linear-gradient(0deg, var(--gray-200) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--gray-200) 0 1px, transparent 1px 40px),
    var(--gray-50);
  border: 0;
  cursor: pointer;
  font: inherit;
  color: var(--text-muted);
}
.map__placeholder:hover { background-color: var(--gray-100); }
.map__placeholder strong { display: block; color: var(--ink); font-size: var(--fs-sm); }
.map__placeholder small { font-size: var(--fs-xs); }

/* --------------------------------------------------------------------------
   17. Faixa CTA
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 80% at 85% 50%, #000, transparent 70%);
  pointer-events: none;
}
.cta-band__inner { position: relative; text-align: center; max-width: 44rem; margin-inline: auto; }
.cta-band__inner h2 { margin-bottom: var(--sp-4); }
.cta-band__inner > p { color: #b9c5d9; font-size: var(--fs-lg); margin-bottom: var(--sp-7); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* Portal externo */
.portal-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.portal-card__body { max-width: 34rem; }
.portal-card h3 { margin-bottom: var(--sp-2); }
.portal-card p { font-size: var(--fs-sm); color: var(--text-muted); }
.ext-note {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-top: var(--sp-2);
}

/* --------------------------------------------------------------------------
   18. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumb { padding-block: var(--sp-4); border-bottom: 1px solid var(--border); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-xs);
  color: var(--gray-500);
}
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-2); margin: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--gray-300); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-blue); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Cabeçalho de página interna */
.page-head { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-head__inner { max-width: 48rem; }
.page-head h1 { margin-bottom: var(--sp-4); }
.page-head__lead { font-size: var(--fs-lg); color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   19. Conteúdo longo (artigos e políticas)
   -------------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 {
  font-size: var(--fs-h3);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-2);
}
.prose h3 { font-size: var(--fs-h4); margin-top: var(--sp-6); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { padding-left: 1.15em; }
.prose ul li::marker { color: var(--brand-blue); }
.prose blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  border-left: 3px solid var(--brand-blue);
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.prose blockquote p { color: inherit; }
.prose__lead {
  font-size: var(--fs-lg);
  color: var(--ink) !important;
  font-weight: 500;
  margin-bottom: var(--sp-6);
}
.prose dt { font-weight: 700; margin-top: var(--sp-4); }
.prose dd { margin: var(--sp-1) 0 0; color: var(--text-muted); }

/* Cartão de autor */
.author {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  margin-top: var(--sp-8);
  padding: var(--sp-5);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.author__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  font-weight: 800;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-full);
}
.author__body { font-size: var(--fs-sm); }
.author__body strong { display: block; color: var(--ink); }
.author__body p { color: var(--text-muted); font-size: var(--fs-xs); margin: var(--sp-1) 0 0; }

/* Lista de artigos */
.article-card {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.article-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--gray-500);
}
.article-card__tag {
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-card h3 { margin: 0; }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--brand-blue); }
.article-card p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

/* Equipe / responsáveis técnicos */
.people { display: grid; gap: var(--sp-5); }
@media (min-width: 700px) { .people { grid-template-columns: repeat(2, 1fr); } }
.person {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.person__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  background: linear-gradient(140deg, var(--navy-800), var(--brand-blue));
  border-radius: var(--radius-full);
}
.person h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-1); }
.person p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.person .crc {
  display: inline-block;
  margin-top: var(--sp-2);
  padding: 2px var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   20. Rodapé
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-900); color: #c7d2e4; }
.footer a { color: #e2e9f4; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }

.footer__main {
  display: grid;
  gap: var(--sp-8);
  padding-block: var(--sp-9) var(--sp-8);
}
@media (min-width: 720px)  { .footer__main { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer__main { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-6); } }

.footer__brand img { width: 176px; height: 69px; margin-bottom: var(--sp-4); }
.footer__brand p { font-size: var(--fs-sm); max-width: 30ch; margin-bottom: var(--sp-5); }

.footer h2 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.footer__list { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); }
.footer__list li { margin-bottom: var(--sp-3); }

.footer address { font-style: normal; font-size: var(--fs-sm); }
.footer address p { margin-bottom: var(--sp-3); }

.social { display: flex; gap: var(--sp-3); }
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social a:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); color: var(--white); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); }
.footer__crc { color: #a9b6cc; }

/* --------------------------------------------------------------------------
   21. CTA flutuante
   -------------------------------------------------------------------------- */
.contact-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.875rem 1.125rem;
  background: var(--brand-blue);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px -6px rgba(0, 96, 228, 0.45);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.contact-float:hover { background: var(--brand-blue-dark); color: var(--white); transform: translateY(-2px); }
.contact-float svg { flex: none; }
.contact-float__label { display: none; }
@media (min-width: 640px) { .contact-float__label { display: inline; } }

/* --------------------------------------------------------------------------
   22. Aviso de cookies
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: var(--gutter);
  bottom: var(--gutter);
  z-index: 120;
  width: min(30rem, calc(100vw - var(--gutter) * 2));
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  transform: translateY(calc(100% + var(--gutter) + 1rem));
  transition: transform 320ms var(--ease);
}
.cookie.is-visible { transform: none; }
.cookie h2 { font-size: var(--fs-sm); margin-bottom: var(--sp-2); }
.cookie p { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--sp-4); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cookie__actions .btn {
  flex: 1 1 12rem;
  min-height: 42px;
  padding-inline: var(--sp-4);
  white-space: normal;
  text-align: center;
}
@media (max-width: 639px) {
  .cookie { bottom: calc(var(--gutter) + 68px); }  /* não cobre o CTA flutuante */
  .cookie__actions { display: grid; }
  .cookie__actions .btn { width: 100%; }
}

body.is-locked .contact-float,
body.is-locked .cookie {
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   23. Página 404
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(4rem, 12vw, 9rem);
}
.error-page__code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-blue);
  margin-bottom: var(--sp-4);
}
.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-6);
}

/* --------------------------------------------------------------------------
   24. Revelação suave ao rolar (progressive enhancement)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   25. Movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .faq__a { transition: none; }
}

/* --------------------------------------------------------------------------
   26. Impressão
   -------------------------------------------------------------------------- */
@media print {
  .header, .footer, .contact-float, .cookie, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; }
  .faq__a { height: auto !important; }
}
