/* ============================================================
   InstruMedical – Folha de estilos principal
   Organização:
     1.  Reset & Variáveis CSS
     2.  Tipografia global
     3.  Loader
     4.  Navbar + Menu mobile
     5.  Hero
     6.  Marquee
     7.  Seções genéricas (padding, títulos, reveal)
     8.  Seção: Sobre
     9.  Seção: Serviços
    10.  Seção: Diferenciais
    11.  Seção: Normas / Conformidade
    12.  Seção: Cobertura
    13.  Seção: CTA
    14.  Footer
    15.  Botão WhatsApp flutuante
    16.  Utilitários
    17.  Responsivo (breakpoints 960px e 600px)
   ============================================================ */


/* ── 1. RESET & VARIÁVEIS ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta principal */
  --blue:        #0348AF;
  --blue-dark:   #023A8A;
  --blue-light:  #0C94E0;
  --blue-pale:   #EBF3FF;
  --blue-pale2:  #BDD5F7;

  /* Neutros */
  --dark:   #1C2B3A;
  --dark2:  #253548;
  --body:   #4A5568;
  --muted:  #7A8FA6;
  --light:  #F2F6FC;
  --white:  #FFFFFF;
  --border: #D5E2F0;

  /* Tipografia */
  --font-head: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Cores de terceiros */
  --whatsapp:       #25D366;
  --whatsapp-hover: #1EB85A;

  /* Layout */
  --nav-h:   80px;
  --pad-x:   5vw;
  --radius:  16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ── 2. TIPOGRAFIA GLOBAL ───────────────────────────────── */
a { color: inherit; }
img { display: block; max-width: 100%; }


/* ── 3. LOADER ──────────────────────────────────────────── */
/*
  Tela branca que cobre o site durante o carregamento.
  JS adiciona a classe .hide após 2s (ou evento 'load').
  A transição faz o fade-out suave.
*/
#loader {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem;
  transition: opacity .5s ease .1s, visibility .5s ease .1s;
}
#loader.hide { opacity: 0; visibility: hidden; }

.loader-bar-wrap {
  width: 200px; height: 2px;
  background: var(--border); border-radius: 2px; overflow: hidden;
}
.loader-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 2px;
  animation: loadbar 1.5s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes loadbar { to { width: 100%; } }

.loader-sub {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  animation: fup .5s ease .3s both;
}
@keyframes fup {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}


/* ── 4. NAVBAR ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(3,72,175,.08); }

/* Logo no nav */
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 56px; width: auto; max-width: 220px; object-fit: contain; }

/* Links centrais (desktop) */
.nav-links {
  display: flex; gap: 2.25rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--body); text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Botões direita */
.nav-btns { display: flex; gap: .6rem; align-items: center; }

.nav-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: .5rem 1.2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
  white-space: nowrap;
}
.nav-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }

.nav-cta {
  background: var(--blue); color: var(--white);
  padding: .5rem 1.2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }


/* Botão hambúrguer – visível só em mobile */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
/* Estado aberto — animação de X */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay mobile */
.nav-mobile-overlay {
  display: none;
  position: fixed; inset: 0; top: var(--nav-h);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  padding: 2rem var(--pad-x);
}
.nav-mobile-overlay.open { display: flex; }

/* Links do menu mobile — classe própria, sem conflito com desktop */
.mobile-links {
  list-style: none;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  width: 100%;
}
/* Cada link ocupa toda a largura com borda inferior sutil */
.mobile-links li {
  width: 100%;
  border-bottom: 1px solid var(--border);
}
.mobile-links li:first-child { border-top: 1px solid var(--border); }
.mobile-links a {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--dark); text-decoration: none;
  display: block; padding: 1rem 0;
  text-align: center;
  transition: color .2s;
}
.mobile-links a:hover,
.mobile-links a.active {
  color: var(--blue);
}

/* Botões do menu mobile */
.mobile-btns {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  width: 100%;
}
/* Sobrescreve cores dos botões para fundo azul */
.mobile-btns .nav-outline {
  width: 100%; text-align: center; justify-content: center;
}
.mobile-btns .nav-cta {
  width: 100%; text-align: center; justify-content: center;
}


/* ── 5. HERO ────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  padding-top: var(--nav-h);
  padding-bottom: 3rem;
  position: relative; overflow: hidden;
  background: var(--white);
  background-image: url('/images/gallery-3.webp');
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
/* Hero overlay: gradiente suave da esquerda para direita */
#hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.96) 0%,
    rgba(255,255,255,.88) 50%,
    rgba(230,240,255,.70) 100%
  );
  z-index: 0;
}
#hero > * { position: relative; z-index: 1; }

/* Círculos decorativos removidos — o hero tem imagem de fundo */
.hero-circle1,
.hero-circle2 { display: none; }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  width: 100%; position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Conteúdo textual: inicia invisível, JS adiciona .visible */
.hero-content {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.hero-content.visible { opacity: 1; transform: none; }

/* Cards de stats — coluna direita */
.hero-visual {
  opacity: 0; transform: translateX(30px);
  transition: opacity 1s .3s, transform 1s .3s;
}
.hero-visual.visible { opacity: 1; transform: none; }

/* Tag badge "Governador Valadares · MG" */
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-pale); padding: .3rem 1rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.75rem;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-light);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero-title {
  font-family: var(--font-head);
  /* clamp: mín 2rem (mobile), preferido 5.5vw (funciona bem entre 400-900px), máx 3.6rem (desktop) */
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; color: var(--dark);
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--blue); }

.hero-subtitle {
  font-size: 1rem; color: var(--body);
  max-width: 480px; line-height: 1.75; font-weight: 400;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }



.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.hstat {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(3,72,175,.08), 0 1px 3px rgba(0,0,0,.06);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.hstat:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(3,72,175,.14), 0 2px 8px rgba(0,0,0,.08); }
.hstat-num {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  color: var(--blue); line-height: 1; display: block; margin-bottom: .25rem;
}
.hstat-label {
  font-size: 12px; color: var(--muted);
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
/* Variante com fundo azul */
.hstat.accent { background: var(--blue); border-color: var(--blue); }
.hstat.accent .hstat-num  { color: var(--white); }
.hstat.accent .hstat-label { color: rgba(255,255,255,.75); }


/* ── 6. MARQUEE ─────────────────────────────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .9rem 0; overflow: hidden;
  background: var(--light);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-set {
  display: flex; align-items: center;
  gap: 2.5rem; padding-right: 2.5rem; flex-shrink: 0;
}
.marquee-item {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
  display: flex; align-items: center; gap: .9rem;
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-light); flex-shrink: 0;
}


/* ── 7. SEÇÕES GENÉRICAS ────────────────────────────────── */
section {
  padding: 7rem var(--pad-x);
  /* Evita que a navbar fixa cubra o topo da seção ao clicar em âncoras */
  scroll-margin-top: var(--nav-h);
}

.section-label {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .75rem; display: block;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800; line-height: 1.15;
  color: var(--dark); letter-spacing: -.02em;
}
.section-title span { color: var(--blue); }

/* Animação de entrada via IntersectionObserver */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.vis { opacity: 1; transform: none; }

/* Botões globais */
.btn-primary {
  background: var(--blue); color: var(--white);
  border: 2px solid var(--blue);
  padding: .8rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--blue-dark); border-color: var(--blue-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(3,72,175,.25);
}
.btn-ghost {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
  padding: .8rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

/* Acessibilidade: foco visível para navegação por teclado */
:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove outline padrão apenas para usuários de mouse */
:focus:not(:focus-visible) { outline: none; }


/* ── 8. SOBRE ───────────────────────────────────────────── */
#sobre { background: var(--white); }

.sobre-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 6rem; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.sobre-left .section-title { margin-bottom: 1.25rem; margin-top: .5rem; }
.sobre-left p {
  font-size: .95rem; color: var(--body);
  line-height: 1.8; margin-bottom: .9rem; font-weight: 400;
}
.sobre-btn { margin-top: 1.75rem; }

/* Grid 2x2 de cards de diferenciais */
.sobre-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.scard {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(3,72,175,.08), 0 1px 3px rgba(0,0,0,.06);
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s, box-shadow .2s, border-color .2s;
}
.scard.vis { opacity: 1; transform: none; }
.scard:hover {
  background: var(--white);
  border-color: var(--blue-pale2);
  box-shadow: 0 8px 32px rgba(3,72,175,.14), 0 2px 8px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.scard-icon {
  width: 56px; height: 56px; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.scard-icon svg { width: 44px; height: 44px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
.scard p { font-size: 13px; color: var(--body); line-height: 1.65; font-weight: 400; }


/* ── 9. SERVIÇOS ────────────────────────────────────────── */
#servicos { background: var(--white); }

/* Overlay azul escuro — seções com imagem de fundo escuro */
#servicos::before,
#normas::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(1, 28, 68, 0.82) 0%,
    rgba(3, 72, 175, 0.68) 100%
  );
}
#servicos > *,
#normas > * { position: relative; z-index: 1; }

.services-wrap {
  /* Centraliza o conteúdo — mesmo padrão de .sobre-grid e .normas-grid */
  max-width: 1200px;
  margin: 0 auto;
}

.services-header { margin-bottom: 3.5rem; } /* full width — alinhado ao grid abaixo */
.services-header p { margin-top: .75rem; font-size: .95rem; color: var(--body); line-height: 1.7; max-width: 580px; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.srv {
  background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius); padding: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,.18), 0 1px 4px rgba(0,0,0,.10);
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s, box-shadow .2s;
}
.srv.vis { opacity: 1; transform: none; }
.srv:hover {
  background: rgba(255,255,255,1);
  box-shadow: 0 12px 40px rgba(0,0,0,.22), 0 3px 8px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.srv-icon {
  width: 48px; height: 48px;
  background: var(--blue-pale); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.srv-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.srv h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--dark); margin-bottom: .6rem; line-height: 1.3;
}
.srv p { font-size: 13px; color: var(--body); line-height: 1.65; font-weight: 400; }


/* ── 10. DIFERENCIAIS ───────────────────────────────────── */
/* Seção com fundo azul sólido – única seção colorida */
#diferenciais {
  background: var(--white);
  position: relative;
}
#diferenciais > * { position: relative; z-index: 1; }
#diferenciais .section-label { color: var(--blue); }
#diferenciais .section-title { color: var(--dark); }
#diferenciais .section-title span { color: var(--blue); }

.diff-sub {
  font-size: .95rem; color: var(--body);
  max-width: 520px; margin-top: .75rem; margin-bottom: 3rem; line-height: 1.7;
}
.diff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

.dcard {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(3,72,175,.08), 0 1px 3px rgba(0,0,0,.06);
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s, background .2s, box-shadow .2s;
}
.dcard.vis { opacity: 1; transform: none; }
.dcard:hover {
  border-color: var(--blue-pale2);
  box-shadow: 0 8px 32px rgba(3,72,175,.14), 0 2px 8px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.dcard-num {
  font-family: var(--font-head); font-size: 2.8rem; font-weight: 800;
  color: var(--blue-pale2); line-height: 1; margin-bottom: 1rem;
}
.dcard h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.dcard p { font-size: 13px; color: var(--body); line-height: 1.6; font-weight: 400; }



/* ── 11. NORMAS ─────────────────────────────────────────── */
#normas { background: var(--white); }

/* Wrapper externo centraliza tudo */
.normas-wrap {
  max-width: 1200px; margin: 0 auto;
}

/* Cabeçalho: label + título + parágrafo — largura total, acima do grid */
.normas-header {
  margin-bottom: 2.5rem;
}
.normas-header .section-title { margin-bottom: 1rem; margin-top: .5rem; }
.normas-header p { font-size: .95rem; color: var(--body); line-height: 1.8; margin-top: .75rem; max-width: 560px; }

/* Grid: badges de normas (esq) vs checklist (dir) — mesma altura */
.normas-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: stretch;
}

/* Coluna esquerda: flex column, ocupa 100% da altura do grid */
.normas-list {
  display: flex; flex-direction: column;
  gap: 0; /* removemos gap fixo para calcular flex */
}

/* Cada norm-row cresce para preencher o espaço vertical disponível */
.norm-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px; backdrop-filter: blur(8px);
  box-shadow: 0 3px 14px rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.08);
  flex: 1;
  opacity: 0; transform: translateX(-16px);
  transition: opacity .5s, transform .5s, background .2s, box-shadow .2s;
}
.norm-row + .norm-row { margin-top: .75rem; }
.norm-row.vis { opacity: 1; transform: none; }
.norm-row:hover {
  background: rgba(255,255,255,1);
  box-shadow: 0 8px 28px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.10);
}

/* Badge: apenas visual/informativo, sem cursor pointer nem hover de botão */
.norm-badge {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .06em;
  background: var(--blue-pale); color: var(--blue);
  padding: 5px 14px; border-radius: 6px; border: 1px solid var(--blue-pale2);
  flex-shrink: 0; white-space: nowrap;
}
.norm-desc { font-size: 13px; color: var(--body); font-weight: 400; }

/* Painel direito: checklist ocupa 100% da altura da coluna */
.normas-right {
  display: flex; flex-direction: column;
}
.normas-checklist {
  background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px; padding: 2.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,.16), 0 1px 4px rgba(0,0,0,.08);
  flex: 1;
  opacity: 0; transform: translateX(24px);
  transition: opacity .65s .15s, transform .65s .15s;
}
.normas-checklist.vis { opacity: 1; transform: none; }

/* ISO 9001 — centralizada acima do grid, entre as duas colunas */
.normas-iso {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  background: var(--blue-pale); border: 1.5px solid var(--blue-pale2);
  border-radius: 12px; padding: .875rem 1.75rem;
  margin: 0 auto 2rem;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(3,72,175,.10), 0 1px 3px rgba(0,0,0,.05);
}
.normas-iso .iso-img  { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.normas-iso .iso-text { font-size: 13px; color: var(--body); line-height: 1.5; }
.normas-iso .iso-text strong { color: var(--blue); font-weight: 700; }

.normas-checklist-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem; display: block;
}

.check-list { display: flex; flex-direction: column; gap: 1rem; }
.check-item { display: flex; align-items: flex-start; gap: .875rem; }
.check-box {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-pale); border: 1.5px solid var(--blue-pale2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check-box svg { width: 12px; height: 12px; stroke: var(--blue); fill: none; stroke-width: 2.5; }
.check-item span { font-size: 14px; color: var(--dark); font-weight: 400; line-height: 1.5; }


/* ── 12. COBERTURA ──────────────────────────────────────── */
/* Substituiu seção "Clientes" – nomes de cidades removidos */
#cobertura { background: var(--white); }

.cobertura-header {
  text-align: center; max-width: 580px; margin: 0 auto 3.5rem;
}
.cobertura-header p { margin-top: .75rem; font-size: .95rem; color: var(--body); }

.cobertura-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: stretch;
  max-width: 1200px; margin: 0 auto;
  width: 100%;
}

/* Cards de região — flex column, ocupa 100% da altura do grid */
.regiao-list { display: flex; flex-direction: column; gap: 0; }

.regiao-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 12px rgba(3,72,175,.08), 0 1px 3px rgba(0,0,0,.06);
  flex: 1; min-width: 0; overflow: hidden;
  opacity: 0; transform: translateX(-16px);
  transition: opacity .5s, transform .5s, border-color .2s, box-shadow .2s;
}
.regiao-card + .regiao-card { margin-top: .75rem; }
.regiao-card.vis { opacity: 1; transform: none; }
.regiao-card:hover {
  border-color: var(--blue-pale2);
  box-shadow: 0 8px 32px rgba(3,72,175,.14), 0 2px 8px rgba(0,0,0,.08);
  transform: translateX(4px);
}
.regiao-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.regiao-card strong {
  font-family: var(--font-head); font-size: .9rem; font-weight: 700;
  color: var(--dark); display: block; margin-bottom: 3px; word-break: break-word;
}
.regiao-card p { font-size: 13px; color: var(--body); line-height: 1.5; margin: 0; word-break: break-word; }

/* Painel de números — estica para mesma altura da coluna esquerda */
.cobertura-stats {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(3,72,175,.08), 0 1px 3px rgba(0,0,0,.06);
  height: 100%; min-width: 0; box-sizing: border-box;
  opacity: 0; transform: translateX(24px);
  transition: opacity .65s .15s, transform .65s .15s;
}
.cobertura-stats.vis { opacity: 1; transform: none; }
.cobertura-stats-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem; display: block;
}

.cov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cov-stat {
  text-align: center; padding: 1.25rem;
  background: var(--blue-pale); border-radius: 12px;
}
.cov-num {
  font-family: var(--font-head); font-size: 2.2rem; font-weight: 800;
  color: var(--blue); display: block; line-height: 1;
}
.cov-label {
  font-size: 12px; color: var(--body); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  display: block; margin-top: 4px;
}
.cov-note {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--body); line-height: 1.65;
}


/* ── 13. EQUIPAMENTOS ───────────────────────────────────── */
#equipamentos { background: var(--white); }

/* Overlay azul escuro — mesmo padrão de #servicos e #normas */
#equipamentos::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(1, 28, 68, 0.82) 0%,
    rgba(3, 72, 175, 0.68) 100%
  );
}
#equipamentos > * { position: relative; z-index: 1; }

.partners-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; max-width: 760px; margin: 0 auto;
}

.partner-card {
  background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius); padding: 2rem;
  text-decoration: none; color: inherit;
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.07),
              inset 0 1px 0 rgba(255,255,255,.8);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.partner-card:hover {
  background: rgba(255,255,255,1);
  box-shadow: 0 14px 44px rgba(3,72,175,.18), 0 3px 10px rgba(0,0,0,.10),
              inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-5px);
}
.partner-logo-wrap {
  display: flex; align-items: center; gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.partner-placeholder-icon {
  width: 40px; height: 40px;
  color: var(--blue); flex-shrink: 0;
}
.partner-name {
  font-family: var(--font-head); font-size: 1.1rem;
  font-weight: 800; color: var(--dark);
}
.partner-desc {
  font-size: 13px; color: var(--body); line-height: 1.65; flex: 1;
}
.partner-link {
  font-size: 12px; font-weight: 700;
  color: var(--blue); letter-spacing: .04em;
}
.equip-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}
.equip-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .45rem;
  flex: 1;
}
.equip-list li {
  font-size: 13px; color: var(--body); line-height: 1.5;
  padding-left: 1.1rem; position: relative;
}
.equip-list li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--blue); font-size: 1.1rem; line-height: 1.3;
  font-weight: 700;
}

/* ── Redes Sociais no Footer ── */
.footer-social { list-style: none; padding: 0; margin: 0; }
.footer-social li { margin-bottom: .5rem; }
.footer-social-link {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,.65); text-decoration: none;
  font-size: 14px; transition: color .2s;
}
.footer-social-link:hover { color: var(--white); }
.footer-social-link svg { flex-shrink: 0; }

/* ── 14. CTA ────────────────────────────────────────────── */
#cta {
  background: var(--white); /* azul-acinzentado claro — distinto do footer (#253548) e do branco das seções neutras */
  text-align: center; padding: 7rem var(--pad-x);
  position: relative; overflow: hidden;
}
/* Glow decorativo sutil */
#cta::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 400px; border-radius: 50%;
  background: radial-gradient(rgba(3,72,175,.08), transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 700px; margin: 0 auto; }

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  color: var(--dark); letter-spacing: -.02em; margin-bottom: 1rem;
}
.cta-title span { color: var(--blue); }

.cta-sub {
  font-size: 1rem; color: var(--body);
  margin-bottom: 2.5rem; font-weight: 400;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.whatsapp-btn {
  background: var(--whatsapp); color: #fff;
  border: 2px solid var(--whatsapp);
  padding: .85rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.whatsapp-btn:hover {
  background: var(--whatsapp-hover); border-color: var(--whatsapp-hover);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.3);
}

/* Botão fantasma adaptado para fundo claro */
.cta-ghost {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
  padding: .85rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.cta-ghost:hover {
  background: var(--blue); color: var(--white);
  transform: translateY(-2px);
}


/* ── 15. FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 3.5rem var(--pad-x) 2rem;
}

/* Grid agora com 4 colunas */
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  max-width: 1200px; margin: 0 auto 2rem;
}
.footer-brand img { height: 34px; width: auto; margin-bottom: .75rem; }
.footer-brand p {
  font-size: 13px; color: rgba(255,255,255,.4);
  line-height: 1.65; max-width: 240px; font-weight: 400;
}
.footer-col h5 {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,.4);
  text-decoration: none; transition: color .2s; font-weight: 400;
  display: flex; align-items: center; gap: .4rem;
}
.footer-col ul li a:hover { color: var(--white); }

/* Parceiros: ícone de aperto de mão + nome */
.footer-partners li a {
  display: flex; align-items: center; gap: .5rem;
}
.partner-icon { font-size: 14px; }

/* Rodapé inferior: UMA linha, centralizado */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom p,
.footer-bottom .footer-dev { font-size: 12px; color: rgba(255,255,255,.25); font-weight: 400; }
.footer-bottom .footer-dev strong { color: rgba(255,255,255,.45); font-weight: 600; }
.footer-sep { color: rgba(255,255,255,.15); font-size: 12px; }
.footer-contact a { color: var(--blue-light); text-decoration: none; }


/* ── 16. WHATSAPP FLUTUANTE ─────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  background: var(--whatsapp); color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }


/* ── 17. UTILITÁRIOS ────────────────────────────────────── */
.max-w { width: 100%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }



/* ── Cores de texto por tipo de fundo ───────────────────────
   Centralizado aqui para fácil manutenção:
   - Seções com overlay escuro (imagem): texto branco
   - Seções neutras (fundo branco): texto escuro padrão
   - Parceiros (overlay branco): texto escuro
   ─────────────────────────────────────────────────────────── */

/* ── Seções com overlay escuro: texto branco ── */
#servicos .section-label,
#normas .section-label            { color: var(--blue-light); }

#servicos .section-title,
#servicos .services-header p,
#normas .section-title,
#normas .normas-header p          { color: var(--white); }

#servicos .section-title span,
#normas .section-title span       { color: var(--blue-light); }

/* ── Seções neutras: cores originais escuras ── */

/* #sobre — fundo branco */
#sobre .section-label             { color: var(--blue); }
#sobre .section-title             { color: var(--dark); }
#sobre .section-title span        { color: var(--blue); }
#sobre .sobre-left p              { color: var(--body); }

/* #cobertura — fundo --light (azul-claro) */
#cobertura .section-label         { color: var(--blue); }
#cobertura .section-title         { color: var(--dark); }
#cobertura .section-title span    { color: var(--blue); }
#cobertura .cobertura-header p    { color: var(--body); }

/* #diferenciais — fundo azul sólido: mantém texto branco */
/* (já definido no bloco #diferenciais acima) */

/* Equipamentos — mesmo padrão de texto das seções com overlay escuro */
#equipamentos .section-label         { color: var(--blue-light); }
#equipamentos .section-title         { color: var(--white); }
#equipamentos .section-title span    { color: var(--blue-light); }
#equipamentos p                      { color: var(--white); font-weight: 400; }

#normas .section-title            { color: var(--white); }
#normas .section-title span       { color: var(--blue-light); }

/* ── 18. RESPONSIVO ─────────────────────────────────────── */
/*
  Breakpoints:
  1024px — hero 2 col → 1 col (mais cedo para tablets grandes)
   960px — demais layouts de 2 col → 1 col
   768px — nav hambúrguer ativado
   600px — ajustes finos mobile
   420px — telas muito pequenas (iPhone SE etc.)
*/

/* ── 1024px: hero 2 col → 1 col em tablet/mobile ── */
@media (max-width: 1024px) {
  .hero-inner   { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-visual  { display: none; }
  .hero-tag, .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* ── 960px: layouts de 2 colunas → 1 coluna ── */
@media (max-width: 960px) {
  .sobre-grid             { grid-template-columns: 1fr; gap: 3rem; }
  .normas-grid            { grid-template-columns: 1fr; }
  .cobertura-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .cobertura-stats        { height: auto; }
  .services-grid          { grid-template-columns: 1fr 1fr; }
  .diff-grid              { grid-template-columns: 1fr 1fr; }
  .footer-grid            { grid-template-columns: 1fr 1fr; }}

/* ── 768px: menu hambúrguer ── */
@media (max-width: 768px) {
  .nav-links,
  .nav-btns               { display: none; }
  .nav-toggle             { display: flex; }

  /* iOS/Safari: background-attachment:fixed causa bugs — usar scroll */
  #hero, #sobre, #servicos, #normas, #cobertura, #equipamentos {
    background-attachment: scroll;
  }
}

/* ── 600px: mobile ── */
@media (max-width: 600px) {
  :root                   { --pad-x: 6vw; } /* padding lateral levemente maior */

  section                 { padding: 4rem var(--pad-x); }

  /* Hero */
  #hero                   { min-height: auto; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 4rem; }
  .hero-title             { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-subtitle          { font-size: .9rem; }
  .hero-actions           { flex-direction: column; width: 100%; }
  .btn-primary,
  .btn-ghost              { width: 100%; justify-content: center; }

  /* Sobre */
  .sobre-cards            { grid-template-columns: 1fr; }

  /* Parceiros / Equipamentos */
  .partners-grid          { grid-template-columns: 1fr; }
  .equip-grid             { grid-template-columns: 1fr; }

  /* Cobertura */
  .cobertura-grid         { gap: 1.5rem; }
  .cobertura-stats        { padding: 1.5rem; height: auto; }
  .cov-grid               { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .cov-stat               { padding: 1rem .75rem; }
  .cov-num                { font-size: 1.75rem; }

  /* Serviços */
  .services-grid          { grid-template-columns: 1fr; }

  /* Diferenciais */
  .diff-grid              { grid-template-columns: 1fr; }

  /* CTA */
  .cta-btns               { flex-direction: column; align-items: stretch; }
  .whatsapp-btn,
  .cta-ghost              { justify-content: center; }

  /* Footer */
  .footer-grid            { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom          { gap: .4rem .75rem; }
  .footer-brand img       { margin-left: auto; margin-right: auto; }
  .footer-brand p         { max-width: 100%; }
  .footer-col ul          { align-items: center; }
  .footer-social          { display: flex; flex-direction: column; align-items: center; }
}

/* ── 420px: telas muito pequenas (iPhone SE, Galaxy A03) ── */
@media (max-width: 420px) {
  .hero-title             { font-size: 1.75rem; }
  .section-title          { font-size: 1.6rem; }
  nav                     { padding: 0 4vw; }
}

/* ── 900px: tablet ── */
@media (max-width: 900px) and (min-width: 601px) {
  .equip-grid             { grid-template-columns: repeat(2, 1fr); }
}

