/* ==========================================================================
   BRASIL MEDICAL OPME - DESIGN SYSTEM & STYLESHEET OFICIAL (RESPONSIVO & SEO)
   Cores: #092744 (Navy), #0284c7 (Azul Cirúrgico), #c58d24 (Gold), #25d366 (WhatsApp)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Paleta Oficial Brasil Medical OPME */
  --color-brand-primary: #092744;       /* Azul Marinho Oficial */
  --color-brand-secondary: #0d365d;     /* Azul Institucional */
  --color-brand-accent: #0284c7;        /* Azul Médico */
  --color-brand-accent-hover: #0369a1;  /* Azul Hover */
  --color-brand-light: #f0f6fc;         /* Fundo Claro Institucional */
  --color-accent-gold: #c58d24;         /* Dourado / Destaque */
  --color-accent-emerald: #059669;      /* Verde Rastreabilidade */
  --color-accent-emerald-soft: #ecfdf5; /* Fundo Verde Suave */

  /* Cores de Fundo e Superfície */
  --color-bg-body: #ffffff;
  --color-bg-surface: #f8fafc;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  --color-border-accent: rgba(2, 132, 199, 0.3);

  /* Tipografia */
  --color-text-title: #092744;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-inverse: #ffffff;
  --color-text-inverse-muted: #94a3b8;

  /* Sombras */
  --shadow-xs: 0 1px 2px 0 rgba(9, 39, 68, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(9, 39, 68, 0.07);
  --shadow-md: 0 8px 24px -4px rgba(9, 39, 68, 0.09);
  --shadow-lg: 0 16px 36px -6px rgba(9, 39, 68, 0.13);

  /* Dimensões */
  --container-max-width: 1340px;
  --header-height: 74px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Transições */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & PREVENÇÃO DE OVERFLOW (MOBILE-FIRST GUARANTEE)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-bg-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: clip !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  font-size: 16px; /* Evita zoom automático desagradável no Safari/iOS */
}

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

ul, ol { list-style: none; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-brand-primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 20px; }

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

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-wrap: break-word;
}

h1 { font-size: clamp(1.75rem, 3.5vw + 0.9rem, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.2vw + 0.7rem, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.4vw + 0.45rem, 1.4rem); }
h4 { font-size: 1.05rem; }

p { color: var(--color-text-body); }
.lead { font-size: clamp(0.98rem, 1vw + 0.85rem, 1.12rem); line-height: 1.65; color: var(--color-text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-accent);
  margin-bottom: 0.75rem;
  max-width: 100%;
}

.eyebrow-pill {
  background: var(--color-brand-light);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.accent { color: var(--color-brand-accent); }
.text-center { text-align: center; }

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   BOTÕES (TOUCH-FRIENDLY & FLUIDOS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  min-height: 44px; /* Acessibilidade de toque mobile */
}

.btn-sm { padding: 7px 14px; font-size: 0.82rem; border-radius: var(--radius-sm); min-height: 38px; }
.btn-lg { padding: 13px 24px; font-size: 0.98rem; border-radius: var(--radius-md); min-height: 48px; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, #0d365d 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(9, 39, 68, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0d365d 0%, #0284c7 100%);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: var(--color-bg-surface);
  color: var(--color-brand-primary);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: #e2e8f0;
  border-color: var(--color-border-hover);
  color: var(--color-brand-primary);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-email {
  background: #ffffff;
  color: var(--color-brand-primary);
  border: 1px solid var(--color-border);
}
.btn-email:hover {
  background: var(--color-brand-light);
  border-color: var(--color-brand-accent);
  color: var(--color-brand-accent);
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

/* ==========================================================================
   HEADER & MOBILE MENU DRAWER (PERFEITAMENTE CONFIGURADO)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 4px 18px -2px rgba(9, 39, 68, 0.08);
  height: 64px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-brand-primary);
  letter-spacing: 0.02em;
}

.brand-copy span {
  font-size: 0.68rem;
  color: var(--color-brand-accent);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-body);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--color-brand-accent);
  background: rgba(2, 132, 199, 0.06);
}

.nav a.active {
  color: var(--color-brand-primary);
  background: var(--color-brand-light);
  font-weight: 700;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-brand-primary);
}

/* Mobile Nav Overlay & Drawer */
.mobile-nav-overlay {
  display: none;
}

/* ==========================================================================
   SEÇÕES & LAYOUT
   ========================================================================== */
.section { padding: 4.5rem 0; position: relative; }
.section-soft { background-color: var(--color-bg-surface); }
.section-dark {
  background: linear-gradient(145deg, #092744 0%, #061b30 100%);
  color: var(--color-text-inverse);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-text-inverse); }
.section-dark p { color: var(--color-text-inverse-muted); }
.section-gradient { background: linear-gradient(180deg, #f0f6fc 0%, #ffffff 100%); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.75rem;
  gap: 1.5rem;
}

.section-heading-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem auto;
}

/* HERO SECTION */
.hero {
  padding: 3.5rem 0 4.5rem 0;
  background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(9, 39, 68, 0.04) 0%, transparent 50%),
              #ffffff;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy .lead { margin-bottom: 1.75rem; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  width: 100%;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--color-brand-accent); width: 16px; height: 16px; flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-main-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-emerald-soft);
  color: var(--color-accent-emerald);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-badge-live .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--color-accent-emerald);
  border-radius: 50%;
}

.hero-logo-banner {
  max-width: 190px;
  margin: 0.25rem auto 1.25rem auto;
}

.hero-product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.thumb-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.4rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.thumb-card img {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 0.35rem auto;
}

.thumb-card strong {
  display: block;
  font-size: 0.72rem;
  color: var(--color-brand-primary);
  line-height: 1.15;
}

/* TRUST STRIP */
.trust-strip {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-brand-light);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 0.88rem; color: var(--color-brand-primary); line-height: 1.25; }
.trust-item span { font-size: 0.76rem; color: var(--color-text-muted); }

/* PRODUTOS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-accent);
}

.product-card-featured {
  border-color: rgba(9, 39, 68, 0.3);
  box-shadow: 0 8px 24px rgba(9, 39, 68, 0.08);
}

.product-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--color-brand-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.product-media {
  height: 200px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
}

.product-media img {
  max-height: 165px;
  max-width: 100%;
  object-fit: contain;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brand-accent);
  margin-bottom: 0.35rem;
}

.product-body h3 { margin-bottom: 0.6rem; font-size: 1.25rem; }
.product-body p { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 1.2rem; }

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.feature-chips span {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-body);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.product-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}
.product-actions .btn { flex: 1; }

/* EVIDÊNCIAS CLÍNICAS (SCROLL HORIZONTAL NO MOBILE) */
.evidence-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}
.evidence-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--color-brand-primary); background: var(--color-bg-surface); }
.tab-btn.active {
  background: var(--color-brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(9, 39, 68, 0.25);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.evidence-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.evidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-brand-accent);
  background: var(--color-brand-light);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.evidence-card h4 { font-size: 1rem; margin-bottom: 0.65rem; line-height: 1.35; }
.evidence-card p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 1rem; flex-grow: 1; }

.evidence-stat {
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.evidence-stat strong { font-size: 1.3rem; color: var(--color-accent-emerald); font-weight: 800; }
.evidence-stat span { font-size: 0.75rem; color: var(--color-text-body); }

.evidence-citation {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* MECANISMO DE AÇÃO */
.mechanism-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.mechanism-image-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  position: relative;
}

.mechanism-image-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mechanism-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 39, 68, 0.95) 90%);
  padding: 1.25rem;
  color: #ffffff;
}

.mechanism-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  gap: 1rem;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-brand-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-card h4 { color: #ffffff; margin-bottom: 0.2rem; font-size: 0.98rem; }
.step-card p { color: var(--color-text-inverse-muted); font-size: 0.82rem; line-height: 1.45; }

/* CALCULADORA / SIMULADOR */
.calc-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.calc-inputs { display: flex; flex-direction: column; gap: 1.25rem; }
.calc-field label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--color-text-title); margin-bottom: 0.4rem; }
.calc-field select, .calc-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  font-size: 0.9rem;
}
.calc-field select:focus, .calc-field input:focus {
  border-color: var(--color-brand-accent);
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.calc-summary-box {
  background: var(--color-brand-light);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-list { margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.65rem; }
.calc-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(2, 132, 199, 0.2);
  gap: 0.5rem;
}
.calc-summary-item strong { color: var(--color-brand-primary); text-align: right; }

/* DOWNLOADS */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.doc-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.doc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-brand-light);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.doc-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.doc-card p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 1.25rem; flex-grow: 1; }

/* FLUXO */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.flow-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.flow-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-brand-primary);
  opacity: 0.3;
  margin-bottom: 0.5rem;
  display: block;
}

.flow-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.flow-item p { font-size: 0.82rem; color: var(--color-text-muted); }

/* SEÇÃO FAQ (SEO RICH SNIPPETS) */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-brand-accent);
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--color-brand-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* CONTATO */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-points { margin: 1.75rem 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-point { display: flex; align-items: center; gap: 0.85rem; }
.contact-point-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-brand-light);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-point strong { display: block; font-size: 0.82rem; color: var(--color-text-muted); }
.contact-point a { font-size: 0.92rem; font-weight: 700; color: var(--color-brand-primary); word-break: break-all; }

.contact-form {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--color-text-title); margin-bottom: 0.35rem; }
.form-field input, .form-field select, .form-field textarea {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  font-size: 0.9rem;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  background: #ffffff;
  border-color: var(--color-brand-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 1rem 0;
  cursor: pointer;
}
.privacy-check input { margin-top: 3px; }

.form-status { margin-top: 1rem; padding: 12px; border-radius: var(--radius-md); font-size: 0.85rem; display: none; }
.form-status.success { display: block; background: var(--color-accent-emerald-soft); color: var(--color-accent-emerald); border: 1px solid rgba(5, 150, 105, 0.3); }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, #0d365d 100%);
  padding: 3.5rem 0;
  color: #ffffff;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-inner h2 { color: #ffffff; margin-bottom: 0.4rem; }
.cta-inner p { color: var(--color-text-inverse-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; flex-shrink: 0; }

/* FOOTER */
.footer {
  background: #061b30;
  color: #ffffff;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}
.footer-brand img { height: 38px; width: 38px; object-fit: contain; }
.footer-about { font-size: 0.84rem; color: var(--color-text-inverse-muted); line-height: 1.55; margin-bottom: 0.85rem; }
.footer-domain { font-size: 0.8rem; color: var(--color-brand-accent); font-weight: 600; }
.footer h4 { color: #ffffff; font-size: 0.95rem; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a, .footer-links span { font-size: 0.82rem; color: var(--color-text-inverse-muted); }
.footer-links a:hover { color: var(--color-brand-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-disclaimer { font-size: 0.72rem; color: #64748b; line-height: 1.5; }

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all var(--transition-normal);
}
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.02); color: #ffffff; }
.floating-copy { display: flex; flex-direction: column; line-height: 1.1; }
.floating-copy strong { font-size: 0.84rem; }
.floating-copy small { font-size: 0.7rem; opacity: 0.95; }

/* MODAIS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 39, 68, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS (MOBILE & TABLET EXTREMAMENTE POLIDOS)
   ========================================================================== */
@media (max-width: 1120px) {
  .nav { display: none; }

  /* Mobile Drawer Overlay */
  .nav.open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    z-index: 999;
    overflow-y: auto;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  .nav.open a {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav.open a::after {
    content: '→';
    font-size: 1.1rem;
    color: var(--color-brand-accent);
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .header-btn-quote {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .mechanism-grid,
  .calc-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .products-grid,
  .evidence-grid,
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .trust-grid,
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Ajustes do Header no Mobile Pequeno */
  .brand img {
    height: 34px;
    width: 34px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy span {
    font-size: 0.62rem;
  }

  .header-actions .btn-whatsapp span.btn-text {
    display: none;
  }

  .header-actions .btn-whatsapp {
    padding: 8px 12px;
  }

  /* Hero no Mobile */
  .hero {
    padding: 2.25rem 0 3.25rem 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-main-card {
    padding: 1.25rem;
  }

  .hero-product-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .thumb-card img {
    height: 44px;
  }

  .thumb-card strong {
    font-size: 0.65rem;
  }

  /* Cards e Grids no Mobile */
  .products-grid,
  .evidence-grid,
  .docs-grid,
  .trust-grid,
  .flow-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-media {
    height: 180px;
  }

  .product-body {
    padding: 1.25rem;
  }

  .calc-card,
  .contact-form,
  .modal-container {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* Floating WhatsApp compacto no mobile */
  .floating-copy {
    display: none;
  }

  .floating-whatsapp {
    padding: 12px;
    bottom: 18px;
    right: 18px;
  }
}
