/* =========================================================================
   DFM AZZURRA · folha de estilos
   Organização inspirada nos sites oficiais DFM (Portugal).
   Cores do manual de identidade visual DFM:
   Vermelho DFM #E60020 (Pantone 185C) · Azul-marinho #051C2C (Pantone 296C)
   Cinza 80% #4D4948 · Preto · Branco
   ========================================================================= */
:root {
  --red: #e60020;
  --red-d: #c2001b;
  --navy: #051c2c;
  --navy-2: #0b2a40;
  --navy-3: #16395a;
  --gray: #4d4948;
  --ink: #051c2c;
  --txt: #22262a;
  --mute: #60656b;
  --line: #e1e4e8;
  --soft: #f3f4f6;
  --soft2: #e9ecef;
  --wa: #25d366;
  --hh: 72px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 16px/1.6 Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--txt); background: #fff; overflow-x: hidden; }
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 4px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3, .h2 { font-weight: 700; text-transform: uppercase; line-height: 1.16; color: var(--ink); letter-spacing: .01em; }
h2, .h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.45rem); }
p { text-wrap: pretty; }
.center { text-align: center; }
.lead { font-size: 1.05rem; color: #353b41; max-width: 820px; margin: 1.2rem auto 0; }
.lead b { color: var(--ink); }
.muted { color: var(--mute); }
.note { font-size: .76rem; color: var(--mute); margin-top: 1.6rem; line-height: 1.55; }
section { padding: 96px 0; position: relative; }
[id] { scroll-margin-top: 120px; }
.bg-soft { background: var(--soft); }
.eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--red); margin-bottom: .9rem; }

/* ---------- botões ---------- */
.btn { --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 13px 32px; border-radius: var(--r); border: 1px solid var(--b); background: var(--b); color: #fff; font-weight: 600; font-size: .84rem; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: background .25s, border-color .25s, color .25s, box-shadow .25s; text-align: center; }
.btn:hover { --b: var(--navy-3); }
.btn-red { --b: var(--red); }
.btn-red:hover { --b: var(--red-d); box-shadow: 0 10px 24px -12px rgba(230, 0, 32, .8); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-light { --b: #fff; color: var(--navy); }
.btn-light:hover { --b: #e8eef3; }
.btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .85); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-wa { --b: var(--wa); }
.btn-wa:hover { --b: #1eab53; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .74rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* ---------- cabeçalho ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hh); color: #fff; transition: background .3s, transform .35s; }
.hd::before { content: ""; position: absolute; inset: 0 0 -52px; background: linear-gradient(rgba(3, 14, 24, .7), rgba(3, 14, 24, 0)); pointer-events: none; transition: opacity .3s; }
.hd.solid { background: var(--navy); }
.hd.solid::before { opacity: 0; }
.hd.hide { transform: translateY(-100%); }
.hd .wrap { position: relative; height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: #fff; }
.brand .logo-img { height: 30px; width: auto; }
.logo-txt { display: flex; align-items: center; gap: 9px; }
.logo-txt svg { width: 30px; height: 30px; }
.logo-txt b { font-weight: 800; font-style: italic; font-size: 1.45rem; letter-spacing: .06em; line-height: 1; }
.brand small { border-left: 1px solid rgba(255, 255, 255, .45); padding-left: 14px; font-size: .64rem; letter-spacing: .22em; line-height: 1.4; font-weight: 700; text-transform: uppercase; }
.nav { display: flex; gap: 26px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav a { opacity: .88; padding: 8px 0; border-bottom: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current] { opacity: 1; border-color: var(--red); }
.burger { width: 42px; height: 42px; background: none; border: 0; cursor: pointer; display: grid; place-content: center; gap: 6px; margin-right: -8px; }
.burger i { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- menu em tela cheia ---------- */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--navy); color: #fff; display: flex; flex-direction: column; padding: 18px 32px 28px; transform: translateX(100%); transition: transform .5s cubic-bezier(.7, 0, .2, 1); overflow-y: auto; visibility: hidden; }
.menu.open { transform: none; visibility: visible; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.menu-close { background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; width: 44px; height: 44px; }
.menu-body { width: 100%; max-width: 1100px; margin: auto; padding: 30px 0; }
.menu-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 34px; }
.menu-models a { background: var(--navy-2); border-radius: 10px; padding: 16px 20px 18px; transition: background .25s; }
.menu-models a:hover { background: var(--navy-3); }
.menu-models b { display: block; font-size: 1.1rem; letter-spacing: .08em; }
.menu-models span { font-size: .8rem; color: #9fb3c4; }
.menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 34px; }
.menu-links a { font-size: clamp(1.15rem, 2.4vw, 1.7rem); font-weight: 700; text-transform: uppercase; padding: .35rem 0; color: #b8c7d4; transition: color .2s, transform .2s; }
.menu-links a:hover { color: #fff; transform: translateX(6px); }
.menu-foot { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .86rem; color: #9fb3c4; }
.menu-foot a:hover { color: #fff; }

/* ---------- desenhos dos carros ---------- */
.car { position: relative; width: 100%; }
.car svg { width: 100%; height: auto; overflow: visible; }
.car .b { fill: var(--body, #ccc); transition: fill .6s ease; }
.car .r { fill: var(--roof, #17181a); transition: fill .6s ease; }
.car .m { fill: var(--mirror, #17181a); transition: fill .6s ease; }
.car .acc { stroke: var(--accent, #ddd); transition: stroke .6s ease; }
.car .spin { transform-box: fill-box; transform-origin: center; }
.car.arrive { animation: carIn 1.9s cubic-bezier(.16, .84, .3, 1) both; }
.car.arrive .spin { animation: roll 1.9s cubic-bezier(.16, .84, .3, 1) both; }
.car[data-view="front"].arrive { animation: rise 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.car.lit .led, .car.arrive .led { animation: ledOn 1.5s .25s ease both; }
.car.lit .sweep, .car.arrive .sweep { stroke-dasharray: 50; animation: sweep 1.4s .35s ease both; }
.car .tail { animation: tail 3s ease-in-out infinite; }
.car.crop, .car.crop svg { height: 100%; }
.car .zone { opacity: 0; transition: opacity .5s ease; }
.car[data-mode="360"] .z360, .car[data-mode="adas"] .zadas, .car[data-mode="prot"] .zprot, .car[data-mode="roof"] .zroof { opacity: 1; }
.car .pulse1 { animation: pulse 1.8s ease-out infinite; }
.car .pulse2 { animation: pulse 1.8s .5s ease-out infinite; }
.car .tw { animation: twinkle 3s ease-in-out infinite; }
@keyframes carIn { from { transform: translateX(34%); opacity: 0; } 25% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes roll { from { transform: rotate(900deg); } to { transform: rotate(0); } }
@keyframes rise { from { transform: translateY(40px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ledOn { 0% { opacity: .08; } 30% { opacity: 1; } 45% { opacity: .35; } 100% { opacity: 1; } }
@keyframes sweep { from { stroke-dashoffset: 50; } to { stroke-dashoffset: 0; } }
@keyframes tail { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes pulse { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .2; } }
@keyframes ping { from { r: 6; opacity: 1; } to { r: 22; opacity: 0; } }

/* espaços para fotos oficiais (aparecem quando usarFotos = true) */
[data-photo] { position: relative; }
[data-photo] > .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; animation: fade .6s ease both; }
.has-photo > .car, .has-photo > .scene, .has-photo > .fallback, .has-photo > .stage, .has-photo > .bgwrap { visibility: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes fade { from { opacity: 0; } }

/* ---------- topo (carrossel) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1020px; overflow: hidden; background: var(--navy); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.on { opacity: 1; visibility: visible; }
.slide .bgwrap { position: absolute; inset: 0; transform: scale(1.06); transition: transform 8s linear; }
.slide.on .bgwrap { transform: scale(1); }
.scene { position: absolute; inset: 0; }
.scene svg { width: 100%; height: 100%; }
.shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(5, 28, 44, .7) 0%, rgba(5, 28, 44, .3) 40%, rgba(5, 28, 44, 0) 66%); }
.slide.light .shade { background: linear-gradient(90deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 55%); }
.copy { position: absolute; inset: 0 0 auto; z-index: 3; padding-top: calc(var(--hh) + 9vh); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; }
.kicker::before { content: ""; width: 30px; height: 3px; background: var(--red); }
.word { font-style: italic; font-weight: 800; font-size: clamp(4rem, 12vw, 9.2rem); line-height: .88; letter-spacing: -.025em; margin: .45rem 0 .55rem; text-transform: uppercase; }
.word.sm { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.01em; }
.word em { font-style: italic; color: var(--red); }
.sub { font-size: 1.02rem; margin-bottom: 1.8rem; max-width: 500px; opacity: .95; }
.slide.light { color: var(--navy); }
.slide.light .btn-ghost { color: var(--navy); border-color: var(--navy); background: rgba(255, 255, 255, .5); }
.slide.light .btn-ghost:hover { background: var(--navy); color: #fff; }
.stage { position: absolute; z-index: 2; right: max(8px, calc((100vw - 1320px) / 2)); bottom: 4vh; width: min(58vw, 960px); }
.stage.duo { height: min(46vh, 480px); width: min(62vw, 1020px); }
.stage.duo .car { position: absolute; }
.stage.duo .car.back { width: 58%; left: 0; bottom: 30%; }
.stage.duo .car.front { width: 76%; right: 0; bottom: 0; }
.word, .hero h1 { color: inherit; }
.arrow { position: absolute; bottom: 18px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(5, 28, 44, .35); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .2s; }
.arrow:hover { background: rgba(5, 28, 44, .6); }
.arrow.prev { left: max(20px, calc((100vw - 1200px) / 2 + 32px)); }
.arrow.next { left: max(76px, calc((100vw - 1200px) / 2 + 88px)); }
.dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.dots button { width: 10px; height: 6px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(5, 28, 44, .18); cursor: pointer; transition: width .3s, background .3s; }
.dots button.on { width: 42px; background: var(--red); }
.hero .note-img { position: absolute; right: 16px; bottom: 10px; z-index: 5; font-size: .66rem; opacity: .7; }

/* ---------- grafismo DFM (curvas) ---------- */
.swoosh { display: block; width: 100%; height: 64px; }
.swoosh.flip { transform: scaleX(-1); }

/* ---------- apresentação + mosaico ---------- */
.mosaic { display: grid; grid-template-columns: 1.15fr .55fr .55fr; grid-template-rows: 250px 250px; gap: 16px; margin-top: 56px; text-align: left; }
.tile { position: relative; overflow: hidden; border-radius: 10px; background: var(--soft2); }
.tile:first-child { grid-row: span 2; }
.tile:nth-child(4) { grid-column: span 2; }
.tile .cap { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; color: #fff; background: rgba(5, 28, 44, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 7px 11px; border-radius: 4px; }
.tile.light .cap { color: var(--navy); background: rgba(255, 255, 255, .88); }
.tile .car[data-view="front"] { position: absolute; inset: auto; width: 66%; left: 17%; bottom: 14%; }
.tile .car { position: absolute; inset: 0; }
.tile-navy { background: radial-gradient(120% 90% at 20% 10%, #16395a, var(--navy)); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.tile-navy .big { font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 800; line-height: .8; letter-spacing: -.04em; }
.tile-navy .big small { font-size: .3em; letter-spacing: .02em; margin-left: .15em; }
.tile-navy p { margin-top: 14px; max-width: 320px; color: #c5d3df; font-size: .95rem; }
.tile-navy p b { color: #fff; }
.tile-navy::after { content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 260px; border-radius: 50%; border: 18px solid rgba(230, 0, 32, .8); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(20deg); }
.tile-dark { background: radial-gradient(90% 90% at 30% 40%, #1b2f45, #050a12); }
.tile-light { background: radial-gradient(90% 90% at 50% 40%, #fff, #d6dce2); }
.tile-duo { background: linear-gradient(180deg, #f7f8fa, #dfe4e9); display: flex; align-items: flex-end; gap: 4%; padding: 0 5% 16%; }
.tile-duo .car { position: relative; inset: auto; width: 48%; }

/* ---------- linhas de modelos ---------- */
.mrow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 96px; }
.mrow.rev .pic { order: 2; }
.mrow .pic { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: radial-gradient(90% 80% at 50% 45%, #fff, #e4e8ec); }
.mrow .pic .car { position: absolute; left: 4%; right: 4%; bottom: 10%; width: auto; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mrow .pic:hover .car { transform: translateX(-10px); }
.mrow .pic .tag { position: absolute; left: 18px; top: 16px; z-index: 2; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--navy); color: #fff; padding: 6px 10px; border-radius: 4px; }
.mrow h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.mrow p { font-size: 1.02rem; color: #353b41; margin-bottom: 1.6rem; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2rem; list-style: none; }
.chips li { padding: 14px 10px 14px 0; }
.chips b { display: block; font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.chips span { font-size: .66rem; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; display: block; }

/* ---------- faixa de números ---------- */
.stats { background: #ebedef; padding: 68px 0; overflow: hidden; }
.stats .map { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.stats .map .ping { animation: ping 2.2s ease-out infinite; }
.stats .wrap { position: relative; display: flex; justify-content: center; gap: clamp(32px, 8vw, 110px); flex-wrap: wrap; text-align: center; }
.stat .n { font-size: clamp(2.8rem, 6vw, 4.3rem); font-weight: 800; line-height: 1; color: var(--ink); }
.stat .n small { font-size: .36em; font-weight: 700; margin-left: .2em; }
.stat .l { font-weight: 700; text-transform: uppercase; font-size: clamp(.9rem, 1.6vw, 1.2rem); color: var(--ink); }

/* ---------- campanhas ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.offer:hover { box-shadow: 0 18px 40px -18px rgba(5, 28, 44, .35); transform: translateY(-4px); }
.offer .pic { position: relative; height: 180px; overflow: hidden; display: grid; place-items: end center; padding: 0 8% 6%; }
.offer .pic.navy { background: radial-gradient(90% 90% at 50% 30%, #1d4163, var(--navy)); }
.offer .pic.light { background: radial-gradient(90% 90% at 50% 40%, #fff, #dde3e8); }
.offer .pic.red { background: linear-gradient(135deg, #ff2a44, var(--red) 55%, #9d0016); color: #fff; place-items: center; }
.offer .pic.red b { font-size: 4.6rem; font-weight: 800; font-style: italic; letter-spacing: -.03em; line-height: 1; }
.offer .pic .car { width: 82%; }
.offer .pic .car[data-view="front"] { width: 44%; }
.offer .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.offer .tag { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.offer h3 { font-size: 1.08rem; }
.offer p { color: #454b51; font-size: .94rem; flex: 1; }
.offer .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- comparativo ---------- */
.table-scroll { overflow-x: auto; margin-top: 44px; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: center; font-size: .95rem; }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--mute); width: 30%; }
.compare td { font-weight: 600; color: var(--ink); }
.compare thead th { vertical-align: bottom; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--navy); padding-bottom: 18px; }
.compare thead .car { max-width: 300px; margin: 0 auto 10px; }
.compare tfoot td { border-bottom: 0; padding-top: 26px; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--soft); }

/* ---------- abas genéricas ---------- */
.tabbar { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 34px; margin: 34px 0 36px; border-bottom: 1px solid var(--line); }
.tabbar button { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 12px 2px; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #7b8187; cursor: pointer; transition: color .2s, border-color .2s; }
.tabbar button:hover { color: var(--ink); }
.tabbar button.on { color: var(--ink); border-color: var(--red); }
[data-panel] { display: none; }
[data-panel].on { display: grid; animation: up .5s ease both; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }

/* ---------- simuladores ---------- */
.tool { grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border-radius: 10px; padding: 34px; border: 1px solid var(--line); }
.field { margin-bottom: 1.4rem; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--mute); margin-bottom: .5rem; }
.field label b { color: var(--ink); white-space: nowrap; }
input[type="range"] { width: 100%; accent-color: var(--red); height: 24px; }
.out { background: var(--navy); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.out::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; border: 16px solid rgba(230, 0, 32, .75); border-right-color: transparent; border-top-color: transparent; }
.out .k { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: #9fb3c4; font-weight: 700; }
.out .v { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; margin: .2rem 0 1rem; line-height: 1.1; }
.out .ln { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .13); padding: .75rem 0; font-size: .92rem; position: relative; z-index: 1; }
.out .note { color: #8ea4b6; position: relative; z-index: 1; }
.out .btn { position: relative; z-index: 1; align-self: flex-start; margin-top: 1rem; }

/* ---------- blocos divididos (garantia, loja) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split .t { padding: 56px 56px 56px 0; display: flex; flex-direction: column; justify-content: center; }
.split.rev .t { padding: 56px 0 56px 56px; }
.split h2 { margin-bottom: 1.1rem; }
.split p { color: #3c4248; margin-bottom: 1.8rem; max-width: 460px; }
.split .btn-row { margin-top: 4px; }
.warranty { background: linear-gradient(155deg, var(--navy) 0%, #0f3553 55%, #1d4d74 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 26px; min-height: 360px; border-radius: 10px; position: relative; overflow: hidden; }
.warranty::before { content: ""; position: absolute; inset: auto -20% -30% 10%; height: 70%; background: radial-gradient(closest-side, rgba(230, 0, 32, .35), transparent); }
.warranty .w { display: flex; align-items: center; gap: 20px; position: relative; }
.warranty .big { font-size: clamp(4.2rem, 9vw, 6.4rem); font-weight: 800; line-height: .82; min-width: 1.25em; text-align: right; letter-spacing: -.04em; }
.warranty .w b { display: block; font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; line-height: 1; }
.warranty .w em { display: block; font-style: normal; font-weight: 700; font-size: .95rem; color: #ffd0d6; margin-top: 4px; }
.warranty .w span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #a9bccb; margin-top: 4px; }

/* ---------- pós-venda ---------- */
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 48px 0 40px; text-align: left; }
.svc .card { padding: 28px; transition: border-color .3s, transform .3s; }
.svc .card:hover { border-color: var(--red); transform: translateY(-4px); }
.svc svg { width: 44px; height: 44px; margin-bottom: 18px; color: var(--red); }
.svc h3 { font-size: .98rem; margin-bottom: 8px; }
.svc p { font-size: .92rem; color: #4a5057; }

/* ---------- concessionária ---------- */
.map-box { border-radius: 10px; overflow: hidden; min-height: 420px; background: var(--soft2); position: relative; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2); }
.info { list-style: none; margin: 0 0 1.8rem; border-top: 1px solid var(--line); }
.info li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info b { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }

/* ---------- perguntas frequentes ---------- */
.faq { max-width: 920px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: .8; color: var(--red); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #454b51; margin-top: 12px; }

/* ---------- rodapé ---------- */
.ft { position: relative; margin-top: -63px; color: #c2d0dc; }
.ft .swoosh { margin-bottom: -2px; }
.ft-in { padding: 56px 0 34px; background: var(--navy); }
.ft-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft .brand { margin: 0; }
.azz { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; line-height: 1.1; font-size: .92rem; letter-spacing: .04em; }
.azz i { width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 1.1rem; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 34px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft-cols h4 { color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.ft-cols a, .ft-cols p { display: block; font-size: .9rem; margin-bottom: 8px; }
.ft-cols a:hover { color: #fff; }
.ft-bot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 26px; }
.soc { display: flex; gap: 12px; }
.soc a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.soc a:hover { background: #fff; color: var(--navy); }
.soc svg { width: 16px; height: 16px; }
.legal { font-size: .74rem; color: #8ea4b6; max-width: 760px; line-height: 1.6; }
.legal a { text-decoration: underline; }

/* ---------- WhatsApp, barra móvel, cookies ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.mbar { display: none; }
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 85; max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 16px 48px rgba(5, 28, 44, .28); padding: 22px 26px; display: none; grid-template-columns: 1fr auto; gap: 16px 26px; align-items: center; }
.cookies.show { display: grid; animation: up .4s ease both; }
.cookies b { color: var(--ink); text-transform: uppercase; font-size: .86rem; letter-spacing: .06em; }
.cookies p { font-size: .84rem; color: #4a5057; margin-top: 4px; }
.cookies a { text-decoration: underline; }

/* ---------- janela de contato (modal) e formulários ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(3, 12, 20, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal.open { display: flex; }
.modal-card { background: #fff; border-radius: 12px; width: min(640px, 100%); max-height: calc(100vh - 40px); max-height: calc(100svh - 40px); overflow: auto; padding: 36px; position: relative; animation: pop .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-card > p { color: var(--mute); font-size: .92rem; margin-bottom: 22px; }
.x { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--mute); }
.x:hover { color: var(--ink); }
.modal:not([data-type="testdrive"]):not([data-type="revisao"]) .when { display: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; border: 1px solid #c4c9ce; border-radius: var(--r); padding: 14px; font-size: .95rem; background: #fff; color: var(--txt); transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 104px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5, 28, 44, .12); }
.form input:user-invalid, .form select:user-invalid { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: #50565c; line-height: 1.45; }
.check input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--red); }
.check a { text-decoration: underline; }
.form .btn { width: 100%; }
.form-ok { display: none; text-align: center; padding: 26px 8px 8px; }
.form-ok .ok { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 700; }
.form-ok h3 { margin-bottom: 8px; }
.form-ok p { color: var(--mute); }
.form-ok a { text-decoration: underline; color: var(--ink); font-weight: 600; }
.sent .form, .sent > .muted, .sent > p { display: none; }
.sent .form-ok { display: block; }

/* =========================================================================
   PÁGINAS DE MODELO
   ========================================================================= */
.mhero { position: relative; height: 88vh; height: 88svh; min-height: 580px; max-height: 920px; overflow: hidden; }
.mhero .scene { position: absolute; inset: 0; }
.mhero h1 { position: relative; z-index: 3; padding-top: calc(var(--hh) + 5vh); text-align: center; font-size: clamp(1.5rem, 3.4vw, 2.5rem); color: var(--ink); }
.mhero h1 span { display: block; font-size: .42em; letter-spacing: .3em; color: var(--red); margin-bottom: .8em; }
.mhero .stage { left: 50%; right: auto; transform: translateX(-50%); bottom: 2vh; width: min(94vw, 1080px, calc((max(88svh, 580px) - 220px) * 1.8)); }
.mhero .price { position: absolute; z-index: 3; left: max(20px, calc((100vw - 1200px) / 2 + 32px)); bottom: 6vh; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 8px; padding: 12px 16px; box-shadow: 0 8px 30px -12px rgba(5, 28, 44, .35); }
.mhero .price small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.mhero .price b { font-size: 1.15rem; color: var(--ink); }
.mhero .hero-cta { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1200px) / 2 + 32px)); bottom: 6vh; }

.subnav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: top .35s; }
body.hd-on .subnav { top: var(--hh); }
.subnav .wrap { display: flex; justify-content: center; gap: 34px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 18px 0 16px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5b6167; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--ink); border-color: var(--red); }
.subnav .cta { margin-left: auto; align-self: center; }
.subnav a.cta, .subnav a.cta:hover { color: #fff; padding: 8px 18px; border: 1px solid var(--b); letter-spacing: .07em; }

.kpis { background: #ebedef; }
.kpis .wrap { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-top: 44px; padding-bottom: 44px; }
.kpis small { display: block; font-size: .8rem; font-weight: 700; color: #3c4248; text-transform: uppercase; letter-spacing: .05em; min-height: 2.6em; }
.kpis b { display: block; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--ink); margin-top: .2rem; }
.kpis > .wrap > div + div { border-left: 1px solid #d3d7db; }

.kpi3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px auto 0; max-width: 980px; }
.kpi3 div { text-align: center; padding: 26px 12px; border-top: 3px solid var(--red); background: #fff; border-radius: 0 0 8px 8px; }
.kpi3 small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.kpi3 b { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--ink); line-height: 1.15; }
.kpi3 span { font-size: .85rem; color: var(--mute); }

.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.feat.rev .vis { order: 2; }
.feat h3 { margin-bottom: 14px; }
.feat p { color: #3c4248; margin-bottom: 14px; }
.vis { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: radial-gradient(90% 90% at 50% 40%, #fff, #dde3e8); }
.vis.dark { background: radial-gradient(90% 90% at 40% 30%, #1d3550, #040912); }
.vis.navy { background: radial-gradient(90% 90% at 40% 30%, #16395a, var(--navy)); }
.vis > .car { position: absolute; }
.vis > .car[data-view="front"] { width: 64%; left: 18%; bottom: 6%; }
.vis > .car[data-view="side"], .vis > .car:not([data-view]) { width: 92%; left: 4%; bottom: 12%; }
.vis > .car[data-view="top"] { width: 34%; left: 33%; top: 4%; }
.vis > .car.crop { inset: 0; width: 100%; }
.vis .fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; }

.ticks { list-style: none; margin: 18px 0 0; }
.ticks li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }

.tabwrap [data-panel] { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.tabwrap [data-panel] h3 { margin-bottom: 12px; }
.tabwrap [data-panel] p { color: #3c4248; }

/* barra de recarga animada */
.charge { margin-top: 26px; }
.charge-bar { position: relative; height: 22px; border-radius: 11px; background: #dfe3e7; overflow: hidden; }
.charge-bar i { position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: 11px; background: linear-gradient(90deg, #1fb46a, #37d38b); }
.in .charge-bar i { animation: charge 2.6s .3s cubic-bezier(.4, 0, .2, 1) forwards; }
.charge-bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 9.6%, rgba(255, 255, 255, .7) 9.6% 10%); }
@keyframes charge { to { width: 80%; } }
.charge-legend { display: flex; justify-content: space-between; margin-top: 8px; font-size: .82rem; color: var(--mute); font-weight: 600; }
.charge-legend b { color: var(--ink); }

/* porta-malas em barras */
.bars { display: grid; gap: 16px; margin-top: 8px; }
.bars div { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: .9rem; }
.bars i { grid-column: 1 / -1; height: 14px; border-radius: 7px; background: var(--soft2); overflow: hidden; position: relative; }
.bars i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--navy); border-radius: 7px; transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.bars i.red::before { background: var(--red); }
.in .bars i::before, [data-panel].on .bars i::before { width: var(--w); }

/* iluminação ambiente */
.ambient { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(90% 80% at 50% 40%, #13263b, #03070d); }
.ambient .strip { width: 72%; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #ff2d55, #ff9f0a, #30d158, #0a84ff, #bf5af2, #ff2d55); background-size: 300% 100%; animation: hue 6s linear infinite; box-shadow: 0 0 30px 6px rgba(120, 140, 255, .35); }
.ambient .strip.b { width: 52%; margin-top: 90px; animation-duration: 8s; opacity: .8; }
.ambient .eq { position: absolute; bottom: 22%; display: flex; gap: 6px; align-items: flex-end; height: 60px; }
.ambient .eq i { width: 8px; background: rgba(255, 255, 255, .8); border-radius: 3px; animation: eq 1s ease-in-out infinite alternate; }
@keyframes hue { to { background-position: 300% 0; } }
@keyframes eq { from { height: 12%; } to { height: 100%; } }

/* tela multimídia (ilustração em HTML) */
.screen { position: absolute; inset: 9% 7%; border-radius: 16px; background: #0b1622; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 6px #1a2633; color: #e8eef4; padding: 14px 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; font-size: .74rem; }
.scr-top { display: flex; justify-content: space-between; color: #9fb3c4; font-weight: 600; }
.scr-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; min-height: 0; }
.scr-map { border-radius: 10px; position: relative; overflow: hidden; background: #122235; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 22px 22px; }
.scr-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scr-side { display: grid; gap: 10px; }
.scr-card { background: #14273a; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.scr-card small { color: #8ea4b6; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.scr-card b { font-size: 1.05rem; }
.scr-card .bar { height: 6px; background: #22384d; border-radius: 3px; overflow: hidden; }
.scr-card .bar i { display: block; height: 100%; width: 78%; background: linear-gradient(90deg, #1fb46a, #37d38b); }
.scr-dock { display: flex; justify-content: space-around; background: #14273a; border-radius: 10px; padding: 8px; }
.scr-dock span { width: 26px; height: 26px; border-radius: 8px; background: #22384d; display: grid; place-items: center; font-size: .8rem; }
.scr-dock span.on { background: var(--red); }

/* seletor de cores */
.config { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; margin-top: 44px; }
.config .stagebox { position: relative; border-radius: 12px; background: radial-gradient(90% 80% at 50% 38%, #fff, #dfe4e9); padding: 8% 4% 2%; }
.swatches { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 14px; }
.swatches button { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); transition: transform .2s; }
.swatches button:hover { transform: scale(1.08); }
.swatches button.on::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--ink); border-radius: 50%; }
.cfg-name { font-weight: 800; text-transform: uppercase; font-size: 1.05rem; color: var(--ink); letter-spacing: .03em; }

/* versão e ficha técnica */
.version { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 44px; }
.version .vl { background: radial-gradient(90% 90% at 40% 30%, #16395a, var(--navy)); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.version .vl h3 { color: #fff; font-size: 1.7rem; }
.version .vl .price small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb3c4; font-weight: 700; }
.version .vl .price b { font-size: 1.6rem; }
.version .vr { padding: 36px 40px; }
.version .vr h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 48px; margin-top: 44px; }
.spec { margin-bottom: 26px; }
.spec h3 { font-size: .92rem; letter-spacing: .1em; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.spec table { width: 100%; border-collapse: collapse; }
.spec th, .spec td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .9rem; vertical-align: top; }
.spec th { font-weight: 500; color: var(--mute); width: 52%; padding-right: 14px; }
.spec td { font-weight: 600; color: var(--ink); }
.eq { margin-top: 12px; }
.eq details { border-bottom: 1px solid var(--line); }
.eq details:first-child { border-top: 1px solid var(--line); }
.eq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .06em; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.eq summary::-webkit-details-marker { display: none; }
.eq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: .8; transition: transform .3s; }
.eq details[open] summary::after { transform: rotate(45deg); }
.eq ul { list-style: none; columns: 2; column-gap: 40px; padding: 0 0 20px; }
.eq li { break-inside: avoid; padding: 6px 0 6px 20px; position: relative; font-size: .9rem; color: #3c4248; }
.eq li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--soft); border-radius: 12px; padding: 40px 48px; }
.teaser .car { max-width: 540px; }
.teaser h3 { font-size: 1.6rem; margin-bottom: 10px; }
.teaser p { color: #3c4248; margin-bottom: 20px; }

.lead-inline { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.lead-inline .card { padding: 34px; }

/* ---------- animações de entrada ---------- */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 1060px) {
  .nav, .hd .btn { display: none; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  .mrow, .mrow.rev, .feat, .feat.rev, .split, .split.rev, .config, .version, .teaser, .lead-inline { grid-template-columns: 1fr; gap: 28px; }
  .mrow { margin-top: 64px; }
  .mrow.rev .pic, .feat.rev .vis { order: 0; }
  .split .t, .split.rev .t { padding: 36px 0; }
  .split.rev .map-box { order: 2; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 180px 180px; }
  .mosaic .tile:first-child { grid-row: auto; grid-column: span 2; }
  .offers { grid-template-columns: 1fr; }
  .tool, .tabwrap [data-panel] { grid-template-columns: 1fr; gap: 24px; }
  .spec-grid { grid-template-columns: 1fr; gap: 0; }
  .eq ul { columns: 1; }
  .kpi3 { grid-template-columns: 1fr; gap: 12px; }
  .teaser { padding: 28px 22px; }
  .version .vl, .version .vr { padding: 28px 24px; }
  .subnav .wrap { justify-content: flex-start; gap: 24px; }
  .subnav .cta { display: none; }
}

@media (max-width: 760px) {
  :root { --hh: 64px; }
  .brand small { display: none; }
  .hero { min-height: 660px; }
  .copy { padding-top: calc(var(--hh) + 4vh); }
  .word { font-size: clamp(3.4rem, 18vw, 5.2rem); }
  .word.sm { font-size: clamp(2rem, 10vw, 2.8rem); }
  .sub { font-size: .95rem; margin-bottom: 1.3rem; }
  .shade { background: linear-gradient(180deg, rgba(5, 28, 44, .78), rgba(5, 28, 44, .25) 55%, rgba(5, 28, 44, 0)); }
  .slide.light .shade { background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 60%); }
  .stage { width: 118vw; right: -9vw; bottom: 9vh; }
  .stage.duo { width: 128vw; right: -14vw; height: 40vh; bottom: 8vh; }
  .arrow { display: none; }
  .btn { padding: 12px 22px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { grid-template-columns: 1fr; }
  .info li { grid-template-columns: 1fr; gap: 2px; }
  .kpis .wrap { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; padding-bottom: 30px; }
  .kpis small { min-height: 0; }
  .kpis > .wrap > div + div { border-left: 0; border-top: 1px solid #d3d7db; padding-top: 16px; }
  .mhero { min-height: 560px; }
  .mhero .stage { width: 130vw; bottom: 14vh; }
  .mhero .price { left: 20px; bottom: 3vh; }
  .mhero .hero-cta { right: 20px; bottom: 3vh; }
  .form { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-card { border-radius: 16px 16px 0 0; padding: 30px 22px; max-height: 92vh; max-height: 92svh; }
  .cookies { grid-template-columns: 1fr; bottom: 76px; }
  .ft-cols { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(5, 28, 44, .08); }
  .mbar .btn { min-height: 46px; padding: 10px; font-size: .74rem; }
  body { padding-bottom: 64px; }
  .table-scroll { margin-left: -20px; margin-right: -20px; padding: 0 20px; }
}

/* ---------- componentes extras das páginas de modelo ---------- */
.has-photo > .screen { visibility: hidden; }
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.safety [data-panel] { grid-template-columns: 1fr; }
.safety .vis { aspect-ratio: 4 / 3; width: 100%; }
.safety .vis > .car[data-view="top"] { width: 44%; left: 28%; top: 3%; }
.vis .fallback svg { width: 86%; height: auto; }
.batt .lvl { transform-box: fill-box; transform-origin: left center; transform: scaleX(.3); }
.in .batt .lvl, .batt.go .lvl { animation: lvl 2.6s .3s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes lvl { to { transform: scaleX(.8); } }
.batt-label { position: absolute; left: 0; right: 0; bottom: 10%; text-align: center; color: #fff; }
.batt-label b { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.batt-label span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb3c4; font-weight: 700; }
.badge-v2l { position: absolute; z-index: 2; right: 7%; top: 12%; display: flex; gap: 10px; }
.badge-v2l span { width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px -10px rgba(5, 28, 44, .45); display: grid; place-items: center; color: var(--navy); animation: float 3s ease-in-out infinite; }
.badge-v2l span:nth-child(2) { animation-delay: .4s; }
.badge-v2l span:nth-child(3) { animation-delay: .8s; }
.badge-v2l svg { width: 26px; height: 26px; }
.badge-v2l + .cable { position: absolute; z-index: 1; right: 12%; top: 24%; width: 26%; height: 34%; border: 2px dashed var(--red); border-left: 0; border-bottom: 0; border-radius: 0 40px 0 0; opacity: .7; }
@keyframes float { 50% { transform: translateY(-8px); } }
.gate { width: 92%; }
.seat-note { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; color: #fff; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.seat-note b { display: block; font-size: 2.2rem; letter-spacing: 0; }
@media (max-width: 900px) { .safety { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- fotos oficiais ---------- */
.slide > .photo { transform: scale(1.06); transition: transform 8s linear; }
.slide.on > .photo { transform: scale(1); }
.slide.shift > .photo { width: 128%; max-width: none; left: 0; right: auto; }
.slide.light .btn-light { --b: var(--navy); color: #fff; }
.mhero > .photo { object-position: 50% 62%; }
.brand .logo-img { height: 30px; width: auto; }
.version .wordmark { height: 30px; width: auto; margin-bottom: 18px; }
html:not(.fotos) [data-needs-photos] { display: none; }

/* ---------- galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; margin-top: 44px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--soft2); }
.gallery a.big { grid-column: span 2; grid-row: span 2; }
.gallery a.w2 { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a span { position: absolute; left: 12px; bottom: 12px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: rgba(255, 255, 255, .88); padding: 5px 9px; border-radius: 4px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery a:hover span, .gallery a:focus-visible span { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(3, 10, 17, .95); display: none; align-items: center; justify-content: center; padding: 40px 80px; }
.lightbox.open { display: flex; animation: fade .3s ease both; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #c5d3df; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.lb-x, .lb-prev, .lb-next { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .26); }
.lb-x { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -25px; }
.lb-next { right: 18px; top: 50%; margin-top: -25px; }
@media (max-width: 760px) {
  .slide.shift > .photo { width: 100%; object-position: 58% 75%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 8px; }
  .gallery a span { opacity: 1; transform: none; }
  .lightbox { padding: 70px 10px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; margin: 0; }
}

/* modo de conferência (?qa) */
.qa *, .qa *::before, .qa *::after { transition: none !important; animation-delay: 0s !important; }
.qa .rv { opacity: 1 !important; transform: none !important; }
.mhero-box > .photo { object-position: 50% 22%; }
.mhero.has-photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 42%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .45) 55%, rgba(255, 255, 255, 0)); }
.slide.fit.has-photo > .bgwrap { visibility: visible; }
.slide.fit > .photo { inset: auto max(0px, calc((100vw - 1320px) / 2)) 3vh auto; width: min(62vw, 1000px); height: auto; aspect-ratio: 4 / 3; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
@media (max-width: 760px) { .slide.fit > .photo { width: 112vw; right: -6vw; bottom: 6vh; } }
@media (max-width: 760px) { .mhero .hero-cta { display: none; } .mhero .price { bottom: 4vh; } }
@media (max-width: 760px) { .slide.kv > .photo { object-position: 36% 50%; } }

/* ---------- fotos oficiais no lugar dos desenhos ---------- */
img.photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 1; }
.menu-models img { width: 100%; aspect-ratio: 2.27 / 1; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.cmp-img { display: block; width: 100%; max-width: 320px; margin: 0 auto 12px; aspect-ratio: 2.27 / 1; object-fit: cover; border-radius: 8px; }
.offer .pic { padding: 0; }
.profile { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.profile img { display: block; width: 100%; aspect-ratio: 2.27 / 1; object-fit: cover; }
.dimsbar { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.dimsbar li { padding: 14px 8px; text-align: center; }
.dimsbar li + li { border-left: 1px solid var(--line); }
.dimsbar b { display: block; font-size: 1.02rem; color: var(--ink); }
.dimsbar span { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.safety-pics .photo { opacity: 0; transition: opacity .5s ease; }
.safety-pics[data-mode="360"] [data-show="360"], .safety-pics[data-mode="adas"] [data-show="adas"], .safety-pics[data-mode="prot"] [data-show="prot"] { opacity: 1; }
.stagebox.photo-box { padding: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.photo-note { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: rgba(255, 255, 255, .88); padding: 5px 9px; border-radius: 4px; }
.teaser-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
@media (max-width: 560px) {
  .dimsbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dimsbar li:nth-child(3) { border-left: 0; }
  .dimsbar li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- comparativo com concorrentes ---------- */
.cmp-picker { display: flex; align-items: flex-end; justify-content: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 36px; }
.cmp-group { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cmp-lbl { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--mute); }
.cmp-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cmp-opts button { font: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cmp-opts button:hover { border-color: var(--navy); }
.cmp-opts button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cmp-group.is-dfm .cmp-opts button[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.cmp-vs { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .06em; }
.cmp-hint { margin-top: 14px; font-size: .74rem; color: var(--mute); text-align: center; }
.cmp-picker ~ .table-scroll { margin-top: 28px; }
.cmp-hint:not([hidden]) + .table-scroll { margin-top: 10px; }
.compare-5 { min-width: 0; max-width: 920px; margin: 0 auto; table-layout: fixed; }
.compare-5 thead th:first-child { width: 30%; }
.compare[data-dfm="box"] .c-vigo, .compare[data-dfm="vigo"] .c-box,
.compare[data-rival="mini"] .r-dolphin, .compare[data-rival="mini"] .r-ex2,
.compare[data-rival="dolphin"] .r-mini, .compare[data-rival="dolphin"] .r-ex2,
.compare[data-rival="ex2"] .r-mini, .compare[data-rival="ex2"] .r-dolphin { display: none; }
.compare .dfm { background: rgba(5, 28, 44, .035); }
.compare thead th.dfm { border-bottom-color: var(--red); }
.compare td:not(.dfm) { font-weight: 500; color: #3f454b; }
.compare td small { font-size: .8em; font-weight: 500; color: var(--mute); }
.compare td sup { font-size: .7em; color: var(--red); }
.cmp-brand { display: block; font-size: .64rem; letter-spacing: .2em; color: var(--mute); margin-bottom: 2px; }
.cmp-ver { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: var(--mute); margin-top: 3px; }
.cmp-rival { width: 100%; max-width: 320px; margin: 0 auto 12px; aspect-ratio: 2.27 / 1; border-radius: 8px; background: linear-gradient(135deg, #f1f3f5, #e2e6ea); display: grid; place-content: center; gap: 3px; text-align: center; }
.cmp-rival span { font-size: .58rem; letter-spacing: .2em; color: #8a9097; font-weight: 600; }
.cmp-rival b { font-size: .74rem; letter-spacing: .12em; color: #6b7178; }
.compare .y::before { content: "✓"; color: #16a05a; font-weight: 800; margin-right: 6px; }
.compare .n { color: #9aa0a6; }
.compare .n::before { content: "—"; margin-right: 6px; }
.compare .ni { font-size: .8rem; color: #9aa0a6; }
.compare tr.grp th, .compare tr.grp td { background: var(--soft); padding: 10px 14px; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.compare tr.grp th { text-align: left; }
.compare tfoot td { vertical-align: top; }
.cmp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 40px; }
.cmp-cta p { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .cmp-picker { flex-direction: column; align-items: center; gap: 12px; }
  .compare-5 th, .compare-5 td { padding: 11px 8px; font-size: .84rem; }
  .compare-5 thead th:first-child { width: 34%; }
  .compare tr.grp th { letter-spacing: .08em; }
  .cmp-rival span { display: none; }
  .cmp-rival b { font-size: .62rem; }
}

/* ---------- simulador de economia (sem abas) e campanhas com 2 cartões ---------- */
.tool-solo { display: grid; margin-top: 40px; }
.offers.two { grid-template-columns: repeat(2, minmax(0, 364px)); justify-content: center; }
@media (max-width: 900px) { .offers.two { grid-template-columns: 1fr; } }

/* ---------- página da política de privacidade ---------- */
.doc-hero { background: var(--navy); color: #fff; padding: calc(var(--hh) + 64px) 0 56px; }
.doc-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.doc-hero p { color: #c5d3df; max-width: 720px; }
.doc-hero small { display: block; margin-top: 16px; color: #9fb2c3; font-size: .78rem; letter-spacing: .04em; }
.doc { padding-top: 56px; }
.doc .wrap { max-width: 860px; }
.doc h2 { font-size: 1.12rem; margin: 44px 0 14px; scroll-margin-top: calc(var(--hh) + 20px); }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li, .doc td { color: #3c4248; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc a { color: var(--red); text-decoration: underline; }
.doc-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; }
.doc-table th, .doc-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.doc-table th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--soft); }
@media (max-width: 560px) { .doc-table th, .doc-table td { padding: 10px 6px; font-size: .86rem; } }

/* ---------- logo oficial DFM | Azzurra ---------- */
.brand .logo-img { height: 34px; width: auto; }
.menu-top .brand .logo-img { height: 30px; }
.ft .brand .logo-img { height: 42px; }
@media (max-width: 760px) {
  .brand .logo-img { height: 28px; }
  .ft .brand .logo-img { height: 34px; }
}

/* ---------- campo invisível contra robôs nos formulários ---------- */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- botão flutuante "Solicitar proposta" (no lugar do WhatsApp) ---------- */
.cta-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: inline-flex; align-items: center; padding: 15px 24px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 12px 28px -10px rgba(230, 0, 32, .75); transition: background .2s, transform .2s; }
.cta-float:hover { background: var(--red-d); transform: translateY(-2px); }
@media (max-width: 760px) { .cta-float { display: none; } }
