/* Novo Estilo para o site Descompli Car - Focado em Conversão */

:root {
    --primary-color: #1a365d; /* Azul escuro - Confiança */
    --secondary-color: #ff974e; /* Laranja vibrante - Ação (nova cor) */
    --accent-color: #ffd700; /* Dourado - Premium */
    --light-gray: #f7fafc; /* Cinza claro - Background neutro */
    --white: #ffffff; /* Branco puro */
    --dark-text: #2d3748; /* Texto escuro */
    --gray-text: #718096; /* Texto cinza */
    --border-color: #e9ecef;
    --font-heading: 'Inter', 'Poppins', sans-serif; /* Títulos */
    --font-body: 'Inter', sans-serif; /* Corpo do texto */
    --font-cta: 'Montserrat', sans-serif; /* CTAs */
    --transition: all 0.3s ease;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1280px; /* Aumentado para mais espaço */
    margin: 0 auto;
    padding: 0 20px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-cta);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(26, 54, 93, 0.2);
}

.btn-primary:hover {
    background-color: #152c4a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 54, 93, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(255, 151, 78, 0.2); /* Ajustado para nova cor */
}

.btn-secondary:hover {
    background-color: #e68745; /* Ajustado para nova cor */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 151, 78, 0.3); /* Ajustado para nova cor */
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 54, 93, 0.1);
}

/* Seções */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--secondary-color);
    border-radius: 5px;
}

/* Header */
.header {
    background-color: var(--white); /* Fundo branco */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px; /* espessura da header */
  padding: 0 20px;
  background-color: var(--white);
  border-bottom: 1px solid var(--white);
}

@media (max-width: 768px) {
    .header-container {
        height: 55px;
        padding: 0 15px;
    }

    .logo img {
        height: 45px;
    }
}

.logo img {
    height: 60px; /* Ajuste para o novo design do logo */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -8px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Botão de telefone removido do cabeçalho */
.phone-button {
    display: none;
}

.mobile-menu-toggle {
  display: none; /* escondido no desktop */
  background: none;
  border: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  /* Menu escondido por padrão no mobile */
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px; /* altura da header */
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-top: 1px solid var(--light-gray);
  }

  /* Menu visível quando .active */
  .nav-menu.active {
    display: flex;
  }

  /* Botão aparece no mobile */
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- ANIMAÇÃO HAMBURGUER -> X --- */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	margin-left: 0px;
	font-size: medium;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 0px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8), rgba(0, 86, 179, 0.6));
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
	font-family: var(--font-heading);
	font-size: clamp(1.4em, 5vw, 2.6rem);
	font-weight: 700;
	line-height: 1.2;
	word-break: break-word;
	color: var(--white);
	margin-bottom: 10px;
	position: relative;
	padding-bottom: 10px;
}

.hero-text {
    font-family: var(--font-body);
	font-size: clamp(1rem, 4vw, 1.6rem);
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
        text-align: center;
    }
    .hero-content {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .hero-text {
        font-size: 1rem;
    }
}
/* Search Section */
.search {
  position: relative;
  height: 60vh; /* ocupa quase toda a tela */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

/* imagem de fundo com animação */
.search::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero.jpg") center top/cover no-repeat; /* ajuste caminho */
  animation: moveAndZoom 35s ease-in-out infinite alternate;
  z-index: 0;
}

/* camada de sobreposição */
.search-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* garante que o conteúdo fica por cima */
.search-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  margin: 0 auto;
}

.search-title {
	font-family: var(--font-heading);
	font-size: clamp(1.4em, 5vw, 2.6rem);
	font-weight: 700;
	color: var(--white);
	text-align: center;
	margin-bottom: 50px;
	position: relative;
	padding-bottom: 10px;
}

.search-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--secondary-color);
    border-radius: 5px;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

@media (max-width: 768px) {
    .search-title {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .search-text {
        font-size: 1rem;
    }
}
.form-group {
    display: flex;
    flex-direction: column;
}

.form-control {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.search-button {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Animação de zoom na imagem de fundo */
@keyframes moveAndZoom {
  0% {
    transform: scale(1);
    background-position: center top;
  }
  100% {
    transform: scale(1.1);
    background-position: center bottom;
  }
}

.financing-section {
    margin-top: 40px;
}

.fin-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-dialog {
    background: #fff;
    width: 100%;
    max-width: 640px;
    border-radius: 12px;
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.result-box {
    margin-top: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    min-height: 120px;
    line-height: 1.6;
}

/* Cards de Veículos - Redesign */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    width: 100%;
    height: 220px; /* Altura fixa para imagens */
    overflow: hidden;
    position: relative;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorte automático para mobile */
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05); /* Zoom sutil */
}

.vehicle-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.vehicle-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.vehicle-installment {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 15px;
}

.vehicle-details-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.vehicle-details-icons span {
    display: flex;
    align-items: center;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.vehicle-details-icons i {
    margin-right: 8px;
    color: var(--primary-color);
}

.vehicle-features-list {
    list-style: none;
    margin-bottom: 20px;
}

.vehicle-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--dark-text);
}

.vehicle-features-list i {
    color: #28a745; /* Verde para check */
    margin-right: 10px;
}

.vehicle-card .btn {
    margin-top: auto; /* Empurra o botão para o final do card */
    width: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366; /* Cor do WhatsApp */
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1010;
	font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 8px 20px rgba(255,255,255,1.00);
	-webkit-box-shadow: 0 8px 20px rgba(255,255,255,1.00);
}

/* Footer */
.footer {
    background-color: var(--primary-color); /* Fundo azul */
    color: var(--white);
    padding: 60px 0 20px;
    font-family: var(--font-body);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 65px; /* Ajuste para o novo design do logo */
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}
.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color); /* Dourado para títulos do footer */
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section .social-links a {
    font-size: 1.5rem;
    margin-right: 15px;
}

.footer-section .social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Estilos para o modal de visualização rápida (ainda a ser implementado no HTML/JS) */
.quick-view-modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-view-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quick-view-modal.active .modal-content {
    transform: scale(1);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    color: var(--gray-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #dc3545; /* Cor de perigo */
}

/* Estilos para o modal de veículos em destaque (swipe de veículos) */
.featured-vehicle-modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-vehicle-modal.active {
    display: flex;
    opacity: 1;
}

.featured-modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    max-width: 900px; /* Largura maior para o modal de veículos */
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.featured-vehicle-modal.active .featured-modal-content {
    transform: scale(1);
}

.featured-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    color: var(--gray-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.featured-modal-close:hover {
    color: #dc3545;
}

.featured-modal-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.featured-modal-vehicle-wrapper {
    display: flex;
    width: 90%;
    overflow: hidden; /* Para o swipe */
    position: relative;
}

.featured-modal-vehicle-item {
    flex: 0 0 100%; /* Cada item ocupa 100% da largura */
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.featured-modal-vehicle-item img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer; /* Indica que é clicável */
}

.featured-modal-vehicle-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.featured-modal-vehicle-item p {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    padding-right: 10px;
    padding-left: 10px;
}

.featured-modal-vehicle-item .price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.featured-modal-vehicle-item .btn {
    margin: 10px;
}

.featured-modal-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.featured-modal-nav-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.featured-modal-nav-button.left {
    left: 15px;
}

.featured-modal-nav-button.right {
    right: 15px;
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .featured-modal-content {
        width: 95vh;
        padding: 15px;
    }

    .featured-modal-vehicle-item h3 {
        font-size: 1.6rem;
    }

    .featured-modal-vehicle-item .price {
        font-size: 1.8rem;
    }

    .featured-modal-nav-button {
        padding: 10px;
        font-size: 1.2rem;
    }
}

/* Seções da Página */
section {
    padding: 80px 0;
}

.featured-vehicles {
    background-color: var(--light-gray);
}

.services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-text);
    line-height: 1.7;
}

.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    list-style: none;
    margin-bottom: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.about-features i {
    color: #28a745; /* Verde para check */
    margin-right: 15px;
    font-size: 1.3rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-top: 40px;
    }
}

.testimonials {
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--dark-text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.testimonial-rating {
    margin-top: 15px;
}

.testimonial-rating i {
    color: var(--accent-color); /* Estrelas douradas */
    font-size: 1.1rem;
    margin: 0 2px;
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), #553c9a); /* Gradiente */
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.contact-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons .btn {
    margin: 10px;
    min-width: 200px;
}

@media (max-width: 768px) {
    .contact-content h2 {
        font-size: 2.2rem;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 80%;
    }
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1002;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 2.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Spinner de carregamento */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================
   Featured Vehicles Modal
   ================================ */
.featured-modal {
  display: none; /* escondido por padrão */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.featured-modal.active {
  display: flex;
}

/* Conteúdo principal */
.featured-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  max-width: 1000px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  padding: 20px;
  animation: scaleIn 0.3s ease;
}

/* Botão fechar */
.featured-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10;
}

.featured-modal-close:hover {
  color: var(--primary-color);
}

/* Corpo do modal */
.featured-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-modal-vehicle-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Navegação lateral (setas) */
.featured-modal-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 5;
}

.featured-modal-nav-button:hover {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.05);
}

.featured-modal-nav-button.left {
  left: 10px;
}

.featured-modal-nav-button.right {
  right: 10px;
}

/* ================================
   Animações
   ================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Vehicle Detail Page */
.vehicle-detail {
    padding: 60px 0;
}

.vehicle-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vehicle-gallery {
    margin-bottom: 40px;
}

.vehicle-main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 400px;
}

.vehicle-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-thumbnails {
    display: flex;
    gap: 15px;
}

.vehicle-thumbnail {
    width: 100px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.vehicle-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-specs {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

.vehicle-specs-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.vehicle-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.vehicle-spec-item:last-child {
    border-bottom: none;
}

.vehicle-contact-form {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
}

.vehicle-contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 20px;
}

.form-button:hover {
    background-color: var(--accent-color);
}

.similar-vehicles {
    margin-top: 80px;
}