/* Variáveis CSS globais */
:root {
    --gradient-red: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%);
    --transition-smooth: 0.5s;
    --border-radius-default: 8px;
    --box-shadow-light: 0 4px 24px rgba(0,0,0,0.10);
    --box-shadow-hover: 0 8px 32px rgba(0,0,0,0.13);
}

/* Classes base para gradiente vermelho */
.gradient-red-bg {
    background-image: var(--gradient-red) !important;
    background-size: 200% auto;
    transition: var(--transition-smooth);
}

.gradient-red-bg:hover {
    background-position: right center;
}

.gradient-red-border {
    border: 2px solid;
    border-image: var(--gradient-red) 1;
}

.gradient-red-text {
    background: var(--gradient-red);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-smooth);
}

.gradient-red-text:hover {
    background-position: right center;
}

/* Botão de pesquisar vermelho */
.btn-danger,
.btn-danger:focus,
.btn-danger:active,
.btn-danger:hover {
    background-image: var(--gradient-red) !important;
    background-size: 200% auto;
    border: none !important;
    color: #fff !important;
    transition: var(--transition-smooth);
}

.btn-danger:hover {
    background-position: right center !important;
}
/* Social icons below search bar */
.social-link {
    background: var(--gradient-red);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-smooth);
}
.social-link:hover {
    background-position: right center;
}
.social-grid .fab {
    vertical-align: middle;
}
.social-grid {
    gap: 50px !important;
}
.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}
.carousel-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #eee;
    transition: border 0.2s;
}
.carousel-thumb.active,
.carousel-thumb:hover {
    border: 2.5px solid #ff0000;
}



.carousel-container {
	position: relative;
	max-width: 950px;
	margin: 48px auto 0 auto;
	box-shadow: 0 4px 24px rgba(0,0,0,0.10);
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow 0.3s;
	border: none;
}
.carousel-container:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}


.carousel {
	position: relative;
	width: 100%;
	height: 390px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f5f5f5;
}

.carousel-slide {
	display: none;
	width: 100%;
	height: 390px;
	object-fit: cover;
	border-radius: 0 0 18px 18px;
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.carousel-slide.active {
	display: block;
	opacity: 1;
	animation: fadeIn 0.7s;
}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Ocultar indicadores e setas do carrossel */
.carousel-indicators {
	display: none !important;
}

.carousel-control-prev,
.carousel-control-next {
	display: none !important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    background: var(--gradient-red);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    transition: 0.5s;
    outline: none;
}
.carousel-btn:hover {
    background-position: right center;
}
/* Área de login, formulários e botões */

/* Estilos do carrossel principal como plano de fundo */
.carousel-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.carousel-fullscreen .carousel {
    width: 100%;
    height: 100%;
}

.carousel-fullscreen .carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-fullscreen .carousel-item {
    width: 100%;
    height: 100%;
}

.carousel-banner-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Overlay escuro sobre o carrossel para melhor legibilidade */
.carousel-fullscreen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


/* Main content transparente */
main {
    position: relative;
    z-index: 100;
    background: transparent;
    margin-top: 20px;
    border-radius: 20px 20px 0 0;
    padding: 30px;
    min-height: calc(100vh - 100px);
}

/* Hero Section */
.hero-section {
    padding: 20px 0 60px 0;
    margin-bottom: 60px;
}

.hero-content {
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: var(--gradient-red);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-logo {
    margin-top: 30px;
}

.logo-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: fit-content;
}

.line {
    height: 4px;
    background-color: #333;
    border-radius: 2px;
}

.line:nth-child(1) {
    width: 60px;
}

.line:nth-child(2) {
    width: 45px;
}

.line.accent {
    background-image: var(--gradient-red);
    background-size: 200% auto;
    width: 30px;
}

/* Search Card transparente */
.search-card {
    background: transparent;
    border-radius: 20px;
    padding: 30px;
    border: none;
}

.search-title {
    color: #fff;
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.search-input-group {
    position: relative;
    margin-bottom: 25px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 10;
}

.search-input {
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.search-input:focus {
    border: 2px solid;
    border-image: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%) 1;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    background: rgba(255, 255, 255, 1);
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.brand-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 70px;
}

.brand-item:hover {
    border-color: #e53935;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}

.view-all-brands {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    gap: 8px;
    filter: none;
    backdrop-filter: none;
    text-shadow: none;
}

.view-all-brands:hover {
    color: #e53935;
}

/* Responsividade */
@media (max-width: 991px) {
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-card {
        padding: 25px;
        margin-top: 20px;
    }
    
    .social-grid {
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-section {
        padding: 40px 0 50px 0;
        margin-bottom: 40px;
    }
    
    .search-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .search-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .search-input {
        padding: 12px 12px 12px 40px;
        font-size: 0.95rem;
    }
    
    .search-icon {
        left: 12px;
    }
    
    .social-grid {
        gap: 30px !important;
        margin-top: 20px !important;
    }
    
    .social-link i {
        font-size: 1.8rem !important;
    }
    
    main {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-section {
        padding: 30px 0 40px 0;
        margin-bottom: 30px;
    }
    
    .search-card {
        padding: 18px;
        border-radius: 12px;
    }
    
    .search-title {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }
    
    .search-input {
        padding: 10px 10px 10px 35px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .search-icon {
        left: 10px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .social-grid {
        gap: 25px !important;
        margin-top: 18px !important;
    }
    
    .social-link i {
        font-size: 1.6rem !important;
    }
    
    main {
        padding: 15px;
        border-radius: 15px 15px 0 0;
    }
    
    .logo-lines {
        gap: 6px;
    }
    
    .line:nth-child(1) {
        width: 50px;
    }
    
    .line:nth-child(2) {
        width: 38px;
    }
    
    .line.accent {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-section {
        padding: 25px 0 35px 0;
        margin-bottom: 25px;
    }
    
    .search-card {
        padding: 15px;
        border-radius: 10px;
    }
    
    .search-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .search-input {
        padding: 9px 9px 9px 32px;
        font-size: 0.85rem;
    }
    
    .search-icon {
        left: 9px;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 9px 18px !important;
        font-size: 0.9rem !important;
    }
    
    .social-grid {
        gap: 20px !important;
        margin-top: 15px !important;
    }
    
    .social-link i {
        font-size: 1.4rem !important;
    }
    
    main {
        padding: 12px;
        margin-top: 8px;
    }
}

/* Seção de veículos com fundo */
#veiculos-cadastrados {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}




/* Imagens dos veículos */
.vehicle-card-image {
    max-height: 140px;
    object-fit: cover;
}

/* Cards dos veículos com efeito glass */
.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Alertas e botões com melhor contraste */
.alert {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn {
    backdrop-filter: none;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    main {
        margin-top: 10px;
        padding: 20px;
        border-radius: 15px 15px 0 0;
    }
    
    .carousel-fullscreen::after {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .carousel-banner-image {
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }
}

/* Melhorias adicionais para dispositivos móveis muito pequenos */
@media (max-width: 576px) {
    .carousel-fullscreen::after {
        background: rgba(0, 0, 0, 0.6);
    }
    
    body {
        overflow-x: hidden;
    }
    
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 480px) {
    .carousel-fullscreen::after {
        background: rgba(0, 0, 0, 0.65);
    }
    
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .carousel-banner-image {
        object-position: center center;
    }
}

/* Melhorias para telas muito pequenas em paisagem */
@media (max-width: 768px) and (max-height: 500px) {
    .hero-section {
        padding: 20px 0 30px 0;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .search-card {
        padding: 15px;
    }
}

/* Ajustes para garantir que o site funcione bem em orientação portrait e landscape */
@media (orientation: landscape) and (max-height: 600px) {
    .carousel-banner-image {
        object-fit: cover;
        object-position: center top;
    }
    
    .hero-section {
        padding: 15px 0 25px 0;
    }
    
    main {
        padding: 15px;
    }
}









.carousel-btn.prev {
	left: 24px;
}
.carousel-btn.next {
	right: 24px;
}

/* Controle de exibição de veículos em mobile */
@media (max-width: 768px) {
    /* Mostrar apenas os primeiros 6 veículos em mobile */
    #veiculos-container .vehicle-card-mobile:nth-child(n+7) {
        display: none;
    }
    
    /* Classe para controlar visibilidade */
    .vehicle-card-hidden-mobile {
        display: none !important;
    }
    
    /* Estilo para o botão "Ver mais" específico para mobile */
    #ver-mais-mobile-btn {
        background: transparent !important;
        border: 2px solid #EB3349 !important;
        color: #EB3349 !important;
        border-radius: 25px !important;
        padding: 12px 30px !important;
        font-weight: 600 !important;
        font-size: 1rem !important;
        transition: all 0.3s ease !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 20px auto 0 auto !important;
        display: block !important;
        text-transform: uppercase !important;
    }
    
    #ver-mais-mobile-btn:hover {
        background-image: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%) !important;
        background-size: 200% auto !important;
        color: #fff !important;
        border-color: transparent !important;
    }
    
    /* Melhorar o toque em links e botões */
    .nav-link,
    .btn,
    .vehicle-details-btn,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Melhorar espaçamento entre elementos clicáveis */
    .social-grid a {
        padding: 8px;
        margin: 4px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .social-grid a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Garantir que texto seja legível */
    .hero-subtitle,
    .search-title {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    }
    
    /* Melhorar formulário de busca */
    .search-input:focus {
        outline: none;
        border: 2px solid #EB3349;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 0.2rem rgba(235, 51, 73, 0.25);
    }
}

@media (max-width: 576px) {
    /* Garantir que todos os botões tenham tamanho adequado para toque */
    .btn,
    .vehicle-details-btn {
        min-height: 48px;
        font-size: 0.95rem;
    }
    
    /* Melhorar navegação mobile */
    .navbar-nav .nav-link {
        min-height: 48px;
        margin: 2px 0;
    }
    
    /* Espaçamento adequado para facilitar navegação */
    .vehicle-card {
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Garantir que o conteúdo não seja cortado em telas muito pequenas */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .search-card {
        padding: 12px;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 8px 8px 8px 30px;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    main {
        padding: 10px;
    }
    
    .benefits-section,
    .services-section {
        padding: 15px 8px;
        margin: 15px 0;
    }
    
    .benefit-card,
    .service-card {
        padding: 16px 12px;
    }
}

/* Estilos específicos para os novos cartões de veículos - LAYOUT FIXO */
.vehicle-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Layout fixo - altura aumentada para evitar sobreposição */
    height: 480px;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.05);
}

.vehicle-image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Altura fixa da imagem */
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-info {
    position: relative;
    padding: 16px 12px;
    height: 280px; /* Altura aumentada do conteúdo */
    display: flex;
    flex-direction: column;
}

/* SEÇÃO 1: TÍTULO - Posição fixa no topo */
.vehicle-basic-info {
    position: absolute;
    top: 16px;
    left: 12px;
    right: 12px;
    height: 50px; /* Altura fixa para o título */
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
}

/* SEÇÃO 2: ESPECIFICAÇÕES - Posição fixa no meio-superior */
.vehicle-specs {
    position: absolute;
    top: 76px; /* Após o título (16 + 50 + 10) */
    left: 12px;
    right: 12px;
    height: 40px; /* Altura fixa para specs */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vehicle-km {
    font-size: 0.95rem;
    color: #666666;
    font-weight: 500;
    text-align: center;
    margin: 0 0 4px 0;
    height: 18px;
}

.vehicle-year-model {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 500;
    text-align: center;
    margin: 0;
    height: 18px;
}

/* SEÇÃO 3: PREÇOS - Posição fixa no meio */
.vehicle-prices {
    position: absolute;
    top: 126px; /* Após specs (76 + 40 + 10) */
    left: 12px;
    right: 12px;
    height: 80px; /* Altura aumentada para preços */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.vehicle-old-price {
    font-size: 0.9rem;
    color: #999999;
    text-decoration: line-through;
    text-align: center;
    margin: 0;
    height: 18px; /* Altura fixa - sempre ocupa espaço mesmo vazio */
    line-height: 18px;
}

.vehicle-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 4px 0;
    height: 28px;
    line-height: 28px;
}

.vehicle-installment {
    font-size: 0.95rem;
    color: #666666;
    font-weight: 500;
    text-align: center;
    margin: 0;
    height: 20px;
    line-height: 20px;
}

.vehicle-payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vehicle-down-payment {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 600;
    text-align: center;
    margin: 0;
    height: 20px;
    line-height: 20px;
}

.vehicle-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0;
}

.vehicle-location i {
    color: #666666;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.vehicle-location span {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.4;
}

/* SEÇÃO 4: BOTÃO - Posição fixa no rodapé */
.vehicle-details-btn {
    position: absolute;
    bottom: 16px;
    left: 12px;
    right: 12px;
    height: 44px; /* Altura fixa do botão */
    background-image: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%);
    border: none;
    color: white;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.5s;
    background-size: 200% auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 0 20px #eee;
    gap: 8px;
}

.vehicle-details-btn:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.vehicle-details-btn i {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.vehicle-details-btn:hover i {
    transform: translateX(2px);
}

/* Painel Administrativo */
.admin-panel {
    border-radius: 12px !important;
    border: none !important;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-welcome {
    text-align: center;
}

.admin-welcome span {
    font-size: 1.1rem;
    color: #155724;
    font-weight: 500;
}

.admin-buttons {
    justify-content: center;
}

.admin-buttons .btn {
    min-width: 140px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Seção de veículos cadastrados */
#veiculos-cadastrados {
    margin-bottom: 60px;
}

#veiculos-cadastrados h2 {
    color: #000;
    font-weight: 600;
    text-shadow: none;
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

@media (max-width: 768px) {
    #veiculos-cadastrados {
        margin-bottom: 40px;
    }
    
    #veiculos-cadastrados h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        text-align: left;
    }
}

@media (max-width: 576px) {
    #veiculos-cadastrados {
        margin-bottom: 30px;
    }
    
    #veiculos-cadastrados h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    #veiculos-cadastrados {
        margin-bottom: 25px;
    }
    
    #veiculos-cadastrados h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* Painel Administrativo Responsivo */
    .admin-panel {
        margin: 20px 15px !important;
        padding: 20px !important;
    }
    
    .admin-welcome {
        margin-bottom: 15px !important;
    }
    
    .admin-welcome span {
        font-size: 1rem;
    }
    
    .admin-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px !important;
    }
    
    .admin-buttons .btn {
        width: 100%;
        max-width: 200px;
        margin: 0 !important;
    }

    #veiculos-cadastrados {
        padding: 30px 20px;
        margin: 50px 0;
        border-radius: 15px;
    }
    
    #veiculos-cadastrados h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        text-align: left;
    }
    
    .vehicle-card {
        border-radius: 12px;
        height: 450px; /* Altura aumentada para tablet */
    }
    
    .vehicle-image-container {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }
    
    .vehicle-info {
        height: 270px; /* Altura aumentada para tablet */
        padding: 12px;
    }
    
    .vehicle-basic-info {
        height: 45px;
    }
    
    .vehicle-title {
        font-size: 1.1rem;
    }
    
    .vehicle-specs {
        top: 67px; /* Reposicionar para tablet */
        height: 38px;
    }
    
    .vehicle-prices {
        top: 115px; /* Reposicionar para tablet */
        height: 75px;
    }
    
    .vehicle-price {
        font-size: 1.3rem;
        height: 26px;
        line-height: 26px;
    }
    
    .vehicle-details-btn {
        height: 40px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
}

@media (max-width: 576px) {
    /* Painel Administrativo para Mobile */
    .admin-panel {
        margin: 15px 10px !important;
        padding: 15px !important;
    }
    
    .admin-welcome span {
        font-size: 0.95rem;
    }
    
    .admin-buttons .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
        min-width: 120px;
    }

    .vehicle-card {
        height: 500px; /* Altura aumentada para mobile + entrada */
    }
    
    .vehicle-image-container {
        height: 240px; /* Altura significativamente aumentada para melhor exibição das fotos no mobile */
    }
    
    .vehicle-info {
        height: 260px; /* Altura ajustada para mobile + entrada */
        padding: 10px;
    }
    
    .vehicle-basic-info {
        height: 40px;
        top: 10px;
        left: 10px;
        right: 10px;
    }
    
    .vehicle-title {
        font-size: 1rem;
    }
    
    .vehicle-specs {
        top: 60px; /* Reposicionar para mobile */
        height: 35px;
        left: 10px;
        right: 10px;
    }
    
    .vehicle-km,
    .vehicle-year-model {
        font-size: 0.85rem;
        height: 16px;
    }
    
    .vehicle-prices {
        top: 105px; /* Reposicionar para mobile */
        height: 90px; /* Altura aumentada para acomodar entrada */
        left: 10px;
        right: 10px;
    }
    
    .vehicle-old-price {
        font-size: 0.8rem;
        height: 16px;
        line-height: 16px;
    }
    
    .vehicle-price {
        font-size: 1.2rem;
        height: 24px;
        line-height: 24px;
    }
    
    .vehicle-installment {
        font-size: 0.85rem;
        height: 18px;
        line-height: 18px;
    }
    
    .vehicle-payment-info {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    
    .vehicle-down-payment {
        font-size: 0.8rem;
        height: 16px;
        line-height: 16px;
    }
    
    .vehicle-details-btn {
        height: 38px;
        font-size: 0.85rem;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    #veiculos-cadastrados {
        padding: 20px 15px;
        margin: 40px 0;
        border-radius: 12px;
    }
    
    #veiculos-cadastrados h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        text-align: left;
    }
    
    #veiculos-cadastrados .row {
        margin: 0 -8px;
    }
    
    #veiculos-cadastrados .col-12,
    #veiculos-cadastrados .col-sm-6,
    #veiculos-cadastrados .col-md-4,
    #veiculos-cadastrados .col-lg-3 {
        padding: 0 8px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .vehicle-card {
        height: 460px; /* Altura aumentada para telas pequenas */
    }
    
    .vehicle-image-container {
        height: 220px; /* Altura significativamente aumentada para melhor exibição das fotos em telas pequenas */
    }
    
    .vehicle-info {
        height: 240px; /* Altura ajustada para telas pequenas */
        padding: 8px;
    }
    
    .vehicle-basic-info {
        height: 35px;
        top: 8px;
        left: 8px;
        right: 8px;
    }
    
    .vehicle-title {
        font-size: 0.95rem;
    }
    
    .vehicle-specs {
        top: 53px; /* Reposicionar para telas pequenas */
        height: 32px;
        left: 8px;
        right: 8px;
    }
    
    .vehicle-km,
    .vehicle-year-model,
    .vehicle-installment {
        font-size: 0.8rem;
        height: 14px;
    }
    
    .vehicle-prices {
        top: 95px; /* Reposicionar para telas pequenas */
        height: 65px;
        left: 8px;
        right: 8px;
    }
    
    .vehicle-old-price {
        height: 14px;
        line-height: 14px;
    }
    
    .vehicle-price {
        font-size: 1.1rem;
        height: 22px;
        line-height: 22px;
    }
    
    .vehicle-installment {
        height: 16px;
        line-height: 16px;
    }
    
    .vehicle-details-btn {
        height: 36px;
        font-size: 0.8rem;
        bottom: 8px;
        left: 8px;
        right: 8px;
    }
    
    #veiculos-cadastrados {
        padding: 15px 10px;
        margin: 30px 0;
        border-radius: 10px;
    }
    
    #veiculos-cadastrados h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        text-align: left;
    }
    
    #veiculos-cadastrados .row {
        margin: 0 -6px;
    }
    
    #veiculos-cadastrados .col-12,
    #veiculos-cadastrados .col-sm-6,
    #veiculos-cadastrados .col-md-4,
    #veiculos-cadastrados .col-lg-3 {
        padding: 0 6px;
        margin-bottom: 12px;
    }
    
    .vehicle-card {
        border-radius: 10px;
    }
    
    .vehicle-image-container {
        border-radius: 10px 10px 0 0;
    }
}

/* Melhoria para o grid de veículos */
#veiculos-cadastrados .row {
    margin: 0 -10px;
}

#veiculos-cadastrados .col-12,
#veiculos-cadastrados .col-sm-6,
#veiculos-cadastrados .col-md-4,
#veiculos-cadastrados .col-lg-3 {
    padding: 0 10px;
    margin-bottom: 20px;
}

/* Seções de Benefícios e Serviços */
.benefits-section,
.services-section {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 60px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 40px;
}

.benefit-card,
.service-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.benefit-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.benefit-icon,
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #e53935, #ff5722);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.benefit-card h4,
.service-card h5 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p,
.service-card p {
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Responsividade para as novas seções */
@media (max-width: 1200px) {
    .benefits-section,
    .services-section {
        padding: 50px 30px;
        margin: 50px 0;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .benefit-card,
    .service-card {
        padding: 35px 25px;
    }
}

@media (max-width: 992px) {
    .benefits-section,
    .services-section {
        padding: 45px 25px;
        margin: 45px 0;
        border-radius: 18px;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .benefit-card,
    .service-card {
        padding: 32px 22px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .benefit-icon,
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .benefits-section,
    .services-section {
        padding: 35px 20px;
        margin: 35px 0;
        border-radius: 15px;
    }
    
    .section-title {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .benefit-card,
    .service-card {
        padding: 28px 18px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .benefit-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 18px;
    }
    
    .benefit-card h4,
    .service-card h5 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .benefit-card p,
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .benefits-section,
    .services-section {
        padding: 25px 15px;
        margin: 25px 0;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .benefit-card,
    .service-card {
        padding: 24px 16px;
        margin-bottom: 18px;
        border-radius: 8px;
    }
    
    .benefit-icon,
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .benefit-card h4,
    .service-card h5 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .benefit-card p,
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .benefits-section,
    .services-section {
        padding: 20px 12px;
        margin: 20px 0;
        border-radius: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .benefit-card,
    .service-card {
        padding: 20px 14px;
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    .benefit-icon,
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .benefit-card h4,
    .service-card h5 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .benefit-card p,
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Botão "Ver mais" para veículos */
#ver-mais-btn {
    background: transparent !important;
    border: 2px solid #EB3349 !important;
    color: #EB3349 !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

#ver-mais-btn:hover {
    background-image: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%) !important;
    background-size: 200% auto !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(235, 51, 73, 0.3) !important;
}

#ver-mais-btn:focus, #ver-mais-btn:active {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(235, 51, 73, 0.25) !important;
}

#ver-mais-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

#ver-mais-btn i {
    margin-left: 8px !important;
    transition: transform 0.3s ease !important;
}

#ver-mais-btn:hover i {
    transform: translateY(2px) !important;
}

#veiculos-restantes {
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
    font-weight: 400 !important;
}

/* Responsividade para o botão "Ver mais" */
@media (max-width: 768px) {
    #ver-mais-btn {
        padding: 12px 30px !important;
        font-size: 1rem !important;
        letter-spacing: 0.5px !important;
    }
    
    #veiculos-restantes {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    #ver-mais-btn {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
        border-radius: 25px !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    #veiculos-restantes {
        font-size: 0.8rem !important;
        display: block !important;
        margin-top: 2px !important;
    }
}

@media (max-width: 480px) {
    #ver-mais-btn {
        padding: 9px 20px !important;
        font-size: 0.85rem !important;
        max-width: 250px !important;
    }
}

/* Gradiente para títulos */
.btn-grad {
    background-image: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

.btn-grad:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}

/* Classe específica para texto com gradiente */
.titulo-gradiente {
    background: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: 0.5s;
    font-weight: bold;
    display: inline-block;
}

/* Fallback para navegadores sem suporte */
.titulo-gradiente {
    color: #EB3349;
}

.titulo-gradiente {
    background: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: 0.5s;
    font-weight: bold;
    display: inline-block;
}

.titulo-gradiente:hover {
    background-position: right center;
}

/* Animação de ondas tipo gota d'água para o WhatsApp */
@keyframes whatsappRipple {
    0% {
        box-shadow: 
            0 4px 16px rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0.7),
            0 0 0 0 rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0.2);
    }
    25% {
        box-shadow: 
            0 4px 16px rgba(37, 211, 102, 0.4),
            0 0 0 10px rgba(37, 211, 102, 0.3),
            0 0 0 0 rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 16px rgba(37, 211, 102, 0.4),
            0 0 0 20px rgba(37, 211, 102, 0),
            0 0 0 15px rgba(37, 211, 102, 0.2),
            0 0 0 0 rgba(37, 211, 102, 0.2);
    }
    75% {
        box-shadow: 
            0 4px 16px rgba(37, 211, 102, 0.4),
            0 0 0 30px rgba(37, 211, 102, 0),
            0 0 0 25px rgba(37, 211, 102, 0),
            0 0 0 20px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 
            0 4px 16px rgba(37, 211, 102, 0.4),
            0 0 0 40px rgba(37, 211, 102, 0),
            0 0 0 35px rgba(37, 211, 102, 0),
            0 0 0 30px rgba(37, 211, 102, 0);
    }
}

/* WhatsApp Icon Fixed Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-size: 24px;
    animation: whatsappRipple 3s infinite;
}

.whatsapp-fixed:hover {
    background-color: #20b858;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    text-decoration: none;
}

.whatsapp-fixed:focus {
    outline: none;
    color: white;
    text-decoration: none;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .whatsapp-fixed {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 20px;
    }
}

/* Seção de "Nenhum resultado encontrado" */
.no-results-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
}

/* Social icons - apply official brand colors */
.social-link { /* ensure icons inherit color when used with this helper */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Facebook */
.social-link[title="Facebook"] {
    /* remove the default red gradient for Facebook link so the icon color shows correctly */
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}
.social-link[title="Facebook"] i.fab.fa-facebook,
.social-link[title="Facebook"] i.fab.fa-facebook-f,
.text-muted i.fab.fa-facebook,
.text-muted i.fab.fa-facebook-f {
    color: #1877F2 !important; /* Facebook official blue */
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

/* Instagram - gradient similar to official palette */
.social-link[title="Instagram"] i.fab.fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* fallback handled by gradient */
}

/* WhatsApp */
.social-link[title="WhatsApp"] {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}
.social-link[title="WhatsApp"] i.fab.fa-whatsapp,
.whatsapp-btn i.fab.fa-whatsapp {
    color: #25D366; /* WhatsApp green for inline icons/buttons */
}

/* YouTube */
.social-link[title="YouTube"] {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}
.social-link[title="YouTube"] i.fab.fa-youtube,
.text-muted i.fab.fa-youtube {
    color: #FF0000 !important; /* YouTube red */
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

/* Small utility: ensure hover states slightly darker/lighter for accessibility */
.social-link[title="Facebook"]:hover i.fab.fa-facebook { color: #145dbf !important; }
.social-link[title="WhatsApp"]:hover i.fab.fa-whatsapp { color: #1da851; }
.social-link[title="YouTube"]:hover i.fab.fa-youtube { color: #cc0000 !important; }
.social-link[title="Instagram"]:hover i.fab.fa-instagram { filter: brightness(0.95); }

/* Also ensure icons inside plain anchors with .me-2/.text-muted are colored */
/* end of social icon overrides */

.no-results-content {
    max-width: 600px;
    width: 100%;
}

.no-results-icon {
    margin-bottom: 20px;
}

.no-results-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-results-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.whatsapp-contact-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 2px solid rgba(37, 211, 102, 0.1);
}

.contact-message {
    color: #495057;
    margin-bottom: 20px;
    font-weight: 500;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.alternative-options {
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .no-results-section {
        padding: 40px 15px;
        margin: 20px 0;
        min-height: 300px;
    }
    
    .no-results-title {
        font-size: 1.3rem;
    }
    
    .no-results-subtitle {
        font-size: 1rem;
    }
    
    .whatsapp-contact-section {
        padding: 20px;
    }
    
    .whatsapp-btn {
        padding: 12px 25px;
        font-size: 1rem;
     }
    }