  :root {
      --gold: #C9A84C;
      --gold-light: #E8C96A;
      --gold-dark: #8B6914;
      --black: #0A0A0A;
      --black-soft: #111111;
      --black-card: #161616;
      --white: #F5F3EE;
      --white-muted: #D4CFC4;
      --gray: #2A2A2A;
  }

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      background: var(--black);
      color: var(--white);
      font-family: 'Montserrat', sans-serif;
      font-weight: 300;
      overflow-x: hidden;
  }

  /* 1. Força o Nav a ocupar a largura toda e centralizar o que estiver dentro */
  nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background-color: rgba(0, 0, 0, 0.95);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 5%;
      border-bottom: 1px solid rgba(212, 175, 55, 0.2);
      box-sizing: border-box;
  }

  .nav-links {
      display: flex;
      list-style: none;
      gap: 25px;
      /* Espaço entre os botões */
      align-items: center;
  }

  .nav-links a {
      color: #fff;
      text-decoration: none;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: color 0.3s;
  }

  .nav-links a:hover {
      color: #d4af37;
      /* Cor dourada no hover */
  }

  /* Botão de Destaque (Contato) */
  .nav-btn-destaque {
      border: 1px solid #d4af37;
      padding: 8px 18px;
      border-radius: 4px;
      transition: all 0.3s !important;
  }

  .nav-btn-destaque:hover {
      background-color: #d4af37;
      color: #000 !important;
  }

  /* Ajuste da Logo para caber no Navbar */
  .main-logo {
      height: 80px;
      /* Altura controlada para não quebrar o layout */
      width: auto;
  }

  body {
      padding-top: 70px;
  }

  .nav-logo {
      display: flex;
      align-items: center;
  }


  /* 4. Caso a imagem falhe, o texto também ficará centralizado */
  #logo-text {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.8rem;
      color: var(--gold);
      text-align: center;
      letter-spacing: 0.2em;
  }

  .btn-whatsapp {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--gold);
      color: var(--black);
      text-decoration: none;
      padding: 0.55rem 1.4rem;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: background 0.3s, transform 0.2s;
      font-family: 'Montserrat', sans-serif;
  }

  .btn-whatsapp:hover {
      background: var(--gold-light);
      transform: translateY(-1px);
  }



  .btn-whatsapp svg {
      width: 16px;
      height: 16px;
  }

  /* ─── HERO ─── */
  .hero {
      min-height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
      padding: 8rem 2rem 4rem;
      position: relative;
      overflow: hidden;
      padding-top: 20px;
      margin-top: 0;
  }

  .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center bottom, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
      pointer-events: none;
  }

  .hero-eyebrow {
      margin-top: 120px;
      margin-bottom: 10px;
      font-size: 0.65rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--gold);
      animation: fadeUp 0.8s ease both;
  }

  .hero h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(3rem, 8vw, 6.5rem);
      font-weight: 300;
      line-height: 1.05;
      color: var(--white);
      margin-bottom: 1.5rem;
      animation: fadeUp 0.9s 0.1s ease both;
  }

  .hero h1 em {
      font-style: italic;
      color: var(--gold);
  }

  .hero-sub {
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      color: var(--white-muted);
      max-width: 480px;
      line-height: 1.8;
      margin-bottom: 2.5rem;
      animation: fadeUp 1s 0.2s ease both;
  }

  .hero-cta {
      display: flex;
      gap: 1rem;
      animation: fadeUp 1s 0.3s ease both;
      flex-wrap: wrap;
      justify-content: center;
  }

  .btn-primary {
      background: var(--gold);
      color: var(--black);
      padding: 0.85rem 2.2rem;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      text-decoration: none;
      font-family: 'Montserrat', sans-serif;
      transition: background 0.3s, transform 0.2s;
      cursor: pointer;
      border: none;
  }

  .btn-primary:hover {
      background: var(--gold-light);
      transform: translateY(-2px);
  }

  .btn-outline {
      background: transparent;
      color: var(--white);
      padding: 0.85rem 2.2rem;
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      text-decoration: none;
      font-family: 'Montserrat', sans-serif;
      border: 1px solid rgba(245, 243, 238, 0.3);
      transition: border-color 0.3s, transform 0.2s;
      cursor: pointer;
  }

  .btn-outline:hover {
      border-color: var(--gold);
      color: var(--gold);
      transform: translateY(-2px);
  }

  .gold-line {
      width: 60px;
      height: 1px;
      background: var(--gold);
      margin: 2rem auto 0;
      animation: expandLine 1s 0.5s ease both;
  }

  /* ─── FILTROS ─── */
  .section {
      padding: 5rem 2rem;
      max-width: 1300px;
      margin: 0 auto;
  }

  .section-header {
      text-align: center;
      margin-bottom: 3rem;
  }

  .section-eyebrow {
      font-size: 0.62rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.8rem;
  }

  .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300;
      color: var(--white);
  }

  .filters {
      display: flex;
      gap: 0.6rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 3rem;
  }

  .filter-btn {
      background: transparent;
      border: 1px solid rgba(201, 168, 76, 0.3);
      color: var(--white-muted);
      padding: 0.5rem 1.4rem;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.25s;
  }

  .filter-btn:hover,
  .filter-btn.active {
      background: var(--gold);
      color: var(--black);
      border-color: var(--gold);
  }

  /* ─── GRID VEÍCULOS ─── */
  #vehicles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 1.5px;
  }

  .vehicle-card {
      background: var(--black-card);
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s;
  }

  .vehicle-card:hover {
      transform: scale(1.01);
      z-index: 2;
  }

  .vehicle-card:hover .card-overlay {
      opacity: 1;
  }

  .card-img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      display: block;
      filter: brightness(0.85);
      transition: filter 0.4s, transform 0.4s;
  }

  .vehicle-card:hover .card-img {
      filter: brightness(1);
      transform: scale(1.04);
  }

  .card-img-placeholder {
      width: 100%;
      height: 240px;
      background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(201, 168, 76, 0.25);
      font-size: 3rem;
  }

  .status-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      font-size: 0.55rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      padding: 4px 10px;
      font-family: 'Montserrat', sans-serif;
  }

  .status-disponivel {
      background: var(--gold);
      color: var(--black);
  }

  .status-reservado {
      background: #333;
      color: var(--white-muted);
      border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .status-preparacao {
      background: transparent;
      color: var(--gold);
      border: 1px solid var(--gold);
  }

  .card-body {
      padding: 1.4rem 1.6rem 1.6rem;
      border-top: 1px solid rgba(201, 168, 76, 0.12);
  }

  .card-brand {
      font-size: 0.58rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.3rem;
  }

  .card-model {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 0.6rem;
      line-height: 1.1;
  }

  .card-specs {
      display: flex;
      gap: 1.2rem;
      margin-bottom: 1rem;
  }

  .card-spec {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 0.65rem;
      color: var(--white-muted);
      letter-spacing: 0.05em;
  }

  .card-spec svg {
      width: 12px;
      height: 12px;
      opacity: 0.6;
  }

  .card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding-top: 1rem;
  }

  .card-price {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 600;
      color: var(--gold);
      letter-spacing: -0.01em;
  }

  .card-price-label {
      font-size: 0.55rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--white-muted);
  }

  .card-btn {
      background: transparent;
      border: 1px solid rgba(201, 168, 76, 0.4);
      color: var(--gold);
      padding: 0.5rem 1rem;
      font-size: 0.6rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-family: 'Montserrat', sans-serif;
      cursor: pointer;
      transition: all 0.25s;
  }

  .card-btn:hover {
      background: var(--gold);
      color: var(--black);
  }

  .loading-state {
      text-align: center;
      padding: 4rem;
      color: var(--white-muted);
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      grid-column: 1/-1;
  }

  .loading-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      background: var(--gold);
      border-radius: 50%;
      margin: 0 3px;
      animation: blink 1.2s infinite both;
  }

  .loading-dot:nth-child(2) {
      animation-delay: 0.2s;
  }

  .loading-dot:nth-child(3) {
      animation-delay: 0.4s;
  }

  /* ─── MODAL ─── */
  .modal-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.88);
      z-index: 1100;
      align-items: center;
      justify-content: center;
      padding: 2rem;
  }

  .modal-backdrop.open {
      display: flex;
  }

  .modal {
      background: var(--black-card);
      max-width: 780px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      border: 1px solid rgba(201, 168, 76, 0.2);
  }

  .modal-img {
      width: 100%;
      height: 320px;
      object-fit: cover;
  }

  .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(0, 0, 0, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--white);
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.2rem;
      font-family: monospace;
      transition: background 0.2s;
      z-index: 10;
  }

  .modal-close:hover {
      background: var(--gold);
      color: var(--black);
  }

  .modal-body {
      padding: 2rem 2.5rem 2.5rem;
  }

  .modal-meta {
      font-size: 0.6rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.4rem;
  }

  .modal-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.2rem;
      font-weight: 400;
      margin-bottom: 1.5rem;
      line-height: 1.1;
  }

  .modal-specs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }

  .modal-spec-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.1);
    padding: 0.65rem 1rem;
    flex: 1 1 120px;
    min-width: 100px;
    max-width: 200px;
  }

  .modal-spec-label {
      font-size: 0.55rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--white-muted);
      margin-bottom: 0.3rem;
  }

  .modal-spec-value {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--white);
  }

  .modal-desc {
      font-size: 0.78rem;
      line-height: 1.9;
      color: var(--white-muted);
      margin-bottom: 2rem;
      border-top: 1px solid rgba(201, 168, 76, 0.12);
      padding-top: 1.2rem;
  }

  .modal-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: gap;
      gap: 1rem;
  }

  .modal-price {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 600;
      color: var(--gold);
  }

  /* ─── FOOTER ─── */
  footer {
      padding: 40px 5%;
      text-align: center;
      background: #000;
      border-top: 1px solid rgba(212, 175, 55, 0.1);
  }

  .footer-brand {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1rem;
      color: var(--gold);
      letter-spacing: 0.1em;
  }

  .footer-copy {
      font-size: 0.6rem;
      color: var(--white-muted);
      letter-spacing: 0.1em;
  }

  .footer-social-btns {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin: 20px 0;
  }

  .footer-social-btns a {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-size: 0.75rem;
      font-weight: 500;
      transition: transform 0.3s, opacity 0.3s;
  }

  .footer-social-btns a:hover {
      transform: translateY(-3px);
      opacity: 0.9;
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
      from {
          opacity: 0;
          transform: translateY(20px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @keyframes expandLine {
      from {
          width: 0;
      }

      to {
          width: 60px;
      }
  }

  @keyframes blink {

      0%,
      80%,
      100% {
          opacity: 0;
      }

      40% {
          opacity: 1;
      }
  }



  /* ─── RESPONSIVO ─── */
  @media (max-width: 768px) {
      nav {
          padding: 10px 15px;
      }

      .main-logo {
          height: 80px;
      }

      .nav-links {
          gap: 10px;
      }

      .nav-links a {
        font-size: 0.7rem; /* Diminui a letra dos botões no celular */
        padding: 5px 8px;
    }

      #vehicles-grid {
          grid-template-columns: 1fr;
      }

      .modal-body {
          padding: 1.5rem;
      }

      footer {
          flex-direction: column;
          text-align: center;
      }
  }

  .modal-images-grid {
      display: flex;
      overflow-x: auto;
      /* Permite deslizar para o lado se tiver muitas fotos */
      gap: 10px;
      padding: 10px;
      scroll-snap-type: x mandatory;
  }

  .modal-detail-img {
      width: 100%;
      max-height: 600px;
      object-fit: cover;
      border-radius: 8px;
      scroll-snap-align: center;
      flex-shrink: 0;
  }

  .about-section {
      padding: 80px 5%;
      background-color: #0a0a0a;
      /* Tom ligeiramente diferente do fundo principal */
      color: #fff;
  }

  .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
  }

  .section-subtitle {
      color: #d4af37;
      /* Dourado */
      text-transform: uppercase;
      font-size: 0.75rem;
      letter-spacing: 2px;
      margin-bottom: 10px;
  }

  .about-text h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem;
      margin-bottom: 25px;
  }

  .about-text h2 span {
      color: #d4af37;
  }

  .about-text p {
      color: #ccc;
      line-height: 1.8;
      margin-bottom: 20px;
      font-size: 1rem;
  }

  /* Cartões de Motivos */
  .about-features {
      display: flex;
      flex-direction: column;
      gap: 30px;
  }

  .feature-card {
      display: flex;
      gap: 20px;
      background: rgba(255, 255, 255, 0.03);
      padding: 20px;
      border-left: 3px solid #d4af37;
      transition: transform 0.3s;
  }

  .feature-card:hover {
      transform: translateX(10px);
      background: rgba(255, 255, 255, 0.05);
  }

  .feature-icon {
      color: #d4af37;
      font-size: 1.2rem;
      font-weight: bold;
  }

  .feature-card h3 {
      font-size: 1.1rem;
      margin-bottom: 5px;
      color: #d4af37;
  }

  .feature-card p {
      font-size: 0.9rem;
      color: #aaa;
  }

  /* Responsividade para Celular */
  @media (max-width: 900px) {
      .about-grid {
          grid-template-columns: 1fr;
      }

      .about-text h2 {
          font-size: 2.2rem;
      }
  }

  .modal-gallery {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.image-wrapper img {
    max-width: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #d4af37; /* Dourado */
    border: none;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.nav-arrow:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #fff;
}

.nav-arrow.prev { left: 0; border-radius: 0 5px 5px 0; }
.nav-arrow.next { right: 0; border-radius: 5px 0 0 5px; }

.photo-counter {
    position: absolute;
    bottom: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 1px;
}
