/* ==========================================================================
   NSA Logística — Design tokens (ver. DESIGN.md: "A Rota Inteligente")
   ========================================================================== */
:root {
  --indigo: #35357e;
  --indigo-hover: #292962;
  --navy-deep: #24245a;
  --navy-bright: #2e2e8a;
  --navy-bright-2: #4747c2;
  --orange: #f4832f;
  --orange-hover: #ff9748;
  --orange-label: #ffb98a;
  --text-on-orange: #17173e;

  --bg-page: #f3f5fc;
  --bg-alt: #eaeefb;
  --bg-alt-2: #dfe6fc;
  --bg-field: #f5f7fd;
  --grid-line: #e4e8f6;
  --grid-line-soft: rgba(36,36,90,.035);
  --grid-line-on-dark: rgba(255,255,255,.045);

  --border: #e2e6ef;
  --border-strong: #c2c8da;
  --border-field: #e1e5f3;

  --text-body: #565d70;
  --text-faint: #7c8296;
  --text-faint-2: #9096ab;

  --whatsapp: #25d366;
  --whatsapp-hover: #1fbb59;
  --success: #1e9e5a;
  --success-bg: #e7f6ee;
  --error: #c0392b;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-label: 'Space Grotesk', monospace;

  --container-max: 1200px;
  --container-pad: clamp(18px, 5vw, 44px);
  --section-pad: clamp(64px, 8vw, 110px);

  --shadow-card: 0 22px 44px -28px rgba(36, 36, 90, .45);
  --shadow-card-lg: 0 26px 50px -28px rgba(36, 36, 90, .5);
  --shadow-panel: 0 24px 50px -32px rgba(36, 36, 90, .45);
  --shadow-panel-lg: 0 40px 70px -40px rgba(36, 36, 90, .6);
  --shadow-live: 0 24px 50px -20px rgba(10, 10, 40, .55);
  --shadow-whatsapp: 0 8px 24px -6px rgba(37, 211, 102, .55);
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-deep);
  background: var(--bg-page);
  overflow-x: hidden;
}
h1, h2, h3, blockquote { font-family: var(--font-display); margin: 0; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-hover); }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }
button { cursor: pointer; }
::selection { background: var(--indigo); color: #fff; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: var(--section-pad) 0; }
/* same 64px mesh as the hero, much fainter, on every other block */
section:not(.hero), footer.site-footer {
  background-image: linear-gradient(var(--grid-line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
}
section.sobre, section.depoimentos, footer.site-footer {
  background-image: linear-gradient(var(--grid-line-on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-on-dark) 1px, transparent 1px);
}
.section-alt { background: var(--bg-alt); }
.section-border-t { border-top: 1px solid var(--border); }
.section-border-b { border-bottom: 1px solid var(--border); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes nsaFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes nsaSwap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nsaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes nsaPulse {
  0% { box-shadow: var(--shadow-whatsapp), 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: var(--shadow-whatsapp), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: var(--shadow-whatsapp), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes nsaFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Scroll-reveal: default hidden state; JS adds .is-visible on intersect */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .anim-float, .anim-pulse { animation: none !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  padding: 15px 22px; border: none; border-radius: var(--radius-sm);
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-hover); color: #fff; }
.btn-accent { background: var(--orange); color: var(--text-on-orange); }
.btn-accent:hover { background: var(--orange-hover); color: var(--text-on-orange); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--indigo); border: 1px solid var(--indigo); }
.btn-outline:hover { color: var(--indigo-hover); border-color: var(--indigo-hover); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-block { flex: 1; justify-content: center; }
.btn:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* ==========================================================================
   Kicker (eyebrow label)
   ========================================================================== */
.kicker {
  display: flex; align-items: center; gap: 13px; margin-bottom: 18px;
}
.kicker-dash { width: 30px; height: 2px; background: var(--orange); flex-shrink: 0; }
.kicker-text {
  font-family: var(--font-label); font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--indigo);
}
.kicker-text.on-dark { color: var(--orange-label); }
.eyebrow {
  font-family: var(--font-label); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--indigo);
}
.eyebrow.on-dark { color: var(--orange-label); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--container-max); margin: 0 auto;
  padding: clamp(10px,1vw,13px) var(--container-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; flex-shrink: 0; }
.nav-logo img { height: clamp(34px, 6vw, 50px); width: auto; }
.nav-slogan {
  font-family: var(--font-label); font-size: clamp(9.5px, 1.1vw, 11px); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); line-height: 1; white-space: nowrap;
}
.nav-links { display: none; align-items: center; gap: clamp(14px, 2vw, 32px); font-size: clamp(14px, 1.15vw, 15.5px); font-weight: 600; }
.nav-link { position: relative; padding: 6px 0; color: #445064; }
.nav-link.is-active { color: var(--navy-deep); }
.nav-indicator {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.16,.8,.3,1);
}
.nav-link.is-active .nav-indicator,
.nav-link:hover .nav-indicator,
.nav-link:focus-visible .nav-indicator { transform: scaleX(1); }
.nav-actions { display: none; gap: 10px; align-items: center; }
.nav-actions .btn { padding: 10px 14px; }
.nav-actions .btn-primary { padding: 13px clamp(16px, 1.6vw, 22px); font-size: 15px; }
@media (max-width: 879.98px) {
  .nav-logo img { height: 38px; }
  .nav-slogan { font-size: 9px; letter-spacing: .08em; }
}

.nav-burger {
  width: 46px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: var(--indigo); border: none; border-radius: var(--radius-sm); flex-shrink: 0;
}
.nav-burger-bar { width: 20px; height: 2px; background: #fff; display: block; transition: transform .25s, opacity .25s; }
.nav-burger.is-open .nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open .nav-burger-bar:nth-child(2) { opacity: 0; }
.nav-burger.is-open .nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--orange);
  transform-origin: left; transform: scaleX(0);
}

.mobile-menu {
  display: none; border-top: 1px solid var(--border); background: #fff; animation: nsaFade .2s ease;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 8px var(--container-pad) 20px;
  display: flex; flex-direction: column;
}
.mobile-menu-link {
  font-size: 17px; font-weight: 600; color: var(--navy-deep); padding: 15px 0; border-bottom: 1px solid #eef0f6;
}
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.mobile-menu-actions .btn { justify-content: center; padding: 14px; }

@media (min-width: 880px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-burger, .mobile-menu, .mobile-bar { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-page);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-grid {
  max-width: var(--container-max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px,100%), 1fr));
  align-items: stretch;
}
.hero-copy { padding: clamp(48px,6vw,84px) var(--container-pad); }
.hero-title { font-weight: 800; font-size: clamp(38px,5.4vw,60px); line-height: 1.03; letter-spacing: -.03em; }
.hero-title .accent { color: var(--orange); }
.hero-lede { font-size: clamp(16px,1.8vw,19px); line-height: 1.6; color: var(--text-body); margin: 24px 0 0; max-width: 520px; }
.hero-actions { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; align-items: center; }

.hero-track { margin-top: 42px; max-width: 520px; }
.hero-track-label {
  font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px;
}
.hero-track-box {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #d5dae6; border-radius: 14px;
  padding: 5px; box-shadow: 0 18px 40px -30px rgba(36,36,90,.5);
}
.hero-track-box > .hero-track-field { border-bottom: 1px solid #e6e9f2; }
.hero-track-row { display: flex; gap: 6px; align-items: center; padding-top: 5px; }
.hero-track-type {
  flex-shrink: 0; height: 46px; border: none; border-radius: var(--radius-sm); background-color: #f1f3f8;
  padding: 0 30px 0 12px; font-size: 14.5px; font-weight: 600; color: var(--navy-deep); cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2335357e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.hero-track-number {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 15px;
  color: var(--navy-deep); padding: 12px 8px;
}
.hero-track-box input[aria-invalid="true"]::placeholder { color: var(--error); }
@media (max-width: 479.98px) {
  .hero-track-row { flex-wrap: wrap; }
  .hero-track-row .hero-track-submit { flex-basis: 100%; }
}
.hero-track-field {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px; cursor: text;
}
.hero-track-field input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 15px;
  color: var(--navy-deep); padding: 12px 0;
}
.hero-track-submit {
  flex-shrink: 0; background: var(--navy-deep); color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 0 20px; min-height: 46px; font-size: 15px; font-weight: 700;
}
.hero-track-submit:hover { background: var(--indigo); }
@media (max-width: 359.98px) {
  .hero-track-field > svg { display: none; }
  .hero-track-field input, .hero-track-number { font-size: 14px; }
  .hero-track-type { font-size: 13.5px; padding: 0 26px 0 10px; background-position: right 8px center; }
  .hero-track-submit { padding: 0 14px; }
}
.hero-track-hint { font-size: 13px; color: var(--text-faint); margin-top: 10px; }
.hero-track-hint a { color: var(--navy-deep); font-weight: 700; text-decoration: underline; }
.hero-track-hint.is-error { color: var(--error); font-weight: 600; }

.hero-media { position: relative; padding: clamp(16px,3vw,36px); }
.hero-media-frame {
  position: relative; background: var(--navy-deep); overflow: hidden; border-radius: var(--radius-xl);
  height: 100%; min-height: clamp(440px,118vw,540px); box-shadow: var(--shadow-panel-lg);
}
.hero-media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,45,.12), rgba(15,27,45,.5));
}

.live-panel {
  background: rgba(255,255,255,.97); border-radius: var(--radius-md); padding: 16px 18px;
  box-shadow: var(--shadow-live);
}
.hero .live-panel {
  position: absolute; left: clamp(14px,3vw,28px); right: clamp(14px,3vw,28px); bottom: clamp(14px,3vw,28px);
  max-width: 330px; animation: nsaFloat 6s ease-in-out infinite;
}
.live-panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-faint);
}
.live-badge { display: flex; align-items: center; gap: 6px; color: var(--success); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.live-panel-body { animation: nsaSwap .45s ease; }
.live-panel-status { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy-deep); margin-top: 8px; }
.live-panel-sub { font-size: 13px; color: var(--text-body); margin-top: 2px; }
.live-bars { display: flex; gap: 4px; margin-top: 14px; }
.live-bars span { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background .4s; }
.live-bars span.on { background: var(--orange); }

.hero-float-badge {
  position: absolute; z-index: 3; display: none; align-items: center; gap: 10px;
  background: var(--indigo); color: #fff; border-radius: 12px; padding: 9px 14px 9px 9px;
  font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 16px 34px -14px rgba(20,20,70,.55);
  animation: nsaFloat 5s ease-in-out infinite;
}
.hero-float-badge.light { background: #fff; color: var(--navy-deep); }
.hero-float-badge .icon-box { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float-badge.light .icon-box { background: var(--bg-alt-2); }
.badge-express { top: clamp(34px,8%,64px); right: clamp(4px,1.5vw,16px); }
.badge-fleet { top: 42%; left: clamp(2px,.5vw,8px); animation-delay: 1.2s; }
@media (min-width: 880px) { .hero-float-badge { display: flex; } }

/* ==========================================================================
   Logos strip
   ========================================================================== */
.logos {
  background: var(--bg-alt-2); border-bottom: 1px solid var(--border);
}
.logos-inner {
  padding: 34px var(--container-pad); display: flex; align-items: center; justify-content: center;
  gap: clamp(24px,5vw,64px); flex-wrap: wrap;
}
.logos-label { font-family: var(--font-label); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.logos-list { display: flex; gap: clamp(16px,3.5vw,42px); align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.logos-list span { font-weight: 800; font-size: 17px; color: var(--text-faint-2); letter-spacing: -.01em; }

/* ==========================================================================
   Section heading
   ========================================================================== */
.section-head { max-width: 640px; }
.section-head h2 { font-weight: 800; font-size: clamp(30px,4.4vw,46px); line-height: 1.06; letter-spacing: -.03em; margin-top: 14px; }
.section-head p { font-size: clamp(15px,1.6vw,17px); line-height: 1.65; color: var(--text-body); margin: 18px 0 0; }

/* ==========================================================================
   Serviços
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,250px),1fr)); gap: 20px; margin-top: 48px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.16,.8,.3,1), box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-lg); }
.service-card-media { position: relative; height: 180px; background: var(--bg-alt-2); }
.service-card-body { padding: 0 26px 28px; }
.service-card-icon {
  position: relative; z-index: 2; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  margin: -24px 0 18px; background: #fff; border-radius: 12px; box-shadow: 0 12px 26px -12px rgba(36,36,90,.5);
}
.service-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.service-card p { font-size: 15px; line-height: 1.6; color: var(--text-body); margin: 0; }
.section-cta-row { display: flex; justify-content: center; margin-top: 40px; }

/* ==========================================================================
   Perfil (B2B / B2C)
   ========================================================================== */
.perfil-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.perfil-tabs {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: #fff; border: 1px solid #dbe0ea;
  border-radius: var(--radius-md); padding: 4px; gap: 4px; width: min(100%,460px);
}
.perfil-tab {
  border: none; border-radius: 10px; padding: 10px 12px; min-height: 48px; font-size: clamp(13px,3.6vw,14.5px);
  line-height: 1.25; text-align: center; font-weight: 700; background: transparent; color: #445064;
  transition: background .25s, color .25s;
}
.perfil-tab.is-active { background: var(--indigo); color: #fff; }
.perfil-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px),1fr)); gap: 20px; margin-top: 40px; }
.perfil-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,230px),1fr)); gap: 14px; }
.perfil-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.perfil-item-num { font-family: var(--font-label); font-size: 13px; font-weight: 700; color: var(--orange); }
.perfil-item h3 { font-size: 17px; font-weight: 800; margin: 10px 0 6px; }
.perfil-item p { font-size: 14.5px; line-height: 1.6; color: var(--text-body); margin: 0; }
.perfil-panel {
  background: var(--navy-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px,4vw,40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.perfil-panel-kicker { font-family: var(--font-label); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.perfil-panel h3 { font-size: clamp(24px,3vw,32px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-top: 14px; }
.perfil-panel p { font-size: 16px; line-height: 1.65; color: #c7ccdb; margin: 14px 0 0; }
.perfil-panel-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Números (stats)
   ========================================================================== */
.stats-band { background: #fff; color: var(--navy-bright); border-top: 1px solid var(--border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,160px),1fr)); gap: 32px 24px;
  text-align: center; padding: clamp(48px,6vw,72px) 0;
}
.stat-value { font-weight: 800; font-size: clamp(34px,4.6vw,50px); letter-spacing: -.03em; }
.stat-label { font-size: 14px; color: var(--text-body); margin-top: 6px; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.sobre { background: var(--navy-bright); color: #fff; }
.sobre-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px,100%),1fr)); gap: clamp(36px,5vw,64px);
  align-items: center;
}
.sobre-media {
  position: relative; background: var(--navy-deep); border-radius: var(--radius-lg); overflow: hidden;
  min-height: clamp(280px,55vw,420px); box-shadow: 0 40px 70px -40px rgba(0,0,0,.6);
}
.sobre-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sobre h2 { font-weight: 800; font-size: clamp(28px,4vw,42px); line-height: 1.08; letter-spacing: -.03em; margin-top: 14px; }
.sobre p { font-size: clamp(15px,1.6vw,17px); line-height: 1.7; color: #d9dcf3; margin: 20px 0 0; }
.sobre-checks { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.sobre-check { display: flex; gap: 12px; align-items: flex-start; }
.sobre-check-mark {
  width: 22px; height: 22px; border-radius: 6px; background: var(--orange); color: var(--text-on-orange);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sobre-check span:last-child { font-size: 15.5px; color: #fff; }

/* ==========================================================================
   Diferenciais (IA)
   ========================================================================== */
.diferenciais { background: var(--bg-alt-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.diferenciais-head { text-align: center; max-width: 640px; margin: 0 auto; }
.diferenciais-head p { max-width: 560px; margin: 18px auto 0; }
.diferenciais-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px),1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.ai-steps { display: flex; flex-direction: column; gap: 8px; }
.ai-step {
  position: relative; overflow: hidden; text-align: left; background: transparent; border: 1px solid #dbe0ea;
  border-radius: var(--radius-md); padding: 17px 20px; min-height: 56px; display: flex; gap: 16px; align-items: center;
  transition: background .25s, border-color .25s;
}
.ai-step:hover { border-color: var(--border-strong); }
.ai-step.is-active { background: #fff; border-color: var(--border-strong); }
.ai-step-num { font-family: var(--font-label); font-size: 14px; font-weight: 700; color: var(--text-faint-2); transition: color .25s; }
.ai-step.is-active .ai-step-num { color: var(--orange); }
.ai-step-title { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--navy-deep); }
.ai-step-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.ai-step.is-active .ai-step-fill { animation: nsaFill 5s linear forwards; }

.ai-panel {
  background: var(--navy-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 340px;
}
.ai-panel-body { animation: nsaSwap .45s ease; }
.ai-panel-eyebrow { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.ai-panel h3 { font-size: clamp(26px,3.2vw,34px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-top: 14px; }
.ai-panel p { font-size: 16px; line-height: 1.65; color: #c7ccdb; margin: 14px 0 0; max-width: 440px; }

.ai-track { position: relative; height: 52px; }
.ai-track-line { position: absolute; left: 11px; right: 11px; top: 39px; height: 2px; background: #3a3a72; }
.ai-track-fill { position: absolute; left: 11px; top: 39px; height: 2px; background: var(--orange); width: 0; transition: width .7s cubic-bezier(.6,0,.2,1); }
.ai-track-dots { position: absolute; left: 0; right: 0; top: 29px; display: flex; justify-content: space-between; }
.ai-track-dots span { width: 22px; height: 22px; border-radius: 50%; background: var(--navy-deep); border: 2px solid #4a4a8a; transition: background .4s, border-color .4s; }
.ai-track-dots span.lit { background: var(--orange); border-color: var(--orange); }
.ai-track-truck { position: absolute; top: 0; left: 0; transition: left .7s cubic-bezier(.6,0,.2,1); }
.ai-track-labels { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-label); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint-2); }

/* ==========================================================================
   Cobertura
   ========================================================================== */
.cobertura-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(24px,3vw,36px); margin-top: 44px; }
.map-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #dfe3ef;
  background: #e9ecf5; height: clamp(360px,55vw,540px); box-shadow: 0 24px 50px -34px rgba(36,36,90,.45);
}
.map-frame iframe { border: 0; width: 100%; height: 100%; display: block; }
.region-hint { font-size: 13.5px; color: var(--text-faint); }
.region-tabs { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.region-tab {
  text-align: left; background: #f7f8fd; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; min-height: 56px; display: flex; gap: 12px; align-items: center;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.region-tab.is-active { background: #fff; box-shadow: 0 18px 40px -28px rgba(36,36,90,.45); }
.region-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.region-name { font-weight: 800; font-size: 15px; color: var(--navy-deep); line-height: 1.25; }
.region-inline {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 18px 20px;
  margin-top: -2px; display: none; flex-direction: column; gap: 14px; animation: nsaFade .3s ease;
}
.region-inline.is-open { display: flex; }
.region-inline-desc { font-size: 14.5px; color: var(--text-body); line-height: 1.5; }
.city-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.region-map-link {
  align-self: flex-start; background: none; border: none; padding: 0; font-size: 14px; font-weight: 700;
  color: var(--indigo); text-decoration: underline; text-underline-offset: 3px;
}
.city-chip { font-size: 13.5px; font-weight: 600; color: var(--navy-deep); background: #f1f3f8; border-radius: var(--radius-pill); padding: 7px 12px; }
.region-below {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: clamp(20px,3vw,28px);
  display: none; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); gap: 16px 32px; align-items: center;
  animation: nsaFade .3s ease;
}
.region-below-head { display: flex; gap: 14px; align-items: flex-start; }
.region-below-head .region-dot { margin-top: 6px; }
.region-below-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy-deep); }
.region-below-desc { font-size: 14.5px; color: var(--text-body); margin-top: 4px; line-height: 1.5; }

@media (min-width: 880px) {
  .cobertura-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .region-tabs { grid-template-columns: repeat(auto-fit, minmax(min(100%,190px),1fr)); }
  .region-inline { display: none !important; }
  .region-below { display: grid; }
}
@media (max-width: 879.98px) {
  .region-below { display: none !important; }
}

.rastreio-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; background: var(--navy-deep); border-radius: var(--radius-lg); padding: 22px clamp(20px,3vw,30px); color: #fff;
  transition: background .2s;
}
.rastreio-banner:hover { background: #2c2c66; color: #fff; }
.rastreio-banner-left { display: flex; align-items: center; gap: 16px; }
.rastreio-icon { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rastreio-kicker { font-family: var(--font-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-label); font-weight: 700; }
.rastreio-title { font-size: 16px; font-weight: 700; margin-top: 2px; }
.rastreio-cta { font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; }

/* ==========================================================================
   Cuidado
   ========================================================================== */
.cuidado { background: var(--bg-alt); border-top: 1px solid var(--border); }
.cuidado-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px),1fr)); gap: 20px 48px; align-items: end; }
.cuidado-head p { font-size: clamp(15px,1.6vw,17px); line-height: 1.7; color: var(--text-body); margin: 0; }
.cuidado-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: 16px; margin-top: 44px; }
.cuidado-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px;
  transition: transform .3s cubic-bezier(.16,.8,.3,1), box-shadow .3s, border-color .3s;
}
.cuidado-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.cuidado-card-head { display: flex; justify-content: space-between; align-items: center; }
.cuidado-card-num { font-family: var(--font-label); font-size: 13px; font-weight: 700; color: var(--text-faint-2); }
.cuidado-card h3 { font-size: 18px; font-weight: 800; margin: 24px 0 8px; }
.cuidado-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-body); margin: 0; }

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.depoimentos { background: var(--navy-deep); color: #fff; }
.depoimentos-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.depoimentos-quote { font-weight: 700; font-size: clamp(22px,3.2vw,34px); line-height: 1.3; letter-spacing: -.02em; margin-top: 26px; animation: nsaSwap .5s ease; }
.depoimento-author { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.depoimento-avatar { width: 46px; height: 46px; border-radius: 50%; background: #22224e; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-faint-2); }
.depoimento-meta { text-align: left; }
.depoimento-name { font-weight: 700; font-size: 15px; }
.depoimento-role { font-size: 13px; color: var(--text-faint-2); }
.depoimentos-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.carousel-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2f3350; background: transparent; color: #fff; font-size: 18px;
}
.carousel-arrow:hover { background: #22224e; }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot { min-width: 32px; height: 44px; padding: 0 4px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; }
.carousel-dot span { width: 8px; height: 8px; border-radius: var(--radius-pill); background: #2f3350; display: block; transition: width .3s; }
.carousel-dot.is-active span { width: 24px; background: var(--orange); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-search {
  margin-top: 36px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #d5dae6;
  border-radius: var(--radius-md); padding: 0 16px;
}
.faq-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 15.5px; color: var(--navy-deep); padding: 16px 0; }
.faq-search-clear { border: none; background: transparent; color: var(--text-faint); font-size: 20px; width: 44px; height: 44px; margin-right: -12px; display: none; }
.faq-search.has-query .faq-search-clear { display: block; }
.faq-empty {
  margin-top: 16px; background: #fff; border: 1px dashed #c9cede; border-radius: var(--radius-md); padding: 26px;
  text-align: center; font-size: 15px; color: var(--text-body); display: none; animation: nsaFade .25s ease;
}
.faq-empty a { font-weight: 700; color: var(--success); }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: transparent; border: none; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-question span:first-child { font-size: 16.5px; font-weight: 700; color: var(--navy-deep); }
.faq-sign { font-size: 22px; font-weight: 600; color: var(--indigo); line-height: 1; }
.faq-answer { padding: 0 22px 22px; font-size: 15px; line-height: 1.65; color: var(--text-body); display: none; animation: nsaFade .25s ease; }
.faq-item.is-open .faq-answer { display: block; }
.faq-steps { display: flex; flex-direction: column; gap: 16px; }
.faq-steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.faq-steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.faq-step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); color: #fff;
  font-family: var(--font-label); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.faq-step-title { font-weight: 700; color: var(--navy-deep); margin-bottom: 2px; }
.faq-outro { background: #eef0fb; border-left: 3px solid var(--orange); border-radius: 10px; padding: 12px 14px; color: #3a3446; font-size: 14px; }

/* ==========================================================================
   Localização
   ========================================================================== */
.localizacao { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.localizacao-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px,100%),1fr)); gap: clamp(28px,4vw,48px); align-items: stretch; }
.localizacao-copy { display: flex; flex-direction: column; justify-content: center; }
.localizacao-copy h2 { font-weight: 800; font-size: clamp(28px,4vw,42px); line-height: 1.08; letter-spacing: -.03em; }
.localizacao-copy > p { font-size: clamp(15px,1.6vw,17px); line-height: 1.7; color: var(--text-body); margin: 18px 0 0; max-width: 440px; }
.info-list { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.info-row { display: flex; align-items: flex-start; gap: 13px; }
.info-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.info-label { font-size: 15px; font-weight: 700; color: var(--navy-deep); }
.info-value { font-size: 14.5px; color: var(--text-body); }
.localizacao-copy .btn { margin-top: 28px; align-self: flex-start; }
.localizacao-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #ddd6c8; min-height: clamp(300px,60vw,440px); box-shadow: var(--shadow-panel); }
.localizacao-media iframe { border: 0; display: block; width: 100%; height: 100%; min-height: clamp(300px,60vw,440px); filter: grayscale(.15); }

/* ==========================================================================
   CTA faixa
   ========================================================================== */
.cta-band-wrap { padding: clamp(56px,7vw,96px) 0 0; }
.cta-band {
  position: relative; overflow: hidden; background: var(--navy-bright); border-radius: var(--radius-xl);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px),1fr)); align-items: stretch;
}
.cta-band-clip {
  position: absolute; inset: 0; background: var(--navy-bright-2);
  clip-path: polygon(56% 0, 74% 0, 100% 72%, 100% 100%, 90% 100%);
}
.cta-band-copy { position: relative; padding: clamp(34px,5vw,60px); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.cta-band-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cta-band-eyebrow .icon-box { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.cta-band-eyebrow span:last-child { font-family: var(--font-label); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-label); }
.cta-band-copy h2 { font-weight: 800; font-size: clamp(28px,3.8vw,42px); line-height: 1.08; letter-spacing: -.03em; }
.cta-band-copy p { font-size: 16px; line-height: 1.65; color: #d9dcf3; margin: 16px 0 0; max-width: 440px; }
.cta-band-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.cta-band-media { position: relative; padding: clamp(24px,4vw,44px); display: flex; align-items: center; justify-content: center; }
.cta-live-card {
  position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 22px;
  box-shadow: 0 34px 60px -30px rgba(10,10,50,.7);
}
.cta-live-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cta-live-head-id { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.cta-live-head-title { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--navy-deep); margin-top: 4px; }
.cta-live-badge {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--success);
  background: var(--success-bg); border-radius: var(--radius-pill); padding: 5px 10px; white-space: nowrap;
}
.cta-steps { display: flex; flex-direction: column; margin-top: 20px; }
.cta-step { display: flex; gap: 14px; }
.cta-step-track { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.cta-step-mark {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid #d5dae6; color: var(--text-faint-2);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: background .4s, border-color .4s;
}
.cta-step.is-done .cta-step-mark, .cta-step.is-current .cta-step-mark { color: #fff; }
.cta-step.is-done .cta-step-mark { background: var(--navy-bright); border-color: var(--navy-bright); }
.cta-step.is-current .cta-step-mark { background: var(--orange); border-color: var(--orange); }
.cta-step-line { width: 2px; flex: 1; min-height: 18px; background: var(--border); transition: background .4s; }
.cta-step.is-done .cta-step-line { background: var(--navy-bright); }
.cta-step:last-child .cta-step-line { opacity: 0; }
.cta-step-body { padding: 3px 0 16px; }
.cta-step-label { font-size: 14.5px; font-weight: 700; color: var(--text-faint-2); transition: color .4s; }
.cta-step.is-done .cta-step-label, .cta-step.is-current .cta-step-label { color: var(--navy-deep); }
.cta-step-sub { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }
.cta-live-link { display: flex; justify-content: center; font-size: 14px; font-weight: 700; color: var(--navy-bright); background: #eef0fc; border-radius: var(--radius-sm); padding: 12px; margin-top: 4px; }
.cta-live-link:hover { background: #e0e4fa; }
.cta-insurance-badge {
  position: absolute; right: -14px; top: -16px; display: flex; align-items: center; gap: 8px; background: var(--orange);
  color: var(--text-on-orange); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 12.5px; font-weight: 800;
  white-space: nowrap; box-shadow: 0 14px 28px -12px rgba(0,0,0,.5); animation: nsaFloat 5s ease-in-out infinite;
}

/* ==========================================================================
   Cotação
   ========================================================================== */
.cotacao-inner { max-width: 1080px; margin: 0 auto; }
.cotacao-panel { background: var(--indigo); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%),1fr)); }
.cotacao-copy { padding: clamp(36px,5vw,56px); color: #fff; }
.cotacao-copy h2 { font-weight: 800; font-size: clamp(28px,3.6vw,40px); line-height: 1.1; letter-spacing: -.03em; margin-top: 14px; }
.cotacao-copy > p { font-size: 16px; line-height: 1.6; color: #dfe3ee; margin: 18px 0 0; }
.cotacao-contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; font-size: 15px; }
.cotacao-contact { display: flex; align-items: center; gap: 12px; color: #fff; min-height: 44px; }
.cotacao-contact .icon-box { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cotacao-contact:hover { color: #fff; }
.cotacao-contact:hover .icon-box { background: rgba(255,255,255,.22); }
.cotacao-form-wrap { background: #fff; padding: clamp(30px,4vw,48px); }

.form-success { min-height: 360px; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.form-success.is-active { display: flex; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.form-success h3 { font-size: 22px; font-weight: 800; }
.form-success p { font-size: 15px; color: var(--text-body); margin: 0; max-width: 320px; }
.form-success h3:focus { outline: none; }
.form-success-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; margin-top: 6px; }
.form-success-actions .btn { justify-content: center; padding: 14px; }

.quote-form { display: flex; flex-direction: column; gap: 20px; min-height: 420px; }
.quote-form.is-hidden { display: none; }
.form-progress-head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.form-progress-head span:last-child { color: var(--indigo); }
.form-progress-bars { display: flex; gap: 4px; margin-top: 10px; }
.form-progress-bars span { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background .35s; }
.form-progress-bars span.on { background: var(--orange); }

.form-step { display: none; flex-direction: column; gap: 14px; animation: nsaFade .3s ease; }
.form-step.is-active { display: flex; }
.form-step h3 { font-size: 21px; font-weight: 800; }
.cargo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,150px),1fr)); gap: 10px; }
.cargo-option {
  text-align: left; background: #fff; border: 1.5px solid #dfe3ec; border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column; gap: 4px; transition: background .2s, border-color .2s;
}
.cargo-option:hover { border-color: var(--indigo); }
.cargo-option.is-active { background: #eef0fb; border-color: var(--indigo); }
.cargo-option-label { font-size: 15px; font-weight: 800; color: var(--navy-deep); }
.cargo-option-sub { font-size: 12.5px; color: var(--text-body); line-height: 1.4; }

.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(165px,100%),1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #2f3446; }
.field input {
  border: 1px solid var(--border-field); background: var(--bg-field); border-radius: var(--radius-sm); padding: 12px 13px;
  font-size: 14px; color: var(--navy-deep); outline: none; transition: border-color .2s;
}
.field input:focus { border-color: var(--indigo); }
.freq-row { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #2f3446; }
.freq-options { display: flex; gap: 8px; flex-wrap: wrap; }
.freq-option { font-size: 14px; font-weight: 700; border-radius: var(--radius-sm); padding: 10px 16px; background: #fff; color: var(--indigo); border: 1px solid #c9cede; transition: background .2s, border-color .2s, color .2s; }
.freq-option.is-active { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.form-error { font-size: 13px; font-weight: 600; color: var(--error); display: none; }
.form-error.is-visible { display: block; }
.form-summary { font-size: 13px; color: var(--text-body); background: #f1f3f8; border-radius: var(--radius-sm); padding: 11px 13px; line-height: 1.5; }

.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.form-actions-row { display: flex; gap: 10px; }
.btn-back { background: #fff; color: var(--indigo); border: 1px solid #c9cede; border-radius: var(--radius-sm); padding: 15px 20px; font-size: 15px; font-weight: 700; }
.btn-back:hover { border-color: var(--indigo); }
.btn-next, .btn-submit { flex: 1; background: var(--indigo); color: #fff; border: none; border-radius: var(--radius-sm); padding: 15px; font-size: 16px; font-weight: 700; }
.btn-next:hover, .btn-submit:hover { background: var(--indigo-hover); }
.form-wa-fallback { display: none; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--success); padding: 8px; }
.form-wa-fallback:hover { color: #167a45; }
.form-note { font-size: 12px; color: var(--text-faint); text-align: center; margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-bright); color: #dfe2f5; }
.footer-inner { padding: clamp(48px,6vw,64px) var(--container-pad) 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,200px),1fr)); gap: 40px 24px; }
.footer-brand-logo { display: inline-flex; background: #fff; padding: 12px 16px; border-radius: var(--radius-md); margin-bottom: 18px; }
.footer-brand-logo img { height: 42px; width: auto; }
.footer-tagline { font-size: 14px; line-height: 1.6; color: #c9cdee; margin: 0 0 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid #5050b8; display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; }
.footer-social a:hover { border-color: var(--orange); background: #3a3aa0; }
.footer-col-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: .02em; }
.footer-links { display: flex; flex-direction: column; font-size: 14px; }
.footer-links a { color: #c9cdee; display: block; padding: 8px 0; }
.footer-links a:hover { color: #fff; }
.footer-contacts { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.footer-contact { display: flex; gap: 10px; align-items: flex-start; color: #c9cdee; padding: 10px 0; }
.footer-contact:hover { color: #fff; }
.footer-contact svg { flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  border-top: 1px solid #4040a6; margin-top: 44px; padding-top: 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 13px; color: #b4b9e4;
}
.footer-legal { display: flex; flex-direction: column; gap: 4px; }
.footer-credit { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; font-size: 12.5px; color: #9ea4d8; }
.footer-credit-by { display: inline-flex; align-items: center; gap: 8px; }
.footer-credit-by img { height: 24px; width: auto; }
@media (min-width: 880px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; padding-right: 72px; }
}
.footer-credit-contact { display: inline-flex; align-items: center; gap: 6px; color: #c9cdee; padding: 6px 0; }
.footer-credit-contact:hover { color: #fff; }
/* keep the credit row clear of the floating WhatsApp button on narrow screens */
@media (max-width: 879.98px) { .footer-inner { padding-bottom: 96px; } }

/* ==========================================================================
   Mobile bottom bar / WhatsApp float
   ========================================================================== */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  padding: 10px 14px max(10px, env(safe-area-inset-bottom)); display: flex; gap: 8px;
  transform: translateY(110%); transition: transform .35s cubic-bezier(.16,.8,.3,1);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { flex: 1; justify-content: center; padding: 14px; }

.whatsapp-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  transition: bottom .35s cubic-bezier(.16,.8,.3,1); z-index: 60; background: var(--whatsapp); color: #fff;
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-whatsapp); animation: nsaPulse 2.6s ease-out infinite;
}
.whatsapp-float:hover { background: var(--whatsapp-hover); color: #fff; }
.whatsapp-float.bar-offset { bottom: calc(78px + env(safe-area-inset-bottom)); }
@media (min-width: 880px) { .whatsapp-float.bar-offset { bottom: max(16px, env(safe-area-inset-bottom)); } }
