/* =====================================================================
   BorrachAuto — style.css
   Design tokens, layout, componentes e efeitos.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0A1230;
  --navy-900: #0F1B3D;
  --navy-800: #14275C;
  --navy-700: #1A3480;
  --blue-600: #1E3F8F;   /* azul do logo */
  --blue-500: #2A52B8;
  --blue-400: #4F7BE0;
  --blue-100: #E4ECFA;
  --red-600: #B30006;
  --red-500: #D90000;    /* vermelho do logo */
  --red-400: #F0444D;
  --red-300: #FF6B6B;    /* ênfase sobre fundo escuro */
  --red-100: #FDE8E8;
  --rubber: #15171A;
  --wa: #25D366;

  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --fg: #0F172A;
  --fg-2: #1E293B;
  --muted: #5B6B82;
  --border: #E3E8F0;
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --warning: #B45309;
  --warning-bg: #FEF3C7;

  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 12px 30px -12px rgba(15, 23, 42, .22);
  --shadow-lg: 0 30px 60px -22px rgba(10, 18, 48, .38);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --header-h: 84px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html:not(.has-lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.15; color: var(--navy-900); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue-600); }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95em; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
main, footer { overflow-x: clip; } /* evita rolagem lateral durante animações de entrada */
[hidden] { display: none !important; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.on-dark { color: rgba(255, 255, 255, .82); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

.icon {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--xl { width: 56px; height: 56px; stroke-width: 1.5; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .78rem/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--red-500);
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--red-300); }
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 16px;
}
.section-title em { font-style: normal; color: var(--red-500); }
.on-dark .section-title em { color: var(--red-300); }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.on-dark .section-lead { color: rgba(255, 255, 255, .72); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--font-head); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  overflow: hidden; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s, background-color .25s, color .25s, border-color .25s;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red-500); color: #fff; box-shadow: 0 12px 26px -12px rgba(217, 0, 0, .7); }
.btn-primary:hover { background: var(--red-600); box-shadow: 0 18px 32px -12px rgba(217, 0, 0, .75); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .7s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-navy { background: var(--blue-600); color: #fff; box-shadow: 0 12px 26px -12px rgba(30, 63, 143, .7); }
.btn-navy:hover { background: var(--navy-800); }
.btn-light { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn-light:hover { background: var(--bg); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy-900); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .7); }
.btn-wa:hover { background: #1EBE5B; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .88rem; }
.btn-lg { min-height: 58px; padding: 16px 34px; font-size: 1.05rem; }
.btn[data-magnetic] { transition-property: box-shadow, background-color, color, border-color; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .icon { animation: spin 1s linear infinite; }

/* ---------- Preloader / barra de progresso ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--navy-950); transition: opacity .6s, visibility .6s;
  animation: preloader-bail .6s 4s forwards; /* garante que some mesmo sem JS */
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { display: grid; justify-items: center; }
.preloader__logo { width: 220px; animation: preloader-pulse 1.4s ease-in-out infinite; }
.preloader__bar { width: 160px; height: 3px; margin-top: 26px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.preloader__bar::after { content: ''; display: block; width: 40%; height: 100%; background: var(--red-500); border-radius: 3px; animation: preloader-slide 1.2s var(--ease-in-out) infinite; }
@keyframes preloader-bail { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes preloader-pulse { 0%, 100% { opacity: .75; transform: scale(.98); } 50% { opacity: 1; transform: scale(1); } }
@keyframes preloader-slide { 0% { transform: translateX(-120%); } 100% { transform: translateX(300%); } }

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 101; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red-500), var(--blue-400)); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, height .4s, backdrop-filter .4s;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; max-width: none; }
.logo .logo-color { display: none; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 10px;
  font: 600 .95rem var(--font-head); color: rgba(255, 255, 255, .88); text-decoration: none; transition: color .25s; white-space: nowrap;
}
@media (max-width: 1280px) { .nav { gap: 0; } .nav a { padding: 10px 9px; font-size: .9rem; } .nav a::after { left: 9px; right: 9px; } .header__cta .btn span, .header .container { gap: 14px; } }
.nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--red-400); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.nav__track { margin-left: 6px; padding: 9px 16px; border: 1.5px solid rgba(255, 255, 255, .35); }
.nav a.nav__track::after { display: none; }
.nav a.nav__track:hover, .nav a.nav__track.is-active { border-color: #fff; background: rgba(255, 255, 255, .1); }
.header__cta { display: flex; align-items: center; gap: 12px; }

.header.is-scrolled {
  height: 68px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 14px 30px -18px rgba(15, 23, 42, .3);
}
.header.is-scrolled .logo img { height: 34px; }
.header.is-scrolled .logo .logo-white { display: none; }
.header.is-scrolled .logo .logo-color { display: block; }
.header.is-scrolled .nav a { color: var(--navy-900); }
.header.is-scrolled .nav a::after { background: var(--red-500); }
.header.is-scrolled .nav a.nav__track { border-color: var(--blue-600); color: var(--blue-600); }
.header.is-scrolled .nav a.nav__track:hover, .header.is-scrolled .nav a.nav__track.is-active { background: var(--blue-600); color: #fff; }
.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .logo .logo-white { display: block; }
.menu-open .header .logo .logo-color { display: none; }

.burger {
  display: none; position: relative; z-index: 101; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .1); cursor: pointer; place-items: center;
}
.burger span { position: absolute; left: 13px; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out), opacity .25s, top .35s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
.header.is-scrolled .burger { background: var(--blue-100); }
.header.is-scrolled .burger span { background: var(--navy-900); }
.menu-open .burger { background: rgba(255, 255, 255, .12); }
.menu-open .burger span { background: #fff; }
.burger.is-open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 110px var(--gutter) 40px; background: var(--navy-950); visibility: hidden;
  clip-path: circle(0px at calc(100% - 44px) 42px); transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
}
.menu-overlay.is-open { visibility: visible; clip-path: circle(160vmax at calc(100% - 44px) 42px); transition: clip-path .7s var(--ease-in-out); }
.menu-overlay a.menu-overlay__link {
  font: 800 clamp(1.7rem, 7vw, 2.5rem)/1.25 var(--font-head); color: #fff; text-decoration: none;
  opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .45s var(--ease-out), color .2s;
}
.menu-overlay a.menu-overlay__link:hover, .menu-overlay a.menu-overlay__link.is-active { color: var(--red-300); }
.menu-overlay.is-open a.menu-overlay__link { opacity: 1; transform: none; }
.menu-overlay.is-open a:nth-child(1) { transition-delay: .25s; }
.menu-overlay.is-open a:nth-child(2) { transition-delay: .3s; }
.menu-overlay.is-open a:nth-child(3) { transition-delay: .35s; }
.menu-overlay.is-open a:nth-child(4) { transition-delay: .4s; }
.menu-overlay.is-open a:nth-child(5) { transition-delay: .45s; }
.menu-overlay.is-open a:nth-child(6) { transition-delay: .5s; }
.menu-overlay.is-open a:nth-child(7) { transition-delay: .55s; }
.menu-overlay__contact { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; transition: opacity .5s .6s; }
.menu-overlay.is-open .menu-overlay__contact { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 150px; background: var(--navy-950); color: #fff;
}
.hero__bg {
  position: absolute; inset: -12% 0; background: url('../img/banner_introducao1.png') center 35% / cover no-repeat;
  opacity: .2; filter: grayscale(1) contrast(1.15); will-change: transform;
}
.hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 15% 40%, rgba(42, 82, 184, .55), transparent 60%),
    radial-gradient(40% 50% at 85% 20%, rgba(217, 0, 0, .35), transparent 60%),
    linear-gradient(180deg, rgba(10, 18, 48, .35) 0%, rgba(10, 18, 48, .2) 50%, var(--navy-950) 100%);
}
.hero__band {
  position: absolute; right: -10%; top: -10%; bottom: -10%; width: 55%;
  background: linear-gradient(160deg, rgba(217, 0, 0, 0) 20%, rgba(217, 0, 0, .28) 100%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); mix-blend-mode: screen; pointer-events: none;
}
.hero__lines {
  position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font: 700 .78rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-400); box-shadow: 0 0 0 4px rgba(240, 68, 77, .25); animation: blink 2s infinite; }
.hero__title {
  margin: 22px 0 18px; font-size: clamp(2.5rem, 5.4vw, 4.5rem); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; color: #fff;
}
.hero__title em { font-style: normal; color: var(--red-300); }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .word > span { display: inline-block; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .8); max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.hero__trust .icon { color: var(--red-300); width: 18px; height: 18px; }

.hero__visual { position: relative; perspective: 1400px; justify-self: center; width: 100%; max-width: 540px; }
.hero__cover { position: relative; transform-style: preserve-3d; will-change: transform; }
.hero__cover img { width: min(100%, 430px); margin-inline: auto; border-radius: 14px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero__glow { position: absolute; inset: 10% 15%; z-index: -1; background: radial-gradient(closest-side, rgba(79, 123, 224, .6), transparent); filter: blur(40px); }
.float-badge { position: absolute; z-index: 2; }
.float-badge__inner {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .95); color: var(--navy-900); box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-badge__inner .icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--red-100); color: var(--red-500); }
.float-badge__inner strong { display: block; font: 800 .95rem var(--font-head); }
.float-badge__inner span { font-size: .82rem; color: var(--muted); }
.float-badge--1 { top: 6%; left: -8%; }
.float-badge--2 { top: 48%; right: -10%; }
.float-badge--2 .float-badge__inner { animation-delay: -2s; }
.float-badge--3 { bottom: 6%; left: -4%; }
.float-badge--3 .float-badge__inner { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px;
  color: rgba(255, 255, 255, .65); text-decoration: none; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; position: relative; }
.hero__scroll .mouse span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red-300); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -84px; }
.stats__card { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { position: relative; padding: 32px 24px; text-align: center; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--border); }
.stat__value { font: 900 clamp(2rem, 3.4vw, 2.8rem)/1 var(--font-head); color: var(--navy-900); letter-spacing: -.02em; }
.stat__label { margin-top: 8px; color: var(--muted); font-weight: 500; }

/* ---------- Sobre ---------- */
.about { padding-top: clamp(96px, 12vw, 150px); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; z-index: 0; }
.about__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--navy-950); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.about__media:hover .about__img img { transform: scale(1); }
.about__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 18, 48, .55)); }
.about__accent { position: absolute; left: -22px; bottom: -22px; width: 170px; height: 170px; border-radius: var(--r-lg); background: var(--red-500); z-index: -1; }
.about__accent--blue { left: auto; right: -22px; top: -22px; bottom: auto; width: 120px; height: 120px; background: var(--blue-600); }
.about__badge {
  position: absolute; right: -16px; bottom: 36px; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite;
}
.about__badge .icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); }
.about__badge strong { display: block; font: 800 1rem var(--font-head); color: var(--navy-900); }
.about__badge span { font-size: .85rem; color: var(--muted); }
.about__text p { color: var(--fg-2); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.value { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(42, 82, 184, .35); }
.value .icon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--red-100); color: var(--red-500); }
.value strong { display: block; font: 700 1rem var(--font-head); color: var(--navy-900); margin-bottom: 2px; }
.value span { font-size: .92rem; color: var(--muted); }

/* ---------- Produtos ---------- */
.products { background: var(--bg); position: relative; }
.products__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.products__head .section-head { margin-bottom: 0; }
.products__swiper { padding: 10px 0 44px; }
.product-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%;
  padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  transition: box-shadow .4s, border-color .4s; transform-style: preserve-3d; overflow: hidden; text-decoration: none; color: inherit;
}
.product-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(42, 82, 184, .14), transparent 60%);
}
.product-card:hover { border-color: rgba(42, 82, 184, .45); box-shadow: var(--shadow-md); }
.product-card:hover::before { opacity: 1; }
.product-card__icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; background: var(--blue-100); color: var(--blue-600); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.product-card__icon .icon { width: 28px; height: 28px; stroke-width: 1.75; }
.product-card:hover .product-card__icon { background: var(--red-500); color: #fff; transform: translateZ(20px) rotate(-6deg); }
.product-card__tag { position: absolute; top: 18px; right: 18px; padding: 6px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font: 700 .68rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.product-card__title { font-size: 1.15rem; font-weight: 700; }
.product-card__desc { flex: 1; color: var(--muted); font-size: 1rem; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.product-card__pages { font-size: .82rem; color: var(--muted); }
.product-card__link { display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem var(--font-head); color: var(--red-500); text-decoration: none; }
.product-card__link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.product-card:hover .product-card__link .icon { transform: translateX(5px); }
.products__pagination { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.products__pagination .swiper-pagination-bullet { width: 10px; height: 10px; background: var(--border); opacity: 1; transition: width .3s, background .3s; margin: 0 !important; border-radius: 999px; }
.products__pagination .swiper-pagination-bullet-active { width: 28px; background: var(--red-500); }
.products__cta { text-align: center; margin-top: 28px; color: var(--muted); }
.products__cta a { font-weight: 700; }
@media (min-width: 1024px) {
  .products__swiper { overflow: visible; padding-bottom: 0; }
  .products__swiper .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; transform: none !important; }
  .products__swiper .swiper-slide { width: auto; height: auto; }
  .products__pagination { display: none; }
}

/* ---------- Aplicações (mapa interativo) ---------- */
.apps__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.apps__map { position: relative; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.apps__map img { width: 100%; height: auto; border-radius: 12px; }
.apps__zoom { position: absolute; right: 26px; top: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--navy-900); color: #fff; font: 700 .8rem var(--font-head); cursor: pointer; box-shadow: var(--shadow-md); transition: transform .25s; }
.apps__zoom:hover { transform: translateY(-2px); }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 30px; height: 30px; padding: 0;
  border: 3px solid #fff; border-radius: 50%; background: var(--red-500); box-shadow: 0 6px 16px rgba(217, 0, 0, .45);
  cursor: pointer; transform: translate(-50%, -50%); transition: background .3s, transform .3s var(--ease-out);
}
.hotspot::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--red-500); opacity: .8; animation: pulse-ring 2.2s ease-out infinite; }
.hotspot__n { position: absolute; inset: 0; display: grid; place-items: center; font: 800 .72rem var(--font-head); color: #fff; }
.hotspot.is-active, .hotspot:hover, .hotspot:focus-visible { background: var(--blue-600); transform: translate(-50%, -50%) scale(1.18); z-index: 3; }
.hotspot.is-active::before, .hotspot:hover::before { border-color: var(--blue-600); }
.hotspot__card {
  position: absolute; left: 50%; bottom: calc(100% + 16px); width: 240px; padding: 14px 16px; text-align: left;
  background: var(--navy-900); color: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.45;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s, transform .3s var(--ease-out), visibility .3s; pointer-events: none;
}
.hotspot__card::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--navy-900); }
.hotspot__card strong { display: block; font: 700 .95rem var(--font-head); margin-bottom: 4px; }
.hotspot--below .hotspot__card { bottom: auto; top: calc(100% + 16px); transform: translate(-50%, -8px); }
.hotspot--below .hotspot__card::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--navy-900); }
.hotspot.is-active .hotspot__card, .hotspot:hover .hotspot__card, .hotspot:focus-visible .hotspot__card { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@keyframes pulse-ring { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.apps__legend { display: grid; gap: 10px; }
.legend-item {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left;
  border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.legend-item:hover, .legend-item.is-active { transform: translateX(8px); border-color: var(--red-500); box-shadow: var(--shadow-md); }
.legend-item .legend-item__num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red-500); color: #fff; font: 800 .95rem/1 var(--font-head); flex-shrink: 0; box-shadow: 0 4px 10px -3px rgba(217, 0, 0, .55); transition: background .3s, box-shadow .3s; }
.legend-item.is-active .legend-item__num { background: var(--blue-600); }
.legend-item strong { display: block; font: 700 1rem var(--font-head); color: var(--navy-900); }
.legend-item span { font-size: .9rem; color: var(--muted); }
.apps__note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* ---------- Diferenciais ---------- */
.why { position: relative; background: var(--navy-950); overflow: hidden; }
.why::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 15%, rgba(217, 0, 0, .35), transparent 60%), radial-gradient(45% 55% at 10% 90%, rgba(42, 82, 184, .45), transparent 60%); }
.why .container { position: relative; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  position: relative; padding: 30px 28px; border-radius: var(--r-md); overflow: hidden;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px);
  transition: transform .4s var(--ease-out), background .4s, border-color .4s;
}
.why-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--red-500), var(--blue-400)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.why-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.why-card:hover::after { transform: scaleX(1); }
.why-card__num { position: absolute; right: 22px; top: 18px; font: 900 2.6rem/1 var(--font-head); color: rgba(255, 255, 255, .06); }
.why-card .icon { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: rgba(217, 0, 0, .18); color: var(--red-300); margin-bottom: 18px; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: rgba(255, 255, 255, .7); font-size: 1rem; }

/* ---------- Montadoras (marquee) ---------- */
.brands { padding: 56px 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.brands__head { text-align: center; margin-bottom: 28px; }
.brands__head p { color: var(--muted); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee__inner { display: flex; width: max-content; }
.js .marquee__inner { animation: marquee 48s linear infinite; }
.marquee--reverse .marquee__inner { animation-direction: reverse; }
.marquee:hover .marquee__inner, .marquee:focus-within .marquee__inner { animation-play-state: paused; }
.marquee__track { display: flex; gap: 14px; padding-right: 14px; }
.brand-pill {
  --brand: var(--navy-900);
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 12px; white-space: nowrap;
  border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font: 700 .95rem var(--font-head); color: var(--navy-900); text-decoration: none;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s, color .3s;
}
.brand-pill__logo, .brand-pill__icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background-color: var(--bg);
  transition: background-color .3s, transform .4s var(--ease-out);
}
.brand-pill__logo { position: relative; }
.brand-pill__logo i {
  position: absolute; inset: 7px; background-color: var(--navy-800);
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: background-color .3s;
}
.brand-pill__icon { padding: 8px; fill: none; stroke: var(--navy-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a.brand-pill:hover, a.brand-pill:focus-visible { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); color: var(--brand); }
a.brand-pill:hover .brand-pill__logo { transform: scale(1.12); }
a.brand-pill:hover .brand-pill__logo i { background-color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Catálogo ---------- */
.catalog { position: relative; background: var(--navy-950); overflow: hidden; }
.catalog::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 30%, rgba(217, 0, 0, .35), transparent 60%), radial-gradient(45% 55% at 10% 85%, rgba(42, 82, 184, .45), transparent 60%); }
.catalog__noise { position: absolute; inset: 0; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.catalog .container { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.catalog__cover { perspective: 1400px; justify-self: center; }
.catalog__cover-inner { position: relative; transform-style: preserve-3d; }
.catalog__cover img { width: min(100%, 380px); border-radius: 12px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.catalog__cover-inner::after { content: ''; position: absolute; inset: 12% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(217, 0, 0, .5), transparent); filter: blur(40px); }
.catalog__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 26px 0 30px; }
.catalog__features li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); }
.catalog__features .icon { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: rgba(22, 163, 74, .25); color: #86EFAC; }
.catalog__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.catalog__qr { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); max-width: 520px; }
.catalog__qr img { width: 92px; height: 92px; border-radius: 10px; background: #fff; padding: 6px; object-fit: contain; }
.catalog__qr strong { display: block; color: #fff; font: 700 1rem var(--font-head); }
.catalog__qr span { font-size: .92rem; color: rgba(255, 255, 255, .7); }

/* ---------- Vídeo ---------- */
.video-section .container { max-width: 980px; }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: #000 center / cover no-repeat; box-shadow: var(--shadow-lg); }
.video__play {
  position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(10, 18, 48, .15), rgba(10, 18, 48, .65));
}
.video__play-btn { position: relative; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: var(--red-500); box-shadow: 0 22px 44px -12px rgba(217, 0, 0, .75); transition: transform .35s var(--ease-out); }
.video__play-btn::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: pulse-ring 2.2s ease-out infinite; }
.video__play-btn .icon { width: 34px; height: 34px; fill: #fff; stroke: none; margin-left: 4px; }
.video__play:hover .video__play-btn { transform: scale(1.1); }
.video__label { position: absolute; left: 24px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 18, 48, .7); backdrop-filter: blur(8px); color: #fff; font: 700 .82rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Faixa consulta de pedido ---------- */
.track-cta { position: relative; padding: clamp(56px, 7vw, 88px) 0; color: #fff; overflow: hidden; background: linear-gradient(118deg, var(--red-600) 0%, var(--red-500) 32%, var(--blue-600) 100%); }
.track-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 70% at 95% 50%, rgba(255, 255, 255, .18), transparent 60%); }
.track-cta__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.track-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 10px; }
.track-cta p { color: rgba(255, 255, 255, .85); max-width: 520px; }
.track-cta .eyebrow { color: #fff; }
.track-form { display: flex; gap: 8px; padding: 8px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); }
.track-form input { flex: 1; min-width: 0; padding: 12px 20px; border: 0; border-radius: 999px; font: 500 1.05rem var(--font-body); color: var(--fg); background: transparent; }
.track-form input:focus { outline: none; }
.track-form input::placeholder { color: #94A3B8; }
.track-cta__hint { margin-top: 12px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.track-cta__hint a { color: #fff; }
.track-cta__art { position: absolute; right: -40px; bottom: -40px; width: 320px; opacity: .14; color: #fff; pointer-events: none; }
.track-cta__art .icon { width: 100%; height: auto; stroke-width: 1; }

/* ---------- Contato ---------- */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-list { display: grid; gap: 12px; }
.info-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(217, 0, 0, .35); }
.info-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--red-100); color: var(--red-500); flex-shrink: 0; }
.info-card__icon--wa { background: #DCFCE7; color: #16A34A; }
.info-card__icon--blue { background: var(--blue-100); color: var(--blue-600); }
.info-card strong { display: block; font: 700 .8rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-card span { font-weight: 600; color: var(--navy-900); font-size: 1.05rem; }
.map-embed { margin-top: 18px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); background: #fff; }
.map-embed iframe { width: 100%; height: 280px; border: 0; }
.form-card { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font: 600 .92rem var(--font-head); color: var(--navy-900); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  font: 500 1rem var(--font-body); color: var(--fg); background: var(--bg); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(42, 82, 184, .15); }
.field__error { display: none; font-size: .85rem; color: var(--red-500); font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red-500); background: #fff; }
.field.is-invalid .field__error { display: block; }
.form-card .btn { width: 100%; }
.form-card__alt { margin-top: 14px; text-align: center; font-size: .92rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 7vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand img { width: 200px; margin-bottom: 16px; }
.footer__brand p { max-width: 320px; }
.footer h4 { font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: inherit; text-decoration: none; transition: color .2s, padding-left .25s var(--ease-out); }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--red-300); width: 20px; height: 20px; margin-top: 3px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.15rem; transition: background .25s, transform .25s var(--ease-out); }
.footer__social a:hover { background: var(--red-500); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px 0; font-size: .9rem; }

/* ---------- Flutuantes ---------- */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none;
  font: 700 .95rem var(--font-head); box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .8); transition: transform .3s var(--ease-out), box-shadow .3s;
}
.whatsapp-fab:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -12px rgba(37, 211, 102, .9); }
.whatsapp-fab__icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.whatsapp-fab__icon::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: pulse-ring 2.4s ease-out infinite; }
.whatsapp-fab .icon { width: 26px; height: 26px; }
.to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--navy-900); cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, transform .35s var(--ease-out), visibility .35s, background .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-100); }

/* ---------- Lightbox / Toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(10, 18, 48, .92); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(100%, 980px); max-height: 90vh; width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); transform: scale(.92); transition: transform .4s var(--ease-out); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px;
  background: var(--navy-900); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); border-left: 4px solid var(--blue-400);
  opacity: 0; visibility: hidden; transform: translate(-50%, 20px); transition: opacity .35s, transform .35s var(--ease-out), visibility .35s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast--success { border-left-color: var(--success); }
.toast--error { border-left-color: var(--red-400); }

/* =====================================================================
   Página: Consulta de Pedido (rastreio.html)
   ===================================================================== */
.track-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 56px) 0 130px; background: var(--navy-950); color: #fff; text-align: center; }
.track-hero .hero__bg { opacity: .14; }
.track-hero .container { position: relative; }
.track-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -.025em; color: #fff; margin: 16px 0 12px; }
.track-hero h1 em { font-style: normal; color: var(--red-300); }
.track-hero p { max-width: 620px; margin-inline: auto; color: rgba(255, 255, 255, .78); font-size: 1.15rem; }
.track-search { position: relative; z-index: 2; margin-top: -84px; }
.track-search__card { padding: clamp(22px, 4vw, 36px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.track-search__form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.track-search__form .field { margin: 0; }
.track-search__form input { font-size: 1.15rem; padding: 15px 18px; letter-spacing: .02em; }
.track-search__form .btn { min-height: 56px; }
.track-search__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--warning-bg); color: var(--warning); font: 700 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.demo-badge[hidden] { display: none; }
.recent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.recent__label { font-size: .88rem; color: var(--muted); margin-right: 4px; }
.chip { padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--navy-900); font: 600 .85rem var(--font-head); cursor: pointer; transition: border-color .25s, transform .25s var(--ease-out), background .25s; }
.chip:hover { border-color: var(--red-500); transform: translateY(-2px); background: #fff; }

.track-result { margin-top: 28px; display: grid; gap: 22px; }
.track-result[hidden] { display: none; }
.card { padding: clamp(22px, 3.5vw, 32px); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 16px; }
.card h3 .count { margin-left: 4px; padding: 2px 9px; border-radius: 999px; background: var(--blue-100); color: var(--blue-600); font-size: .8rem; }
.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.result-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 2px; }
.result-sub { color: var(--muted); font-weight: 600; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font: 700 .82rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-badge--info { background: var(--blue-100); color: var(--blue-600); }
.status-badge--info .dot { animation: blink 1.6s infinite; }
.status-badge--warning { background: var(--warning-bg); color: var(--warning); }
.status-badge--warning .dot { animation: blink 1.6s infinite; }
.status-badge--success { background: var(--success-bg); color: #166534; }
.status-badge--danger { background: var(--red-100); color: var(--red-600); }
.status-badge--muted { background: var(--bg); color: var(--muted); }

.timeline { --pct: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 26px 0 10px; }
.timeline::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 4px; border-radius: 2px; background: var(--border); }
.timeline__progress { position: absolute; top: 22px; left: 10%; height: 4px; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--blue-600), var(--red-500)); transition: width 1.3s var(--ease-out); }
.timeline.is-animated .timeline__progress { width: calc(var(--pct) * 80%); }
.timeline--failed .timeline__progress { background: linear-gradient(90deg, var(--blue-600), var(--red-600)); }
.step { position: relative; padding-top: 62px; text-align: center; }
.step__dot { position: absolute; top: 7px; left: 50%; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; transform: translateX(-50%); border: 3px solid var(--border); border-radius: 50%; background: #fff; color: transparent; transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.step__dot .icon { width: 16px; height: 16px; stroke-width: 3; }
.step.is-done .step__dot { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.step.is-current .step__dot { border-color: var(--red-500); color: var(--red-500); box-shadow: 0 0 0 7px rgba(217, 0, 0, .14); }
.step.is-done.is-current .step__dot { background: var(--success); border-color: var(--success); color: #fff; box-shadow: 0 0 0 7px rgba(22, 163, 74, .18); }
.step.is-failed .step__dot { background: var(--red-500); border-color: var(--red-500); color: #fff; box-shadow: 0 0 0 7px rgba(217, 0, 0, .14); }
.step__label { display: block; font: 700 .85rem/1.3 var(--font-head); color: var(--muted); }
.step.is-done .step__label, .step.is-current .step__label, .step.is-failed .step__label { color: var(--navy-900); }
.step__date { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; margin-top: 18px; }
.alert .icon { width: 24px; height: 24px; margin-top: 2px; }
.alert p { margin: 4px 0 0; }
.alert--danger { background: var(--red-100); color: #7F1D1D; }
.alert--success { background: var(--success-bg); color: #14532D; }
.alert--info { background: var(--blue-100); color: var(--navy-800); }
.alert--warning { background: var(--warning-bg); color: #78350F; }
.alert .btn { margin-top: 12px; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 22px 0 0; }
.kv { padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.kv dt { font: 700 .72rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 6px 0 0; font-weight: 700; font-size: 1.05rem; color: var(--navy-900); overflow-wrap: anywhere; }
.result-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg); color: var(--fg-2); font-size: .98rem; }
.result-note .icon { color: var(--blue-600); margin-top: 3px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.table-wrap { overflow-x: auto; }
.items-table { width: 100%; border-collapse: collapse; }
.items-table th { padding: 10px 12px; text-align: left; font: 700 .72rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--border); }
.items-table td { padding: 13px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.items-table tr:last-child td { border-bottom: 0; }
.items-table .num { text-align: right; white-space: nowrap; font-weight: 700; }
.items-table code { padding: 3px 8px; border-radius: 6px; background: var(--blue-100); color: var(--blue-600); font-weight: 700; }
.history { position: relative; }
.history li { position: relative; padding: 0 0 22px 30px; }
.history li::before { content: ''; position: absolute; left: 5px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.history li:first-child::before { background: var(--red-500); box-shadow: 0 0 0 4px var(--red-100); }
.history li::after { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--border); }
.history li:last-child::after { display: none; }
.history time { display: block; font: 700 .8rem var(--font-head); color: var(--muted); margin-bottom: 3px; }
.history strong { color: var(--navy-900); }
.history p { margin: 2px 0 0; color: var(--muted); font-size: .98rem; }
.result-privacy { font-size: .88rem; color: var(--muted); text-align: center; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state .icon--xl { margin: 0 auto 14px; color: var(--red-500); }
.empty-state h3 { justify-content: center; }
.empty-state p { max-width: 520px; margin-inline: auto; }
.empty-state .result-actions { justify-content: center; }
.skeleton { min-height: 18px; border-radius: 10px; background: linear-gradient(90deg, #EEF2F7 25%, #F8FAFC 50%, #EEF2F7 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.how { background: var(--bg); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-card { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); transition: transform .3s var(--ease-out), box-shadow .3s; }
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.how-card__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: #fff; font: 800 1rem var(--font-head); margin-bottom: 18px; }
.how-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.how-card p { color: var(--muted); }

/* ---------- Loja online (vitrine do banco) ---------- */
.shop { background: #fff; }
.shop__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.shop__head .section-head { margin-bottom: 0; }
.shop__channel { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); font-size: .92rem; color: var(--muted); }
.shop__channel strong { color: var(--navy-900); font-family: var(--font-head); }
.shop__channel .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--red-100); color: var(--red-500); }
.shop__toolbar {
  position: sticky; top: 76px; z-index: 5; display: grid; grid-template-columns: 1fr 220px 190px; gap: 12px;
  padding: 12px; margin-bottom: 14px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.shop__search { position: relative; }
.shop__search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.shop__toolbar input, .shop__toolbar select {
  width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg);
  font: 500 1rem var(--font-body); color: var(--fg); transition: border-color .25s, box-shadow .25s, background .25s;
}
.shop__toolbar input { padding-left: 46px; }
.shop__toolbar input:focus, .shop__toolbar select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(42, 82, 184, .15); }
.shop__cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.shop__cats .chip { flex-shrink: 0; min-height: 40px; }
.shop__cats .chip span { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(15, 23, 42, .07); font-size: .75rem; }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip.is-active span { background: rgba(255, 255, 255, .18); }
.shop__status { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 18px; color: var(--muted); font-size: .95rem; }
.shop__status strong { color: var(--navy-900); }
.shop__clear { border: 0; background: none; color: var(--red-500); font: 700 .9rem var(--font-head); cursor: pointer; padding: 8px 4px; }
.shop__clear[hidden], .shop__more[hidden] { display: none; }
.shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shop-card {
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(42, 82, 184, .35); }
.shop-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #F3F5F9; }
.shop-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: opacity .45s, transform .7s var(--ease-out); }
.shop-card__img--2 { opacity: 0; }
.shop-card:hover .shop-card__img { transform: scale(1.06); }
.shop-card:hover .shop-card__img--2 { opacity: 1; }
.shop-card__media:has(.shop-card__img--2):hover .shop-card__img:not(.shop-card__img--2) { opacity: 0; }
.shop-card__cat { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(10, 18, 48, .82); color: #fff; font: 700 .68rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(4px); }
.shop-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px; }
.shop-card__meta { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.pill { padding: 3px 9px; border-radius: 999px; background: var(--blue-100); color: var(--blue-600); font: 700 .74rem var(--font-head); }
.pill--muted { background: var(--bg); color: var(--muted); }
.shop-card__title { font: 700 .98rem/1.35 var(--font-head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.95em; }
.shop-card__title a { color: var(--navy-900); text-decoration: none; }
.shop-card__title a:hover { color: var(--red-500); }
.shop-card__ref { margin: 0; font-size: .82rem; color: var(--muted); }
.shop-card__ref code { padding: 2px 6px; border-radius: 6px; background: var(--bg); color: var(--fg-2); font-weight: 700; }
.shop-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; padding-top: 6px; }
.shop-card__price s { width: 100%; font-size: .82rem; color: var(--muted); }
.shop-card__price strong { font: 900 1.35rem var(--font-head); color: var(--navy-900); letter-spacing: -.01em; }
.shop-card__price span { font-size: .82rem; color: var(--success); font-weight: 700; }
.shop-card__inst { width: 100%; font-size: .82rem; color: var(--muted); }
.shop-card__actions { display: flex; gap: 8px; margin-top: 6px; }
.shop-card__actions .btn-primary { flex: 1; }
.shop-card__wa { width: 42px; padding: 0; color: #16A34A; }
.shop-card__wa:hover { background: #DCFCE7; border-color: #16A34A; }
.shop-card--skeleton .skeleton { min-height: 16px; }
.shop-empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: var(--muted); border: 2px dashed var(--border); border-radius: var(--r-md); }
.shop-empty h3 { margin-bottom: 8px; }
.shop__foot { display: grid; justify-items: center; gap: 14px; margin-top: 32px; }
.shop__note { font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- Rastreio em tempo real ---------- */
.live-grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: stretch; }
.live-map { position: relative; min-height: 560px; border-radius: var(--r-lg); overflow: hidden; background: #E9EEF5; box-shadow: var(--shadow-md); border: 1px solid var(--border); z-index: 0; }
.live-map__fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 24px; text-align: center; color: var(--muted); }
.live-marker { background: none; border: 0; }
.live-marker--car { overflow: visible; }
.live-marker--car::before { content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(217, 0, 0, .14); border: 2px solid rgba(217, 0, 0, .55); animation: pulse-ring 2s ease-out infinite; }
.live-car { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .8s var(--ease-out); }
.live-car img { width: 30px; height: auto; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .45)); }
.live-marker--truck span { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red-500); border: 3px solid #fff; box-shadow: 0 8px 18px rgba(217, 0, 0, .45); }
.live-marker--truck span::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--red-500); animation: pulse-ring 1.8s ease-out infinite; }
.live-marker--truck svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.live-marker--pin svg { width: 34px; height: 44px; fill: var(--navy-900); filter: drop-shadow(0 6px 8px rgba(10, 18, 48, .35)); }
.live-panel { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.live-panel__label { margin: 0; font: 800 .74rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.live-panel > .live-panel__label { text-align: center; }
.live-eta { margin-top: -6px; text-align: center; font: 900 3.4rem/1 var(--font-head); color: var(--navy-900); letter-spacing: -.02em; }
.live-chips { display: flex; justify-content: center; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.live-chips span { display: inline-flex; align-items: center; gap: 6px; font: 700 .9rem var(--font-head); color: var(--fg-2); }
.live-chips .icon { width: 17px; height: 17px; color: var(--red-500); }
.live-chips .is-ok { color: var(--success); text-align: center; }
.live-chips .is-ok .icon { color: var(--success); }
.live-eta { white-space: nowrap; }
.live-steps { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.live-step { display: grid; justify-items: center; gap: 8px; width: 104px; text-align: center; }
.live-step span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: #94A3B8; transition: background .3s, color .3s; }
.live-step .icon { width: 22px; height: 22px; }
.live-step small { font: 700 .76rem/1.3 var(--font-head); color: #94A3B8; }
.live-step.is-active span { background: var(--red-100); color: var(--red-500); box-shadow: 0 0 0 6px rgba(217, 0, 0, .08); }
.live-step.is-active small { color: var(--navy-900); }
.live-step.is-done:not(.is-active) span { background: var(--blue-100); color: var(--blue-600); }
.live-step.is-done:not(.is-active) small { color: var(--fg-2); }
.live-step.is-active.is-done span { background: var(--success-bg); color: var(--success); box-shadow: 0 0 0 6px rgba(22, 163, 74, .12); }
.live-step__line { height: 3px; margin-top: 23px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); }
.live-step__line.is-done { background: var(--success); }
.live-dest { display: grid; gap: 10px; }
.live-dest__row { display: flex; gap: 10px; font-size: .92rem; line-height: 1.5; color: var(--fg-2); }
.live-dest__row .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--red-500); }
.live-dest__row strong { color: var(--navy-900); font-family: var(--font-head); font-size: .88rem; }
.live-vehicle { padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); display: grid; gap: 8px; }
.live-vehicle__top { display: flex; justify-content: space-between; align-items: center; }
.live-plate { padding: 4px 10px; border-radius: 6px; background: var(--blue-100); color: var(--navy-900); font: 800 .82rem var(--font-head); letter-spacing: .06em; }
.live-ign { display: inline-flex; align-items: center; gap: 6px; font: 700 .82rem var(--font-head); color: var(--muted); }
.live-ign i { width: 8px; height: 8px; border-radius: 50%; background: #94A3B8; }
.live-ign.is-on { color: var(--success); }
.live-ign.is-on i { background: var(--success); animation: blink 1.6s infinite; }
.live-vehicle__model { font: 800 1rem var(--font-head); color: var(--navy-900); }
.live-vehicle__foot { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; color: var(--muted); font-weight: 600; }
.live-vehicle__foot span { display: inline-flex; align-items: center; gap: 6px; }
.live-vehicle__foot .icon { width: 15px; height: 15px; }
.live-speed { color: var(--red-500); font-weight: 800; }
.live-updated { margin: 0; text-align: center; font-size: .8rem; color: var(--success); font-weight: 600; }
.live-note { margin: 0; text-align: center; font-size: .74rem; line-height: 1.45; color: var(--muted); }
.live-actions { justify-content: center; margin-top: 22px; }
.live-final { max-width: 620px; margin-inline: auto; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 40px 32px; }
.live-final__icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; }
.live-final__icon .icon { width: 36px; height: 36px; stroke-width: 2.2; }
.live-final--fail .live-final__icon { background: #FEF3C7; color: #B45309; }
.live-final--ok .live-final__icon { background: var(--success-bg); color: var(--success); }
.live-final h2 { font-size: 1.6rem; font-weight: 900; }
.live-final__msg { color: var(--muted); margin: 0; }
.live-final__msg strong { color: var(--navy-900); }
.live-motivo { width: 100%; display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.live-motivo span { font: 800 .72rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.live-motivo strong { color: var(--navy-900); }
.live-fotos { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.live-fotos span { width: 100%; font: 800 .72rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.live-fotos img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); transition: transform .3s var(--ease-out); }
.live-fotos a:hover img { transform: scale(1.05); }
.live-final .live-actions { margin-top: 8px; }
@media (max-width: 1023px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-map { min-height: 380px; }
}
@media (max-width: 520px) {
  .live-map { min-height: 300px; border-radius: var(--r-md); }
  .live-eta { font-size: 2.8rem; }
  .live-final { padding: 30px 18px; }
  .live-actions .btn { width: 100%; }
}

/* ---------- Chatbot (Carol) ---------- */
.has-chatbot .whatsapp-fab { bottom: 104px; right: 26px; padding: 6px; }
.has-chatbot .whatsapp-fab > span:last-child { display: none; }
.has-chatbot .to-top { bottom: 176px; right: 30px; }
.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 68px; height: 68px; padding: 0; border: 3px solid #fff; border-radius: 50%;
  background: var(--blue-600); cursor: pointer; box-shadow: 0 16px 34px -10px rgba(10, 18, 48, .55); transition: transform .3s var(--ease-out), box-shadow .3s;
}
.chat-launcher img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: opacity .25s, transform .35s var(--ease-out); }
.chat-launcher::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--blue-400); opacity: .7; animation: pulse-ring 2.6s ease-out infinite; }
.chat-launcher:hover { transform: translateY(-3px) scale(1.04); }
.chat-launcher__dot { position: absolute; right: 2px; bottom: 2px; width: 15px; height: 15px; border-radius: 50%; background: #22C55E; border: 3px solid #fff; }
.chat-launcher__close { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); opacity: 0; transform: rotate(-90deg); transition: opacity .25s, transform .35s var(--ease-out); }
.chat-launcher__close svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.chatbot.is-open .chat-launcher__close { opacity: 1; transform: none; }
.chatbot.is-open .chat-launcher::before, .chatbot.is-open .chat-launcher__dot { display: none; }
.chat-teaser {
  position: fixed; right: 102px; bottom: 30px; z-index: 95; max-width: 270px; padding: 14px 34px 14px 16px; border-radius: 16px 16px 4px 16px;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--border); cursor: pointer; font-size: .92rem; line-height: 1.4; color: var(--fg-2);
  animation: teaser-in .5s var(--ease-out);
}
.chat-teaser strong { display: block; font: 800 .98rem var(--font-head); color: var(--navy-900); margin-bottom: 2px; }
.chat-teaser__close { position: absolute; right: 6px; top: 4px; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
@keyframes teaser-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }

.chat-panel {
  position: fixed; right: 22px; bottom: 104px; z-index: 96; width: 390px; height: min(640px, calc(100vh - 130px)); display: flex; flex-direction: column;
  background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(10, 18, 48, .55), 0 0 0 1px rgba(15, 23, 42, .06);
  opacity: 0; transform: translateY(16px) scale(.96); transform-origin: 100% 100%; transition: opacity .28s, transform .35s var(--ease-out);
}
.chat-panel.is-open { opacity: 1; transform: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; color: #fff; background: linear-gradient(120deg, var(--navy-900), var(--blue-600)); }
.chat-head__avatar { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); }
.chat-head__info { flex: 1; min-width: 0; }
.chat-head__info strong { display: block; font: 800 1.05rem var(--font-head); }
.chat-head__info span { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.chat-online { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }
.chat-icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .2s; }
.chat-icon-btn:hover { background: rgba(255, 255, 255, .22); }
.chat-icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 14px 8px; background: #F3F6FB; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.chat-msg.is-new { animation: msg-in .35s var(--ease-out); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.chat-msg__avatar { width: 28px; height: 28px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.chat-msg__col { display: grid; gap: 8px; min-width: 0; }
.chat-bubble { padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg--bot .chat-bubble { background: #fff; color: var(--fg); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-msg--user { align-self: flex-end; }
.chat-msg--user .chat-bubble { background: var(--blue-600); color: #fff; border-bottom-right-radius: 4px; }
.chat-note { align-self: center; padding: 6px 12px; border-radius: 999px; background: var(--success-bg); color: #166534; font: 700 .78rem var(--font-head); }
.chat-prods { display: grid; gap: 6px; }
.chat-prod { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: border-color .2s, transform .25s var(--ease-out); }
.chat-prod:hover { border-color: var(--red-500); transform: translateX(3px); }
.chat-prod img { width: 54px; height: 54px; object-fit: contain; border-radius: 8px; background: #F3F5F9; flex-shrink: 0; }
.chat-prod__info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.chat-prod__nome { font: 700 .8rem/1.3 var(--font-head); color: var(--navy-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat-prod__preco { font: 800 .92rem var(--font-head); color: var(--red-500); }
.chat-prod__preco small { font: 600 .72rem var(--font-body); color: var(--success); }
.chat-prod__go { font-size: 1.4rem; color: var(--muted); padding-right: 4px; }
.chat-typing .chat-bubble { display: flex; gap: 4px; padding: 14px 16px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.chat-quick { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; background: #F3F6FB; scrollbar-width: none; }
.chat-quick:empty { display: none; }
.chat-chip { flex-shrink: 0; padding: 8px 12px; border: 1px solid rgba(42, 82, 184, .35); border-radius: 999px; background: #fff; color: var(--blue-600); font: 700 .8rem var(--font-head); cursor: pointer; transition: background .2s, color .2s; }
.chat-chip:hover { background: var(--blue-600); color: #fff; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.chat-form textarea { flex: 1; min-height: 44px; max-height: 110px; resize: none; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--bg); font: 500 .98rem/1.4 var(--font-body); color: var(--fg); }
.chat-form textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.chat-send { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 14px; background: var(--red-500); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.chat-send:hover { background: var(--red-600); transform: translateY(-1px); }
.chat-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-legal { margin: 0; padding: 0 14px 10px; background: #fff; font-size: .7rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 520px) {
  .chat-panel { right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; z-index: 120; }
  .chat-open .chat-launcher { opacity: 0; pointer-events: none; }
  .chat-teaser { right: 96px; bottom: 26px; max-width: calc(100vw - 120px); }
  .chat-launcher { right: 16px; bottom: 16px; width: 62px; height: 62px; }
  .has-chatbot .whatsapp-fab { right: 20px; bottom: 92px; }
  .has-chatbot .to-top { right: 22px; bottom: 160px; }
  .chat-open { overflow: hidden; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .float-badge--1 { left: 0; }
  .float-badge--2 { right: 0; }
  .float-badge--3 { left: 0; }
}
@media (max-width: 1023px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
  .hero { padding-bottom: 140px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 360px; }
  .hero__cover img { width: min(100%, 300px); }
  .hero__scroll { display: none; }
  .about__grid, .apps__grid, .catalog .container, .contact__grid, .track-cta__inner { grid-template-columns: 1fr; }
  .why__grid, .how__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .catalog__cover { order: -1; }
  .shop__grid { grid-template-columns: repeat(3, 1fr); }
  .shop__toolbar { grid-template-columns: 1fr 1fr; top: 70px; }
  .shop__search { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .shop__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .stats { margin-top: -64px; }
  .stats__card { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat:nth-child(even) { border-left: 1px solid var(--border); }
  .values, .form-row, .catalog__features, .why__grid, .how__grid, .footer__grid { grid-template-columns: 1fr; }
  .about__badge { right: 8px; bottom: 16px; }
  .about__accent--blue { display: none; }
  .track-search__form { grid-template-columns: 1fr; }
  .track-search__form .btn { width: 100%; }
  .track-form { flex-direction: column; border-radius: 22px; }
  .track-form .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; gap: 0; margin-top: 18px; }
  .timeline::before { left: 19px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .timeline__progress { left: 19px; top: 0; width: 4px; height: 0; transition: height 1.3s var(--ease-out); }
  .timeline.is-animated .timeline__progress { width: 4px; height: calc(var(--pct) * 100%); }
  .step { padding: 6px 0 26px 58px; text-align: left; }
  .step:last-child { padding-bottom: 6px; }
  .step__dot { left: 4px; top: 2px; transform: none; }
  .whatsapp-fab > span:last-child { display: none; }
  .whatsapp-fab { padding: 6px; }
  .to-top { right: 16px; bottom: 84px; }
  .whatsapp-fab { right: 16px; bottom: 16px; }
  .apps__zoom span { display: none; }
  .apps__zoom { padding: 10px; }
  .hotspot__card { width: 200px; font-size: .84rem; }
  .float-badge--2 { display: none; }
  .shop__toolbar { position: static; padding: 10px; }
  .shop-card__body { padding: 12px; }
  .shop-card__title { font-size: .88rem; }
  .shop-card__price strong { font-size: 1.12rem; }
  .shop-card__actions .btn-primary { font-size: .8rem; padding: 8px 10px; }
  .shop-card__inst { display: none; }
}
@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; }
  .catalog__qr { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .preloader { animation: none; opacity: 0; visibility: hidden; }
  .js .marquee__inner { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; }
  .marquee__inner { width: auto; }
  .timeline.is-animated .timeline__progress { transition: none; }
}
