/* ==========================================================================
   Venda Carros — Panamera & X6
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --card: #16161a;
  --card-2: #1c1c21;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --txt: #f5f3ee;
  --muted: #a3a09a;
  --accent: #c8a76b;
  --accent-2: #e6d2a2;
  --accent-ink: #141210;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

a, button, summary, label { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }

p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, #a9874a);
  color: var(--accent-ink);
  box-shadow: 0 14px 34px -16px rgba(200, 167, 107, .75);
}
.btn-primary:hover { box-shadow: 0 18px 44px -14px rgba(200, 167, 107, .95); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
  color: var(--txt);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }

.btn-lg { padding: 17px 30px; font-size: 1rem; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 14px 0;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  padding: 8px 0;
  background: rgba(8, 8, 10, .82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.04em; font-size: 1.05rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-2), #9c7c43);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
  font-size: .72rem; font-weight: 800; letter-spacing: .01em;
}
.brand small { display: block; font-size: .64rem; font-weight: 600; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--accent-2); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 132px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 720px;
  background:
    radial-gradient(46% 46% at 22% 32%, rgba(200, 167, 107, .17), transparent 68%),
    radial-gradient(40% 40% at 82% 18%, rgba(120, 140, 180, .10), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 55% at 50% 20%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000 15%, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
  color: #e6d2a2;
  border: 1px solid rgba(200, 167, 107, .32);
  background: rgba(200, 167, 107, .09);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  margin: 22px 0 0;
  letter-spacing: -.045em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #fff 10%, #e6d2a2 55%, #c8a76b 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede {
  margin-top: 20px; max-width: 620px; font-size: clamp(1rem, 1.6vw, 1.13rem);
  color: #c9c9d4;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none;
  font-size: .86rem; color: var(--muted);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 15px; height: 15px; color: #6ef2a2; flex: none; }

/* Mini-cards do hero */
.hero-cars {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  margin-top: 46px;
}
.hero-car {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 250px; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  background: var(--card);
  transition: transform .35s var(--ease), border-color .35s;
  isolation: isolate;
}
.hero-car:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.hero-car img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform .7s var(--ease); opacity: .92;
}
.hero-car:hover img { transform: scale(1.05); }
.hero-car::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 11, .04) 22%, rgba(10, 10, 11, .68) 70%, #0a0a0b 100%);
}
.hero-car .hc-name { font-size: 1.05rem; font-weight: 800; letter-spacing: -.03em; }
.hero-car .hc-meta { font-size: .82rem; color: #c3c3ce; margin-top: 2px; }
.hero-car .hc-price { margin-top: 10px; font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; }
.hero-car .hc-price span { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.hero-car .hc-go {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px);
  transition: background .3s, transform .3s;
}
.hero-car:hover .hc-go { background: var(--accent); transform: translate(2px, -2px); }
.hero-car .hc-go svg { width: 16px; height: 16px; }

/* ---------- Secções ---------- */

.section { padding: 76px 0; position: relative; }
section[id] { scroll-margin-top: 92px; }
.section-head { max-width: 680px; }
.section-head h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); }
.section-head h2::before {
  content: ""; display: block; width: 46px; height: 2px; margin-bottom: 18px;
  background: linear-gradient(90deg, var(--accent), rgba(200, 167, 107, 0));
}
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Ficha do carro ---------- */

.car {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 72px 0;
}
.car:first-of-type { border-top: none; }
.car-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent 55%); }

.car-grid {
  display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 34px;
  align-items: start;
}

.car-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); color: #e7e7ee;
}

.car-title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-top: 16px; }
.car-sub { color: var(--muted); margin-top: 8px; font-size: .95rem; }

.price-row {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 20px;
}
.price { font-size: clamp(2.1rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-note { font-size: .8rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  font-size: .78rem; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line); color: #d6d6e0;
}

.specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--line);
}
.spec {
  background: var(--bg-2); padding: 14px 16px;
}
.spec dt {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #8b8b99;
}
.spec dd { margin: 4px 0 0; font-size: .96rem; font-weight: 700; letter-spacing: -.02em; }

.car-text { margin-top: 24px; color: #b9b9c6; font-size: .95rem; }
.car-text p + p { margin-top: 12px; }

.car-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Galeria ---------- */

.gallery { position: sticky; top: 84px; }

.gallery-main {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: var(--card); cursor: zoom-in;
  aspect-ratio: 4 / 3;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none; user-select: none;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .3s;
}
.gallery-main:hover img { transform: scale(1.03); }
.gallery-main .zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px; font-size: .76rem; font-weight: 700;
  background: rgba(8, 8, 10, .68); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); color: #fff;
}
.gallery-main .zoom-hint svg { width: 14px; height: 14px; }

.gallery-count {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  background: rgba(10, 10, 11, .68); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); color: #fff; pointer-events: none;
}

.gallery-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 8px;
  margin-top: 10px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.gallery-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 99px; }

.gallery-thumbs button {
  padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--card); cursor: pointer; aspect-ratio: 4 / 3;
  transition: border-color .25s, transform .25s, opacity .25s;
  opacity: .62;
}
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button.is-active { border-color: var(--accent); opacity: 1; box-shadow: 0 0 0 1px var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: rgba(4, 4, 6, .96);
  backdrop-filter: blur(6px);
  touch-action: pan-y;
}
.lightbox.is-open { display: flex; align-items: center; justify-content: center; }
.lightbox img {
  max-width: min(96vw, 1500px); max-height: 86vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 40px 120px -30px #000;
}
.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; transition: background .25s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-size: .82rem; color: #cfcfd8; letter-spacing: .08em;
}

/* ---------- Financiamento ---------- */

.financing {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px; align-items: center;
  padding: 28px 30px; border-radius: var(--radius);
  border: 1px solid rgba(200, 167, 107, .26);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(200, 167, 107, .13), transparent 62%),
    rgba(255, 255, 255, .022);
}
.fin-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, rgba(230, 210, 162, .22), rgba(200, 167, 107, .08));
  border: 1px solid rgba(200, 167, 107, .34);
  color: #e6d2a2;
}
.fin-icon svg { width: 24px; height: 24px; }
.financing h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.financing p { color: var(--muted); font-size: .92rem; margin-top: 6px; max-width: 62ch; }
.financing ul {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none;
}
.financing li {
  font-size: .78rem; font-weight: 600; color: #d6d6e0;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}

/* ---------- Vantagens ---------- */

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.feature {
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}
.feature .ic {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(200, 167, 107, .11); border: 1px solid rgba(200, 167, 107, .26); color: #e6d2a2;
  margin-bottom: 14px;
}
.feature .ic svg { width: 19px; height: 19px; }
.feature h3 { font-size: 1rem; letter-spacing: -.02em; }
.feature p { color: var(--muted); font-size: .88rem; margin-top: 7px; }

/* ---------- Contacto ---------- */

.contact { border-top: 1px solid var(--line); background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }

.contact-card {
  padding: 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .014));
  box-shadow: var(--shadow);
}

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #9a9aa8; margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong);
  color: var(--txt); font: inherit; font-size: .93rem;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c9caa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; padding-right: 38px; cursor: pointer; }
.field select option {
  background-color: #14141a;
  color: #f5f3ee;
}
.field select option:checked,
.field select option:hover {
  background-color: #2a2a33;
  color: #fff;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: #6f6f7d; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(200, 167, 107, .62);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 3px rgba(200, 167, 107, .14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-status { font-size: .87rem; margin-top: 14px; min-height: 20px; color: var(--muted); }
.form-status.is-ok { color: #6ef2a2; }
.form-status.is-error { color: #e8837a; }

.form-note { font-size: .74rem; color: #77778a; margin-top: 12px; line-height: 1.55; }

.contact-side h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.contact-side h2::before {
  content: ""; display: block; width: 46px; height: 2px; margin-bottom: 18px;
  background: linear-gradient(90deg, var(--accent), rgba(200, 167, 107, 0));
}
.contact-side > p { color: var(--muted); margin-top: 14px; }

.contact-links { display: grid; gap: 10px; margin-top: 26px; }
.contact-link {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .028);
  transition: background .25s, border-color .25s, transform .25s;
}
.contact-link:hover { background: rgba(255, 255, 255, .06); border-color: var(--line-strong); transform: translateX(3px); }
.contact-link .ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: rgba(200, 167, 107, .11); border: 1px solid rgba(200, 167, 107, .26); color: #e6d2a2;
}
.contact-link .ic svg { width: 18px; height: 18px; }
.contact-link b { display: block; font-size: .94rem; letter-spacing: -.01em; }
.contact-link span { font-size: .78rem; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { margin-top: 30px; display: grid; gap: 10px; max-width: 860px; }
details {
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025);
  padding: 16px 18px; transition: background .25s, border-color .25s;
}
details[open] { background: rgba(255, 255, 255, .045); border-color: var(--line-strong); }
summary {
  cursor: pointer; font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-size: 1.15rem; color: var(--muted); transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line); padding: 42px 0 34px; background: var(--bg);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  font-size: .83rem; color: #7c7c8d;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { color: var(--accent-2); }

/* ---------- Barra fixa mobile ---------- */

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 13, .92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; padding: 13px 16px; font-size: .9rem; }

/* ---------- Animações ---------- */

html.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .nav { display: none; }
  .car-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .gallery { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .financing { grid-template-columns: auto minmax(0, 1fr); }
  .financing .btn { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 700px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 100px; padding-bottom: 44px; }
  .hero-cars { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero-car { min-height: 195px; padding: 18px; }
  .hero-car .hc-price { font-size: 1.4rem; }
  .hero-trust { gap: 8px 18px; font-size: .84rem; }
  .section { padding: 52px 0; }
  .car { padding: 48px 0; }
  .eyebrow { font-size: .75rem; padding: 6px 12px; letter-spacing: .13em; }

  /* header: só o ícone do telefone */
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 0; width: 44px; height: 44px; border-radius: 50%; justify-content: center; }
  .brand { font-size: .98rem; }

  .car-title { font-size: 1.72rem; }
  .car-sub { font-size: .9rem; }
  .price { font-size: 2.1rem; }

  /* chips mais compactos */
  .chip { font-size: .74rem; padding: 6px 10px; }
  .chips { gap: 6px; }

  /* ficha técnica: etiquetas legíveis */
  .specs { margin-top: 22px; }
  .spec { padding: 12px 13px; }
  .spec dt { font-size: .72rem; letter-spacing: .1em; }
  .spec dd { font-size: .92rem; margin-top: 3px; }

  /* botões a largura total = alvo de toque grande */
  .car-actions { gap: 8px; }
  .car-actions .btn { width: 100%; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; }

  /* galeria */
  .gallery-main { aspect-ratio: 3 / 2; border-radius: 14px; }
  .gallery-thumbs {
    grid-auto-columns: 76px; gap: 7px; margin-top: 8px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .gallery-thumbs button { scroll-snap-align: start; border-radius: 9px; }
  .gallery-main .zoom-hint { padding: 7px 11px; font-size: .72rem; right: 10px; bottom: 10px; }
  .gallery-count { left: 10px; bottom: 10px; padding: 5px 10px; font-size: .7rem; }

  /* vantagens, financiamento e contactos */
  .financing { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 18px; }
  .fin-icon { width: 44px; height: 44px; border-radius: 13px; }
  .financing .btn { width: 100%; }
  .feature { padding: 20px; }
  .contact-card { padding: 22px 18px; }
  .contact-link { padding: 13px 15px; }

  /* 16px evita o zoom automático do iOS ao focar campos */
  .field input, .field select, .field textarea { font-size: 16px; padding: 14px 15px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .field label { font-size: .72rem; }
  .form-note { font-size: .76rem; }

  /* FAQ: alvo de toque de 44px */
  details { padding: 6px 16px; }
  summary { min-height: 48px; display: flex; padding: 10px 0; font-size: .95rem; }
  details p { font-size: .92rem; margin-top: 2px; padding-bottom: 8px; }

  /* footer */
  .site-footer { padding: 34px 0 30px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { gap: 4px 22px; width: 100%; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

  .mobile-bar { display: flex; }
  .mobile-bar .btn { padding: 14px 16px; }
  body { padding-bottom: 84px; }

  /* lightbox: botões maiores, longe das margens */
  .lb-btn { width: 52px; height: 52px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-btn svg { width: 24px; height: 24px; }
  .lightbox img { border-radius: 8px; max-height: 78vh; }
  /* no telemóvel navega-se a arrastar: as setas só tapavam a foto */
  .lb-prev, .lb-next { display: none; }
}

/* telemóvel pequeno */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero { padding-top: 92px; }
  .hero h1 { font-size: 2.15rem; }
  .hero .lede { font-size: .93rem; margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-trust { margin-top: 22px; }
  .eyebrow { font-size: .69rem; letter-spacing: .1em; padding: 6px 11px; }
  .brand small { letter-spacing: .1em; }
  .chip { font-size: .71rem; }
  .spec { padding: 11px 11px; }
  .spec dt { font-size: .69rem; }
  .gallery-thumbs { grid-auto-columns: 68px; }
  .hero-trust { font-size: .8rem; gap: 7px 14px; }
}

/* ecrãs sem hover (telemóvel/tablet): anular efeitos que "colam" */
@media (hover: none) {
  .hero-car:hover { transform: none; }
  .hero-car:hover img { transform: none; }
  .gallery-main:hover img { transform: none; }
  .contact-link:hover { transform: none; }
  .btn-primary:hover { transform: none; }
  summary { min-height: 44px; padding: 10px 0; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* telemóvel na horizontal */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding-top: 84px; }
  .hero-car { min-height: 160px; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 420px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 2.35rem; }
}
