:root {
  --bg: #f1f1f0;
  --card: #ffffff;
  --ink: #0e0e0e;
  --ink-2: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e2e2e0;
  --dark: #121212;
  --red: #e1141c;
  --red-dark: #b50d14;
  --detalhe: var(--red);
  --radius: 22px;
  --pad: clamp(16px, 3vw, 28px);
  --head: "Inter Tight", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
::selection { background: var(--red); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 20px; border-radius: 14px;
  font: 500 15px var(--body); white-space: nowrap;
  transition: transform .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ico {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  transition: transform .3s, background .25s;
}
.btn-ico svg { width: 18px; height: 18px; }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark .btn-ico { background: #fff; color: var(--ink); }
.btn-dark .btn-ico.red, .btn-dark:hover .btn-ico { background: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .btn-ico { background: var(--dark); color: #fff; }
.btn-light .btn-ico.red, .btn-light:hover .btn-ico { background: var(--red); }
.btn-red { background: var(--red); color: #fff; }
.btn-red .btn-ico { background: #fff; color: var(--red); }
.btn-red:hover { background: var(--red-dark); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--pad);
  background: rgba(241, 241, 240, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links > a:not(.btn) { position: relative; color: var(--ink-2); transition: color .2s; }
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 2px; background: var(--detalhe); transition: right .3s;
}
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links > a:not(.btn):hover::after { right: 0; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--dark); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; background: var(--detalhe); }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 8px var(--pad) 0; }
.hero-card {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  min-height: min(88vh, 820px);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 3.4vw, 44px) clamp(24px, 8vw, 112px);
  color: #fff; background: #222;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  transform: scale(1.06); animation: heroZoom 2.2s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 100%);
}
.hero-content {
  position: relative; max-width: 712px;
  display: flex; flex-direction: column; gap: 31px;
}
.hero-title {
  font-size: clamp(40px, 6.6vw, 92px);
  opacity: 0; transform: translateY(24px); animation: up .9s .15s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes up { to { opacity: 1; transform: none; } }
.hero-intro {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  opacity: 0; animation: up .8s .45s forwards;
}
.hero-sub { max-width: 487px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; color: #fff; }

.ticker {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 0; padding: 22px 0 6px;
  font: 600 clamp(14px, 1.6vw, 17px) var(--head); text-transform: uppercase; letter-spacing: .06em;
}
.ticker li { display: flex; align-items: center; }
.ticker li + li::before {
  content: ""; width: 18px; height: 4px; margin: 0 16px;
  background: var(--detalhe); transform: skewX(-30deg); border-radius: 1px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) var(--pad) 0; max-width: 1440px; margin: 0 auto; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 64px); max-width: 13ch; }
.sec-side { max-width: 360px; display: flex; flex-direction: column; gap: 18px; align-items: flex-end; text-align: right; }
.sec-side p { color: var(--ink-2); font-size: 15px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 14px; height: 4px; background: var(--detalhe); transform: skewX(-30deg); }
.eyebrow.light { color: rgba(255,255,255,.7); }

/* word reveal */
.reveal-words .w { display: inline-block; color: #c4c4c2; transition: color .5s; }
.reveal-words.in .w { color: var(--ink); }

/* generic reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 6px; background: #e6e6e4; padding: 4px; border-radius: 12px; }
.filters button { padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.filters button.on { background: var(--dark); color: #fff; }
.filters button:not(.on):hover { color: var(--ink); }

/* ---------- Cars ---------- */
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.car { display: flex; flex-direction: column; gap: 14px; }
.car-media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 4.6; background: #ddd;
}
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.car:hover .car-media img { transform: scale(1.05); }
.car-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: #fff; font: 600 12px var(--body); letter-spacing: .02em;
  padding: 6px 10px; border-radius: 8px;
}
.car-tags { position: absolute; left: 14px; right: 70px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.car-tags span { background: rgba(255,255,255,.92); color: var(--ink); font-size: 12.5px; font-weight: 500; padding: 5px 9px; border-radius: 8px; }
.car-go {
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 12px; background: var(--dark); color: #fff;
  display: grid; place-items: center; transition: background .25s, transform .3s;
}
.car-go svg { width: 18px; height: 18px; }
.car:hover .car-go { background: var(--red); transform: rotate(-45deg); }
.car-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 0 4px; }
.car-info h3 { font-size: 21px; letter-spacing: -.02em; }
.car-info .sub { color: var(--muted); font-size: 14px; margin-top: 3px; }
.car-price { text-align: right; flex: none; }
.car-price b { display: block; font: 600 21px var(--head); letter-spacing: -.02em; }
.car-price b small { font-size: 13px; color: var(--red); margin-right: 3px; font-weight: 700; }
.car-price a { font-size: 13px; color: var(--muted); border-bottom: 1px solid currentColor; transition: color .2s; }
.car-price a:hover { color: var(--red); }
.car.hide { display: none; }
.cars-empty { text-align: center; padding: 40px 0 10px; color: var(--ink-2); }
.cars-empty a { color: var(--red); font-weight: 600; }
.cars-erro { grid-column: 1 / -1; text-align: center; padding: 40px 16px; color: var(--ink-2); }
.cars-erro a { color: var(--red); font-weight: 600; }
.more { display: flex; justify-content: center; margin-top: 40px; }
.car-badge.dark { background: var(--dark); }
.car-info h3 a:hover { color: var(--red); }
.car-price .consulte { font-size: 17px; }
.car-price .sold-txt { font-size: 13px; color: var(--muted); }
.car.sold .car-media img { filter: grayscale(1) brightness(.85); }
.car.sold .car-tags, .car.sold .car-go { display: none; }
.car-sold {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg);
  background: var(--red); color: #fff; font: 700 22px var(--head); letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 26px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.car-skel { aspect-ratio: 4 / 5.2; border-radius: var(--radius); background: linear-gradient(100deg, #e6e6e4 40%, #efefed 50%, #e6e6e4 60%) 0 0 / 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }

.estoque-tools { display: flex; gap: 10px; margin-bottom: 22px; }
.busca {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; height: 50px;
}
.busca svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.busca input { border: 0; outline: 0; background: none; font: 15px var(--body); width: 100%; color: var(--ink); }
.busca:focus-within { border-color: var(--ink); }
.estoque-tools select {
  height: 50px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 14px;
  font: 500 14px var(--body); color: var(--ink); cursor: pointer;
}

/* ---------- Página de estoque ---------- */
.estoque-pagina { padding-top: 18px; }
.estoque-pagina .sec-head h1 { font-size: clamp(36px, 5vw, 64px); max-width: 14ch; }
.total-carros { color: var(--ink-2); font-weight: 500; margin-top: 10px; }

/* ---------- Página do carro ---------- */
.detalhe { max-width: 1440px; margin: 0 auto; padding: 18px var(--pad) 0; }
.voltar { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--ink-2); margin-bottom: 18px; }
.voltar svg { width: 18px; height: 18px; }
.voltar:hover { color: var(--red); }
.det-loading .car-skel { aspect-ratio: 16 / 7; }
.det-vazio { text-align: center; padding: 80px 0 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.det-vazio h1 { font-size: clamp(32px, 4vw, 48px); }
.det-vazio p { color: var(--ink-2); max-width: 46ch; }

.det-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 18px; align-items: start; }
.galeria { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gal-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd; aspect-ratio: 4 / 3.4; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.galeria.sold .gal-main img { filter: grayscale(1) brightness(.85); }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s;
}
.gal-nav:hover { background: var(--red); color: #fff; }
.gal-nav svg { width: 22px; height: 22px; }
.gal-nav.prev { left: 14px; }
.gal-nav.next { right: 14px; }
.gal-count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 8px; }
.gal-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gal-thumbs button { flex: none; width: 92px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .65; transition: opacity .2s, border-color .2s; }
.gal-thumbs button.on { border-color: var(--red); opacity: 1; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.det-card {
  position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px;
}
.det-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.det-tags:empty { display: none; }
.det-tags span { background: var(--bg); font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; }
.det-tags .det-status { color: #fff; }
.det-status.sold { background: var(--red); }
.det-status.res { background: var(--dark); }
.det-card h1 { font-size: clamp(32px, 3.2vw, 44px); }
.det-versao { color: var(--ink-2); margin-top: -8px; }
.det-preco { font: 600 clamp(30px, 3vw, 38px) var(--head); letter-spacing: -.02em; padding: 4px 0; }
.det-preco small { font-size: .45em; color: var(--red); font-weight: 700; margin-right: 4px; vertical-align: .55em; }
.det-ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.det-ficha div { background: #fff; padding: 11px 14px; }
.det-ficha div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.det-ficha dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.det-ficha dd { font-weight: 600; margin-top: 2px; }
.det-cta { justify-content: space-between; width: 100%; }
.det-sec { border: 1px solid var(--line); margin-top: -4px; }
.det-vendido { color: var(--ink-2); font-size: 15px; }
.det-links { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.det-links a, .det-links button { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.det-links a:hover, .det-links button:hover { color: var(--red); }
.det-links svg { width: 17px; height: 17px; }

.det-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.det-extra section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.det-extra h2 { font-size: 24px; margin-bottom: 14px; }
.det-desc { color: var(--ink-2); white-space: pre-line; }
.det-opc { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.det-opc li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.det-opc li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border-radius: 5px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; flex: none; }
.det-outros { padding-top: clamp(60px, 8vw, 100px); }
.det-outros .sec-head h2 { font-size: clamp(32px, 4vw, 48px); }

@media (max-width: 960px) {
  .det-grid, .det-extra { grid-template-columns: 1fr; }
  .det-card { position: static; }
}
@media (max-width: 600px) {
  .det-opc { grid-template-columns: 1fr; }
  .gal-nav { width: 40px; height: 40px; }
  .gal-thumbs button { width: 72px; }
}

/* ---------- Política de privacidade ---------- */
.texto-legal { max-width: 760px; padding-top: 40px; }
.texto-legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.texto-legal h2 { font-size: 22px; margin: 32px 0 10px; }
.texto-legal p { color: var(--ink-2); margin-bottom: 12px; }
.muted-legal { color: var(--muted) !important; font-size: 14px; }

/* aviso de cookies */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.18);
  padding: 16px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px;
}
.cookies p { flex: 1 1 240px; color: var(--ink-2); }
.cookies p a { color: var(--ink); text-decoration: underline; }
.cookies > div { display: flex; gap: 8px; align-items: center; }
.cookies .btn { padding: 10px 18px; }
.btn-txt { padding: 10px 12px; font-weight: 500; color: var(--ink-2); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Services ---------- */
.services {
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(260px, auto);
}
.svc {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  color: #fff; background: var(--dark);
}
.svc { grid-column: span 2; }
.services[data-n="5"] .svc:nth-child(-n+2),
.services[data-n="4"] .svc,
.services[data-n="2"] .svc { grid-column: span 3; }
.services[data-n="1"] .svc { grid-column: 1 / -1; }
.svc h3 { font-size: 28px; margin-bottom: 8px; }
.svc p { color: rgba(255,255,255,.75); font-size: 15px; max-width: 34ch; }
.svc > div, .svc-n, .svc-link { position: relative; }
.svc-n { font: 600 13px var(--body); letter-spacing: .1em; color: rgba(255,255,255,.55); }
.svc-photo::before {
  content: ""; position: absolute; inset: 0;
  background: var(--img) center 60% / cover; transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.78)); }
.svc-photo > * { z-index: 1; }
.svc-photo:hover::before { transform: scale(1.05); }
.svc-dark { background: #1a1a1a; }
.svc-dark::before {
  content: ""; position: absolute; right: -40px; top: 26px; width: 180px; height: 10px;
  background: var(--detalhe); transform: skewX(-30deg); box-shadow: 0 22px 0 -2px #333, 0 44px 0 -3px #262626;
}
.svc-red { background: var(--red); }
.svc-red p { color: rgba(255,255,255,.88); }
.svc-red .svc-n { color: rgba(255,255,255,.75); }
.svc-link { font-weight: 600; font-size: 15px; align-self: flex-start; border-bottom: 2px solid #fff; padding-bottom: 2px; margin-top: -12px; }

/* ---------- About ---------- */
.about-card {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px;
  background: var(--dark); color: #fff; border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.about-card::after {
  content: ""; position: absolute; right: -60px; bottom: 40px; width: 360px; height: 14px;
  background: var(--detalhe); transform: skewX(-30deg); opacity: .9;
}
.about-text h2 { font-size: clamp(32px, 4.2vw, 54px); margin-bottom: 22px; }
.about-text > p:not(.eyebrow) { color: rgba(255,255,255,.75); max-width: 52ch; margin-bottom: 24px; }
.about-list { list-style: none; display: grid; gap: 10px; margin-bottom: 32px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about-list li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }
.about-quote {
  align-self: center; background: #1e1e1e; border: 1px solid #2c2c2c; border-radius: var(--radius);
  padding: 34px; position: relative; z-index: 1;
}
.about-quote .q { width: 40px; height: 40px; fill: var(--detalhe); stroke: none; margin-bottom: 18px; }
.about-quote p { font: 600 clamp(26px, 2.8vw, 36px)/1.15 var(--head); letter-spacing: -.02em; margin-bottom: 16px; }
.about-quote em { font-style: italic; font-weight: 800; color: var(--red); }
.about-quote span { color: rgba(255,255,255,.55); font-size: 14px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  min-height: 460px; display: grid; place-items: center; text-align: center; color: #fff;
  padding: 40px 20px; background: var(--dark);
}
.cta::before {
  content: ""; position: absolute; left: -60px; bottom: 48px; width: 360px; height: 14px; z-index: 1;
  background: var(--detalhe); transform: skewX(-30deg); box-shadow: 0 26px 0 -3px #2c2c2c;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: 48px; width: 280px; height: 14px; z-index: 1;
  background: var(--detalhe); transform: skewX(-30deg); opacity: .9;
}
.cta-inner { position: relative; z-index: 2; max-width: 620px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 { font-size: clamp(34px, 5vw, 60px); }
.cta p { color: rgba(255,255,255,.85); max-width: 44ch; margin-bottom: 8px; }

/* ---------- Sonhos realizados ---------- */
.sonhos .sec-head { margin-bottom: 0; }
.sonhos-faixa { position: relative; overflow: hidden; padding: 36px 0 6px; }
.sonhos-faixa::before, .sonhos-faixa::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 6%; z-index: 1; pointer-events: none;
}
.sonhos-faixa::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.sonhos-faixa::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.sonhos-trilho { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.sonhos-faixa:hover .sonhos-trilho, .sonhos-faixa.fora .sonhos-trilho { animation-play-state: paused; }
.sonhos-trilho img {
  height: clamp(280px, 34vw, 440px); width: auto; flex: none; margin-right: 14px;
  border-radius: var(--radius); object-fit: cover; background: #ddd;
}

/* ---------- Localização ---------- */
.chip-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--dark); color: #fff; display: grid; place-items: center; }
.chip-ico.red { background: var(--red); }
.chip-ico svg { width: 20px; height: 20px; }
.local { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.local-info {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 22px;
}
.local-item { display: flex; gap: 14px; align-items: flex-start; }
.local-item .chip-ico { flex: none; }
.local-item small { display: block; font: 600 12px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.local-item b { display: block; font: 600 20px/1.25 var(--head); letter-spacing: -.02em; }
.local-item span { color: var(--ink-2); font-size: 15px; }
.local-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.local-wa { border: 1px solid var(--line); }
.local-map { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: #e4e4e2; }
.local-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.85) contrast(1.05); transition: filter .4s; }
.local-map:hover iframe { filter: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; margin-left: auto; }
.faq details { background: var(--card); border-radius: 16px; border: 1px solid var(--line); transition: border-color .25s; }
.faq details[open] { border-color: #d0d0ce; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font: 600 18px var(--head); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; border-radius: 9px; background: var(--bg); position: relative; flex: none; transition: background .25s, transform .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--ink); transition: background .25s; }
.faq summary i::after { transform: rotate(90deg); transition: transform .3s, background .25s; }
.faq details[open] summary i { background: var(--red); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Footer ---------- */
.footer {
  margin: clamp(70px, 10vw, 130px) var(--pad) var(--pad);
  background: var(--dark); color: #fff; border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 56px);
}
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid #2a2a2a; }
.footer-logo { height: 84px; width: auto; }
.footer-tag { font: 600 clamp(18px, 2vw, 24px) var(--head); letter-spacing: -.02em; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 36px 0; }
.footer-grid h4 { font: 600 12.5px var(--body); text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.footer-grid a, .footer-grid span { display: block; color: rgba(255,255,255,.88); margin-bottom: 6px; }
.footer-grid a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: rgba(255,255,255,.5); padding-top: 22px; border-top: 1px solid #2a2a2a; }
.stripes { display: flex; gap: 6px; width: 90px; height: 6px; background: linear-gradient(90deg, var(--detalhe) 0 60%, transparent 60% 68%, #555 68%); transform: skewX(-30deg); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 18px; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transition: transform .25s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cars { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .services[data-n] .svc:nth-child(n) { grid-column: span 1; }
  .services[data-n="5"] .svc:nth-child(5), .services[data-n="3"] .svc:nth-child(3), .services[data-n="1"] .svc:nth-child(n) { grid-column: span 2; }
  .about-card { grid-template-columns: 1fr; }
  .local { grid-template-columns: 1fr; }
  .local-map, .local-map iframe { min-height: 300px; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; top: 70px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-radius: 18px; padding: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 12px 10px; font-size: 17px; }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-cta { justify-content: space-between; margin-top: 6px; }
  .nav-logo img { height: 40px; }

  .hero-card { min-height: 640px; justify-content: flex-end; }
  .hero-img { object-position: 78% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.85) 100%); }
  .hero-content { gap: 22px; }

  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head > * { min-width: 0; max-width: 100%; }
  .sec-side { width: 100%; min-width: 0; }
  .sec-side { align-items: flex-start; text-align: left; max-width: none; }
  .filters { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .faq { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cars { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; grid-auto-rows: minmax(220px, auto); }
  .services[data-n] .svc:nth-child(n) { grid-column: 1 / -1; }
  .ticker {
    flex-wrap: nowrap; justify-content: flex-start; width: max-content;
    animation: marquee 18s linear infinite;
  }
  .ticker li::before { content: ""; width: 14px; height: 4px; margin: 0 12px; background: var(--detalhe); transform: skewX(-30deg); }
  .ticker li + li::before { margin: 0 12px; width: 14px; }
  .hero { overflow: hidden; }
  .chip-ico { width: 36px; height: 36px; }
  .footer-logo { height: 64px; }
  .faq summary { font-size: 16px; padding: 18px; }
  .faq details p { padding: 0 18px 18px; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .sonhos-faixa { overflow-x: auto; }
  .sonhos-faixa::before, .sonhos-faixa::after { display: none; }
  .sonhos-trilho { animation: none; }
}

/* ---------- Topo sem foto (enquanto a loja não manda as fotos) ---------- */
.hero-sem-foto .hero-card { background: var(--dark); overflow: hidden; }
.hero-sem-foto .hero-card::before {
  content: ""; position: absolute; right: -8%; top: 50%; width: 62%; aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; background: var(--detalhe); opacity: .95;
}
.hero-marca { position: absolute; right: 4%; top: 50%; width: 38%; max-width: 520px; transform: translateY(-50%); z-index: 0; }
.hero-sem-foto .hero-content { z-index: 1; max-width: min(560px, 46%); }
.hero-sem-foto .hero-title { font-size: clamp(38px, 5vw, 76px); }

/* ---------- Tema claro: site quase todo branco, com destaques na cor principal ---------- */
.tema-claro { --bg: #ffffff; --line: #ececea; background: #fff; }
.tema-claro .nav { background: rgba(255, 255, 255, .88); }
.tema-claro .btn-dark { background: var(--red); }
.tema-claro .btn-dark:hover { background: var(--red-dark); }
.tema-claro .btn-dark .btn-ico, .tema-claro .btn-dark .btn-ico.red, .tema-claro .btn-dark:hover .btn-ico { background: #fff; color: var(--red); }
.tema-claro .btn-light { background: #fff; border: 1px solid var(--line); }
.tema-claro .menu-btn { background: var(--red); }
.tema-claro .menu-btn span:last-child { background: var(--detalhe); }
.tema-claro .filters { background: #f3f3f1; }
.tema-claro .filters button.on { background: var(--red); }
.tema-claro .car-go { background: var(--red); }
.tema-claro .car:hover .car-go { background: var(--red-dark); }
.tema-claro .car-media, .tema-claro .local-map, .tema-claro .car-skel { background-color: #f3f3f1; }

/* topo: cartão branco, faixa amarela e texto escuro */
.tema-claro .hero-card { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.tema-claro .hero-shade { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,0) 100%); }
.tema-claro .hero-sub { color: var(--ink-2); }
.tema-claro .hero-title { color: var(--ink); }
.tema-claro .hero .btn-light { background: var(--red); color: #fff; border: 0; }
.tema-claro .hero .btn-light .btn-ico { background: #fff; color: var(--red); }

/* serviços: cards claros, um vermelho e um amarelo */
.tema-claro .svc { color: var(--ink); }
.tema-claro .svc-dark { background: #f6f6f4; }
.tema-claro .svc-dark p, .tema-claro .svc-dark .svc-n { color: var(--ink-2); }
.tema-claro .svc-dark::before { box-shadow: 0 22px 0 -2px #e4e4e2, 0 44px 0 -3px #ececea; }
.tema-claro .svc-red { color: #fff; }
.svc-amarelo { background: var(--detalhe); color: var(--ink); }
.svc-amarelo p { color: rgba(0,0,0,.72); }
.svc-amarelo .svc-n { color: rgba(0,0,0,.55); }
.svc-amarelo .svc-link { border-color: var(--ink); }
.tema-claro .svc-photo { color: #fff; }

/* sobre: branco com borda, faixa amarela */
.tema-claro .about-card { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tema-claro .eyebrow.light { color: var(--ink-2); }
.tema-claro .about-text > p:not(.eyebrow) { color: var(--ink-2); }
.tema-claro .about-quote { background: #fffbe6; border-color: #f6e9a6; }
.tema-claro .about-quote span { color: var(--ink-2); }
.tema-claro .about .btn-light { background: var(--red); color: #fff; border: 0; }
.tema-claro .about .btn-light .btn-ico { background: #fff; color: var(--red); }

/* chamada final em vermelho */
.tema-claro .cta { background: var(--red); }
.tema-claro .cta::before { box-shadow: 0 26px 0 -3px rgba(255,255,255,.25); }
.tema-claro .cta .btn-red { background: #fff; color: var(--ink); }
.tema-claro .cta .btn-red .btn-ico { background: var(--red); color: #fff; }

/* localização e dúvidas */
.tema-claro .local-info, .tema-claro .faq details { background: #fff; }
.tema-claro .chip-ico { background: var(--ink); }
.tema-claro .faq summary i { background: #f3f3f1; }

/* rodapé claro */
.tema-claro .footer { background: #f7f7f5; color: var(--ink); border: 1px solid var(--line); }
.tema-claro .footer-top, .tema-claro .footer-bottom { border-color: var(--line); }
.tema-claro .footer-grid h4 { color: var(--muted); }
.tema-claro .footer-grid a, .tema-claro .footer-grid span { color: var(--ink-2); }
.tema-claro .footer-bottom { color: var(--muted); }
.tema-claro .footer-bottom a:hover { color: var(--red); }
.tema-claro .stripes { background: linear-gradient(90deg, var(--detalhe) 0 60%, transparent 60% 68%, var(--red) 68%); }

/* topo sem foto no tema claro */
.tema-claro.hero-sem-foto .hero-card, .tema-claro .hero-sem-foto .hero-card { background: #fff; }
.tema-claro .hero-sem-foto .hero-card::before { opacity: .9; }

@media (max-width: 820px) {
  .tema-claro .hero-shade { background: linear-gradient(180deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.85) 55%, #fff 100%); }
  .hero-sem-foto .hero-card::before { width: 110%; right: -40%; top: 0; transform: none; }
  .hero-marca { width: 70%; right: 50%; top: 30px; transform: translateX(50%); }
  .hero-sem-foto .hero-card { justify-content: flex-end; }
  .hero-sem-foto .hero-content { max-width: none; }
}

/* Topo com foto escura (texto claro), mesmo no tema claro */
.tema-claro .hero-escuro .hero-card { color: #fff; background: #0b1324; border: 0; }
.tema-claro .hero-escuro .hero-shade { background: linear-gradient(90deg, rgba(4,10,24,.72) 0%, rgba(4,10,24,.35) 45%, rgba(4,10,24,0) 70%); }
.tema-claro .hero-escuro .hero-title { color: #fff; }
.tema-claro .hero-escuro .hero-sub { color: rgba(255,255,255,.88); }
.hero-escuro .hero-img { object-position: 100% 50%; }
.hero-escuro .hero-content { max-width: min(540px, 42%); }
.hero-escuro .hero-title { font-size: clamp(36px, 4.4vw, 66px); }
@media (max-width: 820px) {
  .tema-claro .hero-escuro .hero-shade { background: linear-gradient(180deg, rgba(4,10,24,0) 30%, rgba(4,10,24,.7) 60%, rgba(4,10,24,.92) 100%); }
  .hero-escuro .hero-img { object-position: var(--foco-celular, 93% 50%); }
  .hero-escuro .hero-content { max-width: none; }
  /* capa própria para celular (em pé): topo mais alto para o texto ficar na parte escura da foto */
  .hero-foto-celular .hero-card { min-height: 800px; }
  .hero-foto-celular .hero-title { font-size: clamp(32px, 8.6vw, 40px); }
}
