﻿/* Reset e configuraÃ§Ãµes bÃ¡sicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Garantir que o body nÃ£o tenha overflow horizontal */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Seletor de Idiomas Simples */
.language-selector-container {
    margin-left: 20px;
}

.language-selector-simple {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.language-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.language-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.language-link.active {
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
}

.language-separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .language-selector-container {
        margin-left: 10px;
    }
    
    .language-selector-simple {
        font-size: 0.8rem;
    }
    
    .language-link {
        padding: 3px 6px;
    }
    

}



body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;

    /* Background de pÃ¡gina inteira com overlay - COMENTADO para permitir override do tema */
    /* background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('/assets/images/banner/banner1.jpg') center/cover no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center; */

}

@media (max-width: 480px) {
    /* Melhor performance em mobile */
    body {
        background-attachment: scroll;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

/* Fallback para texto caso a imagem nÃ£o carregue */
.logo h1 {
    color: #e74c3c;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: inherit;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: #e74c3c;
}

.menu-toggle.active {
    color: #e74c3c;
    transform: rotate(90deg);
}

/* BotÃµes */
.btn-primary {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #e74c3c;
    /*border: 2px solid #e74c3c; */
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e74c3c;
    color: white;
}

/* Hero Section */
.hero {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg,rgb(0, 0, 0) 0%,rgb(121, 121, 121) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1563720223188-11003d516935?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Search Section */
.search-section {
    background: #f8f9fa;
    padding: 80px 0 60px 0;
}

/* Padding adicional para pÃ¡ginas de veÃ­culos e vendidos */
.search-section {
    padding-top: 0px;
}

.search-box {
    background: white;
    padding: 20px;
    border-radius: 16px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
    text-align: center;
}

.search-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    text-align: left;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #e74c3c;
    /* box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1); */
}

/* Vehicles Section */
.vehicles-section {
    padding: 80px 0;
    background: white;
}

/* Padding adicional para seÃ§Ã£o de veÃ­culos */
.vehicles-section {
    padding-top: 00px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Melhorar layout quando hÃ¡ poucos veÃ­culos */
.vehicles-grid:has(.vehicle-card:only-child) {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vehicles-grid:has(.vehicle-card:only-child) .vehicle-card {
    max-width: 600px;
    margin: 0 auto;
}

/* Alternativa mais compatÃ­vel para navegadores que nÃ£o suportam :has() */
.vehicles-grid.single-vehicle {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vehicles-grid.single-vehicle .vehicle-card {
    max-width: 600px;
    margin: 0 auto;
}

/* Para 2 veÃ­culos */
.vehicles-grid.two-vehicles {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.vehicle-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 1 !important;
    transform: none !important;
    border: 1px solid #e9ecef;
    max-width: 100%;
    width: 100%;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 15px 40px rgba(0,0,0,0.15); */
}

.vehicle-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.vehicle-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.vendido-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.destaque {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.vehicle-info {
    padding: 1.5rem;
}

.vehicle-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.vehicle-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.vehicle-details span {
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.vehicle-price {
    font-size: 1.5rem;
    font-weight: 700;
    /*color: #e74c3c;*/
    margin-bottom: 1rem;
}

.vehicle-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: #f8f9fa;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.load-more {
    text-align: center;
}

/* About Section */
.about-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.about-content {
    display: block;
}

.about-image { display: none !important; }

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.08); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature:hover {
    transform: translateY(-5px);
   /* box-shadow: 0 10px 25px rgba(0,0,0,0.15); */
}

.feature i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
    display: block;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 600;
}

.feature p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 30px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-top: 0.2rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    /*margin-bottom: 2rem;*/
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e74c3c;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e74c3c;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Social Links para pÃ¡gina contacto */
.social-links-contacto {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links-contacto a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e74c3c;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links-contacto a:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
   /*padding-top: 2rem;
    /*border-top: 1px solid #34495e;*/
    color: #bdc3c7;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: transparent;
        flex-direction: column;
        padding: 1rem;
        z-index: 1000;
    }
    
    .nav.active {
        display: flex !important;
    }
    
    .nav.active .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav.active .nav-list li {
        width: 100%;
    }
    
    .nav.active .nav-list a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: left;
        color: inherit;
    }
    
    .nav.active .nav-list a:last-child {
        border-bottom: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .logo-image {
        height: 60px;
        max-width: 240px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-image {
        height: 50px;
        max-width: 200px;
    }
    
    /* Ajustes para ecrÃ£s muito pequenos */
    .vehicles-grid,
    .vehicles-grid-vendidos {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vehicle-card {
        min-width: 0;
        width: 100%;
    }
}

/* Regras especÃ­ficas para ecrÃ£s muito pequenos (iPhone SE, etc.) */
@media (max-width: 375px) {
    .container {
        padding: 0 8px;
    }
    
    .vehicles-grid,
    .vehicles-grid-vendidos {
        gap: 1rem;
    }
    
    .vehicle-card {
        border-radius: 12px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature {
        padding: 1.5rem 1rem;
        height: 180px;
    }
    
    .feature i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature h3 {
        font-size: 1.2rem;
    }
    
    .feature p {
        font-size: 0.9rem;
    }
    
    .about-image {
        height: 250px;
    }
    
    .veiculo-descricao {
        padding: 15px 8px !important;
        margin: 0 5px !important;
    }
}

/* Page Header */
.page-header {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg,rgb(0, 0, 0) 0%,rgb(121, 121, 121) 100%);    
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1563720223188-11003d516935?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact CTA */
.contact-cta {
    background: #f8f9fa;
    padding: 30px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* AnimaÃ§Ãµes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* PÃ¡gina de Detalhes do VeÃ­culo */
.veiculo-detalhes {
    padding: 100px 0;
    background: #f8f9fa;
}

/* Layout em duas colunas */
.veiculo-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.veiculo-coluna-esquerda {
    display: flex;
    flex-direction: column;
    /* Coluna esquerda faz scroll normalmente */
}

.veiculo-coluna-direita {
    position: sticky;
    top: 140px; /* Altura do header */
    height: fit-content;
    width: 100% !important
}

/* Nova caixa para tÃ­tulo e preÃ§o */
.veiculo-titulo-preco {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Novos estilos para o layout atualizado */
.veiculo-detalhes-basicos {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 5px;
    font-size: 0.85rem;
    /*color: #666;*/
}

.especificacoes-tabela {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.especificacoes-tabela tr {
    border-bottom: 1px solid #eee;
}

.especificacoes-tabela tr:last-child {
    border-bottom: none;
}

.especificacoes-tabela td {
    padding: 12px 0;
    vertical-align: top;
}

.especificacoes-tabela .espec-label {
    font-weight: 600;
    color: #666;
    width: 40%;
    font-size: 0.8rem;
}

.especificacoes-tabela .espec-valor {
    font-weight: 500;
    color: #333;
    width: 60%;
    font-size: 0.8rem;
}

.btn-contacto {
    width: 100%;
    padding: 15px 30px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-contacto:hover {
    background: #c0392b;
    color: white;
    text-decoration: none;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #e74c3c;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    font-weight: 600;
}

/* Galeria de Imagens */
.veiculo-galeria {
    margin-bottom: 40px;
}

.galeria-principal {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    /*box-shadow: 0 8px 25px rgba(0,0,0,0.1);*/
}

.galeria-principal img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
   /* background: #f8f9fa;*/
    max-width: 100%;
    max-height: 100%;
}

.galeria-controles {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.galeria-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    color: #333;
}

.galeria-btn:hover {
    background: white;
    transform: scale(1.1);
}

.galeria-miniaturas {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.miniatura {
    width: 100px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    border: 2px solid transparent;
    /*background: #f8f9fa;*/
    max-width: 100%;
    max-height: 100%;
}

.miniatura:hover,
.miniatura.ativa {
    opacity: 1;
    border-color: #e74c3c;
}

/* InformaÃ§Ãµes do VeÃ­culo */
.veiculo-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);*/    
    width: 100%;
    max-width: 100%;
}

.veiculo-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*margin-bottom: 20px;*/
    gap: 10px;
}

.veiculo-header h1 {
    font-size: 1.5rem;
    /* color: #333; */
    margin: 0;
    width: 100%;
}

.veiculo-ano {
    background: #667eea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

/*.veiculo-preco {
   background: #e74c3c;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}*/

.veiculo-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.veiculo-badge.seminovo {
    background: #e74c3c;
    color: white;
}

.veiculo-badge.usado {
    background: #f39c12;
    color: white;
}

/* EspecificaÃ§Ãµes */
.especificacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.espec-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.espec-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

.espec-valor {
    font-weight: 500;
    color: #333;
}

/* BotÃµes de AÃ§Ã£o */
.veiculo-acoes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-grande {
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 200px;
}

/* DescriÃ§Ã£o */
.veiculo-descricao {
    padding: 0px 0;
    /*background: white;*/
}

.veiculo-descricao h2 {
    font-size: 2rem;
    /*margin-bottom: 20px;*/
    color: #333;
}

.veiculo-descricao p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.descricao-content {
    font-size: 1.1rem;
    line-height: 1.7;
    /*color: #666;*/
    white-space: pre-line;
}

/* CaracterÃ­sticas */
.veiculo-caracteristicas {
    padding: 60px 0;
    background: #f8f9fa;
}

.veiculo-caracteristicas h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.caracteristica-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
}

.caracteristica-item i {
    color: #27ae60;
    font-size: 1.2rem;
}

.caracteristica-item span {
    font-weight: 500;
    color: #333;
}

/* VeÃ­culos Relacionados */
.veiculos-relacionados {
    padding: 60px 0;
    background: white;
}

.veiculos-relacionados h2 {
        font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

/* Contacto VeÃ­culo */
.contacto-veiculo {
    padding: 60px 0;
    background: #f8f9fa;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacto-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.contacto-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contacto-detalhes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contacto-item i {
    background: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contacto-item h4 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #333;
}

.contacto-item p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.contacto-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);*/    
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .veiculo-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
        display: flex !important;
        flex-direction: column;
    }
    
    .veiculo-coluna-esquerda {
        order: 1 !important;
        display: flex !important;
        flex-direction: column;
    }
    
    .veiculo-coluna-direita {
        order: 2 !important;
        position: static !important;
        display: flex !important;
        flex-direction: column;
        width: 100% !important
    }
    
    /* Ordem específica dos elementos */
    .veiculo-titulo-preco {
        order: 1 !important;
        margin-bottom: 15px;
    }
    
    .veiculo-galeria {
        order: 2 !important;
    }
    
    .veiculo-info {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .veiculo-descricao {
        order: 4 !important;
        padding: 30px 20px !important;
        margin: 0 15px !important;
    }
}

@media (max-width: 480px) {
    .veiculo-info {
        padding: 15px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .veiculo-titulo-preco {
        padding: 15px;
    }
    
    .veiculo-header h1 {
        font-size: 1.4rem;
    }
    
    .galeria-principal img {
        height: 250px;
    }
    
    .galeria-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .miniatura {
        width: 80px;
        height: 60px;
    }
    
    .veiculo-descricao {
        padding: 20px 15px !important;
        margin: 0 10px !important;
    }
}

/* PÃ¡ginas Sobre e Contacto */
.about-page,
.contact-page {
    padding: 60px 0;
    background: white;
}

/* ForÃ§ar 1 coluna na about-content em todo o site */
.about-content {
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

.about-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-text ul li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.value-item {
    padding: 20px;
    border-radius: 8px;
        text-align: center;
    }
    
.value-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;    
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg,rgb(0, 0, 0) 0%,rgb(121, 121, 121) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    padding: 30px;
    border-radius: 12px;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);*/
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    background: #e74c3c;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    color: #333;
}

.contact-item p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.contact-item a {
    /*color: #e74c3c;*/
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item small {
    color: #999;
    font-size: 0.9rem;
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);*/    
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-form > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
        display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-section h2 {
    text-align: center;
        font-size: 2.5rem;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.1);*/
}

/* Responsividade para pÃ¡ginas Sobre e Contacto */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h2,
    .contact-info h2,
    .contact-form h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin: 0 auto 10px auto;
    }
}

/* Modal para detalhes do veÃ­culo */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 50px auto;
    max-width: 800px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0,0,0,0.7);
} 

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    padding: 25px;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/    
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para veÃ­culos vendidos */
.veiculo-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    /*margin-top: 10px;*/
}

.veiculo-status.vendido {
    background: #28a745;
    color: white;
}

.veiculo-status.vendido i {
    color: white;
}



/* Estilos para cards de veÃ­culos vendidos */
.vehicle-card.vendido {
    position: relative;
}

.vehicle-card.vendido .vehicle-price {
    display: none;
}

/*.vehicle-card.vendido .vehicle-info {
    opacity: 0.8;
}*/

.vehicle-card.vendido .vehicle-badge {
    background: #28a745;
    color: white;
}

/* Estilos para pÃ¡gina de vendidos */
.vendidos-section .search-filters {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.vendidos-section .filter-group:nth-child(4) {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .vendidos-section .filter-group:nth-child(4) {
        grid-column: span 1;
    }
}

/* Estilos adicionais para veÃ­culos vendidos */
/*
.vehicle-card.vendido .vehicle-title {
    color: #666;
}

.vehicle-card.vendido .vehicle-details {
    opacity: 0.7;
}

.vehicle-card.vendido .vehicle-features {
    opacity: 0.7;
}*/

/* Estados de loading e erro */
.loading {
        text-align: center;
    padding: 40px 20px;
    color: #666;
}

.loading p {
    font-size: 1.1rem;
    margin: 0;
}

.error {
    text-align: center;
    padding: 40px 20px;
    color: #e74c3c;
}

.error p {
    font-size: 1.1rem;
    margin: 0;
}

.no-vehicles {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-vehicles p {
    font-size: 1.1rem;
    margin: 0;
}

/* Estilos para botÃ£o "Carregar Mais" */
.load-more {
    text-align: center;
    margin-top: 3rem;
}

.load-more button {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.view-all-vehicles {
    text-align: center;
    margin-top: 2rem;
}

.view-all-vehicles .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.view-all-vehicles .btn-primary i {
    font-size: 1.2rem;
}

/* Responsividade para estados */
@media (max-width: 768px) {
    .loading,
    .error,
    .no-vehicles {
        padding: 30px 15px;
    }
    
    .loading p,
    .error p,
    .no-vehicles p {
        font-size: 1rem;
    }
}

/* Index Page Values Grid - White Background */
.index-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.index-value-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.index-value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.index-value-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.index-value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.index-value-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .index-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .index-values-grid {
        grid-template-columns: 1fr;
    }
} 

/* Estilos especÃ­ficos para cada pÃ¡gina e seÃ§Ã£o */

/* ===== PÃGINA INDEX ===== */

/* Section Header - VeÃ­culos (Index) */
.section-header-veiculos-index {
    text-align: center;
    margin-bottom: 1rem;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    padding: 2rem;
    border-radius: 16px;
    color: white;
   /*  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);*/
}

.section-header-veiculos-index h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-header-veiculos-index p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* Section Header - VeÃ­culos (PÃ¡gina VeÃ­culos) */
.section-header-veiculos {
    text-align: center;
    margin-bottom: 1rem;
    padding: 2rem;
    border-radius: 16px;
    color: white;
    /*box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);*/   
}

.section-header-veiculos h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-header-veiculos p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* Section Header - Contacto (Index) */
.section-header-contacto {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    padding: 2rem;
    border-radius: 16px;
    color: white;
}

.section-header-contacto h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-header-contacto p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* ===== PÃGINA VEÃCULOS ===== */

/* Vehicles Section - VeÃ­culos */
.vehicles-section-veiculos {
    padding: 80px 0;
}

/* ===== PÃGINA CONTACTO ===== */

/* Contact Page - Contacto */
.contact-page-contacto {
    padding: 60px 0;
}

/* Contact Content - Contacto */
.contact-content-contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Info - Contacto */
.contact-info-contacto h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info-contacto > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Details - Contacto */
.contact-details-contacto {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 2rem;
}

.contact-details-contacto .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.08);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details-contacto .contact-item:hover {
    transform: translateY(-3px);
    /*box-shadow: 0 8px 25px rgba(0,0,0,0.15);*/
}

.contact-details-contacto .contact-item i {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Contact Form - Contacto */
.contact-form-contacto {
    padding: 30px;
    border-radius: 12px;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);*/    
    /*border-top: 4px solid #e74c3c;*/
}

.contact-form-contacto h2 {
        font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-form-contacto > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form-contacto .form-group input:focus,
.contact-form-contacto .form-group select:focus,
.contact-form-contacto .form-group textarea:focus {
    border-color: #e74c3c;
    /*box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);*/
}

/* ===== PÃGINA SOBRE ===== */

/* About Page - Sobre */
.about-page-sobre {
    padding: 60px 0;
}

/* About Content - Sobre */
.about-content-sobre {
    display: block !important;
}

.about-image-sobre { display: none !important; }

.about-text-sobre h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text-sobre h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.about-text-sobre p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-text-sobre ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-text-sobre ul li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Values Grid - Sobre */
.values-grid-sobre {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.values-grid-sobre .value-item {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.08);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /*border-top: 4px solid #667eea;*/
}

.values-grid-sobre .value-item:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 10px 25px rgba(0,0,0,0.15);*/
}

.values-grid-sobre .value-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.values-grid-sobre .value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.values-grid-sobre .value-item p {
        font-size: 1rem;
    line-height: 1.5;
}

/* About Image - Sobre */
.about-image-sobre {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/    
    border: 4px solid white;
}

.about-image-sobre img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stats Section - Sobre */
.stats-section-sobre {
    padding: 80px 0;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg,rgb(0, 0, 0) 0%,rgb(121, 121, 121) 100%);
    color: white;
}

.stats-grid-sobre {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stats-grid-sobre .stat-item {
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stats-grid-sobre .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stats-grid-sobre .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== PÃGINA VENDIDOS ===== */

/* Vehicles Section - Vendidos */
.vehicles-section-vendidos {
    padding: 80px 0;
}

/* Section Header - Vendidos */
.section-header-vendidos {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 16px;
    color: white;
    /*box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);*/
}

.section-header-vendidos h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-header-vendidos p {
    font-size: 1.1rem;
}

/* Vehicles Grid - Vendidos */
.vehicles-grid-vendidos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vehicles-grid-vendidos .vehicle-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.1);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0.8;
    border: 2px solid #28a745;
    max-width: 100%;
    width: 100%;
}

.vehicles-grid-vendidos .vehicle-card:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 15px 40px rgba(0,0,0,0.15);*/           
    opacity: 1;
}

.vehicles-grid-vendidos .vehicle-badge {
    background: #28a745;
    color: white;
}

/* Load More - Vendidos */
.load-more-vendidos {
    text-align: center;
    margin-top: 3rem;
}

.load-more-vendidos button {
    background: #28a745;
    color: white;
    border: 2px solid #28a745;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.load-more-vendidos button:hover {
    background: #20c997;
    border-color: #20c997;
    transform: translateY(-2px);
}

/* ===== RESPONSIVIDADE PARA CLASSES ESPECÃFICAS ===== */

@media (max-width: 768px) {
    /* Section Headers */
    .section-header-veiculos-index,
    .section-header-veiculos,
    .section-header-contacto,
    .section-header-vendidos {
        padding: 1.5rem;
    }
    
    .section-header-veiculos-index h2,
    .section-header-veiculos h2,
    .section-header-contacto h2,
    .section-header-vendidos h2 {
        font-size: 2rem;
    }
    
    /* Contact Content */
    .contact-content-contacto {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-contacto h2,
    .contact-form-contacto h2 {
        font-size: 2rem;
    }
    
    /* About Content */
    .about-content-sobre {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text-sobre h2,
    .about-text-sobre h3 {
        font-size: 2rem;
    }
    
    .values-grid-sobre {
        grid-template-columns: 1fr;
    }
    
    /* Stats Grid */
    .stats-grid-sobre {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Vehicles Grid */
    .vehicles-grid-vendidos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Section Headers */
    .section-header-veiculos-index,
    .section-header-veiculos,
    .section-header-contacto,
    .section-header-vendidos {
        padding: 1rem;
    }
    
    .section-header-veiculos-index h2,
    .section-header-veiculos h2,
    .section-header-contacto h2,
    .section-header-vendidos h2 {
        font-size: 1.8rem;
    }
    
    /* Stats Grid */
    .stats-grid-sobre {
        grid-template-columns: 1fr;
    }
    
    /* Contact Items */
    .contact-details-contacto .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details-contacto .contact-item i {
        margin: 0 auto 10px auto;
    }
} 

/* ===== PÃGINA DETALHES DO VEÃCULO ===== */

/* VeÃ­culo Detalhes - VeÃ­culo */
.veiculo-detalhes-veiculo {
    padding: 140px 0;
    /*  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
}





/* InformaÃ§Ãµes do VeÃ­culo - VeÃ­culo */
.veiculo-info-veiculo {
    background: white;
    padding: 30px;
    border-radius: 12px;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #e74c3c;*/
}

.veiculo-header-veiculo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 10px;
}

.veiculo-header-veiculo h1 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    width: 100%;
    /*background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);*/
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: transparent;*/
    background-clip: text;
}

.veiculo-ano {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg,rgb(0, 0, 0) 0%,rgb(121, 121, 121) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    /*box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);*/
}

.veiculo-preco {
    /*background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);*/
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    /*box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);*/
}





/* BotÃµes de AÃ§Ã£o - VeÃ­culo */
.veiculo-acoes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.veiculo-acoes .btn-grande {
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 200px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    /*box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);*/
}

.veiculo-acoes .btn-grande:hover {
    transform: translateY(-2px);
    /*box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);*/
}

/* DescriÃ§Ã£o - VeÃ­culo 
.veiculo-descricao {
    padding: 60px 0;
    background: white;
}

.veiculo-descricao h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.veiculo-descricao p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}


.descricao-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    white-space: pre-line;
}
*/

/* CaracterÃ­sticas - VeÃ­culo */
.veiculo-caracteristicas {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.veiculo-caracteristicas h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg,rgb(0, 0, 0) 0%,rgb(121, 121, 121) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.caracteristica-item {
    display: flex;
        align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.caracteristica-item:hover {
    transform: translateY(-3px);
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.1);*/ 
}

.caracteristica-item i {
    color: #27ae60;
    font-size: 1.2rem;
}

.caracteristica-item span {
    font-weight: 500;
    color: #333;
}

/* VeÃ­culos Relacionados - VeÃ­culo */
.veiculos-relacionados {
    padding: 60px 0;
    background: white;
}

.veiculos-relacionados h2 {
        font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg,rgb(0, 0, 0) 0%,rgb(121, 121, 121) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contacto VeÃ­culo - VeÃ­culo */
.contacto-veiculo {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacto-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contacto-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contacto-detalhes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
    transition: transform 0.3s ease;
}

.contacto-item:hover {
    transform: translateY(-3px);
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.1);*/
}

.contacto-item i {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contacto-item h4 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #333;
}

.contacto-item p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.contacto-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);*/    
    border-top: 4px solid #e74c3c;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Responsividade para pÃ¡gina de detalhes do veÃ­culo */
@media (max-width: 768px) {
    .veiculo-header-veiculo {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .veiculo-header-veiculo h1 {
        font-size: 2rem;
        min-width: auto;
    }
    

    
    .veiculo-acoes {
        flex-direction: column;
    }
    
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .caracteristicas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .veiculo-info-veiculo {
        padding: 20px;
    }
    
    .veiculo-header-veiculo h1 {
        font-size: 1.4rem;
    }
    

} 

/* Status de veÃ­culo vendido */
.veiculo-status.vendido {
    text-align: center;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* BotÃ£o de contacto para veÃ­culos vendidos */
.veiculo-acoes .btn-contacto {
    width: 100%;
    padding: 15px 30px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.veiculo-acoes .btn-contacto:hover {
    background: #c0392b;
    color: white;
    text-decoration: none;
} 

/* ===== FOOTER LEGAL ===== */
.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 0px;
}

.legal-links {
    text-align: center;
    margin-bottom: 15px;
}

.legal-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.legal-links .separator {
    color: rgba(255,255,255,0.5);
    margin: 0 10px;
}

.complaints-book {
    text-align: center;
    margin-bottom: 15px;
}

.complaints-book-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.complaints-book-link:hover {
    opacity: 0.8;
}

.complaints-book-logo {
    height: 50px;
    width: auto;
}

.ral-info {
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.ral-info a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

.ral-info a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== SISTEMA DE COOKIES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    z-index: 9999;
    padding: 15px 0;
    backdrop-filter: blur(5px);
    border-top: 3px solid #3498db;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-link {
    color: #4a9eff;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #66b3ff;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cookie-buttons .btn-primary {
    background: #3498db;
    border-color: #3498db;
}

.cookie-buttons .btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-1px);
}

.cookie-buttons .btn-secondary {
    background: #95a5a6;
    border-color: #95a5a6;
}

.cookie-buttons .btn-secondary:hover {
    background: #7f8c8d;
    border-color: #7f8c8d;
    transform: translateY(-1px);
}

.cookie-preferences-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
}

.cookie-preferences-btn .btn {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cookie-preferences-btn .btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255,255,255,0.5);
}

/* Responsividade para cookies */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-preferences-btn {
        bottom: 15px;
        left: 15px;
    }
}

/* ===== PÁGINAS LEGAIS ===== */
/*.vehicles-section {
    padding-top: 120px;
    min-height: 100vh;
   
}*/

.vehicles-section .card {
    background: white !important;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.vehicles-section .card-body {
    color: inherit; /* Herda a cor do texto do tema */
}

.vehicles-section h1,
.vehicles-section h2,
.vehicles-section h3,
.vehicles-section h4,
.vehicles-section h5,
.vehicles-section h6 {
    color: inherit; /* Herda a cor do texto do tema */
}

.vehicles-section a {
    color: inherit; /* Herda a cor do texto do tema */
    text-decoration: underline;
}

.vehicles-section a:hover {
    opacity: 0.8;
}

/* Responsividade para páginas legais */
@media (max-width: 768px) {
    .vehicles-section {
        padding-top: 100px;
    }
    
    .vehicles-section .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .vehicles-section {
        padding-top: 80px;
    }
    
    .vehicles-section .card-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 10px 0;
    }
    
    .cookie-content {
        padding: 0 15px;
    }
    
    .cookie-text {
        font-size: 0.8rem;
    }
    
    .cookie-buttons .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}