/* =========================================================
   ACOLHER SOLUÇÕES EM SAÚDE — style.css
   Redesign institucional v3 — "sóbrio, denso, editorial".
   Organização: 0.Tokens · 1.Reset/base · 2.Utilitários ·
   3.Guards (reveal/img-missing/reduced-motion) · 4.Botões ·
   5.Topbar · 6.Header · 7.Hero · 8.Setores · 9.Sobre ·
   10.Linhas · 11.Frota · 12.Compliance · 13.Números ·
   14.Programa · 15.Como contratar · 16.Wizard · 17.FAQ ·
   18.CTA final · 19.Footer · 20.FAB · 21.Responsivo ·
   22.Reduced-motion.
   ========================================================= */

/* ===================== 0. TOKENS ===================== */
:root {
  --navy-950: #071B30;
  --navy-900: #0A2540;
  --navy-800: #0C2E4C;
  --navy-700: #0E3A5C;
  --teal-600: #12938D;
  --teal-500: #1FB5A9;
  --teal-300: #7ED8D0;

  --porcelain: #F8FAF9;
  --white: #FFFFFF;
  --ink: #1C2B3A;
  --muted: #46586A;
  --muted-light: rgba(255,255,255,.72);

  --line: rgba(7,27,48,.08);          /* hairline claro universal */
  --line-strong: rgba(7,27,48,.14);
  --line-dark: rgba(255,255,255,.14);  /* hairline sobre navy */

  --wa-green: #1F9D57;
  --wa-green-dark: #17824A;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 24px rgba(7,27,48,.07);
  --shadow-soft: 0 14px 40px rgba(7,27,48,.10);

  --header-h: 68px;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ===================== 1. RESET / BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;   /* contém o drawer off-canvas do menu mobile (Safari/WebKit) */
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-500); }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 3px; }

section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ===================== 2. UTILITÁRIOS ===================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }

.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section-dark { background: var(--navy-950); color: rgba(255,255,255,.86); position: relative; overflow: hidden; }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: .7rem 1rem;
  border-radius: var(--radius-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal-600);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--teal-300); }

.h2-light, .section-sub--light { color: #fff; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--left { text-align: left; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.section-head .h2-light { color: #fff; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 44ch; margin-top: .75rem; }
.section-sub--light { color: rgba(255,255,255,.72); }

/* ===================== 3. GUARDS ===================== */
/* reveal: só esconde para animar quando o JS está ativo (sem JS, tudo visível). */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Fallback de imagem ausente */
.has-img { position: relative; }
.img-fallback { display: none; }
.has-img.img-missing {
  background: linear-gradient(135deg, var(--navy-900), var(--teal-600));
  overflow: hidden;
}
.has-img.img-missing::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 H180 l14 -34 10 66 12 -80 14 92 10 -44 H600' fill='none' stroke='%23ffffff' stroke-opacity='0.18' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 100% 120px;
  opacity: .8;
}
.has-img.img-missing .img-fallback {
  display: grid; place-items: center;
  position: absolute; inset: 0;
  color: rgba(255,255,255,.72);
}
.has-img.img-missing .img-fallback svg { width: 56px; height: 56px; }
.has-img.img-missing figcaption { position: relative; z-index: 2; }

/* ===================== 4. BOTÕES ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .ico { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-card); }

.btn-white { background: #fff; color: var(--navy-900); font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-white:hover { background: #fff; color: var(--navy-900); box-shadow: 0 10px 28px rgba(0,0,0,.24); }
/* botão branco (CTA primário) ganha padding maior que o outline p/ hierarquia */
.btn-white.btn-lg { padding: 1.05rem 2rem; }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.75); }

.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-green-dark); color: #fff; box-shadow: var(--shadow-card); }

.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--porcelain); color: var(--ink); }

.btn-send .btn-arrow { margin-left: auto; }

/* ===================== 5. TOPBAR ===================== */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 40px; padding-block: 0;
}
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: #fff; }
.topbar-plantao { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.topbar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 3px rgba(31,181,169,.25); flex: none; }
.topbar-right { display: flex; align-items: center; gap: 1.25rem; }
.topbar-loc { color: rgba(255,255,255,.6); }
.topbar-ig { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-ig svg { width: 16px; height: 16px; }

/* ===================== 6. HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(7,27,48,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; color: var(--navy-900); }
.brand-icon { width: auto; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; letter-spacing: .05em; font-size: 1.05rem; color: var(--navy-900); }
.brand-tag { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; font-size: .58rem; text-transform: uppercase; color: var(--teal-600); }

.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; padding-block: .3rem; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--teal-500); transition: width .25s var(--ease); }
.nav-list a:hover { color: var(--navy-900); }
.nav-list a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-cta { padding: .7rem 1.3rem; }

.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: var(--radius-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== 7. HERO ===================== */
.hero {
  position: relative;
  min-height: 88vh;
  color: #fff;
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--navy-950); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.04); }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(7,27,48,.82) 0%, rgba(7,27,48,.78) 34%, rgba(7,27,48,.35) 100%);
}
.hero-ecg { position: absolute; left: 0; right: 0; bottom: 78px; z-index: 0; color: #fff; opacity: .10; height: 60px; pointer-events: none; }
.hero-ecg svg { width: 100%; height: 100%; }

.hero-inner { position: relative; z-index: 1; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(4rem, 10vh, 7rem); }
.hero-copy { max-width: 640px; }
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.hero-lead { color: rgba(255,255,255,.86); font-size: 1.14rem; line-height: 1.7; max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero-proof {
  position: relative; z-index: 1;
  margin-top: auto;
  background: rgba(10,37,64,.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255,255,255,.10);
}
.hero-proof-inner { display: flex; flex-wrap: wrap; gap: 0; padding-block: 1rem; }
.hero-proof-item {
  font-size: .92rem; color: rgba(255,255,255,.9); font-weight: 500;
  padding: .2rem 1.5rem; position: relative;
}
.hero-proof-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 1.1rem; background: var(--line-dark);
}
.hero-proof-item:first-child { padding-left: 0; }

/* ===================== 8. SETORES ===================== */
.sectors { background: var(--porcelain); padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.sectors .eyebrow { text-align: left; }
.sectors-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
}
.sectors-list li {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--ink); font-size: .88rem;
  padding: .35rem .95rem; position: relative;
}
.sectors-list li:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 1.3rem; background: var(--line-strong);
}
.sectors-list li:first-child { padding-left: 0; }
.sectors-list .ico { width: 18px; height: 18px; color: var(--teal-600); flex: none; }

/* ===================== 9. A ACOLHER ===================== */
.about { background: #fff; }
.about-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.about-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.about-body p { color: var(--muted); font-size: 1.06rem; }
.about-body p + p { margin-top: 1.15rem; }

.pillars {
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  counter-reset: pillar;
}
.pillar { padding: 1.75rem 0; border-bottom: 1px solid var(--line); counter-increment: pillar; }
.pillar h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--navy-900); }
.pillar p { color: var(--muted); font-size: .98rem; }
/* numeração editorial 01 02 03 acima de cada pilar */
.pillar h3::before {
  content: "0" counter(pillar);
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .2em; color: var(--teal-600);
  margin-bottom: .5rem;
}

/* ===================== 10. LINHAS DE ATUAÇÃO ===================== */
.lines .ecg-deco { position: absolute; left: 0; right: 0; top: 0; height: 120px; color: var(--teal-500); opacity: .10; pointer-events: none; }
.lines .ecg-deco svg { width: 100%; height: 100%; }
.lines .container { position: relative; z-index: 1; }
.lines-list { list-style: none; margin: 0; padding: 0; }
.line-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--line-dark);
}
.lines-list .line-row:last-child { border-bottom: 1px solid var(--line-dark); }
.line-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--teal-500); line-height: 1; letter-spacing: 0; }
.line-body h3 { color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: .6rem; }
.line-body p { color: rgba(255,255,255,.74); max-width: 62ch; }
.line-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; min-height: 44px; color: var(--teal-300); font-weight: 600; font-size: .95rem; }
.line-link:hover { color: #fff; }
.line-media {
  grid-column: 2; width: 100%; max-width: 320px; aspect-ratio: 16/10;
  border-radius: var(--radius); overflow: hidden; margin-top: 1.25rem;
  border: 1px solid var(--line-dark); position: relative;
}
.line-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.04); }
/* overlay navy leve p/ uniformizar as fotos de conteúdo (tira cara de banco de imagens) */
.line-media:not(.img-missing)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7,27,48,.42), rgba(7,27,48,.10));
}

/* ===================== 11. FROTA ===================== */
.fleet { background: var(--porcelain); }
.fleet-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.fleet-table-wrap { min-width: 0; }
.fleet-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.fleet-table th, .fleet-table td {
  text-align: left; padding: 1rem 1.15rem; font-size: .96rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.fleet-table thead th {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  background: var(--porcelain);
}
.fleet-table tbody th { font-weight: 700; color: var(--navy-900); font-family: var(--font-body); min-width: 200px; }
.fleet-table thead th:first-child { min-width: 200px; }
.fleet-table td { color: var(--muted); }
.fleet-table tbody tr:last-child th, .fleet-table tbody tr:last-child td { border-bottom: 0; }
.fleet-row--d { background: rgba(18,147,141,.06); }
.fleet-row--d th { box-shadow: inset 3px 0 0 var(--teal-600); color: var(--navy-900); }
.fleet-note { margin-top: 1.1rem; color: var(--muted); font-size: .92rem; }

.fleet-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); background: #fff; position: relative; }
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; filter: saturate(.82) contrast(1.04); }
/* leve overlay navy no interior da UTI (evita foto estéril demais) */
.fleet-photo:not(.img-missing)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7,27,48,.30), rgba(7,27,48,0) 60%);
}
.fleet-photo figcaption { position: relative; z-index: 2; background: #fff; }
.fleet-photo figcaption { padding: .8rem 1rem; font-size: .85rem; color: var(--muted); background: #fff; }

/* ===================== 12. COMPLIANCE ===================== */
.compliance { background: #fff; }
.compliance-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.compliance-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.compliance-copy p { color: var(--muted); margin-top: 1rem; max-width: 40ch; }
.compliance-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.compliance-list li {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start;
  padding: .9rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: .98rem;
}
.compliance-list .check { width: 22px; height: 22px; color: var(--teal-600); flex: none; margin-top: 1px; }

/* ===================== 13. NÚMEROS ===================== */
.stats { background: var(--navy-900); color: #fff; padding-block: clamp(3rem, 6vw, 5rem); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
.stat { text-align: left; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; color: #fff; letter-spacing: -0.02em; }
.stat-label { display: block; margin-top: .6rem; color: rgba(255,255,255,.60); font-size: .92rem; font-weight: 500; }

/* ===================== 14. PROGRAMA ACOLHER EMPRESAS ===================== */
.program { background: var(--porcelain); }
.program-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
.program-copy { padding: clamp(1.75rem, 4vw, 3rem); }
.program-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.program-lead { color: var(--muted); margin-top: 1rem; }
.program-list { list-style: none; margin: 1.5rem 0; padding: 0; border-top: 1px solid var(--line); }
.program-list li {
  padding: .9rem 0 .9rem 1.75rem; border-bottom: 1px solid var(--line);
  position: relative; color: var(--ink); font-size: .98rem;
}
.program-list li::before {
  content: ""; position: absolute; left: 0; top: 1.35rem;
  width: 8px; height: 8px; border-radius: 2px; background: var(--teal-500);
}
.program-micro { margin-top: .9rem; color: var(--muted); font-size: .88rem; }
.program-media { min-height: 260px; position: relative; }
.program-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.04); }
/* overlay navy na foto da equipe — tira a cara de estoque de IA */
.program-media:not(.img-missing)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(7,27,48,.45), rgba(7,27,48,.15));
}

/* ===================== 15. COMO CONTRATAR ===================== */
.hire { background: #fff; }
.hire-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.hire-step { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.hire-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--teal-600); opacity: .35; line-height: 1; }
.hire-step h3 { font-size: 1.2rem; margin: .35rem 0 .5rem; color: var(--navy-900); }
.hire-step p { color: var(--muted); font-size: .98rem; max-width: 42ch; }
.hire-public { margin-top: 1.75rem; color: var(--muted); font-size: .92rem; padding: 1rem 1.15rem; background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ===================== 16. WIZARD ===================== */
.propose .ecg-deco { display: none; }
.propose .container { position: relative; z-index: 1; }
.wizard {
  max-width: 720px; margin-inline: auto;
  background: #fff; color: var(--ink);
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.wizard-head { border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; margin-bottom: 1.4rem; }
.wizard-head-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); }
.wizard-head-sub { display: block; color: var(--muted); font-size: .88rem; margin-top: .2rem; }

.wizard-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.wizard-seg { display: flex; flex-direction: column; gap: .45rem; }
.wizard-seg-bar { height: 4px; border-radius: 2px; background: var(--line-strong); transition: background .3s var(--ease); }
.wizard-seg-label { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.wizard-seg.is-active .wizard-seg-bar, .wizard-seg.is-done .wizard-seg-bar { background: var(--teal-500); }
.wizard-seg.is-active .wizard-seg-label { color: var(--navy-900); }

.wizard-step { border: 0; margin: 0; padding: 0; display: none; }
.wizard-step.is-active { display: block; }
.wizard-q { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); padding: 0; margin-bottom: 1.1rem; }

.choice-grid { display: grid; grid-template-columns: 1fr; gap: .7rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-inner {
  display: flex; align-items: center; gap: .6rem;
  padding: 1rem 1.25rem; border: 1.5px solid var(--navy-700); border-radius: var(--radius-sm);
  font-weight: 600; color: var(--ink); background: var(--porcelain);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.choice:hover .choice-inner { border-color: var(--teal-600); }
.choice input:checked + .choice-inner { border-color: var(--navy-700); background: var(--navy-900); color: #fff; }
.choice input:focus-visible + .choice-inner { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--navy-900); }
.field input[type="text"], .field input[type="date"], .field select {
  width: 100%; padding: .7rem .85rem; font-family: inherit; font-size: 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(31,181,169,.18); }

.field-group { border: 0; margin: 0 0 1rem; padding: 0; }
.field-group legend { font-weight: 600; font-size: .9rem; color: var(--navy-900); margin-bottom: .45rem; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-opt {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  padding: .55rem .85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--ink); transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.radio-opt:hover { border-color: var(--teal-500); }
.radio-opt input { accent-color: var(--teal-600); }
.radio-opt:has(input:checked) { border-color: var(--teal-600); background: rgba(31,181,169,.07); }

.field-error { color: #b23b3b; font-size: .88rem; margin-top: .35rem; min-height: 1.1rem; }

.recommend-box {
  background: rgba(31,181,169,.09); border: 1px solid rgba(18,147,141,.3);
  border-left: 3px solid var(--teal-600);
  padding: .85rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem;
  color: var(--navy-900); font-weight: 500; font-size: .95rem;
}
.summary-list { margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--line); }
.summary-list > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.summary-list dt { margin: 0; font-weight: 600; color: var(--muted); font-size: .9rem; }
.summary-list dd { margin: 0; color: var(--ink); font-size: .95rem; }

.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.wizard-nav #btnNext { margin-left: auto; }
.micro { color: var(--muted); font-size: .82rem; margin-top: .9rem; text-align: center; }

/* ===================== 17. FAQ ===================== */
.faq { background: #fff; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-chevron { position: absolute; right: .2rem; top: 1.35rem; width: 12px; height: 12px; }
.faq-chevron::before, .faq-chevron::after {
  content: ""; position: absolute; top: 5px; width: 9px; height: 2px; background: var(--muted); transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.faq-chevron::before { left: 0; transform: rotate(45deg); }
.faq-chevron::after { right: 0; transform: rotate(-45deg); }
/* item aberto: chevron em teal como confirmação de estado ativo */
.faq details[open] .faq-chevron::before { transform: rotate(-45deg); background: var(--teal-600); }
.faq details[open] .faq-chevron::after { transform: rotate(45deg); background: var(--teal-600); }
.faq-answer { padding: 0 0 1.2rem; }
.faq-answer p { color: var(--muted); max-width: 68ch; }

/* ===================== 18. CTA FINAL ===================== */
.cta-final { background: var(--navy-900); }
.cta-final-inner { text-align: center; max-width: 760px; margin-inline: auto; }
.cta-final h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 720px; margin-inline: auto; }
.cta-line { color: rgba(255,255,255,.82); margin-top: 1rem; font-size: 1.08rem; }
.cta-final-btns { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 1.75rem; }
.cta-slogan { margin-top: 2rem; color: rgba(255,255,255,.55); font-size: 1.02rem; }
.cta-slogan em { font-style: italic; }
.cta-warning { margin-top: 1.25rem; color: rgba(255,255,255,.55); font-size: .82rem; }

/* ===================== 19. FOOTER ===================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo-card { display: inline-flex; align-items: center; gap: .6rem; }
/* logo raster tem fundo branco e não possui versão negativa: no footer navy
   usamos o lockup tipográfico limpo (sem card/badge branco tipo adesivo). */
.footer-icon { display: none; }
.footer-lockup-text { display: flex; flex-direction: column; line-height: 1.05; }
.footer-lockup-name { font-family: var(--font-display); font-weight: 800; letter-spacing: .05em; font-size: 1.4rem; color: #fff; }
.footer-lockup-tag { font-family: var(--font-display); font-weight: 600; letter-spacing: .18em; font-size: .62rem; text-transform: uppercase; color: var(--teal-300); margin-top: .2rem; }
.footer-legal { margin-top: 1.25rem; color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; }
.footer-address { margin-top: .6rem; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-contact { margin-top: .8rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-ig { margin-top: .35rem; }
.footer-ig a { color: var(--teal-300); }
.footer-ig a:hover { color: #fff; }

.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
.footer-col h3 { font-family: var(--font-display); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; font-size: .92rem; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: #fff; }
.footer-col-address { color: rgba(255,255,255,.5); }

.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.4rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }
.footer-warning { color: rgba(255,255,255,.4); }

/* ===================== 20. FAB — pílula "Solicitar orçamento" ===================== */
.wa-float-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; }
/* pílula verde WhatsApp com ícone + rótulo; radius alto aceitável por ser FAB */
.wa-float {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem;
  border-radius: 999px;
  background: var(--wa-green); color: #fff;
  box-shadow: 0 6px 20px rgba(7,27,48,.20);
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { background: var(--wa-green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(7,27,48,.26); }
.wa-float-icon { width: 24px; height: 24px; flex: none; }
.wa-float-label { font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1; white-space: nowrap; }

/* Visibilidade (progressive enhancement): só some com JS ativo.
   Sem JS a pílula fica sempre visível (gate html.js). */
html.js .wa-float-wrap {
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
html.js .wa-float-wrap.is-visible {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}

/* ===================== 21. RESPONSIVO ===================== */

/* Tablet / desktop pequeno */
@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  /* hairlines verticais entre os números — estrutura de relatório executivo */
  .stats-grid .stat + .stat { border-left: 1px solid rgba(255,255,255,.08); padding-left: 1.75rem; }
  .compliance-list { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .hire-steps { grid-template-columns: repeat(3, 1fr); }
  .hire-step { padding: 0 1.5rem; border-bottom: 0; border-left: 1px solid var(--line); }
  .hire-step:first-child { padding-left: 0; border-left: 0; }
  .footer-inner { grid-template-columns: 1.3fr 2fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .program-card { grid-template-columns: 1.15fr .85fr; }
  .fleet-layout { grid-template-columns: 1.5fr 1fr; }
}

/* Desktop */
@media (min-width: 960px) {
  .about-inner { grid-template-columns: 5fr 7fr; gap: 3rem; }
  .about-head { grid-column: 1; }
  .about-body { grid-column: 2; }
  .pillars { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
  .pillar { padding: 2rem 2rem 2rem 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .pillar:last-child { border-right: 0; }
  .pillar:not(:first-child) { padding-left: 2rem; }

  .line-row { grid-template-columns: auto 1fr auto; gap: 1rem 2rem; align-items: center; }
  .line-media { grid-column: auto; margin-top: 0; width: 240px; }
  .line-row--nomedia { grid-template-columns: auto 1fr; }

  .compliance-inner { grid-template-columns: 5fr 7fr; gap: 3.5rem; }

  .hero-title { font-size: clamp(2.8rem, 4.6vw, 3.9rem); }
}

/* Header colapsa em mobile */
@media (max-width: 899px) {
  .hamburger { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: #fff; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: -12px 0 40px rgba(7,27,48,.14); z-index: 110; padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem; }
  .nav.open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .nav-list a::after { display: none; }
  .header-cta { display: none; }
}

/* Ajustes finos mobile */
@media (max-width: 759px) {
  .topbar-loc { display: none; }
  .topbar { font-size: .72rem; }
  .topbar-inner { min-height: 40px; }
  .topbar-plantao { padding-block: 10px; }
  .topbar-ig { padding: 10px 4px; }

  .hero { min-height: 80vh; }
  .hero-overlay { background: linear-gradient(to right, rgba(7,27,48,.80) 0%, rgba(7,27,48,.62) 100%); }
  .hero-proof { padding: 12px 0; }
  .hero-proof-inner { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-block: 0; }
  .hero-proof-item { padding: 0; font-size: 12px; color: #fff; white-space: nowrap; flex: 0 1 auto; }
  .hero-proof-item:not(:last-child)::after { display: none; }
  .hero-proof-item:first-child { padding-left: 0; }

  .sectors-list li { padding: .7rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .sectors-list li:last-child { border-bottom: none; }
  .sectors-list li:not(:last-child)::after { display: none; }

  .line-media { max-width: 100%; }

  /* Tabela de frota -> cards empilhados (sem JS) */
  .fleet-table, .fleet-table tbody, .fleet-table tr, .fleet-table th, .fleet-table td { display: block; }
  .fleet-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fleet-table { box-shadow: none; border: 0; background: transparent; }
  .fleet-table tr {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card); margin-bottom: 1rem; padding: .5rem 1.15rem;
  }
  .fleet-table tr.fleet-row--d { border-color: rgba(18,147,141,.4); box-shadow: inset 3px 0 0 var(--teal-500), var(--shadow-card); }
  .fleet-table th, .fleet-table td { border-bottom: 1px solid var(--line); padding: .7rem 0; }
  .fleet-table tr th:first-child { font-size: 1.05rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
  .fleet-table tr td:last-child { border-bottom: 0; }
  .fleet-table td::before {
    content: attr(data-th); display: block;
    font-family: var(--font-display); font-weight: 700; font-size: .68rem;
    text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .15rem;
  }
  .fleet-row--d th { box-shadow: none; }

  .cta-final-btns .btn { flex: 1 1 100%; }
  .footer-bottom .container { flex-direction: column; }

  /* footer em coluna única no mobile: elimina conflito com o FAB e dá área de toque */
  .footer-cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-col li { margin-bottom: 0; }
  .footer-col a { display: flex; align-items: center; min-height: 40px; }
  .footer-contact a, .footer-ig a { display: inline-flex; align-items: center; min-height: 40px; }
  /* espaço extra no rodapé p/ a pílula do FAB nunca cobrir o último bloco */
  .footer-bottom { padding-bottom: calc(1.4rem + 76px); }

  /* pílula um pouco menor no mobile; ancorada à direita sem causar overflow */
  .wa-float-wrap { right: 14px; bottom: 14px; max-width: calc(100vw - 28px); }
  .wa-float { min-height: 44px; padding: .6rem 1rem; gap: .5rem; }
  .wa-float-icon { width: 22px; height: 22px; }
  .wa-float-label { font-size: .9rem; }
}

/* Muito estreito */
@media (max-width: 380px) {
  .brand-tag { font-size: .5rem; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ===================== 22. REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .wa-float:hover { transform: none; }
  /* FAB some/aparece sem slide (só o offset vertical), mantendo o toggle de opacidade */
  html.js .wa-float-wrap, html.js .wa-float-wrap.is-visible { transform: none; }
}
