/* ==========================================================================
   MATRIZ MEDICINA E SEGURANÇA — LANDING PAGE GERAL (LAVRAS/MG)
   Design System: Editorial Arquitetônico Clean & Solar
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  src: url('assets/manrope-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/manrope-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/manrope-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/manrope-extrabold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta Editorial Solar & Limpa */
  --bg-white: #FFFFFF;
  --bg-subtle: #FAF9F6;
  --bg-paper: #F6F5F0;
  --bg-sand: #EFEFEA;
  --bg-stone: #E7E6DF;

  /* Tipografia & Contraste */
  --ink: #141517;
  --ink-soft: #2A2C30;
  --muted: #565860;
  --muted-light: #767880;

  /* Divisórias Técnicas Arquitetônicas */
  --line: #E2E2DC;
  --line-strong: #CECEC6;

  /* Vermelho Institucional Matriz */
  --red: #C9141C;
  --red-bright: #D71924;
  --red-dark: #9B0E15;
  --red-tint: #FDF2F3;
  --red-tint-strong: #FCE6E8;
  --red-border: #F1C4C7;

  /* Verde Operacional / WhatsApp */
  --green-wa: #1FA855;
  --green-wa-dark: #168A43;

  /* Tipografia */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', Impact, sans-serif;

  /* Raios e Sombras */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-xs: 0 2px 6px rgba(20, 21, 23, 0.03);
  --shadow-sm: 0 8px 24px -6px rgba(20, 21, 23, 0.05);
  --shadow-md: 0 18px 42px -12px rgba(20, 21, 23, 0.08);
  --shadow-lg: 0 28px 64px -16px rgba(20, 21, 23, 0.11);
  --shadow-red: 0 10px 26px -6px rgba(201, 20, 28, 0.26);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  background-color: var(--bg-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

::selection {
  background-color: var(--red);
  color: #FFFFFF;
}

:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--red);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  top: 12px;
}

/* Containers & Layout */
.container {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.section-compact {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

/* Componentes Tipográficos & Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.red-square {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--red);
  border-radius: 1.5px;
  flex-shrink: 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.section-header h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-header h2 span {
  color: var(--muted);
  font-weight: 600;
}

.section-lead {
  max-width: 430px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* Sistema de Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.22s ease;
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn-primary {
  background-color: var(--red);
  color: #FFFFFF;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(201, 20, 28, 0.36);
}

.btn-outline {
  background-color: var(--bg-white);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background-color: var(--red-tint);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  gap: 10px;
}

.btn-lg {
  min-height: 58px;
  padding: 16px 28px;
  font-size: 15.5px;
}

.btn-block {
  width: 100%;
}

.text-action-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--red);
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--red-border);
}

.text-action-link:hover {
  border-bottom-color: var(--red);
  gap: 14px;
}

/* ==========================================================================
   1. TOPBAR & HEADER INSTITUCIONAL
   ========================================================================== */
.topbar {
  background-color: var(--bg-paper);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink-soft);
}

.topbar-badge {
  background-color: var(--red-tint-strong);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--red-border);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.topbar-right span,
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-right svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.topbar-sep {
  color: var(--line-strong);
}

.topbar-phone {
  color: var(--ink);
  font-weight: 800;
}
.topbar-phone:hover {
  color: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}

.brand {
  width: 176px;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--red);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-paper);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phone-pill svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.header-phone-pill:hover {
  border-color: var(--red-border);
  background-color: var(--red-tint);
  color: var(--red);
}

.btn-header {
  min-height: 46px;
  padding: 11px 22px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.22s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  background-color: var(--bg-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
}

.mobile-nav-inner {
  display: grid;
  gap: 4px;
  padding: 18px 0 24px;
}

.mobile-nav-inner a:not(.btn) {
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--bg-paper);
}

.mobile-nav-inner a:not(.btn):hover {
  background-color: var(--red-tint);
  color: var(--red);
}

.mobile-nav-cta {
  margin-top: 12px;
}

.reading-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ==========================================================================
   2. HERO SECTION CLEAN & EDITORIAL
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 20, 28, 0.045), transparent 42%),
    linear-gradient(180deg, var(--bg-white) 0%, var(--bg-paper) 100%);
  border-bottom: 1px solid var(--line);
}

/* Sutil grade arquitetônica no topo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 21, 23, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 21, 23, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(201, 20, 28, 0.25);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.hero-description {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 24px;
}

.hero-description strong {
  color: var(--ink);
  font-weight: 700;
}

/* Callout do Diferencial de Centralização */
.integration-callout {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 22px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.integration-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--red-tint);
  color: var(--red);
  display: grid;
  place-items: center;
}

.integration-icon svg {
  width: 24px;
  height: 24px;
}

.integration-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--red);
  margin-bottom: 4px;
}

.integration-text strong {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.integration-text p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-checks svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  stroke-width: 2.4;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}

.google-badge:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.google-g-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(#4285F4 0 25%, #34A853 25% 45%, #FBBC05 45% 65%, #EA4335 65% 82%, #4285F4 82%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.google-badge-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.stars-inline {
  display: inline-flex;
  gap: 2px;
  color: #F59E0B;
}
.stars-inline svg {
  width: 13px;
  height: 13px;
}

.google-badge-info > span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

/* Composição Visual Clean do Hero — Alinhada 100% às margens do container de texto */
.hero-bento {
  position: relative;
  display: flex;
}

.bento-main-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-sand);
  box-shadow: var(--shadow-lg);
}

.bento-main-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}

.photo-tag-top {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 20, 28, 0.2);
}

.photo-caption-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.photo-caption-bar strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.photo-caption-bar span {
  font-size: 12px;
  color: var(--muted);
}

.caption-pill {
  padding: 5px 11px;
  background-color: var(--red-tint);
  border: 1px solid var(--red-border);
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 800;
  color: var(--red) !important;
  white-space: nowrap;
}

.bento-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bento-sub-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.bento-sub-photo img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.bento-sub-photo figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.sub-kicker {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 2px;
}

.bento-sub-photo strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
}

.bento-sub-photo span:not(.sub-kicker) {
  font-size: 11.5px;
  color: var(--muted);
}

.architectural-stamp {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.stamp-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
  padding-right: 16px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.stamp-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.stamp-copy span {
  font-size: 12px;
  color: var(--muted);
}

/* Faixa de Números Estruturais (Trust Strip) */
.trust-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.trust-item {
  padding: 26px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-item:last-child {
  border-right: none;
}

.trust-index {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
}

.trust-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}

.trust-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   3. CARROSSEL OFICIAL DAS 24 GRANDES EMPRESAS CLIENTES
   ========================================================================== */
.clients-section {
  background-color: var(--bg-white);
}

.clients-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 32px;
}

.clients-title {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.clients-title span {
  color: var(--muted);
  font-weight: 500;
}

.clients-controls-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

.clients-subtitle {
  max-width: 340px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-white);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.2s ease;
}

.carousel-controls button:hover {
  background-color: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
}

.flip-x {
  transform: rotate(180deg);
}

.pause-symbol {
  font-size: 13px;
  font-weight: 800;
}

.logo-carousel {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-subtle);
  padding: 22px 0;
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-subtle), transparent);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-subtle), transparent);
}

.logo-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.logo-viewport::-webkit-scrollbar {
  display: none;
}

.logo-track,
.logo-group {
  display: flex;
  width: max-content;
  align-items: center;
}

.logo-cell {
  width: 225px;
  height: 124px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.logo-cell::after {
  content: '';
  position: absolute;
  right: 0;
  top: 38px;
  height: 48px;
  width: 1px;
  background-color: var(--line);
}

.logo-cell img {
  width: 185px;
  height: 96px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.06);
  opacity: 0.85;
  transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.logo-cell:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

.carousel-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.carousel-footer-bar span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.carousel-footer-bar svg {
  width: 15px;
  height: 15px;
  color: var(--red);
}

/* ==========================================================================
   4. VISÃO GERAL DOS 4 PILARES INTEGRADOS (BENTO GRID NAVEGÁVEL)
   ========================================================================== */
.pillars-section {
  background-color: var(--bg-paper);
}

.pillars-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.pillar-media {
  position: relative;
  min-height: 290px;
  background-color: var(--bg-sand);
  overflow: hidden;
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.pillar-card:hover .pillar-media img {
  transform: scale(1.04);
}

.pillar-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
}

.pillar-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pillar-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--red-tint);
  border: 1px solid var(--red-border);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.pillar-body h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.pillar-body > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 16px;
}

.pillar-list {
  display: grid;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

.pillar-list li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.pillar-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.pillar-links {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pillar-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
}
.pillar-primary-link:hover {
  gap: 12px;
}

.pillar-secondary-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 10px;
  background-color: var(--bg-paper);
  border-radius: 999px;
}
.pillar-secondary-link:hover {
  background-color: var(--ink);
  color: #FFFFFF;
}

/* Faixa de Sinergia Operacional */
.synergy-strip {
  margin-top: 28px;
  padding: 32px 36px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.synergy-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
  background-color: var(--red-tint);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.synergy-left h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.synergy-left p {
  font-size: 14px;
  color: var(--muted);
}

.synergy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.synergy-step {
  padding: 16px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.synergy-step span {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 4px;
}

.synergy-step strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 4px;
}

.synergy-step small {
  font-size: 11.5px;
  color: var(--muted);
}

/* ==========================================================================
   5. SEÇÃO DEDICADA 1 — MEDICINA DO TRABALHO, EXAMES & ENGENHARIA/ESOCIAL
   ========================================================================== */
.medicine-section {
  background-color: var(--bg-white);
}

.clinic-showcase {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 72px;
}

.clinic-photo-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  height: 100%;
}

.clinic-photo-large,
.clinic-photo-small {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-paper);
  display: flex;
  flex-direction: column;
}

.clinic-photo-large img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.clinic-photo-large figcaption,
.clinic-photo-small figcaption {
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background-color: var(--bg-white);
  border-top: 1px solid var(--line);
}

.clinic-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clinic-photo-small img {
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.clinic-sla-box {
  flex: 1;
  padding: 22px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sla-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--red);
}

.sla-number {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin: 6px 0 10px;
}

.clinic-sla-box p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Painel dos 19 Exames */
.exams-panel {
  padding: 32px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.exams-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.panel-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--red);
  margin-bottom: 4px;
}

.exams-panel-head h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.exams-categories {
  display: grid;
  gap: 16px;
}

.exam-cat-box {
  padding: 16px 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.exam-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}

.cat-num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background-color: var(--red-tint-strong);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}

.exam-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.exam-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-subtle);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.18s ease;
}

.exam-chip:hover,
.exam-chip.is-selected {
  background-color: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
}

.exams-hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* Sub-bloco Engenharia, Laudos e os 6 Diferenciais */
.engineering-block {
  padding-top: 56px;
  border-top: 1px solid var(--line-strong);
}

.engineering-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.engineering-header h3 {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 720px;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.diff-card {
  padding: 28px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.diff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.diff-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}

.diff-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 4px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line);
  color: var(--muted);
}

.diff-card h4 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--muted);
}

.docs-matrix-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}

.doc-pill-card {
  padding: 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.doc-pill-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.doc-pill-head strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.doc-pill-head span {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--red);
}

.doc-pill-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 14px;
}

.doc-select-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--red-tint);
  border: 1px solid var(--red-border);
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  transition: all 0.2s ease;
}

.doc-select-btn:hover {
  background-color: var(--red);
  color: #FFFFFF;
}

/* ==========================================================================
   6. SEÇÃO DEDICADA 2 — TREINAMENTOS DE NRs
   ========================================================================== */
.training-section {
  background-color: var(--bg-paper);
}

.nr-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  counter-reset: nrcard;
}

.nr-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 28px 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  counter-increment: nrcard;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.nr-card::before {
  content: counter(nrcard, decimal-leading-zero);
  position: absolute;
  right: 20px;
  top: 10px;
  font-family: var(--font-display);
  font-size: 104px;
  font-weight: 700;
  line-height: 1;
  color: #F3F2ED;
  z-index: -1;
  transition: color 0.26s ease;
}

.nr-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

.nr-card:hover::before {
  color: var(--red-tint-strong);
}

.nr-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.nr-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--red-tint);
  border: 1px solid var(--red-border);
  color: var(--red);
  display: grid;
  place-items: center;
}

.nr-icon-box svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.4;
}

.nr-code-badge {
  padding: 5px 10px;
  border-radius: 4px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.nr-card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.nr-card > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}

.nr-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nr-card-footer > span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted-light);
}

.nr-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
}
.nr-action-link:hover {
  gap: 10px;
}

/* Os 3 Formatos de Capacitação */
.formats-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.format-card {
  padding: 30px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.format-card-featured {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--red-tint) 100%);
  border-color: var(--red-border);
}

.format-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.format-number {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
}

.live-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background-color: var(--red);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.format-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 10px;
}

.format-card > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 16px;
}

.format-bullets {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

.format-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.format-bullets li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--red);
  font-weight: 800;
}

.format-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 2px solid var(--red);
  align-self: flex-start;
}

.format-cta svg {
  color: var(--red);
}
.format-cta:hover {
  color: var(--red);
  gap: 14px;
}

/* Perspectiva de Risco (0,75%) — Editorial Clean Card */
.risk-perspective-box {
  padding: 40px 44px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.risk-copy-col h3 {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.risk-copy-col > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 22px;
}

.risk-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
  background-color: var(--bg-paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.risk-highlights strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.risk-highlights span {
  font-size: 12px;
  color: var(--muted);
}

.risk-math-card {
  padding: 32px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
}

.risk-math-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.risk-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--ink-soft);
}

.risk-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--red-tint-strong);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.risk-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.eq-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.eq-val {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.eq-operator {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--muted-light);
}

.risk-eq-result {
  padding: 10px 18px;
  background-color: var(--red-tint);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-md);
  text-align: right;
}

.risk-eq-result strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--red);
}

.risk-eq-result small {
  font-size: 0.55em;
}

.risk-eq-result span {
  font-size: 11px;
  font-weight: 800;
  color: var(--red-dark);
}

.risk-bar-visual {
  height: 8px;
  background-color: var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.risk-bar-fill {
  width: 3.5%;
  min-width: 14px;
  height: 100%;
  background-color: var(--red);
  border-radius: 999px;
}

.risk-conclusion {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 12px;
}

.risk-conclusion strong {
  color: var(--red);
}

.risk-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted-light);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   7. SEÇÃO DEDICADA 3 — BRIGADA DE INCÊNDIO & EMERGÊNCIAS
   ========================================================================== */
.brigada-section {
  background-color: var(--bg-white);
}

.brigada-hero-banner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  padding: 40px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  margin-bottom: 44px;
}

.cbmmg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--red-tint-strong);
  border: 1px solid var(--red-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 18px;
}

.cbmmg-badge svg {
  width: 17px;
  height: 17px;
}

.brigada-banner-copy h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.brigada-banner-copy h2 span {
  color: var(--muted);
  font-weight: 600;
}

.brigada-banner-copy > p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 24px;
}

.brigada-authority-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.cbmmg-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
}

.cbmmg-verify-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.brigada-banner-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.brigada-banner-photo img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.brigada-banner-photo figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.brigada-banner-photo strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.brigada-banner-photo span {
  font-size: 12px;
  color: var(--muted);
}

.brigada-segments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.brigada-segments-head h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brigada-segments-head p {
  font-size: 14px;
  color: var(--muted);
}

.brigada-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.brigada-type-card {
  padding: 24px 20px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.brigada-type-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.b-type-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 10px;
}

.brigada-type-card h4 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.brigada-type-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}

.brigada-type-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}

.brigada-type-card a svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.brigada-type-card:hover a {
  color: var(--red);
}

/* Dois Caminhos + Cobertura de Brigada e Ambulância */
.brigada-paths-and-ops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.brigada-two-paths {
  display: grid;
  gap: 16px;
}

.path-card {
  padding: 26px 28px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.path-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--red);
  margin-bottom: 6px;
}

.path-card h4 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.path-card p {
  font-size: 13.8px;
  color: var(--muted);
  margin-bottom: 14px;
}

.ops-coverage-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: var(--shadow-xs);
}

.ops-coverage-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.ops-coverage-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ops-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 6px;
}

.ops-coverage-body h4 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.ops-coverage-body p {
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ==========================================================================
   8. SEÇÃO INTERATIVA POR SEGMENTOS DE ATUAÇÃO
   ========================================================================== */
.segments-section {
  background-color: var(--bg-paper);
}

.segment-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.segment-tab {
  padding: 16px 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.tab-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--muted-light);
}

.segment-tab:hover {
  border-color: var(--red);
}

.segment-tab[aria-selected="true"] {
  background-color: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
  box-shadow: var(--shadow-red);
}

.segment-tab[aria-selected="true"] .tab-num {
  color: rgba(255, 255, 255, 0.8);
}

.segment-panel {
  padding: 36px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
  animation: fadePanel 0.32s ease both;
}

@keyframes fadePanel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.segment-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-sand);
}

.segment-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.segment-media figcaption {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--line);
}

.segment-index {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 10px;
}

.segment-details h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 12px;
}

.segment-details > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
}

.segment-deliverables {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.segment-deliverables > div {
  padding: 13px 16px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
}

.segment-deliverables strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.segment-deliverables span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   9. CATÁLOGO UNIFICADO INTERATIVO (80+ SOLUÇÕES)
   ========================================================================== */
.catalog-section {
  background-color: var(--bg-white);
}

.catalog-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.catalog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.filter-pill b {
  font-family: var(--font-display);
  font-size: 13px;
  padding: 1px 7px;
  border-radius: 999px;
  background-color: var(--bg-paper);
  color: var(--muted);
}

.filter-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-pill[aria-pressed="true"] {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.filter-pill[aria-pressed="true"] b {
  background-color: var(--red);
  color: #FFFFFF;
}

.catalog-search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 390px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted-light);
  pointer-events: none;
}

.catalog-search-box input {
  width: 100%;
  height: 46px;
  padding: 0 38px 0 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background-color: var(--bg-white);
  font-size: 13.5px;
}

.catalog-search-box input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 20, 28, 0.1);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--bg-paper);
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
}

.catalog-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 4px;
}

.catalog-status-text {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.catalog-helper-text {
  font-size: 12.5px;
  color: var(--muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.catalog-card {
  padding: 18px 20px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.catalog-card:hover {
  background-color: var(--bg-white);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

.catalog-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.catalog-cat-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line);
  color: var(--muted);
}

.catalog-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 4px;
}

.catalog-card p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.catalog-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.catalog-add-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  transition: all 0.18s ease;
}

.catalog-add-btn:hover,
.catalog-add-btn.is-added {
  background-color: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
}

.catalog-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  background-color: var(--red-tint);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.catalog-wa-link:hover {
  background-color: var(--green-wa);
  color: #FFFFFF;
}

.catalog-wa-link svg {
  width: 14px;
  height: 14px;
}

.catalog-empty-state {
  padding: 48px 24px;
  text-align: center;
  background-color: var(--bg-subtle);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.catalog-empty-state p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.catalog-more-wrap {
  margin-top: 28px;
  text-align: center;
}

/* ==========================================================================
   10. AVALIAÇÕES REAIS DO GOOGLE (4,9 ★ EM 372 AVALIAÇÕES)
   ========================================================================== */
.reviews-section {
  background-color: var(--bg-paper);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.google-score-card {
  position: sticky;
  top: 112px;
  padding: 32px 28px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.g-score-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.google-g-large {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(#4285F4 0 25%, #34A853 25% 45%, #FBBC05 45% 65%, #EA4335 65% 82%, #4285F4 82%);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.g-score-header strong {
  display: block;
  font-size: 15px;
}

.g-score-header span {
  font-size: 12px;
  color: var(--muted);
}

.g-score-big {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.g-score-big strong {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--ink);
}

.g-score-big span {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted-light);
}

.g-score-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 14px;
}

.g-score-count {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}

.g-score-pillars {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.g-score-link {
  width: 100%;
}

.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  padding: 28px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.review-stars {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 2px;
}

.review-pillar-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: var(--red-tint);
  color: var(--red);
}

.review-card blockquote {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.review-card blockquote strong {
  color: var(--ink);
  font-weight: 800;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
}

.review-author span {
  font-size: 11.5px;
  color: var(--muted);
}

/* ==========================================================================
   11A. SEÇÃO DE ORÇAMENTO INTEGRADO & CONTATO
   ========================================================================== */
.proposal-section {
  background-color: var(--bg-white);
}

.proposal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.proposal-info-col h2 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.proposal-info-col h2 span {
  color: var(--muted);
  font-weight: 600;
}

.proposal-lead {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 28px;
}

.proposal-steps {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.proposal-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--red-tint);
  border: 1px solid var(--red-border);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.proposal-steps strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}

.proposal-steps p {
  font-size: 13px;
  color: var(--muted);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-info-box {
  padding: 18px 20px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info-full {
  grid-column: 1 / -1;
}

.c-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--red);
}

.c-value-large {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.c-value-large:hover {
  color: var(--red);
}

.c-value-mail {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  word-break: break-all;
}
.c-value-mail:hover {
  color: var(--red);
}

.c-address {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.c-sub {
  font-size: 12px;
  color: var(--muted);
}

.map-link {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--red);
}

/* Card do Formulário Inteligente */
.proposal-form-card {
  padding: 36px;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.form-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.form-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 4px;
}

.form-card-header h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.form-card-header p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

.direct-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background-color: var(--green-wa);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.direct-wa-pill:hover {
  background-color: var(--green-wa-dark);
  transform: translateY(-2px);
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}

.form-fieldset legend {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.form-fieldset legend span {
  color: var(--red);
}

.form-fieldset legend small {
  font-weight: 600;
  color: var(--muted);
}

.fronts-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.front-check-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.18s ease;
}

.front-check-wide {
  grid-column: 1 / -1;
}

.front-check-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.front-check-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  background-color: var(--bg-subtle);
  flex-shrink: 0;
  margin-top: 2px;
  display: grid;
  place-items: center;
  transition: all 0.18s ease;
}

.front-check-card input:checked + .front-check-box {
  background-color: var(--red);
  border-color: var(--red);
}

.front-check-card input:checked + .front-check-box::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
}

.front-check-card:has(input:checked) {
  border-color: var(--red);
  background-color: var(--red-tint);
}

.front-check-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.front-check-text small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.selected-services-bar {
  padding: 12px 14px;
  background-color: var(--bg-white);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.selected-services-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

.text-clear-btn {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red);
  text-decoration: underline;
}

.selected-services-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--red-tint);
  border: 1px solid var(--red-border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red);
}

.service-tag-chip button {
  font-size: 14px;
  line-height: 1;
  color: var(--red);
  padding: 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-field label span {
  color: var(--red);
}

.form-field label small {
  font-weight: 500;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background-color: var(--bg-white);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  height: 48px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 20, 28, 0.1);
}

.field-error {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red);
  margin-top: 4px;
}

.form-submit-btn {
  min-height: 58px;
  font-size: 15px;
  margin-top: 6px;
}

.quote-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background-color: #EDF8F1;
  border-left: 4px solid var(--green-wa);
  color: #14532D;
  font-size: 13px;
  font-weight: 600;
}

.form-privacy-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.form-privacy-note svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.privacy-trigger {
  text-decoration: underline;
  font-weight: 700;
  padding: 0;
}

/* ==========================================================================
   11B. FAQ COMPLETO
   ========================================================================== */
.faq-section {
  background-color: var(--bg-paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.faq-intro-col h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.faq-intro-col > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

.faq-support-card {
  padding: 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.faq-support-card strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.faq-support-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.faq-accordion-col {
  display: grid;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--red);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-paper);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background-color: var(--red);
  color: #FFFFFF;
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 14.2px;
  line-height: 1.75;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ==========================================================================
   FOOTER INSTITUCIONAL (CLEAN & EDITORIAL)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-sand);
  border-top: 1px solid var(--line-strong);
  padding: 64px 0 32px;
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.15fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-strong);
}

.footer-logo-wrap {
  display: inline-block;
  width: 196px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 360px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-badges span {
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.site-footer h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-links-col ul {
  display: grid;
  gap: 9px;
}

.footer-links-col a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.footer-links-col a:hover {
  color: var(--red);
}

.footer-contact-col p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-contact-col a {
  font-weight: 700;
  color: var(--ink);
}
.footer-contact-col a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}

.footer-bottom-links button,
.footer-bottom-links a {
  font-size: 12px;
  color: var(--ink-soft);
}
.footer-bottom-links button:hover,
.footer-bottom-links a:hover {
  color: var(--red);
}

/* ==========================================================================
   WHATSAPP FLOAT, MOBILE BAR & MODAL PRIVACIDADE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  filter: drop-shadow(0 10px 24px rgba(20, 21, 23, 0.16));
}

.whatsapp-float-label {
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}

.whatsapp-float-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--green-wa);
  border: 3px solid #FFFFFF;
  color: #FFFFFF;
  display: grid;
  place-items: center;
}

.whatsapp-float-icon svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.mobile-sticky-bar {
  display: none;
}

.privacy-dialog {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 560px;
  width: calc(100% - 32px);
  background-color: var(--bg-white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.privacy-dialog::backdrop {
  background-color: rgba(20, 21, 23, 0.55);
  backdrop-filter: blur(6px);
}

.dialog-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-paper);
  font-size: 22px;
  line-height: 1;
}

.privacy-dialog h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.privacy-dialog p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.privacy-dialog a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA
   ========================================================================== */
@media (max-width: 1180px) {
  .container {
    width: calc(100% - 48px);
  }
  .desktop-nav {
    gap: 18px;
  }
  .desktop-nav a {
    font-size: 13px;
  }
  .header-phone-pill {
    display: none;
  }
  .hero-grid,
  .clinic-showcase,
  .risk-perspective-box,
  .brigada-hero-banner,
  .segment-panel,
  .proposal-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .brigada-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .brigada-paths-and-ops {
    grid-template-columns: 1fr;
  }
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .google-score-card {
    position: static;
  }
}

@media (max-width: 960px) {
  .topbar-right span:not(:last-child),
  .topbar-sep {
    display: none;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .section {
    padding: 72px 0;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }
  .section-lead {
    max-width: 100%;
  }
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .pillars-bento {
    grid-template-columns: 1fr;
  }
  .synergy-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .differentials-grid,
  .nr-cards-grid,
  .formats-trio {
    grid-template-columns: repeat(2, 1fr);
  }
  .docs-matrix-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .segment-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 84px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .topbar-left span:not(.topbar-badge) {
    display: none;
  }
  .header-inner {
    min-height: 72px;
  }
  .brand {
    width: 156px;
  }
  .header-actions .btn {
    display: none;
  }
  .hero {
    padding: 32px 0 44px;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .bento-main-photo {
    min-height: 0;
  }
  .bento-main-photo img {
    position: static;
    height: 320px;
  }
  .photo-caption-bar {
    position: static;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-sub-row,
  .trust-strip,
  .pillar-card,
  .synergy-steps,
  .clinic-photo-grid,
  .differentials-grid,
  .docs-matrix-bar,
  .nr-cards-grid,
  .formats-trio,
  .risk-highlights,
  .brigada-types-grid,
  .ops-coverage-card,
  .segment-tabs,
  .catalog-grid,
  .reviews-cards-grid,
  .contact-cards-grid,
  .fronts-checkbox-grid,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  .trust-item:last-child {
    border-bottom: none;
  }
  .clients-header,
  .clients-controls-wrap,
  .engineering-header,
  .brigada-segments-head,
  .form-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .exams-panel,
  .risk-perspective-box,
  .risk-math-card,
  .brigada-hero-banner,
  .segment-panel,
  .proposal-form-card {
    padding: 24px 20px;
  }
  .catalog-search-box {
    max-width: 100%;
    width: 100%;
  }
  .site-footer {
    padding-bottom: 104px;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 84px;
  }
  .whatsapp-float-label {
    display: none;
  }
  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line-strong);
    box-shadow: 0 -8px 28px rgba(20, 21, 23, 0.08);
    transition: transform 0.25s ease;
  }
  .mobile-sticky-bar.is-hidden {
    transform: translateY(110%);
    pointer-events: none;
  }
  .mobile-sticky-info strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
  }
  .mobile-sticky-info span {
    font-size: 11px;
    color: var(--muted);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
