/* =========================================================
   Opencar · automóveis de exceção
   Tipografia servida localmente (Cormorant Garamond + Jost, licença OFL).
   Para mudar a identidade, altere as variáveis em :root.
   ========================================================= */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --black: #0d0d0c;
  --char: #171615;
  --char-2: #22201e;
  --ivory: #f4f0e8;
  --paper: #faf8f4;
  --ink: #1a1917;
  --ink-2: #4a4641;
  --muted: #8a847a;
  --line: #e1dbd0;
  --line-dark: rgba(244, 240, 232, .14);
  --gold: #b0915f;
  --gold-2: #cdb187;
  --ok: #4f6b55;

  --max: 1320px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-weight: 300; font-size: 16.5px; line-height: 1.7;
  color: var(--ink); background: var(--ivory); letter-spacing: .01em; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0 0 .45em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 400; }
h3 { font-size: 1.65rem; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 500; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--black); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--black); color: var(--ivory); }
.section--paper { background: var(--paper); }
.section--dark .muted { color: #a19a8f; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 44ch; }
.section--dark .lead { color: #c9c2b6; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head p { max-width: 42ch; margin: 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  padding: 1.15em 2.2em; border: 1px solid transparent; border-radius: 0; background: none;
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.section--dark .btn--ghost, .hero .btn--ghost { color: var(--ivory); border-color: rgba(244,240,232,.5); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.section--dark .btn--primary { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.section--dark .btn--primary:hover { background: var(--gold); border-color: var(--gold); }
.btn--block { width: 100%; }
.btn--sm { padding: .95em 1.5em; }
.link { font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.link:hover { color: var(--gold); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(13, 13, 12, .94); backdrop-filter: blur(12px); color: var(--ivory); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 84px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
/* Logótipo: dourado polido com um reflexo de luz que atravessa as letras e um brilho a cintilar */
.logo-word { position: relative; display: inline-block; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; line-height: 1; }
.logo-text {
  display: inline-block;
  background-image:
    linear-gradient(105deg, transparent 38%, rgba(255, 250, 238, .95) 48%, rgba(255, 255, 255, 1) 50%, rgba(255, 250, 238, .95) 52%, transparent 62%),
    linear-gradient(180deg, #f7ead0 0%, #dcc292 32%, #b0915f 58%, #8f7247 78%, #d9bf8e 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 160% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(220, 194, 146, .28));
  animation: logo-sheen 7s var(--ease) 1.2s infinite;
}
.logo:hover .logo-text { animation-duration: 2.4s; }
@keyframes logo-sheen { 0% { background-position: 160% 0, 0 0; } 28%, 100% { background-position: -60% 0, 0 0; } }
.logo-glint {
  position: absolute; top: -.32em; right: .02em; width: .5em; height: .5em; fill: #fff8e6;
  filter: drop-shadow(0 0 4px rgba(255, 240, 205, .95)) drop-shadow(0 0 10px rgba(220, 194, 146, .7));
  transform-origin: center; animation: logo-glint 7s ease-in-out 1.2s infinite; opacity: 0;
}
@keyframes logo-glint { 0%, 18% { opacity: 0; transform: scale(.2) rotate(0deg); } 25% { opacity: 1; transform: scale(1) rotate(45deg); } 34%, 100% { opacity: 0; transform: scale(.3) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .logo-text { animation: none; background-position: -60% 0, 0 0; }
  .logo-glint { animation: none; opacity: .85; transform: scale(.8); }
}
.logo-sub { font-size: .55rem; font-weight: 400; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 7px; }
.logo-owner { font-size: .6rem; font-weight: 300; letter-spacing: .08em; color: #8a847a; margin-top: 6px; white-space: nowrap; }
@media (max-width: 380px) { .logo-owner { font-size: .55rem; letter-spacing: .04em; } }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: .6em 1em; text-decoration: none; font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #cfc8bc; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); }
.header-cta { display: flex; gap: 20px; align-items: center; }
.header-phone { font-size: .8rem; letter-spacing: .12em; text-decoration: none; color: #cfc8bc; font-variant-numeric: lining-nums; }
.header-phone:hover { color: var(--gold-2); }
.site-header .btn { color: var(--ivory); border-color: rgba(244,240,232,.4); }
.site-header .btn:hover { background: var(--ivory); color: var(--black); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: var(--ivory); margin: 7px 0; transition: transform .25s, opacity .25s; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-cta .header-phone { display: none; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; gap: 0; background: var(--black);
    padding: 12px var(--gutter) 32px; border-bottom: 1px solid var(--line-dark);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: transform .25s, opacity .25s, visibility 0s .25s;
  }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: .8rem; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: transform .25s, opacity .25s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header-cta { order: 3; }
}
@media (max-width: 560px) { .header-cta { display: none; } .logo-word { font-size: 1.4rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: var(--ivory); min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 55% at 62% 58%, #3a3631 0%, #1a1816 45%, var(--black) 80%); }
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 70% 55%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,12,.25) 0%, rgba(13,13,12,0) 35%, rgba(13,13,12,.85) 100%); }
.hero-bg.has-img::after {
  background:
    linear-gradient(90deg, rgba(13,13,12,.88) 0%, rgba(13,13,12,.62) 32%, rgba(13,13,12,.12) 62%, rgba(13,13,12,0) 80%),
    linear-gradient(180deg, rgba(13,13,12,.45) 0%, rgba(13,13,12,0) 25%, rgba(13,13,12,0) 55%, rgba(13,13,12,.9) 100%);
}
@media (max-width: 860px) {
  .hero-bg img { object-position: 72% 50%; }
  .hero-bg.has-img::after { background: linear-gradient(180deg, rgba(13,13,12,.55) 0%, rgba(13,13,12,.35) 40%, rgba(13,13,12,.92) 100%); }
}
.hero-car { position: absolute; left: 30%; right: -4%; bottom: 13%; }
.hero-car svg { width: 100%; height: auto; }
.hero-content { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 11ch; margin-bottom: .35em; }
.hero .lead { color: #cfc8bc; }
.hero-meta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-top: clamp(40px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-meta dl { display: flex; gap: clamp(28px, 5vw, 72px); margin: 0; flex-wrap: wrap; }
.hero-meta dt { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.hero-meta dd { margin: 4px 0 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero-car { left: -10%; right: -25%; bottom: auto; top: 110px; opacity: .55; } }

/* ---------- Declaração ---------- */
.statement { text-align: center; }
.statement p { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.25; font-weight: 400; max-width: 26ch; margin: 0 auto; color: var(--ink); }
.statement p em { color: var(--gold); }
.signature { display: block; margin-top: 32px; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- Coleção: barra de filtros ---------- */
.filter-bar { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.filter-bar label { display: flex; flex-direction: column; padding: 16px 20px 14px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.filter-bar label:nth-last-child(2) { border-right: 0; }
.filter-bar span { font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.filter-bar select { border: 0; background: transparent; padding: 4px 0 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); outline: none; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b0915f' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; background-size: 11px; padding-right: 22px; }
.filter-bar .reset { align-self: center; background: none; border: 0; cursor: pointer; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding: 8px 0 8px 12px; }
.filter-bar .reset:hover { color: var(--ink); }
@media (max-width: 960px) { .filter-bar { grid-template-columns: 1fr 1fr; } .filter-bar label { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding-right: 12px; } .filter-bar .reset { grid-column: 1 / -1; justify-self: start; padding-left: 0; } }
.collection-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; font-size: .9rem; }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.switch input { appearance: none; -webkit-appearance: none; width: 34px; height: 18px; border: 1px solid var(--ink); border-radius: 18px; position: relative; cursor: pointer; margin: 0; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transition: transform .2s, background .2s; }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(16px); background: var(--ivory); }

/* ---------- Cartões ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--char); }
.card-media > img, .card-media > svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media > img, .card:hover .card-media > svg { transform: scale(1.04); }
.badges { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; }
.badge { padding: .55em 1em; font-size: .6rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; background: rgba(13,13,12,.7); color: var(--ivory); backdrop-filter: blur(6px); }
.badge--gold { background: var(--gold); color: var(--black); }
.card-body { padding-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: end; }
.card-kicker { grid-column: 1 / -1; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.card-title { font-size: clamp(1.7rem, 2.3vw, 2.1rem); margin: 0; line-height: 1.05; }
.card-version { color: var(--ink-2); font-size: .92rem; margin: 2px 0 0; }
.card-price { text-align: right; font-size: 1.05rem; font-weight: 400; letter-spacing: .06em; white-space: nowrap; font-variant-numeric: lining-nums; }
.card-price small { display: block; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.card-line { grid-column: 1 / -1; height: 1px; background: var(--line); margin-top: 18px; position: relative; overflow: hidden; }
.card-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover .card-line::after { transform: scaleX(1); }
.empty { padding: 72px 24px; text-align: center; border: 1px solid var(--line); }
.empty h3 { font-size: 2rem; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service { padding: 40px 36px 8px 0; border-right: 1px solid var(--line); margin-right: 36px; }
.service:last-child { border-right: 0; margin-right: 0; }
.service .n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; display: block; margin-bottom: 28px; }
.service h3 { font-size: 2rem; margin-bottom: 16px; }
.service p { color: var(--ink-2); }
.services--single { grid-template-columns: 1fr; }
.services--single .service { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 clamp(32px, 6vw, 96px); border-right: 0; margin-right: 0; padding-right: 0; }
.services--single .service h3 { font-size: clamp(2rem, 3vw, 2.6rem); }
.services--single .service p { font-size: 1.05rem; max-width: 56ch; }
@media (max-width: 900px) { .services--single .service { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } .service { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 36px 0; } }

/* ---------- Processo (escuro) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.steps li { counter-increment: s; padding: 36px 32px 0 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold); margin-bottom: 28px; }
.steps h3 { font-size: 1.75rem; }
.steps p { color: #a19a8f; margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } .steps li { padding-bottom: 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); } }

/* ---------- Formulários ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.form-card { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 56px); }
.section--dark .form-card { background: var(--char); color: var(--ivory); }
.form-card h3 { font-size: 2rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 26px; }
.field > span { font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 1.05rem; font-weight: 300; outline: none; transition: border-color .2s;
}
.section--dark .field input, .section--dark .field select, .section--dark .field textarea { border-bottom-color: var(--line-dark); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field select option { color: var(--ink); }
.field input[type="range"] { border: 0; padding: 14px 0; accent-color: var(--gold); }
.range-out { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.consent { display: flex; gap: 12px; font-size: .82rem; color: var(--muted); margin: 0 0 28px; align-items: flex-start; line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.form-msg { margin-top: 16px; font-size: .9rem; padding: 14px 16px; display: none; border-left: 2px solid var(--gold); background: rgba(176,145,95,.1); }
.form-msg.ok, .form-msg.err { display: block; }
.form-msg.err { border-left-color: #a33; }
.plate { text-transform: uppercase; letter-spacing: .2em !important; }
.checklist { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line-dark); }
.checklist li { padding: 18px 0; border-bottom: 1px solid var(--line-dark); display: flex; gap: 20px; }
.checklist li::before { content: "—"; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--gold), var(--gold)) center/14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) center/1px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 48px; max-width: 64ch; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--black); color: #a19a8f; padding: clamp(64px, 8vw, 112px) 0 32px; font-size: .9rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-2); }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); margin-bottom: 56px; }
.footer-top p { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; color: var(--ivory); margin: 0; max-width: 20ch; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--sans); color: var(--gold); font-size: .62rem; font-weight: 500; text-transform: uppercase; letter-spacing: .3em; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo { color: var(--ivory); margin-bottom: 24px; }
.legal { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .74rem; letter-spacing: .04em; color: #7b756c; }
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal button { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font-size: inherit; }
.legal button:hover { color: var(--gold-2); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Ficha da viatura ---------- */
.detail-hero { background: var(--black); color: var(--ivory); }
.crumbs { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: #8a847a; padding: 28px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.detail-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding: 40px 0 32px; }
.detail-title h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0; }
.detail-title .ver { color: #cfc8bc; margin: 8px 0 0; font-size: 1.05rem; }
.detail-title .price { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; text-align: right; }
.detail-title .price small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.gallery-main { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--char); }
.gallery-main > img, .gallery-main > svg { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 8px 0 0; }
.thumbs button { aspect-ratio: 4 / 3; border: 0; padding: 0; background: var(--char); cursor: pointer; opacity: .55; transition: opacity .2s; overflow: hidden; }
.thumbs button[aria-current="true"], .thumbs button:hover { opacity: 1; }
.thumbs img, .thumbs svg { width: 100%; height: 100%; object-fit: cover; }
.keyfacts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); margin-top: 40px; }
.keyfacts div { padding: 24px 20px 40px 0; }
.keyfacts div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.keyfacts dt { font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.keyfacts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
@media (max-width: 760px) { .keyfacts { grid-template-columns: 1fr 1fr; } .keyfacts div { padding: 18px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line-dark); } }

.detail { display: grid; grid-template-columns: 1fr 400px; gap: clamp(40px, 6vw, 96px); align-items: start; padding: clamp(56px, 7vw, 96px) 0; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } }
.block { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; }
.block h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 28px; }
.block .intro { color: var(--ink-2); max-width: 60ch; }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin: 0; border-top: 1px solid var(--ink); }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; text-align: right; font-weight: 400; font-variant-numeric: lining-nums; }
@media (max-width: 640px) { .spec-table { grid-template-columns: 1fr; } }
.equip { columns: 2; column-gap: 48px; list-style: none; padding: 0; margin: 0; }
.equip li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
@media (max-width: 640px) { .equip { columns: 1; } }
.inspection { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 32px; border-top: 1px solid var(--ink); }
.insp { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.insp b { font-weight: 400; color: var(--ok); }
.insp.warn b { color: var(--gold); }
.notes { margin: 28px 0 0; padding: 24px 28px; background: var(--paper); border-left: 2px solid var(--gold); }
.notes h3 { font-size: 1.4rem; }
.notes ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 140px 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.timeline .t-date { color: var(--muted); font-variant-numeric: lining-nums; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr 1fr; } .timeline li span:last-child { grid-column: 1 / -1; } }
.docs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.docs span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: .8em 1.2em; border: 1px solid var(--line); }
.price-history { width: 100%; height: auto; }
.price-history text { font-family: var(--sans); font-size: 11px; fill: var(--muted); letter-spacing: .05em; }


.concierge { position: sticky; top: 112px; background: var(--paper); padding: 40px 36px; }
.concierge .eyebrow { margin-bottom: 1rem; }
.concierge h2 { font-size: 2rem; }
.concierge .actions { display: grid; gap: 10px; margin: 28px 0; }
.concierge .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.concierge .assurances { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.concierge .assurances li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.concierge .assurances li::before { content: "—"; color: var(--gold); }
.advisor { display: flex; gap: 16px; align-items: center; margin-top: 28px; }
.advisor .av { width: 52px; height: 52px; border-radius: 50%; background: var(--char); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; flex: 0 0 52px; }
.advisor small { display: block; color: var(--muted); font-size: .78rem; }
@media (max-width: 1000px) { .concierge { position: static; order: -1; } }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; width: min(560px, calc(100% - 32px)); background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.4); }
.modal::backdrop { background: rgba(13, 13, 12, .78); backdrop-filter: blur(4px); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 1.2rem; font-weight: 300; z-index: 2; }
.modal-close:hover { border-color: var(--ink); }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; right: 16px; z-index: 100; max-width: 460px; background: var(--black); color: var(--ivory); padding: 28px; font-size: .88rem; display: none; border: 1px solid var(--line-dark); }
.cookie.show { display: block; }
.cookie h3 { font-size: 1.5rem; }
.cookie .muted { color: #a19a8f; }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cookie .btn { padding: .95em 1.3em; color: var(--ivory); border-color: rgba(244,240,232,.35); }
.cookie .btn--gold { color: var(--black); border-color: var(--gold); }
.cookie .switch { margin-top: 16px; }
.cookie .switch input { border-color: var(--ivory); }
.cookie .switch input::after { background: var(--ivory); }
.cookie .switch input:checked { background: var(--gold); border-color: var(--gold); }

/* Barra fixa mobile na ficha */
.mobile-bar { display: none; }
@media (max-width: 1000px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 12px var(--gutter); background: var(--black); color: var(--ivory); align-items: center; border-top: 1px solid var(--line-dark); }
  .mobile-bar .p { font-family: var(--serif); font-size: 1.4rem; margin-right: auto; }
  .mobile-bar .btn { padding: .95em 1.2em; }
  .mobile-bar .btn--ghost { color: var(--ivory); border-color: rgba(244,240,232,.4); }
  .detail-page { padding-bottom: 76px; }
}

/* Entrada suave */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
