/* =========================================================
   MARVA MOTOS — Site institucional
   Bicho 360 · Identidade conforme Brandbook v1.0
   ========================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- TOKENS ---------- */
:root {
  --red: #E2231A;
  --red-dark: #B31812;
  --ink: #171310;
  --ink-2: #231D19;
  --ink-soft: #3A332F;
  --gray: #6B6259;
  --gray-light: #9A9088;
  --cream: #F7F3ED;
  --cream-2: #EFE8DD;
  --line: #E3DACB;
  --white: #FFFFFF;
  --green: #00ED00;
  --green-deep: #0B9E0B;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(23,19,16,0.05);
  --shadow-md: 0 12px 40px rgba(23,19,16,0.09);
  --shadow-lg: 0 24px 70px rgba(23,19,16,0.14);

  --pad-x: clamp(20px, 5vw, 80px);
  --sec-y: clamp(60px, 8vw, 110px);
  --maxw: 1360px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- BASE ---------- */
body {
  font-family: "Inter", "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--sec-y) 0; }

/* ---------- TYPE ---------- */
.h-display {
  font-family: "Anton", "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.01em;
}
h1.h-display { font-size: clamp(38px, 6.4vw, 76px); }
h2.h-display { font-size: clamp(28px, 4.2vw, 50px); }
h3.h-display { font-size: clamp(20px, 2.4vw, 28px); }

.eyebrow {
  display: inline-block;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--green);
  border-radius: 2px;
}
.eyebrow.on-dark { color: #FF7A70; }

.lead { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-soft); max-width: 56ch; }
.lead.on-dark { color: #C9C1B8; }
.muted { color: var(--gray); }

/* ---------- TAGS ---------- */
.tag {
  display: inline-block;
  max-width: 100%;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  line-height: 1.35;
  overflow-wrap: break-word;
}
.tag-popular   { background: #FFEDD0; color: #8A5200; }
.tag-urbana    { background: #DDEBFF; color: #0B3E7A; }
.tag-comercial { background: #E8E4DE; color: #453D36; }
/* colunas estreitas do grid de modelos: encolhe a pílula pra não virar 3 linhas */
.model-card .tag { font-size: 10px; letter-spacing: 0.05em; padding: 7px 12px; }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(13px, 1.3vw, 14.5px); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 18px 36px; border-radius: var(--r-pill);
  transition: transform .45s var(--ease), background .35s ease, box-shadow .45s var(--ease), color .3s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,237,0,0.45), 0 12px 30px rgba(23,19,16,0.16); }

/* sólido — vermelho institucional */
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 18px rgba(226,35,26,0.26), 0 2px 5px rgba(23,19,16,0.10);
}
.btn-primary:hover {
  background: var(--red);
  box-shadow: 0 18px 40px rgba(226,35,26,0.34), 0 4px 12px rgba(23,19,16,0.12);
}

/* suave sobre fundo escuro */
.btn-ghost-light {
  background: rgba(255,255,255,0.10); color: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.17);
  box-shadow: 0 18px 40px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.26), 0 0 0 1px rgba(0,237,0,0.32);
}

/* suave sobre fundo claro */
.btn-ghost-dark {
  background: #fff; color: var(--ink);
  box-shadow: 0 5px 16px rgba(23,19,16,0.09), 0 1px 3px rgba(23,19,16,0.06);
}
.btn-ghost-dark:hover {
  box-shadow: 0 18px 38px rgba(23,19,16,0.15), 0 2px 6px rgba(23,19,16,0.08), 0 0 0 1px rgba(0,237,0,0.35);
}

.btn-arrow { transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,237,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--green), rgba(0,237,0,0));
  transition: width .5s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header.scrolled::after { width: 100%; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: clamp(68px, 8vw, 92px);
}
.brand img { height: clamp(32px, 4vw, 44px); width: auto; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav a {
  position: relative; font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 0;
  transition: color .25s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green); border-radius: 2px; transition: width .35s var(--ease);
}
.nav a:hover { color: var(--red); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--red); }

.header-cta {
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 26px; border-radius: var(--r-pill);
  box-shadow: 0 5px 16px rgba(226,35,26,0.26), 0 1px 3px rgba(23,19,16,0.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(226,35,26,0.34), 0 2px 6px rgba(23,19,16,0.1);
}

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); position: relative; }
.burger span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .35s var(--ease), opacity .2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); padding: 110px var(--pad-x) 40px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .35s ease, visibility .35s;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a:not(.btn) {
  display: block; font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(26px, 8vw, 40px); text-transform: uppercase; color: #fff;
  padding: 16px 0; border-bottom: 1px solid rgba(0,237,0,0.22);
  transition: color .25s ease, padding-left .35s var(--ease);
}
.mobile-nav a:not(.btn):active, .mobile-nav a:not(.btn):hover { color: var(--green); padding-left: 8px; }
.mobile-nav .btn { margin-top: 34px; width: 100%; justify-content: center; }

/* =========================================================
   HERO CAROUSEL
   ========================================================= */
.hero {
  position: relative;
  height: clamp(520px, 86vh, 840px);
  overflow: hidden;
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide .media { position: absolute; inset: -8% 0; }
.hero-slide .media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.hero-slide.active .media img { transform: scale(1.14); }
.hero-slide .veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,9,7,0.92) 0%, rgba(12,9,7,0.7) 42%, rgba(12,9,7,0.22) 76%, rgba(12,9,7,0.35) 100%);
}

.hero-content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy { max-width: 660px; }
.hero-copy h1 { color: #fff; margin-bottom: 20px; }
.hero-copy h1 em { font-style: normal; color: var(--red); }
.hero-copy p { color: #E4DED6; font-size: clamp(15px, 1.6vw, 19px); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-slide .hero-copy > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero-slide.active .hero-copy > * { opacity: 1; transform: translateY(0); }
.hero-slide.active .hero-copy > *:nth-child(1) { transition-delay: .18s; }
.hero-slide.active .hero-copy > *:nth-child(2) { transition-delay: .3s; }
.hero-slide.active .hero-copy > *:nth-child(3) { transition-delay: .42s; }
.hero-slide.active .hero-copy > *:nth-child(4) { transition-delay: .54s; }

/* controls */
.hero-ui {
  position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vw, 48px); z-index: 5;
}
.hero-ui-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-dots { display: flex; gap: 12px; align-items: center; }
.hero-dot {
  position: relative; width: 46px; height: 4px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.28); overflow: hidden; transition: background .3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.45); }
.hero-dot i {
  position: absolute; inset: 0; width: 0; background: var(--green); border-radius: var(--r-pill);
  display: block;
}
.hero-dot.active i { width: 100%; transition: width 6s linear; }
.hero-dot.paused i { transition: none; }

.hero-arrows { display: flex; gap: 10px; }
.hero-arrow {
  width: 52px; height: 52px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.1); color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.16);
  display: grid; place-items: center;
  transition: background .35s ease, box-shadow .45s var(--ease), transform .4s var(--ease);
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.18); transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 32px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.26), 0 0 0 1px rgba(0,237,0,0.32);
}
.hero-arrow svg { width: 18px; height: 18px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  z-index: 5; display: grid; place-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.pillar { display: flex; gap: 18px; align-items: flex-start; position: relative; padding-right: 12px; }
.pillar + .pillar { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.pillar-num {
  font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(26px, 3vw, 36px);
  color: var(--red); line-height: 1; flex-shrink: 0;
}
.pillar h3 { font-size: clamp(15px, 1.6vw, 17.5px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.pillar p { font-size: clamp(13.5px, 1.4vw, 15px); color: var(--gray); }

/* =========================================================
   MODELOS
   ========================================================= */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lead { max-width: 42ch; }

.model-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.model-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease;
  will-change: transform;
}
.model-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(0,237,0,0.5); }
.model-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.model-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.model-card:hover .thumb img { transform: scale(1.07); }
.model-card .info { padding: clamp(16px, 2vw, 22px); display: flex; flex-direction: column; flex: 1; gap: 8px; }
.model-card h3 {
  font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(20px, 2.2vw, 27px); text-transform: uppercase; margin-top: 4px;
}
.model-card .spec { font-size: 13px; color: var(--gray); }
.model-card .spec b { color: var(--ink); font-weight: 600; }
.model-card .go {
  margin-top: auto; padding-top: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
}
.model-card:hover .go span { transform: translateX(4px); }
.model-card .go span { transition: transform .35s var(--ease); }

/* =========================================================
   PORTAS DE ENTRADA (dark, parallax)
   ========================================================= */
.doors {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  border-radius: var(--r-xl); margin: 0 var(--pad-x);
}
.doors::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(226,35,26,0.16) 0%, rgba(226,35,26,0) 68%);
  pointer-events: none;
}
.doors .wrap { padding-left: clamp(20px, 4vw, 64px); padding-right: clamp(20px, 4vw, 64px); }
.doors h2 { color: #fff; }
.door-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(30px, 4vw, 48px); }
.door-card {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: clamp(22px, 2.6vw, 32px);
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s ease;
}
.door-card::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(0,237,0,0));
  border-radius: 2px;
}
.door-card:hover { transform: translateY(-6px); border-color: rgba(0,237,0,0.35); }
.door-card h3 {
  font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(18px, 2vw, 23px); text-transform: uppercase; margin: 16px 0 10px;
}
.door-card p { font-size: clamp(13.5px, 1.4vw, 15px); color: #C0B8AF; margin-bottom: 16px; }
.door-card .models { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }

/* =========================================================
   CONCESSIONÁRIA (parallax figure)
   ========================================================= */
.dealer-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }

/* Arte de testeira/fachada — exibida fiel: sem corte, sem zoom, sem deformação */
.facade-frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 38px); box-shadow: var(--shadow-sm);
}
.facade-frame img { width: 100%; height: auto; border-radius: 4px; }
.facade-frame .fig-label {
  display: block; margin-bottom: 16px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-light);
}
.caption { margin-top: 14px; font-size: 13px; color: var(--gray); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--red); color: #fff;
  border-radius: var(--r-xl); margin: 0 var(--pad-x);
  padding: clamp(44px, 6vw, 76px) clamp(24px, 4vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band::after {
  content: ""; position: absolute; right: -6%; bottom: -60%;
  width: 46vw; height: 46vw; max-width: 520px; max-height: 520px;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 66%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; max-width: 18ch; position: relative; z-index: 2; }
.cta-band .btn { position: relative; z-index: 2; }

/* =========================================================
   MODEL PAGE
   ========================================================= */
.model-hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: clamp(460px, 74vh, 720px); }
.model-hero .media { position: relative; overflow: hidden; background: var(--cream-2); border-bottom-right-radius: var(--r-xl); }
.model-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.model-hero .info {
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(36px, 5vw, 70px) clamp(24px, 4vw, 64px);
  border-bottom-left-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.model-hero .info::before {
  content: ""; position: absolute; top: -20%; left: -20%;
  width: 50vw; height: 50vw; max-width: 460px; max-height: 460px;
  background: radial-gradient(circle, rgba(0,237,0,0.09) 0%, rgba(0,237,0,0) 68%);
  pointer-events: none;
}
.model-hero .info > * { position: relative; z-index: 2; }
.model-hero .info h1 { color: #fff; margin: 18px 0 18px; }
.model-hero .info p { color: #C0B8AF; max-width: 40ch; margin-bottom: 30px; font-size: clamp(15px, 1.5vw, 16.5px); }
.model-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

.specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 30px);
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 44px) clamp(22px, 3vw, 44px);
  box-shadow: var(--shadow-sm);
}
.spec-item { position: relative; }
.spec-item + .spec-item { padding-left: clamp(16px, 2vw, 30px); border-left: 1px solid var(--line); }
.spec-item .num {
  font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(30px, 4.2vw, 52px); color: var(--red); line-height: 1;
}
.spec-item .num small { font-size: 0.4em; margin-left: 5px; font-weight: inherit; }
.spec-item .num.text { font-size: clamp(19px, 2.4vw, 29px); }
.spec-item .label { margin-top: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }

.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.detail-figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.detail-list { margin-top: 26px; }
.detail-list div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft);
}
.detail-list div:last-child { border-bottom: 1px solid var(--line); }
.detail-list b { color: var(--ink); font-weight: 600; }

.audience {
  background: var(--cream-2); border-radius: var(--r-xl); margin: 0 var(--pad-x);
  padding: clamp(34px, 4.4vw, 60px) clamp(24px, 4vw, 60px);
  display: grid; grid-template-columns: 230px 1fr; gap: clamp(26px, 4vw, 54px); align-items: center;
}
.audience-badge {
  background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 28px 26px; font-size: 13.5px; line-height: 1.5;
}
.audience-badge .num { font-family: "Anton", sans-serif; font-weight: 400; font-size: 30px; color: var(--green); display: block; margin-bottom: 8px; }

/* =========================================================
   GALERIA DE FOTOS + SELETOR DE CORES
   ========================================================= */
.gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 38px);
}

/* seletor de cores — só aparece quando o modelo tem 2+ cores */
.color-picker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.color-picker .cp-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray); margin-right: 4px;
}
.swatch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 10px; border-radius: var(--r-pill);
  background: #fff; color: var(--ink-soft);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 3px 12px rgba(23,19,16,0.07), 0 1px 2px rgba(23,19,16,0.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s ease;
}
.swatch i {
  width: 20px; height: 20px; border-radius: var(--r-pill);
  background: var(--sw); flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(23,19,16,0.14), inset 0 -2px 4px rgba(0,0,0,0.16);
}
.swatch:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,19,16,0.12), 0 1px 3px rgba(23,19,16,0.06); }
.swatch.active {
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(23,19,16,0.13), 0 0 0 2px var(--green);
}
.swatch:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,237,0,0.5); }

/* palco */
.gallery-stage {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.gallery-set { display: none; }
.gallery-set.active { display: block; }

.gallery-viewport { position: relative; overflow: hidden; }
.gallery-track {
  display: flex;
  transition: transform .7s var(--ease);
  will-change: transform;
}
.gallery-slide { flex: 0 0 100%; min-width: 0; }
.gallery-slide img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }

/* setas */
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 50px; height: 50px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.86); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(23,19,16,0.16), inset 0 1px 0 rgba(255,255,255,0.7);
  display: grid; place-items: center;
  transition: background .3s ease, box-shadow .45s var(--ease), transform .4s var(--ease);
}
.gallery-nav:hover {
  background: #fff; transform: translateY(-50%) scale(1.06);
  box-shadow: 0 14px 32px rgba(23,19,16,0.2), 0 0 0 1px rgba(0,237,0,0.4);
}
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-nav.prev { left: clamp(12px, 2vw, 22px); }
.gallery-nav.next { right: clamp(12px, 2vw, 22px); }

/* contador */
.gallery-count {
  position: absolute; right: clamp(12px, 2vw, 22px); bottom: clamp(12px, 2vw, 20px); z-index: 4;
  background: rgba(23,19,16,0.72); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  padding: 8px 16px; border-radius: var(--r-pill);
}
.gallery-count b { color: var(--green); font-weight: 700; }

/* miniaturas */
.gallery-thumbs {
  display: flex; gap: 10px; padding: 14px; overflow-x: auto;
  border-top: 1px solid var(--line); scrollbar-width: thin;
}
.gallery-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: var(--r-pill); }
.gthumb {
  flex: 0 0 auto; width: 88px; border-radius: var(--r-sm); overflow: hidden;
  opacity: 0.5; padding: 0; line-height: 0;
  box-shadow: 0 1px 4px rgba(23,19,16,0.08);
  transition: opacity .35s ease, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.gthumb img { width: 100%; height: 62px; object-fit: cover; }
.gthumb:hover { opacity: 0.85; transform: translateY(-2px); }
.gthumb.active { opacity: 1; box-shadow: 0 4px 14px rgba(23,19,16,0.14), 0 0 0 2px var(--green); }

/* =========================================================
   SOBRE
   ========================================================= */
.about-hero {
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
  border-bottom-left-radius: var(--r-xl); border-bottom-right-radius: var(--r-xl);
  padding: clamp(70px, 10vw, 130px) 0;
}
.about-hero::before {
  content: ""; position: absolute; top: -25%; right: -8%;
  width: 55vw; height: 55vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(226,35,26,0.2) 0%, rgba(226,35,26,0) 68%);
}
.about-hero .wrap { position: relative; z-index: 2; }
.about-hero h1 { color: #fff; margin-bottom: 20px; max-width: 18ch; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.duo-card { border-radius: var(--r-lg); padding: clamp(28px, 3.6vw, 48px); border: 1px solid var(--line); background: #fff; }
.duo-card.dark { background: var(--ink); color: #fff; border-color: rgba(255,255,255,0.1); }
.duo-card h3 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 14px; }
.duo-card.dark p { color: #C0B8AF; }
.duo-card p { font-size: clamp(14.5px, 1.5vw, 16px); color: var(--ink-soft); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3.2vw, 40px); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease;
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(0,237,0,0)); border-radius: 2px;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,237,0,0.45); }
.value-card .num { font-family: "Anton", sans-serif; font-weight: 400; font-size: 30px; color: var(--red); }
.value-card h3 { font-size: clamp(15px, 1.6vw, 17.5px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin: 14px 0 10px; }
.value-card p { font-size: clamp(13.5px, 1.4vw, 15px); color: var(--gray); }

/* =========================================================
   CONTATO
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-row.single { grid-template-columns: 1fr; }
.field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 15px 16px; transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,237,0,0.13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-light); }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--gray); }

.contact-card {
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 42px); position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; top: -20%; right: -20%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(0,237,0,0.11) 0%, rgba(0,237,0,0) 70%);
}
.contact-card h3 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 22px; position: relative; }
.contact-row { padding: 16px 0; border-top: 1px solid rgba(0,237,0,0.22); position: relative; }
.contact-row .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #FF7A70; margin-bottom: 5px; }
.contact-row .val { font-size: 15px; color: #EDE7DF; }
.contact-row a.val:hover { color: var(--green); }

.dealers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.dealer-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease;
}
.dealer-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(0,237,0,0)); border-radius: 2px;
}
.dealer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,237,0,0.45); }
.dealer-card .city { font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(19px, 2.2vw, 24px); text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.dealer-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 6px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink); color: #fff;
  border-top-left-radius: var(--r-xl); border-top-right-radius: var(--r-xl);
  margin-top: var(--sec-y); padding: clamp(48px, 6vw, 76px) 0 0;
}
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: clamp(30px, 5vw, 70px); padding-bottom: clamp(32px, 4vw, 48px); }
.footer-brand img { height: 42px; margin-bottom: 18px; }
.footer-tagline { font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(20px, 2.4vw, 26px); text-transform: uppercase; line-height: 1.08; max-width: 12ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.footer-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #FF7A70; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: #C9C1B8; margin-bottom: 11px; transition: color .25s ease; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(0,237,0,0.22);
  font-size: 12.5px; color: #857D75;
}

/* =========================================================
   PARALLAX + REVEAL
   ========================================================= */
[data-parallax] { will-change: transform; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

.parallax-figure { overflow: hidden; }
.parallax-figure img { transform: scale(1.16); will-change: transform; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .specs { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .spec-item:nth-child(3) { padding-left: 0; border-left: none; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }

  .hero { height: clamp(500px, 78vh, 680px); }
  .hero-slide .veil { background: linear-gradient(180deg, rgba(12,9,7,0.72) 0%, rgba(12,9,7,0.62) 45%, rgba(12,9,7,0.9) 100%); }

  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar + .pillar { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }

  .door-grid, .value-grid, .dealers-grid { grid-template-columns: 1fr; }
  .dealer-split, .detail-split, .duo, .contact-grid { grid-template-columns: 1fr; }
  .model-hero { grid-template-columns: 1fr; }
  .model-hero .media { min-height: 320px; border-radius: 0; }
  .model-hero .info { border-bottom-left-radius: var(--r-xl); border-bottom-right-radius: var(--r-xl); }
  .audience { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }

  /* parallax off on touch for smoothness */
  [data-parallax] { transform: none !important; }
  .parallax-figure img { transform: none; }
}

@media (max-width: 640px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr; }
  .spec-item + .spec-item { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-arrows { display: none; }
  .hero-dot { width: 34px; }
  .doors, .cta-band, .audience { margin-left: 0; margin-right: 0; border-radius: var(--r-lg); }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: auto; }
}

@media (max-width: 420px) {
  .model-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
}
