    :root {
      --bg: #0d0f12;
      --bg-2: #15181d;
      --line: rgba(255,255,255,0.08);
      --text: #f2f2f0;
      --muted: #9a9ea6;
      --accent: #d4a24c;
      --accent-2: #f0c879;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html, body { height: 100%; }

    body {
      font-family: "Inter", system-ui, -apple-system, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* Fundo: brilho suave + linhas de estrada */
    .bg {
      position: fixed;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(212,162,76,0.18), transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% -10%, rgba(255,255,255,0.05), transparent 70%),
        var(--bg);
      overflow: hidden;
    }
    .road {
      position: absolute;
      left: 50%;
      bottom: -10%;
      width: 200%;
      height: 60%;
      transform: translateX(-50%) perspective(400px) rotateX(70deg);
      background:
        repeating-linear-gradient(90deg, transparent 0 calc(50% - 2px), rgba(212,162,76,0.35) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px) 100%),
        linear-gradient(to top, rgba(255,255,255,0.03), transparent);
      mask-image: linear-gradient(to top, #000 10%, transparent 90%);
      -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
    }
    .road::after {
      content: "";
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(to top, var(--bg) 0 40px, transparent 40px 90px);
      background-size: 100% 90px;
      mask-image: linear-gradient(90deg, transparent calc(50% - 3px), #000 calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px));
      -webkit-mask-image: linear-gradient(90deg, transparent calc(50% - 3px), #000 calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px));
      animation: drive 1.4s linear infinite;
    }
    @keyframes drive { to { background-position: 0 90px; } }

    @media (prefers-reduced-motion: reduce) {
      .road::after { animation: none; }
    }

    main {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 48px 20px 32px;
      width: 100%;
      max-width: 860px;
      margin: 0 auto;
    }

    .logo {
      width: min(380px, 86vw);
      margin-bottom: 36px;
      filter: drop-shadow(0 6px 24px rgba(212,162,76,0.25));
    }
    .logo svg { width: 100%; height: auto; display: block; overflow: visible; }
    .logo .car-line {
      stroke-dasharray: 900;
      stroke-dashoffset: 900;
      animation: drawCar 2.2s ease-out 0.2s forwards;
    }
    @keyframes drawCar { to { stroke-dashoffset: 0; } }
    @media (prefers-reduced-motion: reduce) {
      .logo .car-line { animation: none; stroke-dashoffset: 0; }
    }

    .tag {
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent-2);
      border: 1px solid rgba(212,162,76,0.4);
      background: rgba(212,162,76,0.08);
      padding: 7px 14px;
      border-radius: 999px;
      margin-bottom: 22px;
    }

    h1 {
      font-family: "Barlow Condensed", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      font-size: clamp(44px, 9vw, 92px);
      line-height: 0.95;
      letter-spacing: 0.01em;
      margin-bottom: 20px;
    }
    h1 em {
      font-style: normal;
      color: var(--accent);
    }

    .lead {
      font-size: clamp(16px, 2.2vw, 19px);
      color: var(--muted);
      max-width: 560px;
      line-height: 1.6;
      margin-bottom: 36px;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-bottom: 48px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 24px;
      border-radius: 10px;
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      transition: transform .15s ease, background .15s ease, border-color .15s ease;
    }
    .btn svg { width: 18px; height: 18px; }
    .btn-primary {
      background: var(--accent);
      color: #16120a;
    }
    .btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
    .btn-ghost {
      border: 1px solid var(--line);
      color: var(--text);
      background: rgba(255,255,255,0.03);
    }
    .btn-ghost:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

    .info {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1px;
      width: 100%;
      background: var(--line);
      border: 1px solid var(--line);
      border-radius: 14px;
      overflow: hidden;
    }
    .info-item {
      background: rgba(21,24,29,0.85);
      backdrop-filter: blur(6px);
      padding: 22px 20px;
      text-align: left;
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }
    .info-item svg {
      width: 22px;
      height: 22px;
      color: var(--accent);
      flex-shrink: 0;
      margin-top: 2px;
    }
    .info-item small {
      display: block;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 6px;
    }
    .info-item a, .info-item p {
      color: var(--text);
      text-decoration: none;
      font-size: 15px;
      line-height: 1.5;
      word-break: break-word;
    }
    .info-item a:hover { color: var(--accent-2); }

    footer {
      text-align: center;
      padding: 24px 20px 28px;
      font-size: 13px;
      color: var(--muted);
    }

    /* Viatura em destaque */
    .featured {
      width: 100%;
      margin-bottom: 48px;
      text-align: left;
    }
    .featured-label {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 14px;
      text-align: center;
    }
    .car-card {
      display: grid;
      grid-template-columns: 1.25fr 1fr;
      background: rgba(21,24,29,0.9);
      border: 1px solid rgba(212,162,76,0.35);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    }
    .car-photo {
      position: relative;
      min-height: 260px;
      background: #111;
    }
    .car-photo img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .car-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      background: var(--accent);
      color: #16120a;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 6px 10px;
      border-radius: 6px;
    }
    .car-info {
      padding: 26px 24px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .car-info h2 {
      font-family: "Barlow Condensed", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      font-size: 30px;
      line-height: 1;
    }
    .car-info h2 span {
      display: block;
      font-size: 18px;
      color: var(--accent);
      margin-top: 6px;
      letter-spacing: 0.04em;
    }
    .car-specs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .car-specs span {
      font-size: 13px;
      background: rgba(255,255,255,0.06);
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 5px 9px;
      color: #d6d8db;
    }
    .car-price {
      font-family: "Barlow Condensed", sans-serif;
      font-weight: 700;
      font-size: 44px;
      line-height: 1;
      color: var(--accent-2);
    }
    .car-price small {
      display: block;
      font-family: "Inter", sans-serif;
      font-size: 12px;
      font-weight: 500;
      color: var(--muted);
      margin-bottom: 4px;
    }
    .car-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: auto;
    }
    .car-actions .btn { padding: 12px 18px; font-size: 14px; }

    @media (max-width: 720px) {
      .car-card { grid-template-columns: 1fr; }
      .car-photo { min-height: 0; aspect-ratio: 16 / 9; }
    }

    @media (max-width: 480px) {
      .btn { width: 100%; justify-content: center; }
    }
    /* Rodapé: informação legal */
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 10px 24px;
      margin-bottom: 14px;
    }
    .footer-links a {
      color: var(--text);
      text-decoration: none;
      font-size: 14px;
      transition: color .15s ease, border-color .15s ease;
    }
    .footer-links a:hover { color: var(--accent-2); }
    .footer-links .lre {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 12px;
      border: 1px solid rgba(212,162,76,0.4);
      background: rgba(212,162,76,0.08);
      border-radius: 8px;
    }
    .footer-links .lre svg { width: 16px; height: 16px; color: var(--accent); }
    .footer-links .lre:hover { border-color: var(--accent); }
    .footer-id {
      font-size: 12px;
      line-height: 1.7;
    }

    /* Páginas legais */
    .page-header {
      display: flex;
      justify-content: center;
      padding: 32px 20px 8px;
    }
    .logo-sm {
      width: min(220px, 60vw);
      margin-bottom: 0;
      display: block;
    }
    main.legal {
      display: block;
      text-align: left;
      max-width: 820px;
      padding-top: 24px;
    }
    .back-link {
      display: inline-block;
      margin-bottom: 18px;
      color: var(--muted);
      text-decoration: none;
      font-size: 14px;
    }
    .back-link:hover { color: var(--accent-2); }
    .legal-card {
      background: rgba(21,24,29,0.88);
      backdrop-filter: blur(6px);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 36px clamp(20px, 5vw, 44px);
    }
    .legal-card h1 {
      font-size: clamp(38px, 7vw, 60px);
      margin-bottom: 8px;
    }
    .legal-card .updated {
      color: var(--muted);
      font-size: 13px;
      margin-bottom: 8px;
    }
    .legal-card h2 {
      font-family: "Barlow Condensed", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-size: 22px;
      color: var(--accent-2);
      margin: 30px 0 10px;
    }
    .legal-card p,
    .legal-card li {
      color: #d6d8db;
      font-size: 15px;
      line-height: 1.75;
    }
    .legal-card p { margin-bottom: 12px; }
    .legal-card ul { padding-left: 22px; margin-bottom: 12px; }
    .legal-card li { margin-bottom: 6px; }
    .legal-card a { color: var(--accent-2); text-decoration: none; word-break: break-word; }
    .legal-card a:hover { text-decoration: underline; }
    .legal-card strong { color: var(--text); }

    /* ===== Viaturas em destaque (js/destaques.js) ===== */
    h2.featured-label { font-family: "Inter", sans-serif; }
    .dq { width: 100%; }
    .dq-noscript { text-align: center; color: var(--muted); }
    .dq-noscript a { color: var(--accent-2); }

    .car-title {
      font-family: "Barlow Condensed", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      font-size: 30px;
      line-height: 1;
    }
    .car-title em { font-style: normal; font-weight: 500; color: #d6d8db; }
    .car-title span {
      display: block;
      font-size: 18px;
      color: var(--accent);
      margin-top: 6px;
      letter-spacing: 0.04em;
    }
    .car-badge.is-reservado { background: #e0a03a; }
    .car-badge.is-vendido { background: #d9534f; color: #fff; }

    /* Grelha de especificações com ícones */
    .dq-specs {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px 10px;
      margin: 0;
    }
    .dq-spec { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
    .dq-spec > div { min-width: 0; }
    .dq-card .dq-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dq-spec svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
    .dq-spec dt {
      font-size: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .dq-spec dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }

    /* Cartão vertical (grelha / slider) */
    .dq-card {
      display: flex;
      flex-direction: column;
      background: rgba(21,24,29,0.95);
      border: 1px solid rgba(212,162,76,0.35);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.45);
      text-align: left;
    }
    .dq-photo { position: relative; aspect-ratio: 4 / 3; background: #111; }
    .dq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    .dq-photo::after {
      content: "";
      position: absolute;
      inset: auto 0 0 0;
      height: 45%;
      background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    }
    .dq-price {
      position: absolute;
      right: 14px;
      bottom: 10px;
      z-index: 1;
      font-family: "Barlow Condensed", sans-serif;
      font-weight: 700;
      font-size: 40px;
      line-height: 1;
      color: #fff;
      text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    }
    .dq-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
    .dq-body .car-title { font-size: 26px; }
    .dq-body .car-actions { margin-top: auto; }

    .dq-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 18px;
    }

    /* Slider em leque (4+ viaturas) */
    .dq-carousel { position: relative; padding-bottom: 36px; }
    .dq-track { position: relative; overflow: visible; transition: height .3s ease; }
    .dq-carousel .dq-card {
      position: absolute;
      top: 0;
      left: 50%;
      width: min(340px, 82vw);
      transform-origin: center top;
      transition: transform .45s ease, opacity .45s ease, filter .45s ease;
      cursor: pointer;
      user-select: none;
      filter: brightness(0.45);
    }
    .dq-carousel .dq-card.is-active { cursor: default; filter: none; }
    .dq-nav {
      position: absolute;
      top: 38%;
      z-index: 20;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(212,162,76,0.5);
      background: rgba(13,15,18,0.85);
      color: var(--accent-2);
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
      transition: background .15s ease;
    }
    .dq-nav:hover { background: rgba(212,162,76,0.2); }
    .dq-prev { left: 0; }
    .dq-next { right: 0; }
    .dq-dots {
      position: absolute;
      left: 0; right: 0; bottom: 6px;
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    .dq-dots button {
      width: 9px; height: 9px;
      border-radius: 50%;
      border: 0;
      background: rgba(255,255,255,0.25);
      cursor: pointer;
      padding: 0;
    }
    .dq-dots button[aria-selected="true"] { background: var(--accent); width: 22px; border-radius: 5px; }

    @media (max-width: 720px) {
      .dq-single .car-card { grid-template-columns: 1fr; }
    }
    @media (max-width: 640px) {
      .dq-carousel { overflow: hidden; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
      .dq-nav { width: 38px; height: 38px; font-size: 22px; }
      .dq-prev { left: 6px; } .dq-next { right: 6px; }
    }
    @media (max-width: 400px) {
      .dq-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (prefers-reduced-motion: reduce) {
      .dq-carousel .dq-card, .dq-track { transition: none; }
    }

    /* ===== Links nos cartões ===== */
    .car-title a { color: inherit; text-decoration: none; }
    .car-title a:hover { color: var(--accent-2); }
    a.car-photo, a.dq-photo { display: block; }

    /* ===== Página de viatura (viatura.html) ===== */
    main.vd {
      display: block;
      text-align: left;
      max-width: 1080px;
      padding-top: 24px;
    }
    .vd-card {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
      background: rgba(21,24,29,0.92);
      border: 1px solid rgba(212,162,76,0.35);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    }
    .vd-gallery { display: flex; flex-direction: column; background: #111; min-width: 0; }
    .vd-main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; touch-action: pan-y; }
    .vd-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
    .vd-main .dq-nav { top: 50%; transform: translateY(-50%); }
    .vd-main .dq-prev { left: 12px; }
    .vd-main .dq-next { right: 12px; }
    .vd-count {
      position: absolute;
      right: 12px;
      bottom: 12px;
      background: rgba(0,0,0,0.65);
      color: #fff;
      font-size: 12px;
      padding: 4px 9px;
      border-radius: 6px;
    }
    .vd-thumbs {
      display: flex;
      gap: 8px;
      padding: 10px;
      overflow-x: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(212,162,76,0.55) transparent;
    }
    .vd-thumbs::-webkit-scrollbar { height: 5px; }
    .vd-thumbs::-webkit-scrollbar-track { background: transparent; }
    .vd-thumbs::-webkit-scrollbar-thumb { background: rgba(212,162,76,0.55); border-radius: 3px; }
    .vd-thumbs button {
      flex: 1 0 64px;
      max-width: 120px;
      aspect-ratio: 4 / 3;
      padding: 0;
      border: 2px solid transparent;
      border-radius: 8px;
      overflow: hidden;
      cursor: pointer;
      background: none;
      opacity: 0.6;
      transition: opacity .15s ease, border-color .15s ease;
    }
    .vd-thumbs button:hover { opacity: 1; }
    .vd-thumbs button[aria-current] { border-color: var(--accent); opacity: 1; }
    .vd-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .vd-info { padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; }
    .vd-info .car-title { font-size: clamp(30px, 4vw, 40px); margin: 0; }
    .vd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
    .vd-actions .btn { padding: 12px 18px; font-size: 14px; }

    .vd-block {
      margin-top: 18px;
      background: rgba(21,24,29,0.88);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 24px 26px;
    }
    .vd-block h2 {
      font-family: "Barlow Condensed", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-size: 24px;
      color: var(--accent-2);
      margin-bottom: 14px;
    }
    .vd-block p { color: #d6d8db; line-height: 1.75; font-size: 15px; white-space: pre-line; }
    .vd-equip {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 8px;
    }
    .vd-equip li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--text);
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 9px 12px;
    }
    .vd-equip svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
    .vd-missing { text-align: center; }
    .vd-missing h1 { margin-bottom: 12px; }
    .vd-missing p { margin-bottom: 16px; }

    @media (max-width: 820px) {
      .vd-card { grid-template-columns: minmax(0, 1fr); }
    }
    @media (max-width: 480px) {
      main.vd { padding-left: 14px; padding-right: 14px; }
      .vd-thumbs { gap: 6px; padding: 8px; scroll-snap-type: x mandatory; }
      .vd-thumbs button { flex-basis: 64px; scroll-snap-align: start; }
      .vd-main .dq-nav { width: 36px; height: 36px; font-size: 22px; }
      .vd-main .dq-prev { left: 8px; }
      .vd-main .dq-next { right: 8px; }
      .vd-info { padding: 22px 18px; }
      .vd-block { padding: 20px 18px; }
      .vd-info .car-price { font-size: 38px; }
    }
    .legal-card a.btn { color: #16120a; text-decoration: none; }
    .legal-card a.btn:hover { text-decoration: none; }

    /* ===== Os nossos stands ===== */
    .stands { width: 100%; margin-top: 40px; }
    .stands-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
    }
    .stand-card {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      text-align: left;
      background: rgba(21,24,29,0.85);
      backdrop-filter: blur(6px);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 22px 20px;
    }
    .stand-card > svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
    .stand-card h3 {
      font-family: "Barlow Condensed", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      font-size: 22px;
      letter-spacing: 0.02em;
      margin-bottom: 6px;
    }
    .stand-card p { color: #d6d8db; font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
    .stand-card .btn { padding: 10px 16px; font-size: 14px; }
    .stand-card > div { flex: 1; min-width: 0; }
    .stand-tag {
      display: inline-block;
      vertical-align: middle;
      margin-left: 6px;
      font-family: "Inter", sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.14em;
      color: var(--accent-2);
      border: 1px solid rgba(212,162,76,0.4);
      background: rgba(212,162,76,0.08);
      padding: 3px 7px;
      border-radius: 999px;
    }
