/* ================================================================
   PROATIVA CLÍNICA VETERINÁRIA — style.css
   Mobile-first. Tokens em :root. Sem dependências.
   ================================================================ */

/* === 1. CUSTOM PROPERTIES (TOKENS) === */
:root {
  /* === COLORS — VERDE (paleta cliente) === */
  --color-green-50:  #F2F9EC;  /* verde papel — fundo da página */
  --color-green-100: #E8F5E1;  /* verde suave — fundos claros */
  --color-green-200: #C8E5B0;  /* interpolado */
  --color-green-300: #A5D278;  /* verde claro — gradientes, hovers */
  --color-green-400: #92C667;  /* interpolado */
  --color-green-500: #7AB856;  /* verde médio — variações de fundo */
  --color-green-600: #5FA33B;  /* verde principal — botões, CTAs */
  --color-green-700: #3F7C28;  /* verde floresta — texto/hover */
  --color-green-800: #2A5419;  /* interpolado */
  --color-green-900: #152C0C;  /* interpolado */

  /* === COLORS — NAVY (azul institucional cliente) === */
  --color-navy-50:  #F0F2FB;
  --color-navy-100: #DDE2F4;
  --color-navy-200: #B8C0E5;
  --color-navy-300: #939FD6;
  --color-navy-400: #6E7DC7;
  --color-navy-500: #4F5FB8;
  --color-navy-600: #3C4BA1;
  --color-navy-700: #2C3A8F;
  --color-navy-800: #1E2A78;  /* azul principal — títulos, headings */
  --color-navy-900: #0D1B4C;  /* azul escuro — seções premium, footer */
  --color-navy-950: #050A24;

  /* === BRAND ALIASES === */
  --color-brand-green:        var(--color-green-600);
  --color-brand-green-hover:  var(--color-green-700);
  --color-brand-navy:         var(--color-navy-800);
  --color-brand-navy-hover:   var(--color-navy-900);

  /* === FUNCIONAIS === */
  --color-emergency:       #C62828;  /* vermelho cliente — emergência */
  --color-emergency-hover: #9B1F1F;
  --color-red-50:          #FCEEEE;  /* vermelho papel — fundos emergência */
  --color-red-100:         #F8DADA;
  --color-red-200:         #F0BCBC;
  --color-warning:         #F57C00;  /* laranja cliente — avisos secundários */
  --color-warning-hover:   #C66200;
  --color-whatsapp:        #25D366;
  --color-whatsapp-hover:  #1DA851;

  /* Aliases usados em vários componentes (hover ghost, badge 24h, bg legal) */
  --color-bg-soft:   var(--color-navy-50);
  --color-brand-red: var(--color-emergency);

  /* === NEUTROS === */
  --color-white:    #FFFFFF;
  --color-gray-50:  #FAFAFA;
  --color-gray-100: #F4F4F5;
  --color-gray-200: #E4E4E7;
  --color-gray-300: #D4D4D8;
  --color-gray-500: #71717A;
  --color-gray-600: #525252;
  --color-gray-700: #404040;  /* cinza texto cliente — corpo principal */
  --color-gray-900: #18181B;
  --color-black:    #000000;

  /* === SEMÂNTICOS === */
  --color-text-primary:   var(--color-gray-700);   /* corpo: cinza #404040 */
  --color-text-secondary: var(--color-gray-600);   /* descrições */
  --color-text-muted:     var(--color-gray-500);   /* metadados, labels */
  --color-text-heading:   var(--color-brand-navy); /* títulos: #1E2A78 */
  --color-text-on-dark:   var(--color-white);
  --color-bg-default:     var(--color-white);
  --color-bg-subtle:      var(--color-navy-50);
  --color-bg-soft-green:  var(--color-green-50);
  --color-bg-dark:        var(--color-brand-navy);
  --color-border:         var(--color-navy-200);
  --color-border-strong:  var(--color-navy-300);

  /* === TIPOGRAFIA === */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-normal:  1.5;
  --lh-relaxed: 1.625;

  --ls-tight:  -0.02em;
  --ls-normal:  0;
  --ls-wide:    0.05em;

  /* === ESPAÇAMENTO === */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --section-padding-y-mobile:  var(--space-12);
  --section-padding-y-desktop: var(--space-20);
  --container-padding-x:       var(--space-4);
  --container-max-width:       1200px;

  /* === RADIUS === */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px rgba(30, 42, 120, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(30, 42, 120, 0.10), 0 2px 4px -2px rgba(30, 42, 120, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(30, 42, 120, 0.10), 0 4px 6px -4px rgba(30, 42, 120, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(30, 42, 120, 0.10), 0 8px 10px -6px rgba(30, 42, 120, 0.05);
  --shadow-emergency: 0 4px 14px rgba(198, 40, 40, 0.40);
  --shadow-whatsapp:  0 4px 14px rgba(37, 211, 102, 0.40);
  --shadow-brand:     0 4px 14px rgba(95, 163, 59, 0.30);
}

/* === 2. RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:target, [id] { scroll-margin-top: 80px; }

/* Scrollbar minimalista — track invisível, thumb finininho */
html { scrollbar-width: thin; scrollbar-color: rgba(30, 42, 120, 0.25) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(30, 42, 120, 0.22);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(30, 42, 120, 0.45); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-primary);
  background: var(--color-bg-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--color-text-heading); }

/* === 3. UTILITIES === */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--color-brand-navy); color: white; padding: var(--space-3) var(--space-4);
}
.skip-link:focus { left: 0; }

*:focus-visible {
  outline: 3px solid var(--color-brand-green);
  outline-offset: 2px;
}

/* === 4. ÍCONES (inline SVG via .icon) === */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; stroke-width: 2; }

/* === 5. BOTÕES === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  min-height: 56px;
  line-height: 1;
  transition: background 200ms, transform 100ms, box-shadow 200ms;
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn-emergency {
  background: var(--color-emergency); color: var(--color-white);
  box-shadow: var(--shadow-emergency);
  font-weight: var(--fw-bold);
}
.btn-emergency:hover { background: var(--color-emergency-hover); }

.btn-whatsapp {
  background: var(--color-whatsapp); color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover { background: var(--color-whatsapp-hover); box-shadow: var(--shadow-md); }

.btn-brand {
  background: var(--color-brand-green); color: var(--color-white);
  box-shadow: var(--shadow-brand);
}
.btn-brand:hover { background: var(--color-brand-green-hover); }

.btn-outline {
  background: transparent; color: var(--color-brand-navy);
  border: 2px solid var(--color-brand-navy);
}
.btn-outline:hover { background: var(--color-navy-50); }

.btn-block { width: 100%; }

@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 4px 14px rgba(198, 40, 40, 0.4); }
  50%      { box-shadow: 0 4px 24px rgba(198, 40, 40, 0.7); }
}
.btn-emergency--pulse { animation: pulse-emergency 2s ease-in-out infinite; }

/* === 6. CARD === */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  transition: box-shadow 200ms, transform 200ms;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* === 7. PLACEHOLDER (imagens não enviadas ainda) === */
.placeholder {
  position: relative;
  width: 100%;
  background-color: var(--color-green-50);
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0,
      transparent 14px,
      rgba(95, 163, 59, 0.10) 14px,
      rgba(95, 163, 59, 0.10) 16px
    );
  border: 1px solid var(--color-green-200);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: var(--fs-xs);
  color: var(--color-green-800);
  text-align: center;
  padding: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.placeholder--16x9 { aspect-ratio: 16 / 9; }
.placeholder--4x3 { aspect-ratio: 4 / 3; }
.placeholder--3x4 { aspect-ratio: 3 / 4; }
.placeholder--1x1 { aspect-ratio: 1 / 1; }

/* === 8. HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-3);
  gap: var(--space-4);
}
.site-header__logo {
  display: flex; align-items: center; gap: var(--space-2);
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-lg);
  color: var(--color-brand-navy);
  letter-spacing: var(--ls-tight);
  transition: opacity 200ms ease;
}
.site-header__logo:hover { opacity: 0.85; }
.site-header__logo-mark {
  width: 36px; height: 36px;
  background: var(--color-brand-green);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: white; font-weight: var(--fw-extrabold);
  font-size: var(--fs-base);
  position: relative;
}
.site-header__logo-mark::after {
  content: "24h";
  position: absolute;
  bottom: -4px; right: -8px;
  background: var(--color-emergency);
  color: white;
  font-size: 9px;
  font-weight: var(--fw-bold);
  padding: 2px 5px;
  border-radius: var(--radius-full);
  line-height: 1;
}
.site-header__logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.site-header__logo-text small { font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--color-text-muted); letter-spacing: 0; }

/* --- Desktop-only blocos: address + phones --- */
.header-address,
.header-phones { display: none; }

/* Mobile actions (Ligar 24h + hamburger) */
.header-mobile-actions {
  display: flex; align-items: center; gap: var(--space-2);
  margin-left: auto;
}
.header-phone-mobile {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--color-emergency);
  color: var(--color-white);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: background 200ms;
}
.header-phone-mobile:hover { background: var(--color-emergency-hover); }
.header-phone-mobile .icon { width: 16px; height: 16px; }

.header-more-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--color-white);
  color: var(--color-brand-navy);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: background 200ms, border-color 200ms;
}
.header-more-btn:hover { background: var(--color-navy-50); border-color: var(--color-border-strong); }
.header-more-btn svg { width: 22px; height: 22px; }

/* === DESKTOP HEADER (>= 1024px) === */
@media (min-width: 1024px) {
  .header-mobile-actions { display: none; }

  /* Endereço + botões "como chegar" (Waze + Google Maps) */
  .header-address {
    display: inline-flex; align-items: center; gap: var(--space-3);
    color: var(--color-text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.25;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
  }
  .header-address > .icon { width: 18px; height: 18px; color: var(--color-brand-green); flex-shrink: 0; }
  .header-address__text { display: inline-flex; flex-direction: column; }
  .header-address__street { display: block; font-weight: var(--fw-semibold); color: var(--color-text-primary); }
  .header-address__city { display: block; font-size: var(--fs-xs); color: var(--color-text-muted); }

  .header-address__routes { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
  .header-route {
    display: inline-grid; place-items: center;
    width: 34px; height: 34px;
    border-radius: var(--radius-md);
    color: var(--color-white);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 200ms, box-shadow 200ms, filter 200ms;
  }
  .header-route svg { width: 20px; height: 20px; }
  .header-route:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); filter: brightness(1.06); }
  .header-route--waze { background: #33CCFF; }
  .header-route--maps { background: #EA4335; }

  /* Bloco de telefones */
  .header-phones {
    display: flex; align-items: stretch; gap: var(--space-2);
    margin-left: auto;
  }
  .header-phone {
    display: inline-flex; align-items: center; gap: var(--space-2);
    text-decoration: none;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: transform 200ms, box-shadow 200ms, background 200ms;
  }
  .header-phone__text { display: flex; flex-direction: column; line-height: 1.15; gap: 2px; }
  .header-phone__label {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
  }
  .header-phone__number { font-size: 13px; font-weight: var(--fw-bold); white-space: nowrap; }

  .header-phone--primary {
    background: var(--color-emergency); color: var(--color-white);
    box-shadow: var(--shadow-sm);
  }
  .header-phone--primary:hover { background: var(--color-emergency-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .header-phone--primary .header-phone__icon {
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .header-phone--primary .header-phone__icon .icon { width: 18px; height: 18px; }
  @keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  }

  .header-phone--whatsapp {
    background: var(--color-whatsapp); color: var(--color-white);
    box-shadow: var(--shadow-sm);
  }
  .header-phone--whatsapp:hover { background: var(--color-whatsapp-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .header-phone--whatsapp .header-phone__icon {
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .header-phone--whatsapp .header-phone__icon .icon { width: 18px; height: 18px; }
}

/* Em telas intermediárias, alivia o header */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header__inner { gap: var(--space-3); }
  .header-address { padding: var(--space-2); gap: var(--space-2); }
  .header-address__city { display: none; }
  .header-phone__label { font-size: 9px; }
  .header-phone__number { font-size: 12px; }
}

/* === BOTTOM SHEET === */
.sheet[hidden] { display: none !important; }
.sheet {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(25, 27, 41, 0);
  transition: background 280ms ease;
  cursor: pointer;
}
.sheet__panel {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-3) var(--space-5) calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
  -webkit-overflow-scrolling: touch;
}
.sheet.is-visible .sheet__backdrop { background: rgba(25, 27, 41, 0.5); }
.sheet.is-visible .sheet__panel { transform: translateY(0); }

.sheet__handle {
  width: 36px; height: 4px;
  background: var(--color-navy-200);
  border-radius: 999px;
  margin: 0 auto var(--space-3);
}
.sheet__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-4);
}
.sheet__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-brand-navy);
  margin: 0;
}
.sheet__close {
  width: 44px; height: 44px;
  font-size: 26px;
  line-height: 1;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  transition: background 200ms, color 200ms;
}
.sheet__close:hover { background: var(--color-navy-50); color: var(--color-text-primary); }

.sheet__section { margin-bottom: var(--space-5); }
.sheet__section:last-child { margin-bottom: 0; }
.sheet__section-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin: 0 0 var(--space-3);
}

.sheet__address {
  display: flex; gap: var(--space-3);
  background: var(--color-green-50);
  border: 1px solid var(--color-green-100);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}
.sheet__address svg { width: 22px; height: 22px; color: var(--color-brand-green); flex-shrink: 0; margin-top: 2px; }
.sheet__address strong { color: var(--color-text-primary); font-weight: var(--fw-semibold); }

.sheet__map-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2);
}
.sheet__chip {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: background 200ms, border-color 200ms;
}
.sheet__chip:hover { background: var(--color-navy-50); border-color: var(--color-border-strong); }
.sheet__chip-mark {
  width: 22px; height: 22px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.sheet__row {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  margin-bottom: var(--space-2);
  transition: background 200ms, border-color 200ms;
}
.sheet__row:last-child { margin-bottom: 0; }
.sheet__row:hover { background: var(--color-navy-50); border-color: var(--color-border-strong); }
.sheet__row-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-navy-50);
  color: var(--color-brand-navy);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sheet__row-icon svg { width: 20px; height: 20px; }
.sheet__row-icon--whatsapp { background: var(--color-whatsapp); color: var(--color-white); }
.sheet__row-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sheet__row-text strong { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--color-text-primary); }
.sheet__row-text small { font-size: var(--fs-xs); color: var(--color-text-muted); }
.sheet__row-value { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--color-brand-navy); white-space: nowrap; }

.sheet__social {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2);
}
.sheet__social a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  transition: background 200ms, border-color 200ms;
}
.sheet__social a:hover { background: var(--color-navy-50); border-color: var(--color-border-strong); }
.sheet__social svg { width: 22px; height: 22px; color: var(--color-brand-navy); }

@media (min-width: 1024px) {
  .sheet { display: none; }
}

/* === 9. HERO === */
.hero {
  background: linear-gradient(180deg, var(--color-red-50) 0%, var(--color-white) 100%);
  padding-block: var(--space-8) var(--space-12);
  position: relative;
  overflow: hidden;
}
.hero__inner { display: grid; gap: var(--space-8); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--color-emergency);
  border: 1px solid var(--color-emergency);
  color: var(--color-white);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  width: fit-content;
}
.hero__eyebrow::before {
  content: ""; width: 6px; height: 6px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
.hero h1 {
  font-size: calc(var(--fs-4xl) - 0.875rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-text-primary);
  margin-top: var(--space-4);
  text-wrap: balance;
}
.hero__subtitle {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  margin-top: var(--space-4);
  line-height: var(--lh-normal);
  text-wrap: pretty;
}
.hero__ctas {
  display: grid; gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero__microcopy {
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  display: flex; align-items: center; gap: var(--space-2);
}
.hero__microcopy .check {
  width: 16px; height: 16px;
  background: var(--color-brand-green);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.hero__media .placeholder { aspect-ratio: 4 / 3; min-height: 240px; }

/* Slider de imagens (autoplay com crossfade) */
.hero__slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 800ms ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}

@media (min-width: 1024px) {
  .hero { padding-block: var(--space-16) var(--space-20); }
  .hero__inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--space-12); }
  .hero h1 { font-size: calc(var(--fs-5xl) - 0.875rem); }
  .hero__ctas { grid-template-columns: auto auto; justify-content: start; gap: var(--space-4); }
  .hero__media .placeholder { aspect-ratio: 4/3; min-height: 420px; }
}

/* === 10. SEÇÃO BASE === */
.section {
  padding-block: var(--section-padding-y-mobile);
}
.section--dark {
  background: var(--color-brand-navy);
  color: var(--color-text-on-dark);
}
.section--soft-green { background: var(--color-bg-soft-green); }
.section--subtle { background: var(--color-bg-subtle); }

.section__head {
  display: grid; gap: var(--space-3);
  text-align: center;
  margin-bottom: var(--space-8);
  max-width: 720px; margin-inline: auto;
}
.section__head--start { text-align: left; margin-inline: 0; }
.section__eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-brand-green);
}
.section--dark .section__eyebrow { color: var(--color-green-300); }

.section__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-text-primary);
  text-wrap: balance;
}
.section--dark .section__title { color: white; }

.section__subtitle {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  text-wrap: pretty;
}
.section--dark .section__subtitle { color: var(--color-navy-200); }

@media (min-width: 1024px) {
  .section { padding-block: var(--section-padding-y-desktop); }
  .section__title { font-size: var(--fs-4xl); }
  .section__subtitle { font-size: var(--fs-lg); }
}

/* === 11. REVIEWS MARQUEE === */
.reviews { background: var(--color-bg-subtle); }
.reviews__rating {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--color-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  font-size: var(--fs-sm);
}
.reviews__rating .stars { color: #FBBF24; letter-spacing: 1px; }

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-2);
  margin-inline: calc(var(--space-4) * -1);
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg-subtle), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-bg-subtle), transparent);
}
.marquee__track {
  display: flex; gap: var(--space-4);
  width: max-content;
  animation: marquee-scroll 80s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  flex: 0 0 300px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.review-card__head { display: flex; align-items: center; gap: var(--space-3); }
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-green-100);
  color: var(--color-brand-green);
  display: grid; place-items: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}
.review-card__name { font-weight: var(--fw-semibold); font-size: var(--fs-sm); color: var(--color-text-primary); line-height: 1.2; }
.review-card__meta { font-size: var(--fs-xs); color: var(--color-text-muted); display: flex; align-items: center; gap: var(--space-2); margin-top: 2px; }
.review-card__meta .stars { color: #FBBF24; letter-spacing: 1px; }
.review-card__body {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews__cta { text-align: center; margin-top: var(--space-8); }
.reviews__cta a {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: var(--fw-semibold);
  color: var(--color-brand-navy);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: var(--fs-base);
}
.reviews__cta a:hover { color: var(--color-brand-green); }

@media (min-width: 1024px) {
  .review-card { flex: 0 0 360px; }
}

/* === 12. DIFERENCIAIS === */
.differentials { background: var(--color-green-100); }
.differentials .section__head { max-width: none; gap: var(--space-5); margin-bottom: var(--space-10); }
.differentials .section__title { text-wrap: nowrap; }
@media (max-width: 768px) {
  .differentials .section__title { text-wrap: balance; }
}
.differentials__grid {
  display: grid; gap: var(--space-5);
}
.diff-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.diff-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.diff-card__icon {
  width: 48px; height: 48px;
  background: var(--color-green-50);
  color: var(--color-brand-green);
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  margin-bottom: var(--space-2);
}
.diff-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: var(--lh-snug);
}
.diff-card p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}
@media (min-width: 1024px) {
  .differentials__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}

/* === 13. URGÊNCIA === */
.urgency { background: var(--color-red-50); }
.urgency__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--space-3);
}
.urgency__title .highlight {
  display: inline-block;
  background: var(--color-emergency);
  color: white;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  transform: rotate(-1deg);
}
.urgency__intro {
  text-align: center; color: var(--color-text-secondary);
  font-size: var(--fs-lg); margin-bottom: var(--space-8);
  font-weight: var(--fw-medium);
}
.urgency__grid { display: grid; gap: var(--space-8); }
.urgency__list {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  border: 1px solid var(--color-green-200);
  box-shadow: var(--shadow-md);
}
.urgency__list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-navy-100);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text-primary);
}
.urgency__list li:last-child { border-bottom: none; }
.urgency__bullet {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--color-emergency);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: var(--fw-bold);
  margin-top: 2px;
}
.urgency__aside { display: flex; flex-direction: column; gap: var(--space-5); }
.urgency__aside p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}
.urgency__aside p strong { color: var(--color-text-primary); font-weight: var(--fw-semibold); }
.urgency__ctas { display: grid; gap: var(--space-3); margin-top: var(--space-2); }

@media (min-width: 1024px) {
  .urgency__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12); align-items: start; }
  .urgency__title { font-size: var(--fs-5xl); }
}

/* === 14. CORPO CLÍNICO === */
.team__intro {
  max-width: 980px; margin-inline: auto;
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  text-align: center;
  margin-bottom: var(--space-10);
  display: flex; flex-direction: column;
  gap: var(--space-3);
}
.team__intro p { margin: 0; }
.team__intro strong { color: var(--color-text-primary); font-weight: var(--fw-semibold); }

/* Team slider */
.team-slider {
  position: relative;
}
.team-slider__viewport {
  overflow: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
  border-radius: var(--radius-2xl);
}
.team-slider__viewport::-webkit-scrollbar { display: none; }
.team-slider__viewport:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 4px;
}
.team-slider__track {
  display: flex;
  gap: var(--space-5);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.team-slider__nav {
  display: none;
  position: absolute;
  top: calc(50% - var(--space-8));
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-brand-navy);
  cursor: pointer;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background 200ms, color 200ms, transform 200ms, opacity 200ms;
}
.team-slider__nav svg { width: 20px; height: 20px; }
.team-slider__nav:hover {
  background: var(--color-brand-green);
  color: var(--color-white);
  transform: translateY(-50%) scale(1.06);
}
.team-slider__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%);
}
.team-slider__nav--prev { left: -10px; transform: translateY(-50%); }
.team-slider__nav--next { right: -10px; transform: translateY(-50%); }
.team-slider__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.team-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 200ms, width 200ms;
}
.team-slider__dot:hover { background: var(--color-text-muted); }
.team-slider__dot[aria-selected="true"] {
  background: var(--color-brand-green);
  width: 24px;
  border-radius: var(--radius-full);
}

.vet-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.vet-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-green-200);
}
.vet-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.vet-card__media .placeholder {
  aspect-ratio: 4 / 5;
  border-radius: 0; border: none;
  border-bottom: 1px solid var(--color-green-200);
}
.vet-card__body {
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-1);
  text-align: center;
}
.vet-card__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-wide);
  color: var(--color-text-primary);
  text-transform: uppercase;
}
.vet-card__role {
  font-size: var(--fs-sm);
  color: var(--color-brand-green);
  font-weight: var(--fw-semibold);
}
.vet-card__crmv {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.5px;
  margin-top: var(--space-1);
}
@media (min-width: 640px) {
  .vet-card { flex: 0 0 calc((100% - var(--space-5)) / 2); }
}
@media (min-width: 1024px) {
  .team__intro { font-size: var(--fs-lg); }
  .vet-card { flex: 0 0 calc((100% - var(--space-5) * 2) / 3); }
  .team-slider { padding-inline: var(--space-8); }
  .team-slider__nav { display: inline-flex; }
  .team-slider__nav--prev { left: -8px; }
  .team-slider__nav--next { right: -8px; }
}

/* === 15. SERVIÇOS === */
.services { background: var(--color-brand-navy); color: white; }
.services .section__title { color: white; }
.services .section__subtitle { color: var(--color-navy-200); }
.services__grid { display: grid; gap: var(--space-8); }
.services__col {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}
.services__col-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-green-300);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.services__list { display: grid; gap: var(--space-3); }
.services__list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--fs-base);
  color: var(--color-navy-100);
  line-height: var(--lh-snug);
}
.services__list li::before {
  content: ""; flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--color-brand-green);
  border-radius: 50%;
  margin-top: 9px;
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .services__col { padding: var(--space-8); }
  .services__list { grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-5); }
}

/* === 16. LOCALIZAÇÃO === */
.location { background: var(--color-brand-navy); color: white; }
.location .section__title { color: white; }
.location .section__subtitle { color: var(--color-navy-200); }

/* Mapa dominante — ocupa toda a largura, mais alto */
.location__map {
  position: relative;
  background: var(--color-navy-700);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  height: 360px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  border: 1px solid var(--color-navy-700);
  margin-bottom: var(--space-6);
}
.location__map iframe { display: block; width: 100%; height: 100%; filter: saturate(0.92); }
@media (min-width: 768px) { .location__map { height: 440px; } }
@media (min-width: 1024px) { .location__map { height: 500px; } }

/* Wrapper bottom — empilhado no mobile, lado a lado no desktop */
.location__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
@media (min-width: 1024px) {
  .location__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
  }
}

/* Endereço — bloco de texto destacado, debaixo do mapa */
.location__address {
  display: flex; align-items: flex-start; gap: var(--space-4);
}
@media (min-width: 1024px) {
  .location__address { flex: 1 1 auto; min-width: 0; }
}
.location__address-pin {
  width: 28px; height: 28px;
  color: var(--color-green-300);
  flex-shrink: 0;
  margin-top: 2px;
}
.location__address-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.location__address-line {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
}
.location__address-meta {
  font-size: var(--fs-sm);
  color: var(--color-navy-200);
}
@media (min-width: 1024px) {
  .location__address-line { font-size: var(--fs-xl); }
  .location__address-meta { font-size: var(--fs-base); }
}

/* Botões de rota com logo (Maps + Waze) */
.location__action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .location__action { flex-direction: row; align-items: center; gap: var(--space-3); }
}
@media (min-width: 1024px) {
  .location__action { flex-shrink: 0; }
}
.location__route {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 200ms, box-shadow 200ms, filter 200ms;
  white-space: nowrap;
}
.location__route:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); filter: brightness(1.05); }
.location__route-logo {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.location__route-logo svg { width: 24px; height: 24px; display: block; }
.location__route--maps {
  background: var(--color-white);
  color: #1F1F1F;
}
.location__route--maps .location__route-logo { background: #FFFFFF; color: #EA4335; }
.location__route--waze {
  background: #33CCFF;
  color: var(--color-white);
}
.location__route--waze .location__route-logo { background: rgba(255,255,255,0.18); color: var(--color-white); }

/* === 17. CTA FINAL === */
.final-cta {
  background:
    radial-gradient(ellipse at top right, rgba(102,149,40,0.25), transparent 60%),
    var(--color-brand-navy);
  color: white;
  text-align: center;
}
.final-cta__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  color: white;
  text-wrap: balance;
  max-width: 800px; margin-inline: auto;
}
.final-cta__notice {
  margin-top: var(--space-6);
  margin-inline: auto;
  max-width: 720px;
  color: var(--color-navy-100);
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
}
.final-cta__ctas {
  display: grid; gap: var(--space-3);
  margin-top: var(--space-8);
  max-width: 560px; margin-inline: auto;
}
@media (min-width: 1024px) {
  .final-cta__title { font-size: var(--fs-6xl); }
  .final-cta__ctas { grid-template-columns: 1fr 1fr; }
}

/* === 18. FOOTER === */
.site-footer {
  background: var(--color-navy-900);
  color: var(--color-navy-300);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  font-size: var(--fs-sm);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) {
  .site-footer__top { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); }
}
@media (min-width: 1024px) {
  .site-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-12);
  }
}
.footer-col__title {
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-5);
}

/* Brand bloco */
.footer-brand {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.footer-brand__mark {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-navy-100);
  color: var(--color-white);
  display: grid; place-items: center;
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-base);
  position: relative;
  flex-shrink: 0;
  padding: 10px;
}
.footer-brand__symbol {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-brand__24 {
  position: absolute;
  bottom: -8px; right: -10px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.footer-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand__text strong { color: var(--color-white); font-size: var(--fs-base); font-weight: var(--fw-extrabold); letter-spacing: 0.04em; }
.footer-brand__text small { color: var(--color-navy-300); font-size: var(--fs-xs); }

.footer-address {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-navy-200);
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex; gap: var(--space-2);
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
  display: grid; place-items: center;
  transition: background 200ms, transform 200ms;
}
.footer-social a:hover { background: var(--color-brand-green); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* Listas */
.footer-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--space-4);
}
.footer-list li { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.footer-list strong {
  color: var(--color-navy-300);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}
.footer-list a, .footer-list span {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: color 150ms;
}
.footer-list a:hover { color: var(--color-green-300); }
.footer-list__note {
  color: var(--color-navy-300);
  font-size: var(--fs-xs);
  font-style: italic;
  margin-top: var(--space-2);
}

.footer-list--links { gap: var(--space-3); }
.footer-list--links li { gap: 0; }
.footer-list--links a, .footer-link-button {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: color 150ms;
}
.footer-list--links a:hover, .footer-link-button:hover { color: var(--color-green-300); }
.footer-link-button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; text-align: left;
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.footer-link-button::before {
  content: '🍪';
  font-size: 0.9em;
}

/* Bottom strip */
.site-footer__bottom {
  padding-top: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-2);
  align-items: center; text-align: center;
}
.footer-disclaimer {
  font-size: var(--fs-xs);
  color: var(--color-navy-200);
  line-height: var(--lh-relaxed);
  max-width: 720px;
  margin-bottom: var(--space-2);
}
.footer-disclaimer strong { color: var(--color-white); font-weight: var(--fw-semibold); }
.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--color-navy-200);
  font-weight: var(--fw-semibold);
  margin: 0;
}
.footer-legal-line {
  font-size: var(--fs-xs);
  color: var(--color-navy-300);
  line-height: var(--lh-relaxed);
  margin: 0;
  max-width: 720px;
}
.footer-legal-line a {
  color: var(--color-navy-100);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal-line a:hover { color: var(--color-white); }

/* === 19. NOVOS COMPONENTES (iter\u00e7\u00e3o auditoria) === */

/* Hero chips (eyebrow + location) */
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.hero__location {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}
.hero__location svg { color: var(--color-emergency); }

/* Mobile-only merged chip — combina "Plantão ativo" + "Sete Lagoas/MG" */
.hero__chip-merged {
  display: none;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--color-green-200);
  color: var(--color-brand-green);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  width: fit-content;
}
.hero__chip-merged::before {
  content: ""; width: 6px; height: 6px;
  background: var(--color-brand-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(102,149,40,0.6);
  animation: pulse-dot 2s ease-out infinite;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .hero__chips .hero__eyebrow,
  .hero__chips .hero__location { display: none; }
  .hero__chip-merged { display: inline-flex; }
}

/* Hero social proof (G + 4,9 + 66 reviews) */
.hero__social-proof {
  display: flex; align-items: center; gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}
.hero__social-proof__g {
  width: 32px; height: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: grid; place-items: center;
}
.hero__social-proof__rating {
  display: flex; align-items: center; gap: var(--space-2);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  font-size: var(--fs-base);
}
.hero__social-proof__rating .stars { color: #FBBF24; letter-spacing: 1px; font-size: var(--fs-sm); }
.hero__social-proof__text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

/* Diff card hero (27 leitos) */
.diff-card--hero {
  border: 2px solid var(--color-brand-green);
  box-shadow: var(--shadow-lg), 0 0 0 6px var(--color-green-50);
}

/* Urgency icon bullets (substitui n\u00fameros) */
.urgency__bullet svg { color: white; }
.urgency__list--cols { /* 2 cols desktop */ }
@media (min-width: 1024px) {
  .urgency__list { padding: var(--space-8); }
  .urgency__list {
    columns: 2;
    column-gap: var(--space-8);
  }
  .urgency__list li {
    break-inside: avoid;
    padding-block: var(--space-3);
  }
  .urgency__grid { grid-template-columns: 1.4fr 1fr; }
}

/* Services chips */
.services__chips {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
}
.services__chips li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.3;
}
.services__chips li::before { display: none; }

/* Review card Google badge */
.review-card__head { gap: var(--space-3); }
.review-card__google {
  width: 28px; height: 28px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* Marquee mais r\u00e1pido */
.marquee__track { animation-duration: 60s; }

/* Final CTA badge (live time) */
.final-cta__badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-6);
}
.final-cta__dot {
  width: 10px; height: 10px;
  background: var(--color-green-400);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(154, 209, 82, 0.6);
  animation: pulse-dot-light 2s ease-out infinite;
}
@keyframes pulse-dot-light {
  0% { box-shadow: 0 0 0 0 rgba(154, 209, 82, 0.6); }
  100% { box-shadow: 0 0 0 14px rgba(154, 209, 82, 0); }
}
#liveTime { color: var(--color-green-300); font-variant-numeric: tabular-nums; }

/* Section divider sutil (curva fina entre se\u00e7\u00f5es claras) */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-green-200), transparent);
  border: none; margin: 0;
}

/* H1 aliviado (Poppins fica equilibrado em 700) */
.hero h1 {
  font-weight: var(--fw-bold);
  letter-spacing: -0.025em;
}
.urgency__title {
  font-weight: var(--fw-bold);
  letter-spacing: -0.025em;
}
.final-cta__title {
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   COOKIE BANNER + MODAL (LGPD)
   ========================================================================== */

/* Banner */
.cookie-banner {
  position: fixed;
  z-index: 9998;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  max-width: 460px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(25,27,41,0.18), 0 4px 12px rgba(25,27,41,0.08);
  padding: var(--space-6);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    right: var(--space-6);
    bottom: var(--space-6);
  }
}
.cookie-banner__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2) 0;
  display: flex; align-items: center; gap: var(--space-2);
}
.cookie-banner__text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  margin: 0 0 var(--space-5) 0;
}
.cookie-banner__link {
  color: var(--color-brand-green);
  text-decoration: underline;
  font-weight: var(--fw-semibold);
}
.cookie-banner__link:hover { color: var(--color-green-700); }

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
@media (min-width: 480px) {
  .cookie-banner__actions {
    grid-template-columns: auto auto 1fr;
  }
}

/* Botões internos do consent */
.cookie-btn {
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms, border-color 200ms, color 200ms, transform 100ms;
  white-space: nowrap;
}
.cookie-btn:active { transform: translateY(1px); }
.cookie-btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
}
.cookie-btn--ghost:hover { background: var(--color-bg-soft); color: var(--color-text-primary); }
.cookie-btn--outline {
  background: var(--color-white);
  color: var(--color-text-primary);
  border-color: var(--color-border);
}
.cookie-btn--outline:hover { border-color: var(--color-brand-navy); }
.cookie-btn--primary {
  background: var(--color-brand-green);
  color: var(--color-white);
  border-color: var(--color-brand-green);
}
.cookie-btn--primary:hover { background: var(--color-green-700); border-color: var(--color-green-700); }

/* Modal */
.cookie-modal[hidden] { display: none !important; }
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity 250ms ease;
}
.cookie-modal.is-visible { opacity: 1; }

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25,27,41,0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.cookie-modal__content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  transform: scale(0.96);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-modal.is-visible .cookie-modal__content { transform: scale(1); }

.cookie-modal__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}
.cookie-modal__header h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}
.cookie-modal__close {
  background: var(--color-bg-soft);
  border: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  font-size: 22px; line-height: 1;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 150ms;
}
.cookie-modal__close:hover { background: var(--color-border); color: var(--color-text-primary); }

.cookie-modal__lead {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  margin: 0 0 var(--space-6) 0;
}

.cookie-toggle-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  border-top: 1px solid var(--color-border);
}
.cookie-toggle {
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.cookie-toggle__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
}
.cookie-toggle__label {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--fs-base);
  color: var(--color-text-primary);
}
.cookie-toggle__label strong { font-weight: var(--fw-semibold); }
.cookie-toggle__pill {
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  background: var(--color-bg-soft-green);
  color: var(--color-green-700);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Switch toggle */
.cookie-toggle__switch {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.cookie-toggle__switch input {
  position: absolute; opacity: 0; pointer-events: none;
  width: 100%; height: 100%; margin: 0;
}
.cookie-toggle__switch input:not(:disabled) { cursor: pointer; pointer-events: auto; }
.cookie-toggle__track {
  position: absolute; inset: 0;
  background: var(--color-border);
  border-radius: var(--radius-full);
  transition: background 200ms;
}
.cookie-toggle__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 200ms;
}
.cookie-toggle__switch input:checked + .cookie-toggle__track {
  background: var(--color-brand-green);
}
.cookie-toggle__switch input:checked + .cookie-toggle__track::after {
  transform: translateX(20px);
}
.cookie-toggle__switch--locked .cookie-toggle__track {
  background: var(--color-green-700);
  opacity: 0.6;
}

.cookie-toggle__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  margin: var(--space-2) 0 0 0;
  padding-right: 56px; /* alinha com o texto, longe do switch */
}

.cookie-modal__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ==========================================================================
   PÁGINAS LEGAIS (privacidade, termos)
   ========================================================================== */

.legal-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-4);
  position: sticky;
  top: 0;
  z-index: 100;
}
.legal-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
}
.legal-header__brand {
  display: flex; align-items: center; gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text-primary);
  transition: opacity 200ms ease;
}
.legal-header__brand:hover { opacity: 0.85; }
.legal-header__mark {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-brand-green);
  color: var(--color-white);
  display: grid; place-items: center;
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-base);
  position: relative;
}
.legal-header__24 {
  position: absolute;
  bottom: -4px; right: -6px;
  background: var(--color-brand-red);
  color: var(--color-white);
  font-size: 9px;
  font-weight: var(--fw-bold);
  padding: 2px 5px;
  border-radius: var(--radius-full);
}
.legal-header__text { display: flex; flex-direction: column; line-height: 1.05; }
.legal-header__text strong { font-weight: var(--fw-extrabold); font-size: var(--fs-base); letter-spacing: 0.04em; }
.legal-header__text small { font-size: var(--fs-xs); color: var(--color-text-muted); }

.legal-header__back {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-brand-navy);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: background 150ms;
}
.legal-header__back:hover { background: var(--color-bg-soft); }

.legal-page {
  background: var(--color-bg-soft);
  padding-block: var(--space-12);
  min-height: 60vh;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 240px 1fr;
    gap: var(--space-12);
  }
}

/* TOC */
.legal-toc { display: none; }
@media (min-width: 1024px) {
  .legal-toc { display: block; }
}
.legal-toc__sticky {
  position: sticky;
  top: 100px;
}
.legal-toc__title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4) 0;
}
.legal-toc__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--space-2);
  border-left: 2px solid var(--color-border);
}
.legal-toc__list li { padding-left: var(--space-3); }
.legal-toc__list a {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  padding-block: 2px;
  transition: color 150ms;
}
.legal-toc__list a:hover { color: var(--color-brand-green); }

/* Content */
.legal-content {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  max-width: 760px;
}
@media (min-width: 768px) {
  .legal-content { padding: var(--space-12); }
}

.legal-eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-brand-green);
  margin: 0 0 var(--space-3) 0;
}
.legal-content h1 {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-3) 0;
}
.legal-meta {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-8) 0;
}
.legal-lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-10) 0;
  text-wrap: pretty;
}

.legal-content section { margin-bottom: var(--space-10); }
.legal-content section:last-child { margin-bottom: 0; }

.legal-content h2 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.015em;
  scroll-margin-top: 100px;
}
.legal-content h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin: var(--space-6) 0 var(--space-3) 0;
}
.legal-content p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-4) 0;
  text-wrap: pretty;
}
.legal-content ul {
  margin: 0 0 var(--space-4) 0;
  padding-left: var(--space-6);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}
.legal-content ul li { margin-bottom: var(--space-2); }
.legal-content a {
  color: var(--color-brand-green);
  text-decoration: underline;
  font-weight: var(--fw-medium);
}
.legal-content a:hover { color: var(--color-green-700); }
.legal-content strong { color: var(--color-text-primary); font-weight: var(--fw-semibold); }
.legal-content em {
  font-style: normal;
  background: var(--color-bg-soft-yellow, #FEF3C7);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
}

.legal-info {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 var(--space-4) 0;
  display: flex; flex-direction: column; gap: var(--space-2);
}
.legal-info li { margin: 0 !important; padding: var(--space-3) var(--space-4); background: var(--color-bg-soft); border-radius: var(--radius-md); }

.legal-callout {
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-soft-green);
  border-left: 4px solid var(--color-brand-green);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary) !important;
}

.legal-table-wrap { overflow-x: auto; margin-bottom: var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.legal-table th, .legal-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.4;
}
.legal-table th {
  background: var(--color-bg-soft);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table tbody tr:hover { background: var(--color-bg-soft); }

.legal-inline-btn {
  background: var(--color-brand-green);
  color: var(--color-white);
  border: 0;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background 150ms;
}
.legal-inline-btn:hover { background: var(--color-green-700); }

/* ==========================================================================
   PÁGINA 404
   ========================================================================== */
.page-404 {
  background: var(--color-bg-soft-green);
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.error-page { padding-block: var(--space-12); width: 100%; }
.error-page .container { text-align: center; max-width: 640px; }
.error-code {
  font-size: clamp(7rem, 22vw, 12rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-brand-green);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0 0 var(--space-6) 0;
  text-shadow: 0 4px 16px rgba(102,149,40,0.2);
}
.error-title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
}
.error-subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-8) 0;
  line-height: var(--lh-normal);
  text-wrap: pretty;
}
.error-actions {
  display: flex; gap: var(--space-3); justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.error-actions .btn { min-width: 220px; }
.back-link {
  color: var(--color-brand-navy);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: background 150ms;
}
.back-link:hover { background: rgba(255,255,255,0.5); }


/* === FLOATING WHATSAPP === */
.float-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-white);
  display: grid;
  place-items: center;
  z-index: 90; /* abaixo do banner LGPD (9998) */
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.92);
  transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 240ms, background 200ms;
}
.float-whatsapp[hidden] { display: none !important; }
.float-whatsapp.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 240ms ease, transform 240ms ease, background 200ms;
}
.float-whatsapp:hover { background: var(--color-whatsapp-hover); transform: translateY(-2px) scale(1.04); }
.float-whatsapp:active { transform: translateY(0) scale(0.98); }
.float-whatsapp svg { width: 28px; height: 28px; }
@media (min-width: 768px) {
  .float-whatsapp { bottom: 28px; right: 28px; width: 60px; height: 60px; }
  .float-whatsapp svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-whatsapp { transition: opacity 0s, visibility 0s; transform: none; }
  .float-whatsapp.is-visible { transform: none; }
}


/* === LOGO IMG (header, legais, footer) === */
.site-header__logo-img {
  height: 32px;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .site-header__logo-img { height: 36px; }
}
.legal-header__logo-img {
  height: 30px;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .legal-header__logo-img { height: 34px; }
}
/* Badge 24h (imagem do cliente) ao lado do logo no header e páginas legais */
.site-header__logo-badge,
.legal-header__logo-badge {
  display: block;
  height: 40px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .site-header__logo-badge { height: 44px; }
  .legal-header__logo-badge { height: 42px; }
}

/* ==========================================================================
   PAPER MODE — snapshot pra apresentacao do design ao cliente
   Ativa via ?paper=1 na URL (em qualquer pagina: index, termos, privacidade, 404).
   Esconde elementos JS-dependent e pausa animacoes pra snapshot ficar limpo.
   ========================================================================== */

html.paper-mode .cookie-banner,
html.paper-mode #cookie-modal,
html.paper-mode .float-whatsapp {
  display: none !important;
}

html.paper-mode .urgency__pill,
html.paper-mode .btn-emergency--pulse,
html.paper-mode .hero__media .placeholder,
html.paper-mode .marquee__track,
html.paper-mode .review-card .stars svg {
  animation: none !important;
}

html.paper-mode .marquee__track {
  transform: translateX(0) !important;
}

html.paper-mode .reveal {
  opacity: 1 !important;
  transform: none !important;
}

