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

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100vw;
}

/* Garantir que nenhum elemento ultrapasse a tela */
.container, .details-layout, .car-details-main {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    width: 100%;
    max-width: 100vw;
    padding-top: 80px; /* Altura do navbar */
}

/* Navbar */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    display: flex;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    align-items: center;
    padding: 0 30px;
    height: 80px;
    width: 100%;
}

/* Menu Toggle (Hambúrguer) Moderno */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
    position: relative;
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    position: absolute;
}

.menu-toggle .bar:nth-child(1) {
    top: 14px;
}

.menu-toggle .bar:nth-child(2) {
    top: 19px;
}

.menu-toggle .bar:nth-child(3) {
    top: 24px;
}

/* Animação para X quando ativo */
.menu-toggle.active .bar:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active .bar:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

.menu-toggle.active:hover {
    background: rgba(255, 0, 0, 0.1);
}

/* Menus */

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}


.nav-left {
    /* grid-area: menu; */
    /* justify-self: flex-start; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    width: 20em;
    
 
}

.nav-right {
    /* grid-area: menu; */
    justify-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 20em;
    
}

.nav-item {
    color: #888;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav-item:hover {
    color: #333;
}

.nav-item:hover::before {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    padding: 12px 0;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown:hover .dropdown-item {
    animation: slideInFromLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateX(-20px);
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 86, 179, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #0056b3;
    border-left-color: #0056b3;
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.2);
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item i {
    width: 24px;
    margin-right: 15px;
    color: #666;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    position: relative;
}

.dropdown-item:hover i {
    color: #0056b3;
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 8px rgba(0, 86, 179, 0.4);
}

.dropdown-item span {
    flex: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dropdown-item:hover span {
    transform: translateX(2px);
    font-weight: 500;
}

/* Animação escalonada para os itens do dropdown */
.dropdown-item:nth-child(1) {
    animation-delay: 0.05s;
}

.dropdown-item:nth-child(2) {
    animation-delay: 0.1s;
}

.dropdown-item:nth-child(3) {
    animation-delay: 0.15s;
}

.dropdown-item:nth-child(4) {
    animation-delay: 0.2s;
}

.dropdown-item:nth-child(5) {
    animation-delay: 0.25s;
}

.nav-item.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/*ajuda*/
.help-item {
    position: relative;
    display: flex;
    align-items: center;
}

.help-badge {
    background: #87ceeb;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 500;
}

/* Logo central */
.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Garantir que a logo seja sempre visível */
.nav-center .logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Logo Mobile - Esconder em desktop */
.logo-mobile {
    display: none;
}

/* Menu Mobile - Esconder apenas em desktop */
@media (min-width: 769px) {
    .mobile-menu-overlay,
    .mobile-menu-panel {
        display: none !important;
    }
}

/* teste */
.teste{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 40px;
    margin-left: 8%;
}

.logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Ícones de contato */
.contact-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.separator {
    width: 1px;
    height: 30px;
    background: #ddd;
}

.contact-icon {
    color: #007bff;
    font-size: 1em;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.contact-icon:hover {
    color: #0056b3;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Otimizações para dispositivos móveis */
@media (max-width: 768px) {
    .hero-video video {
        transform: scale(1.05) translateZ(0);
        filter: blur(0.5px);
    }
}

/* Fallback quando vídeo não carrega */
.hero-video.video-fallback {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Classe para baixa qualidade */
.hero-video video.low-quality {
    filter: blur(1px);
    transform: scale(1.02) translateZ(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}


/* Seção Marcas Parceiras */
.partner-brands {
    padding: 80px 0;
    background: #ffffff;
}

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

.section-title {
    text-align: left;
    font-size: 1.8rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
    animation: titleSlideIn 1s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0099FF, #00CCFF);
    animation: underlineExpand 1.5s ease-out 0.2s forwards;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    width: 180px;
    height: 180px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transform: scale(1);
    opacity: 1;
}

.brand-logo.animate-bounce {
    animation: brandBounceIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Animações individuais para cada marca */
.brand-item:nth-child(1) .brand-logo.animate-bounce {
    animation: brandBounceIn1 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.2s;
}

.brand-item:nth-child(2) .brand-logo.animate-bounce {
    animation: brandBounceIn2 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.4s;
}

.brand-item:nth-child(3) .brand-logo.animate-bounce {
    animation: brandBounceIn3 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.6s;
}

.brand-item:nth-child(4) .brand-logo.animate-bounce {
    animation: brandBounceIn4 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.8s;
}

/* Animação para primeira marca (vem da esquerda) */
@keyframes brandBounceIn1 {
    0% {
        transform: translateX(-300px) scale(0.3);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    40% {
        transform: translateX(20px) scale(1.1);
    }
    60% {
        transform: translateX(-10px) scale(0.95);
    }
    80% {
        transform: translateX(5px) scale(1.02);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Animação para segunda marca (vem de cima) */
@keyframes brandBounceIn2 {
    0% {
        transform: translateY(-300px) scale(0.3);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    40% {
        transform: translateY(20px) scale(1.1);
    }
    60% {
        transform: translateY(-10px) scale(0.95);
    }
    80% {
        transform: translateY(5px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Animação para terceira marca (vem da direita) */
@keyframes brandBounceIn3 {
    0% {
        transform: translateX(300px) scale(0.3);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    40% {
        transform: translateX(-20px) scale(1.1);
    }
    60% {
        transform: translateX(10px) scale(0.95);
    }
    80% {
        transform: translateX(-5px) scale(1.02);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Animação para quarta marca (vem de baixo) */
@keyframes brandBounceIn4 {
    0% {
        transform: translateY(300px) scale(0.3);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    40% {
        transform: translateY(-20px) scale(1.1);
    }
    60% {
        transform: translateY(10px) scale(0.95);
    }
    80% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.brand-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Efeito de ondas após colisão */
.brands-grid.collision-complete::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rippleEffect 2s ease-out infinite;
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        width: 400px;
        height: 400px;
        opacity: 0.5;
    }
    100% {
        width: 800px;
        height: 800px;
        opacity: 0;
    }
}

/* Efeito de partículas durante a colisão */
.brand-logo.animate-bounce::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #007bff, transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: particleExplosion 0.8s ease-out;
    animation-delay: 0.6s;
}

@keyframes particleExplosion {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(6);
        opacity: 0;
    }
}

/* Posição relativa para o grid para os efeitos */
.brands-grid {
    position: relative;
}

.brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Seção Comprar Carros */
.buy-cars {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.buy-cars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 2;
}

.car-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 320px;
    position: relative;
    margin-top: 100px;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: slideInUp 0.8s ease forwards;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.car-category:nth-child(1) {
    animation-delay: 0.1s;
}

.car-category:nth-child(2) {
    animation-delay: 0.2s;
}

.car-category:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.car-category:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.3);
}

.car-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 0, 0, 0.05) 50%, transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.car-category:hover::before {
    opacity: 1;
}

.car-image {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.car-image:nth-child(1) {
    animation-delay: 0s;
}

.car-image:nth-child(2) {
    animation-delay: 0.5s;
}

.car-image:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.car-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
    }
}

.car-category:hover .car-img {
    transform: scale(1.15) rotate(2deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation-play-state: paused;
}

.car-category:hover .car-image {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.car-type {
    font-size: 1.5rem;
    font-weight: 300;
    color: #888;
    text-align: center;
    letter-spacing: 2px;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.car-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.car-category:hover .car-type {
    color: #333;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.car-category:hover .car-type::before {
    left: 100%;
}

/* Animação para o título da seção */
.buy-cars .section-title {
    animation: titleSlideIn 1s ease-out;
    position: relative;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.buy-cars .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0099FF, #00CCFF);
    animation: underlineExpand 1.5s ease-out 0.2s forwards;
}

@keyframes underlineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

/* Seção Sobre Nós */
.about-us {
    background: #f8f9fa;
    padding: 80px 0;
    scroll-margin-top: 100px; /* Ajustado para navbar fixo */
    transition: all 0.3s ease;
}

/* Carrossel da seção OBJETIVOS */
.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.carousel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.carousel-text {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.carousel-text-content {
    position: relative;
    min-height: 200px;
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.carousel-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.carousel-description.active {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.carousel-images {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.entering {
    opacity: 0;
    z-index: 2;
}

.carousel-slide.leaving {
    opacity: 1;
    z-index: 1;
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Controles do carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.about-us:target {
    background: #f0f2f5;
    transform: scale(1.01);
}

.about-us:target .about-title {
    transform: translateY(-5px);
}

.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.objetivos-content {
    grid-template-columns: 1fr 1fr;
}

.objetivos-content .about-text {
    order: 1;
}

.objetivos-content .about-image {
    order: 2;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    padding: 20px 0;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 200;
    color: #2c3e50;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-button-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.about-button {
    background: #0056b3;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-button:hover {
    background: #003d82;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.button-subtitle {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsividade */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-left,
    .nav-right {
        gap: 20px;
    }
}

@media (max-width: 1006px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-left,
    .nav-right {
        gap: 15px;
    }
    
    .nav-item {
        font-size: 14px;
    }

    .contact-icons{
        visibility: hidden;
    }


    .contact-icon {
        color: #007bff;
        font-size: 0.7em;
        text-decoration: none;
        transition: color 0.3s ease;
        
    }
}

/* Hero responsivo */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 0 30px;
        max-width: 90%;
        text-align: left;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
        line-height: 1.1;
        text-align: left;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 25px;
        line-height: 1.3;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content {
        padding: 0 20px;
        max-width: 95%;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 12px;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .hero {
        height: 45vh;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Marcas Parceiras responsivo */
@media (max-width: 768px) {
    .partner-brands {
        padding: 60px 0;
    }
    
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .brand-logo {
        width: 80px;
        height: 80px;
        padding: 6px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    
    .brand-logo:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .brand-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .section-title {
        font-size: 1.7rem;
        text-align: left;
        margin-bottom: 30px;
        padding: 0 5px;
    }
    
    .buy-cars .section-title {
        text-align: left;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .partner-brands {
        padding: 50px 0;
    }
    
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding: 0 12px;
    }
    
    .brand-logo {
        width: 70px;
        height: 70px;
        padding: 5px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
        padding: 0 3px;
    }
}

@media (max-width: 360px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 8px;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
        padding: 4px;
    }
    
    .section-title {
        font-size: 1.3rem;
        padding: 0 2px;
    }
}

/* Comprar Carros responsivo */
@media (max-width: 768px) {
    .buy-cars {
        padding: 60px 0;
        overflow: hidden;
    }
    
    .cars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0 10px;
        align-items: flex-start;
    }
    
    .car-category {
        max-width: 100%;
        padding: 8px 10px;
        margin-top: 60px;
        position: relative;
        overflow: visible;
    }
    
    .car-image {
        width: 150px;
        height: 90px;
        top: -70px;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
    }
    
    .car-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .car-type {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .buy-cars {
        padding: 50px 0;
        overflow: hidden;
    }
    
    .cars-grid {
        gap: 8px;
        padding: 0 8px;
        align-items: flex-start;
    }
    
    .car-category {
        max-width: 100%;
        padding: 6px 8px;
        margin-top: 50px;
        position: relative;
        overflow: visible;
    }
    
    .car-image {
        width: 120px;
        height: 70px;
        top: -55px;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
    }
    
    .car-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .car-type {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
        margin-top: 8px;
    }
}

@media (max-width: 360px) {
    .buy-cars {
        padding: 40px 0;
        overflow: hidden;
    }
    
    .cars-grid {
        gap: 6px;
        padding: 0 6px;
        align-items: flex-start;
    }
    
    .car-category {
        max-width: 100%;
        padding: 5px 6px;
        margin-top: 45px;
        position: relative;
        overflow: visible;
    }
    
    .car-image {
        width: 100px;
        height: 60px;
        top: -45px;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
    }
    
    .car-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .car-type {
        font-size: 0.7rem;
        letter-spacing: 0.2px;
        margin-top: 6px;
    }
}

/* Carrossel responsivo */
@media (max-width: 768px) {
    .carousel-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .carousel-text-content {
        min-height: 150px;
        margin-bottom: 30px;
    }
    
    .carousel-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .carousel-images {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-content {
        gap: 20px;
    }
    
    .carousel-text-content {
        min-height: 120px;
        margin-bottom: 20px;
    }
    
    .carousel-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .carousel-images {
        height: 250px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 6px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Sobre Nós responsivo */
@media (max-width: 768px) {
    .about-us {
        padding: 40px 0;
    }
    
    .about-section {
        padding: 25px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: left;
        padding: 0 15px;
    }
    
    .about-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
        letter-spacing: 1px;
        text-align: left;
    }
    
    .about-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 18px;
        text-align: left;
    }
    
    .about-img {
        height: 150px;
        border-radius: 8px;
    }
    
    .about-button-container {
        align-items: flex-start;
    }
    
    .about-button {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
    
    .button-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 30px 0;
    }
    
    .about-section {
        padding: 20px 0;
    }
    
    .about-content {
        gap: 15px;
        padding: 0 12px;
    }
    
    .about-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
        letter-spacing: 0.8px;
    }
    
    .about-description {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .about-img {
        height: 120px;
        border-radius: 6px;
    }
    
    .about-button {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
    
    .button-subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .about-us {
        padding: 25px 0;
    }
    
    .about-section {
        padding: 15px 0;
    }
    
    .about-content {
        gap: 12px;
        padding: 0 8px;
    }
    
    .about-title {
        font-size: 1.1rem;
        letter-spacing: 0.6px;
        margin-bottom: 10px;
    }
    
    .about-description {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .about-img {
        height: 100px;
        border-radius: 4px;
    }
    
    .about-button {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    
    .button-subtitle {
        font-size: 0.65rem;
    }
}

/* Footer responsivo - Simples mas funcional */
@media (max-width: 768px) {
    .footer {
        background: #1a1a1a;
        padding: 20px 0;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100vw;
    }
    
    /* Esconder elementos complexos */
    .footer-gradient-strip,
    .footer-grid,
    .footer-bottom {
        display: none !important;
    }
    
    /* Manter apenas header simplificado */
    .footer-content {
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .footer .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
        width: 100%;
    }
    
    .footer-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
        margin-bottom: 0;
        padding: 0;
    }
    
    .footer-logo-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
        filter: brightness(0) saturate(100%) invert(100%);
    }
    
    .footer-brand-name {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
        margin: 0;
    }
    
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 12px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    /* Copyright simples */
    .footer::after {
        content: "© 2024 ELO AUTOMARCAS. Todos os direitos reservados.";
        display: block;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.7rem;
        margin-top: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .footer {
        background: #1a1a1a;
        padding: 15px 0;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100vw;
    }
    
    /* Esconder elementos complexos */
    .footer-gradient-strip,
    .footer-grid,
    .footer-bottom {
        display: none !important;
    }
    
    /* Manter apenas header simplificado */
    .footer-content {
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .footer .container {
        max-width: 100%;
        padding: 0 12px;
        margin: 0;
        width: 100%;
    }
    
    .footer-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
        margin-bottom: 0;
        padding: 0;
    }
    
    .footer-logo-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    
    .footer-logo-img {
        width: 35px;
        height: 35px;
        filter: brightness(0) saturate(100%) invert(100%);
    }
    
    .footer-brand-name {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .footer-tagline {
        font-size: 0.75rem;
        margin: 0;
    }
    
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* Copyright simples */
    .footer::after {
        content: "© 2024 ELO AUTOMARCAS. Todos os direitos reservados.";
        display: block;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.65rem;
        margin-top: 12px;
        padding: 0 12px;
    }
}

@media (max-width: 360px) {
    .footer {
        background: #1a1a1a;
        padding: 12px 0;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100vw;
    }
    
    /* Esconder elementos complexos */
    .footer-gradient-strip,
    .footer-grid,
    .footer-bottom {
        display: none !important;
    }
    
    /* Manter apenas header simplificado */
    .footer-content {
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .footer .container {
        max-width: 100%;
        padding: 0 8px;
        margin: 0;
        width: 100%;
    }
    
    .footer-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
        margin-bottom: 0;
        padding: 0;
    }
    
    .footer-logo-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .footer-logo-img {
        width: 30px;
        height: 30px;
        filter: brightness(0) saturate(100%) invert(100%);
    }
    
    .footer-brand-name {
        font-size: 1rem;
        margin: 0;
    }
    
    .footer-tagline {
        font-size: 0.7rem;
        margin: 0;
    }
    
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 8px;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    /* Copyright simples */
    .footer::after {
        content: "© 2024 ELO AUTOMARCAS. Todos os direitos reservados.";
        display: block;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.6rem;
        margin-top: 10px;
        padding: 0 8px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-item:hover,
    .dropdown-item:hover,
    .car-category:hover,
    .brand-logo:hover,
    .about-button:hover,
    .contact-icon:hover,
    .social-link:hover {
        transform: none;
    }
    
    .nav-item:active,
    .dropdown-item:active,
    .car-category:active,
    .brand-logo:active,
    .about-button:active,
    .contact-icon:active,
    .social-link:active {
        transform: scale(0.95);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .brand-image,
    .car-img,
    .about-img,
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 80vh;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Regras globais para evitar overflow no footer */
@media (max-width: 768px) {
    .footer * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .footer-links a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .footer-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 153, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-gradient-strip {
    height: 4px;
    background: linear-gradient(90deg, #0099FF 0%, #00CCFF 50%, #0099FF 100%);
    width: 100%;
    position: relative;
}

.footer-gradient-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-content {
    padding: 40px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 80px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(100%);
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(0) saturate(100%) invert(100%) drop-shadow(0 0 20px rgba(0, 153, 255, 0.8));
}

.footer-brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(45deg, #0099FF, #00CCFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 153, 255, 0.3);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 5px 0 0 0;
    font-style: italic;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: linear-gradient(45deg, #0099FF, #00CCFF);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 153, 255, 0.4);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

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

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 153, 255, 0.3);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0099FF, #00CCFF);
    transition: width 0.3s ease;
}

.footer-title:hover::after {
    width: 100%;
}

.footer-title i {
    color: #0099FF;
    font-size: 1.2rem;
}

.footer-subsection {
    margin-top: 20px;
}

.footer-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-subtitle i {
    color: #00CCFF;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links li {
    position: relative;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #0099FF, #00CCFF);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a i {
    color: #0099FF;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    color: #00CCFF;
    transform: translateX(3px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item i {
    color: #0099FF;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.newsletter-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    border-color: #0099FF;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.3);
}

.newsletter-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #0099FF, #00CCFF);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 153, 255, 0.4);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

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

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0099FF;
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-legal a:hover::after {
    width: 100%;
}

/* NAVBAR MOBILE - NOVA TÉCNICA COM CSS GRID */
@media (max-width: 768px) {
    /* Navbar já é fixo globalmente */
    .navbar {
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    /* Compensar navbar fixa no mobile */
    body {
        padding-top: 70px !important;
    }
    
    /* Container com CSS Grid */
    .nav-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        grid-template-areas: "left center right" !important;
        align-items: center !important;
        height: 70px !important;
        padding: 0 20px !important;
        position: relative !important;
    }
    
    /* Esconder elementos desktop */
    .nav-left,
    .nav-right,
    .nav-center,
    .contact-icons,
    .teste {
        display: none !important;
    }
    
    /* Logo mobile no centro */
    .logo-mobile {
        grid-area: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .logo-mobile .logo-img {
        height: 40px !important;
        width: auto !important;
    }
    
    /* Menu hambúrguer limpo à direita */
    .menu-toggle {
        grid-area: right !important;
        display: flex !important;
        justify-self: end !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        cursor: pointer !important;
        background: transparent !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 0 !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        position: relative !important;
        transform: translateY(-2px) !important;
    }
    
    .menu-toggle:hover {
        background: rgba(0, 0, 0, 0.05) !important;
        transform: translateY(-3px) !important;
    }
    
    .menu-toggle .bar {
        width: 20px !important;
        height: 2px !important;
        background-color: #333 !important;
        border-radius: 2px !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        position: absolute !important;
    }
    
    .menu-toggle .bar:nth-child(1) {
        top: 16px !important;
    }
    
    .menu-toggle .bar:nth-child(2) {
        top: 21px !important;
    }
    
    .menu-toggle .bar:nth-child(3) {
        top: 26px !important;
    }
    
    /* Animação limpa do hambúrguer */
    .menu-toggle.active {
        background: transparent !important;
        transform: translateY(-2px) !important;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        top: 21px !important;
        transform: rotate(45deg) !important;
        background-color: #007bff !important;
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0 !important;
        transform: scale(0) !important;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        top: 21px !important;
        transform: rotate(-45deg) !important;
        background-color: #007bff !important;
    }
    
    /* Menu lateral novo - VISÍVEL NO MOBILE */
    .mobile-menu-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9998;
        display: block;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-panel {
        position: fixed;
        top: 70px;
        right: -350px;
        width: 320px;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        z-index: 9999;
        display: block;
    }
    
    .mobile-menu-panel.active {
        right: 0;
    }
    
    /* Conteúdo do menu */
    .mobile-menu-content {
        padding: 30px 25px;
    }
    
    .mobile-nav-item {
        display: block;
        padding: 18px 0;
        font-size: 18px;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-item:hover {
        color: #007bff;
        padding-left: 10px;
    }
    
    .mobile-nav-item:last-child {
        border-bottom: none;
    }
    
    /* Dropdown mobile */
    .mobile-dropdown {
        margin: 15px 0;
    }
    
    .mobile-dropdown-toggle {
        background: #f8f9fa;
        padding: 15px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        color: #333;
        border: 1px solid #e9ecef;
    }
    
    .mobile-dropdown-menu {
        background: #ffffff;
        border: 1px solid #e9ecef;
        border-top: none;
        border-radius: 0 0 8px 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-dropdown.active .mobile-dropdown-menu {
        max-height: 300px;
    }
    
    .mobile-dropdown-item {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        color: #666;
        text-decoration: none;
        font-size: 15px;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }
    
    .mobile-dropdown-item:hover {
        background: #f8f9fa;
        color: #007bff;
    }
    
    .mobile-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .mobile-dropdown-item i {
        margin-right: 12px;
        width: 18px;
        text-align: center;
    }
    
    /* Badge mobile */
    .mobile-help-badge {
        background: #87ceeb;
        color: white;
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 12px;
        margin-left: 10px;
        font-weight: 600;
    }
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
    border-left: 4px solid #007bff;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-warning {
    border-left-color: #ffc107;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: #28a745;
}

.notification-error .notification-content i {
    color: #dc3545;
}

.notification-warning .notification-content i {
    color: #ffc107;
}

/* Cards de Veículos */
.vehicle-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    position: relative;
    height: 200px;
    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-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.vehicle-status.disponivel {
    background: #28a745;
    color: white;
}

.vehicle-status.vendido {
    background: #dc3545;
    color: white;
}

.vehicle-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.vehicle-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

.spec-item i {
    color: #007bff;
    width: 16px;
}

.vehicle-price {
    margin-bottom: 20px;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}

.vehicle-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.vehicle-actions .btn-primary,
.vehicle-actions .btn-secondary {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.no-vehicles {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-vehicles i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.no-vehicles h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #495057;
}

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

/* Modal de Contato */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #2c3e50;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 25px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-actions .btn-primary {
    background: #007bff;
    color: white;
}

.modal-actions .btn-primary:hover {
    background: #0056b3;
}

.modal-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.modal-actions .btn-secondary:hover {
    background: #545b62;
}
