/* =====================================================================
   ALVIA LOG · Design system
   Paleta derivada do logotipo (azul-marinho, grafite, branco).
   Ajuste as cores oficiais apenas nos tokens abaixo.
   ===================================================================== */
:root {
  --deeper: #040E1E;
  --deep: #07162E;      /* hero, rodapé, áreas premium */
  --navy: #10284A;      /* cor principal */
  --navy-2: #1A3A66;
  --graphite: #303740;  /* textos e secundários */
  --ink: #18202A;
  --muted: #5D6774;
  --line: #E2E6EB;
  --light: #F3F5F7;     /* fundos alternados */
  --white: #FFFFFF;
  --accent: #2F6FE4;    /* azul de ação: CTAs e destaques pontuais */
  --accent-hover: #255BC2;
  --accent-soft: #8DB4FF;
  --ok: #1F8A5B;
  --err: #C23A3A;

  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 24px 60px -28px rgba(7, 22, 46, .35);
  --shadow-sm: 0 8px 24px -14px rgba(7, 22, 46, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); color: var(--graphite); background: var(--white);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--light { background: var(--light); }
.section--dark { background: var(--deep); color: #C6D1E0; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--accent-soft); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: #A9B6C8; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; } .section-head--split .lead { margin-bottom: .4em; } }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem; letter-spacing: -.005em;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover .i { transform: translateX(3px); }
.btn--accent { --bg: var(--accent); }
.btn--accent:hover { --bg: var(--accent-hover); }
.btn--white { --bg: var(--white); --fg: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--outline { --bg: transparent; --fg: var(--navy); border-color: #C9D2DE; }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); font-size: .95rem; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Cabeçalho ---------- */
#site-header { min-height: var(--header-h); position: absolute; inset: 0 0 auto; z-index: 100; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-solid { background: rgba(7, 22, 46, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-logo { height: 46px; width: auto; }
.site-footer .brand-logo { height: 52px; }
@media (max-width: 640px) { .brand-logo { height: 40px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 1.2rem; font-weight: 800; letter-spacing: .14em; }
.brand-text small { font-size: .62rem; font-weight: 600; letter-spacing: .42em; color: #9FB0C8; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; font-size: .93rem; font-weight: 600; color: #C9D4E3; border-radius: 8px; transition: color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent-soft); border-radius: 2px; }
.nav .btn { margin-left: 14px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .i { width: 24px; height: 24px; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 24px var(--gutter) 40px; background: var(--deep); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-size: 1.25rem; padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent-soft); }
  .nav .btn { margin: 24px 0 0; min-height: 56px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--deep); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #C6D1E0; background: var(--deep); overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 8vw, 104px);
  min-height: min(100vh, 920px); display: flex; align-items: center;
}
.hero-bg, .hero-bg::after { position: absolute; inset: 0; z-index: -2; }
.hero-bg { background:
  radial-gradient(1200px 600px at 85% 10%, rgba(47, 111, 228, .28), transparent 60%),
  radial-gradient(900px 500px at 0% 100%, rgba(26, 58, 102, .7), transparent 60%),
  linear-gradient(180deg, var(--deep), var(--deeper)); background-size: cover; background-position: center; }
.hero-bg.has-photo { background-image: var(--photo); }
.hero-bg::after { content: ""; z-index: 0; background: linear-gradient(100deg, rgba(4, 14, 30, .96) 0%, rgba(7, 22, 46, .86) 45%, rgba(16, 40, 74, .55) 100%); opacity: 0; }
.hero-bg.has-photo::after { opacity: 1; }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero-routes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-routes path { fill: none; stroke: url(#routeGrad); stroke-width: 1.4; stroke-dasharray: 6 10; animation: dash 30s linear infinite; }
.hero-routes path.solid { stroke-dasharray: none; opacity: .5; animation: none; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero:not(.page-hero) h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.hero h1 em { display: block; font-style: normal; color: transparent; background: linear-gradient(90deg, #fff, var(--accent-soft)); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #AFBDD0; max-width: 54ch; margin-bottom: 36px; }
.hero-layout { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1040px) { .hero-layout { grid-template-columns: 1.15fr .85fr; } }
.slogan-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04);
  font-size: .85rem; font-weight: 600; color: #DCE5F2; backdrop-filter: blur(6px);
}
.slogan-tag span { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); align-items: center; justify-content: center; }
.slogan-tag .i { width: 15px; height: 15px; color: var(--white); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 0; list-style: none; font-size: .9rem; color: #A9B6C8; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .i { width: 18px; height: 18px; color: var(--accent-soft); }

/* Cartão de início de cotação no hero */
.quote-card {
  position: relative; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.quote-card h2 { font-size: 1.35rem; color: var(--white); margin-bottom: 6px; }
.quote-card > p { font-size: .92rem; color: #A9B6C8; margin-bottom: 22px; }
.qc-route { display: grid; gap: 12px; position: relative; }
.qc-stop { display: grid; grid-template-columns: 1fr 92px; gap: 10px; padding-left: 34px; position: relative; }
.qc-stop::before { content: ""; position: absolute; left: 6px; top: 20px; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--accent-soft); background: var(--deep); }
.qc-stop + .qc-stop::before { background: var(--accent-soft); }
.qc-route::before { content: ""; position: absolute; left: 11.5px; top: 34px; bottom: 34px; border-left: 2px dashed rgba(141, 180, 255, .45); }
.quote-card .input, .quote-card select { background: rgba(4, 14, 30, .55); border-color: rgba(255, 255, 255, .14); color: var(--white); }
.quote-card .input::placeholder { color: #7F8EA4; }
/* Mantém o fundo escuro ao digitar (o foco padrão deixava o fundo branco com texto branco) */
.quote-card .input:focus, .quote-card select:focus { background: rgba(4, 14, 30, .8); color: var(--white); border-color: var(--accent-soft); }
.quote-card .input:-webkit-autofill { -webkit-text-fill-color: var(--white); -webkit-box-shadow: 0 0 0 40px #0B1A33 inset; }
.quote-card select option { color: var(--ink); }
.quote-card .btn { margin-top: 18px; }
.qc-note { margin: 14px 0 0; font-size: .78rem; color: #8494AB; text-align: center; }
.qc-note a { text-decoration: underline; text-underline-offset: 3px; }
/* Formulário curto dentro do cartão escuro do hero */
.quote-card .fields { gap: 12px; }
.quote-card .f > label { color: #DCE5F2; font-size: .82rem; }
.quote-card .input { min-height: 46px; padding: 11px 14px; }
.quote-card textarea.input { min-height: 72px; background: rgba(4, 14, 30, .55); border-color: rgba(255, 255, 255, .14); color: var(--white); }
.quote-card textarea.input::placeholder { color: #7F8EA4; }
.qc-grid .f-6 { grid-column: span 6; }
.quote-card .qc-optional { margin: 16px 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #8DA0BA; }
.quote-card .btn { margin-top: 18px; }
.quote-card .field-error { color: #FFA3A3; }
.quote-card .f.has-error .input { background: rgba(80, 10, 10, .35); }
.quote-card .result h2 { color: var(--white); }
.quote-card .result .lead, .quote-card .result ol, .quote-card .result .hint { color: #A9B6C8; }
.quote-card .result .btn--outline { --fg: var(--white); border-color: rgba(255, 255, 255, .35); }
@media (min-width: 1040px) { .only-mobile { display: none !important; } }
.opt-title { margin: 28px 0 14px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.opt-title .opt { font-weight: 500; color: var(--muted); }
.form-footer .hint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Hero das páginas internas */
.page-hero { min-height: auto; padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 7vw, 96px); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.breadcrumb { display: flex; gap: 8px; font-size: .82rem; color: #8494AB; margin-bottom: 22px; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Faixa de segmentos ---------- */
.segments { background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0; }
.segments .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.segments-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.segments ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.segments li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--light); font-size: .86rem; font-weight: 600; color: var(--graphite); }
.segments li .i { width: 16px; height: 16px; color: var(--navy-2); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 34px); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.icon-box {
  width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: var(--white); margin-bottom: 24px;
  box-shadow: 0 12px 24px -12px rgba(16, 40, 74, .7);
}
.icon-box .i { width: 26px; height: 26px; }
.card-num { position: absolute; top: 24px; right: 28px; font-size: .8rem; font-weight: 700; color: #B6C0CD; letter-spacing: .08em; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transition: width .5s var(--ease); }
.card:hover::after { width: 100%; }

/* Prioridades do decisor */
.priorities { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 760px) { .priorities { grid-template-columns: repeat(3, 1fr); } }
.priorities > div { background: var(--white); padding: 22px 26px; display: flex; gap: 16px; align-items: flex-start; }
.priorities .i { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.priorities strong { display: block; color: var(--ink); font-size: 1rem; }
.priorities span { font-size: .9rem; color: var(--muted); }

/* ---------- Soluções (bento) ---------- */
.bento { display: grid; gap: clamp(16px, 2vw, 22px); }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.svc {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg); overflow: hidden; color: #C6D1E0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--deep) 100%); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
@media (min-width: 1040px) { .bento > :nth-child(-n+3) { min-height: 340px; } }
.svc:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(7, 22, 46, .6); }
.svc-media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.svc:hover .svc-media { transform: scale(1.05); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 22, 46, .15) 0%, rgba(7, 22, 46, .92) 72%); }
.svc-art { position: absolute; z-index: -1; right: -30px; top: -30px; width: 260px; height: 260px; color: rgba(141, 180, 255, .14); }
.svc-media.has-photo ~ .svc-art { display: none; }
.svc h3 { color: var(--white); font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.svc p { font-size: .95rem; color: #B5C2D4; max-width: 44ch; }
.svc .icon-box { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; margin-bottom: auto; }
.svc .link-arrow { color: var(--white); margin-top: 6px; }
.svc-top { margin-bottom: 40px; }

/* ---------- Cobertura / mapa ---------- */
.coverage { overflow: hidden; }
.coverage-layout { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .coverage-layout { grid-template-columns: .95fr 1.05fr; } }
.map-wrap { position: relative; max-width: 560px; width: 100%; margin: 0 auto; }
.map-wrap svg { width: 100%; height: auto; overflow: visible; }
.map-dot { fill: rgba(141, 180, 255, .22); }
.map-link { fill: none; stroke: var(--accent-soft); stroke-width: 1.3; stroke-linecap: round; opacity: .75; stroke-dasharray: 4 6; animation: dash 40s linear infinite; }
.map-node { fill: var(--white); }
.map-pulse { fill: none; stroke: var(--accent-soft); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.map-caption { text-align: center; font-size: .78rem; color: #7D8DA4; margin-top: 12px; }
.check-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(47, 111, 228, .14); color: var(--accent); margin-top: 1px; }
.section--dark .check-list .i { background: rgba(141, 180, 255, .14); color: var(--accent-soft); }
.section--dark .check-list li { color: #C6D1E0; }

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: 28px; position: relative; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { position: relative; padding-top: 6px; }
.step-dot {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid var(--line); color: var(--navy); margin-bottom: 24px; transition: background .5s, color .5s, border-color .5s;
}
.step-dot .i { width: 26px; height: 26px; }
.step.is-visible .step-dot { background: var(--navy); color: var(--white); border-color: var(--navy); }
.step-n { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.step h3 { margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; max-width: 30ch; }
.steps-track { display: none; }
@media (min-width: 900px) {
  .steps-track { display: block; position: absolute; top: 38px; left: 32px; right: 12%; height: 2px; background: var(--line); }
  .steps-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--accent)); transition: width 1.8s var(--ease) .2s; }
  .steps.is-visible .steps-track span { width: 100%; }
}
@media (max-width: 899px) {
  .step { padding-left: 88px; padding-top: 0; min-height: 64px; }
  .step-dot { position: absolute; left: 0; top: 0; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 68px; bottom: -24px; width: 2px; background: var(--line); }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #B5C2D4; border-radius: var(--r-lg); padding: clamp(44px, 7vw, 88px) clamp(26px, 6vw, 80px); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 100% 0%, rgba(47, 111, 228, .4), transparent 65%), radial-gradient(600px 300px at 0% 100%, rgba(26, 58, 102, .9), transparent 70%); }
.cta-band svg.cta-routes { position: absolute; right: -40px; bottom: -40px; width: 520px; z-index: -1; opacity: .5; }
.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { max-width: 52ch; font-size: 1.08rem; margin-bottom: 32px; }
.cta-wrap { padding: 0 0 clamp(72px, 10vw, 128px); }

/* ---------- Split / institucional ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.1fr .9fr; } }
.media-frame {
  position: relative; isolation: isolate; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.4;
  background: linear-gradient(150deg, var(--navy-2), var(--deep)); background-size: cover; background-position: center;
  box-shadow: var(--shadow);
}
.media-frame .frame-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.media-frame.has-photo .frame-art { display: none; }
.media-frame .frame-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow-sm);
}
.frame-badge strong { display: block; font-size: .95rem; }
.frame-badge span { font-size: .82rem; color: var(--muted); }
.frame-badge .icon-box { width: 44px; height: 44px; border-radius: 12px; margin: 0; }
.frame-badge .icon-box .i { width: 22px; height: 22px; }
.big-quote { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 700; color: var(--ink); letter-spacing: -.02em; border-left: 3px solid var(--accent); padding-left: 24px; margin: 0 0 28px; }
.prose p { color: var(--muted); font-size: 1.04rem; }

.mv-card { padding: clamp(30px, 4vw, 44px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.mv-card--dark { background: linear-gradient(160deg, var(--navy), var(--deep)); border-color: transparent; color: #B5C2D4; }
.mv-card--dark h3 { color: var(--white); }
.mv-card .label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.mv-card--dark .label { color: var(--accent-soft); }
.mv-card p { font-size: 1.15rem; line-height: 1.5; margin: 0; }
.values { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.value { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--ink); transition: border-color .25s, transform .25s var(--ease); }
.value:hover { border-color: var(--navy-2); transform: translateY(-3px); }
.value .i { width: 22px; height: 22px; color: var(--accent); }

/* ---------- Página Soluções ---------- */
.pill-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pill-nav ul { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; margin: 0; list-style: none; scrollbar-width: none; }
.pill-nav ul::-webkit-scrollbar { display: none; }
.pill-nav a { display: inline-block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--graphite); border: 1px solid var(--line); transition: all .2s; }
.pill-nav a:hover, .pill-nav a.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.service-block { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
@media (min-width: 960px) { .service-block { grid-template-columns: 1fr 1fr; } .service-block:nth-child(even) .media-frame { order: 2; } }
.service-block .media-frame { aspect-ratio: 5/4; }
.svc-lists { display: grid; gap: 24px; margin: 28px 0 32px; }
@media (min-width: 560px) { .svc-lists { grid-template-columns: 1fr 1fr; } }
.svc-lists h4 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.svc-lists ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-lists li { display: flex; gap: 10px; font-size: .95rem; color: var(--graphite); line-height: 1.5; }
.svc-lists li .i { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

.vehicles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (min-width: 1040px) { .vehicles { grid-template-columns: repeat(4, 1fr); } }
.vehicle { padding: 26px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .25s, border-color .25s; }
.vehicle:hover { background: rgba(255, 255, 255, .07); border-color: rgba(141, 180, 255, .4); }
.vehicle svg.v-art { width: 100%; height: 56px; color: var(--accent-soft); margin-bottom: 18px; }
.vehicle h3 { font-size: 1.15rem; margin-bottom: 6px; }
.vehicle p { font-size: .88rem; color: #A9B6C8; margin: 0; }
.vehicle .cap { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700; color: var(--accent-soft); letter-spacing: .04em; }
.note { font-size: .84rem; color: #8494AB; margin-top: 24px; display: flex; gap: 10px; align-items: flex-start; }
.note .i { width: 18px; height: 18px; margin-top: 2px; }
.section:not(.section--dark) .note { color: var(--muted); }
.criteria { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.criterion { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.criterion .i { width: 26px; height: 26px; color: var(--navy-2); flex: none; }
.criterion strong { display: block; color: var(--ink); margin-bottom: 2px; }
.criterion span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Formulários ---------- */
.form-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1040px) { .form-layout { grid-template-columns: 1fr 360px; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-shell { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.form-overlap { margin-top: calc(clamp(56px, 7vw, 96px) * -1 + 8px); position: relative; z-index: 2; }
fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
legend { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; font-weight: 800; color: var(--ink); margin-bottom: 20px; letter-spacing: -.01em; padding: 0; }
legend .n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .82rem; align-items: center; justify-content: center; }
.fields { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); }
.f { grid-column: span 12; display: flex; flex-direction: column; gap: 7px; }
@media (min-width: 640px) { .f-6 { grid-column: span 6; } .f-4 { grid-column: span 4; } .f-8 { grid-column: span 8; } .f-3 { grid-column: span 3; } .f-9 { grid-column: span 9; } }
.f > label, .label-text { font-size: .86rem; font-weight: 700; color: var(--ink); }
.f > label .opt { font-weight: 500; color: var(--muted); }
.f > label .req { color: var(--accent); }
.input, select, textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #D5DBE3; background: #FBFCFD;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6774' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
textarea { min-height: 120px; resize: vertical; }
.input:hover, select:hover, textarea:hover { border-color: #B8C2CF; }
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(47, 111, 228, .14); }
.f.has-error .input, .f.has-error select, .f.has-error textarea { border-color: var(--err); background: #FFF8F8; }
.field-error { font-size: .82rem; color: var(--err); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.hint { font-size: .8rem; color: var(--muted); }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 52px; }
.input-suffix span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: .86rem; font-weight: 600; color: var(--muted); pointer-events: none; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--graphite); cursor: pointer; line-height: 1.5; }
.checkbox input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid #B8C2CF; background: var(--white); cursor: pointer; display: grid; place-content: center; transition: all .2s; }
.checkbox input::after { content: ""; width: 11px; height: 6px; border: solid var(--white); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checkbox input:checked { background: var(--navy); border-color: var(--navy); }
.checkbox input:checked::after { opacity: 1; }
.checkbox a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.f.has-error .checkbox input { border-color: var(--err); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-choice { position: relative; }
.chip-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-choice span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #D5DBE3; font-size: .9rem; font-weight: 600; transition: all .2s; cursor: pointer; }
.chip-choice input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47, 111, 228, .25); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 28px; }
.form-footer .btn { align-self: flex-start; }
@media (max-width: 560px) { .form-footer .btn { align-self: stretch; } }
.form-status { display: none; }
.form-status.is-visible { display: block; animation: rise .5s var(--ease); }
.form-alert { border-radius: var(--r); padding: 18px 20px; font-size: .92rem; display: flex; gap: 12px; }
.form-alert--err { background: #FFF4F4; border: 1px solid #F1C9C9; color: #8A2424; }
.result { text-align: left; }
.result-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(31, 138, 91, .12); color: var(--ok); margin-bottom: 22px; }
.result-icon .i { width: 30px; height: 30px; }
.result-icon--warn { background: rgba(47, 111, 228, .12); color: var(--accent); }
.result h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.result ol { padding-left: 20px; color: var(--muted); margin: 0 0 24px; }
.result ol li { margin-bottom: 6px; }
.summary-box { width: 100%; min-height: 220px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .84rem; background: var(--light); }
.aside-card { border-radius: var(--r-lg); padding: 30px; background: linear-gradient(160deg, var(--navy), var(--deep)); color: #B5C2D4; margin-bottom: 18px; }
.aside-card h3 { color: var(--white); font-size: 1.15rem; }
.aside-card ol { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 18px; counter-reset: a; }
.aside-card ol li { counter-increment: a; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: .92rem; line-height: 1.5; }
.aside-card ol li::before { content: counter(a, decimal-leading-zero); font-weight: 800; color: var(--accent-soft); font-size: .85rem; padding-top: 1px; }
.aside-card ol strong { color: var(--white); display: block; }
.aside-plain { border-radius: var(--r-lg); padding: 26px 28px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; color: var(--muted); }
.aside-plain h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.aside-plain h3 .i { color: var(--accent); }
.aside-plain p:last-child { margin: 0; }

/* ---------- Contato ---------- */
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); transition: border-color .25s, transform .25s var(--ease); }
a.contact-card:hover { border-color: var(--navy-2); transform: translateY(-3px); }
.contact-card .icon-box { margin: 0; width: 50px; height: 50px; }
.contact-card small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { color: var(--ink); font-size: 1.02rem; word-break: break-word; }
.pending { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #FFF4DD; color: #8A5A00; letter-spacing: .02em; }

/* ---------- Política ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--graphite); }
.legal ul { padding-left: 22px; }
.legal .callout { border-left: 3px solid var(--accent); background: var(--light); padding: 18px 22px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .94rem; }
.ph { background: #FFF4DD; color: #7A5000; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--deeper); color: #8D9BB0; padding: clamp(40px, 6vw, 64px) 0 96px; font-size: .92rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(141, 180, 255, .4), transparent); }
.site-footer a:hover { color: var(--white); }

/* Faixa de contato: o que o visitante procura no rodapé vem primeiro */
.footer-contact-bar { display: grid; gap: 10px; padding-bottom: clamp(32px, 5vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 560px) { .footer-contact-bar { grid-template-columns: 1fr 1fr; gap: 14px; } .footer-contact-bar > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .footer-contact-bar { grid-template-columns: repeat(3, 1fr); } .footer-contact-bar > :last-child:nth-child(odd) { grid-column: auto; } }
.f-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .25s, background .25s; min-width: 0; }
a.f-tile:hover { border-color: rgba(141, 180, 255, .45); background: rgba(255, 255, 255, .06); }
.f-tile-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(141, 180, 255, .12); color: var(--accent-soft); }
.f-tile-ic .i { width: 20px; height: 20px; }
.f-tile small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6F7F96; }
.f-tile strong { display: block; color: var(--white); font-size: .95rem; font-weight: 600; overflow-wrap: anywhere; }
.f-tile-sub { display: block; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--accent-soft); margin-top: 2px; }
.contact-card .f-tile-sub { color: var(--accent); font-size: .88rem; }

/* Marca + links */
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: clamp(32px, 5vw, 48px) 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin: 18px 0 18px; max-width: 40ch; line-height: 1.6; }
.footer-tagline { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--white); }
.footer-tagline .i { width: 16px; height: 16px; color: var(--accent-soft); }
.site-footer h4 { color: var(--white); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer nav a { font-size: .9rem; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: .8rem; color: #66768D; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 18px 0 16px; border-radius: 999px; background: #1FA855; color: var(--white);
  box-shadow: 0 16px 34px -14px rgba(16, 120, 60, .7); font-weight: 700; font-size: .92rem;
  transform: translateY(100px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, background .25s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { background: #18914A; }
.wa-float .i { width: 26px; height: 26px; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; } }

/* ---------- Banner de cookies (só aparece com analytics configurado) ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 560px; padding: 22px; border-radius: var(--r); background: var(--white); box-shadow: 0 30px 60px -20px rgba(7, 22, 46, .45); border: 1px solid var(--line); font-size: .9rem; }
.cookie-bar p { margin-bottom: 14px; }
.cookie-bar a { color: var(--accent); text-decoration: underline; }

/* ---------- Animações ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
/* No hero, a entrada é por animação no carregamento (não depende de rolagem) */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
