:root {
    /* Cores Premium - Azul e Amarelo Silvio Santos */
    --primary: #1e3a8a; /* Azul Marinho Intenso */
    --primary-light: #3b82f6;
    --primary-dark: #172554;
    
    --secondary: #f59e0b; /* Amarelo Âmbar (SS) */
    --secondary-light: #fbbf24;
    
    --dark: #0f172a;
    --dark-muted: #1e293b;
    --light: #fcd34d; /* Amarelo Ouro Intenso em todo o site */
    --white: #ffffff;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    --whatsapp: #25d366;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --glass: rgba(255, 255, 255, 0.85);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
#main-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 2px solid var(--secondary);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.custom-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* Garante que nada saia do círculo */
    flex-shrink: 0; /* Impede que o círculo achate */
}

.brand-circle span {
    font-family: 'Great Vibes', 'Brush Script MT', cursive, serif;
    color: var(--secondary);
    font-size: 24px;
    line-height: 1;
    font-style: italic;
    font-weight: 600;
    white-space: nowrap;
    display: block;
    transform: translate(-3px, 3px); /* Ajuste para baixo conforme solicitado */
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
}


.brand-title {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.light .brand-circle {
    border: 2px solid rgba(255,255,255,0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn-admin-nav {
    background: var(--dark);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: transform 0.3s, background 0.3s !important;
}

.btn-admin-nav:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideFade 15s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { 
    animation-delay: 10s; 
    background-size: cover;
    background-position: center 70%;
}

@keyframes slideFade {
    0% { opacity: 0; transform: scale(1.05); }
    10% { opacity: 1; transform: scale(1); }
    33% { opacity: 1; transform: scale(1); }
    43% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.6) 100%);
    z-index: 1;
}

.hero::before {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-hero {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Inventory Sections */
.inventory-section {
    padding: 6rem 0;
    background: #fcd34d; /* Amarelo Ouro intenso para os destaques */
}

.about-section {
    padding: 6rem 0;
    background: #fcd34d;
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-title .divider {
    width: 80px;
    height: 6px;
    background: var(--secondary);
    margin: 0 auto;
    border-radius: 10px;
}

.grid-estoque {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Vehicle Cards */
.car-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid #e2e8f0;
}

.car-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.car-image-container {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.car-badges-container {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 100;
}

.car-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tag-suggestion {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-suggestion:hover {
    background: #e2e8f0;
    color: var(--primary);
    border-color: var(--primary);
}

.tag-suggestion.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.car-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.car-card:hover .car-image-container img {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
}

.car-info {
    padding: 2rem;
}

.car-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.car-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.car-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.car-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.car-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Detail View */
.view-detail {
    padding: 4rem 0;
    animation: fadeIn 0.5s ease;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    cursor: pointer;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 4rem;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #f1f5f9; /* Fundo neutro caso a imagem não preencha tudo */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.thumb {
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.6;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb.active {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.05);
}

.thumb:hover {
    opacity: 1;
}

.detail-main {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.detail-main h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.detail-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Simulator Glassmorphism */
.simulator-box {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.4));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-muted);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--p-h), var(--p-s), var(--p-l), 0.1);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    width: 100%;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Admin Dashboard */
.admin-container {
    padding: 4rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.admin-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 80px 2fr 1fr 1fr auto;
    align-items: center;
    gap: 2rem;
}

.admin-img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* Gallery Manager Admin */
.gallery-manager {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 12px;
    min-height: 100px;
    margin-top: 0.5rem;
}

.gallery-item {
    position: relative;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--white);
    transition: all 0.2s ease;
    cursor: grab;
}

.gallery-item:active {
    cursor: grabbing;
}

.gallery-item.dragging {
    opacity: 0.4;
    transform: scale(0.8);
}

.gallery-item.over {
    border: 2px solid var(--primary);
    transform: scale(1.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-item:hover .gallery-controls {
    opacity: 1;
}

.gallery-controls button {
    background: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.gallery-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-controls .btn-remove {
    background: #ef4444;
    color: white;
}

.custom-file-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
    border: 1px dashed #0369a1;
}

.custom-file-upload:hover {
    background: #bae6fd;
}

.partner-card svg, .partner-card img {
    max-width: 100%;
    height: auto;
    max-height: 55px;
    transition: transform 0.3s ease;
}

/* Estilos para o bloco de bancos parceiros na área de Detalhes do Veículo */
.detail-partners-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #cbd5e1;
}

.detail-partners-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.detail-partner-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.detail-partner-badge svg, .detail-partner-badge img {
    width: 18px;
    height: 18px;
}

/* Responsividade para Parceiros */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .partner-card {
        padding: 1rem;
        min-height: 100px;
    }
    .partner-card svg, .partner-card img {
        max-height: 45px;
    }
}

.custom-file-upload input[type="file"] {
    display: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--white);
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--white);
    border-right: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
}

/* Animação para aparecer após 2 segundos */
@keyframes fadeInUpRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.whatsapp-tooltip {
    animation: fadeInUpRight 0.5s ease forwards;
    animation-delay: 2.5s;
}

/* Efeito de hover no botão flutuante */
.whatsapp-float:hover .whatsapp-tooltip {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding: 4rem 1.5rem;
}

#main-footer {
    background: var(--primary-dark);
    color: var(--white);
    margin-top: 6rem;
    border-top: 4px solid var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-social h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icons a:hover {
    background: #E1306C; /* Cor oficial do Instagram */
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
    border-color: transparent;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h2 { font-size: 3rem; }
    .hero .container { grid-template-columns: 1fr; gap: 2rem; }
    .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
        border-bottom: 1px solid #e2e8f0;
        z-index: 999;
    }

    .nav-links a {
        color: var(--primary);
    }

    .btn-admin-nav {
        text-align: center;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.3s ease;
    }

    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .admin-card { grid-template-columns: 1fr; text-align: center; }
}

/* Dashboard Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stats-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stats-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stats-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-value {
    font-size: 2rem;
    color: var(--dark);
    margin-top: 0.2rem;
}

/* Gallery Carousel & Zoom */
.main-image-container {
    position: relative;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
}

.nav-arrow:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) translateY(-2px);
}

.nav-arrow:active {
    transform: scale(0.9);
}

#main-detail-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .img-zoom-lens { display: none !important; }
    .nav-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* --- Vehicle Data Section --- */
.vehicle-data-section, .vehicle-options-section {
    margin-bottom: 2rem;
}

.data-section-title {
    background: #9ca3af;
    color: white;
    padding: 10px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: none;
    border-radius: 4px 4px 0 0;
}

.vehicle-data-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.vehicle-data-list li {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.vehicle-data-list li:last-child {
    border-bottom: none;
}

.vehicle-data-list i {
    font-size: 1.5rem;
    color: #64748b;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.data-info {
    display: flex;
    flex-direction: column;
}

.data-label {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.2;
}

.data-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.vehicle-options {
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 4px 4px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.4;
}

.cookie-content p a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-cookie-decline:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    border-color: var(--text-main);
}

.btn-cookie-accept {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 0.9rem;
}

.btn-cookie-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-cookie-accept:active {
    transform: translateY(0);
}

/* Responsivo para celulares */
@media (max-width: 600px) {
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
}

/* --- Seção de Bancos Parceiros --- */
.partners-section {
    padding: 6rem 0;
    background: var(--light); /* Integrado perfeitamente ao amarelo ouro intenso do site */
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

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

.partner-card {
    background: var(--white); /* Quadradinhos 100% brancos puros por padrão */
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1; /* Garante que o card fique branco opaco absoluto */
}

.partner-card:hover {
    background: var(--white);
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary-light);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.partner-card svg, .partner-card img {
    max-width: 100%;
    height: auto;
    max-height: 55px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.55; /* A logo fica suave em tons de cinza dentro do card branco */
}

.partner-card:hover svg, .partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1; /* A logo acende colorida e nítida no hover */
}

/* Estilos para o bloco de bancos parceiros na área de Detalhes do Veículo */
.detail-partners-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #cbd5e1;
}

.detail-partners-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.detail-partner-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.detail-partner-badge svg, .detail-partner-badge img {
    width: 18px;
    height: 18px;
}

/* Responsividade para Parceiros */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .partner-card {
        padding: 1rem;
        min-height: 100px;
    }
    .partner-card svg, .partner-card img {
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}