:root {
    --primary: #ee151e;
    --primary-light: rgba(238, 21, 30, 0.1);
    --dark: #111827;
    --darker: #0a0e17;
    --darker2: #030304;
    --light: #f3f4f6;
    --gray: #6b7280;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

html {
    font-size: 15px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--darkert);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
}

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

/* ============================================= */
/* NAVBAR (PRIORIDADE DO HTML)                   */
/* ============================================= */
.navbar {
    padding: 20px 0;
    background: var(--darker) !important;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 35px;
}

.nav-link {
    font-weight: 600;
    color: var(--light) !important;
    margin: 0 8px;
    position: relative;
    padding: 6px 0 !important;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 700;
    transition: var(--transition);
    background: var(--primary);
    color: white;
    border: none;
    font-size: 0.9rem;
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(238, 21, 30, 0.7);
}


/* ============================================= */
/* HERO SECTION (PRIORIDADE DO HTML)             */
/* ============================================= */


.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 100vh;
    display: flex;
    background-image: url('../../Static/images/banner1920.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

/*@media (min-width: 1920px) {
    .hero-section {
        background-image: url('');
    }
}*/

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 14, 23, 0) 50%, rgb(10, 14, 23) 100%);
    z-index: 1;

}

.hero-content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 0px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    /* Proporção ajustada para o layout */
    gap: 30px;
    align-items: center;
}

.hero-central-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: start;
    text-align: center;
    padding: 0 25px;
    margin-top: 75px;
}

/* Cards de Perfil na Hero */
.profile-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
}

.hero-section .profile-card {
    /* Seletor mais específico para evitar conflito com outros .profile-card */
    background: rgba(17, 24, 39, 0.7);
    border-radius: 14px;
    padding: 13px;
    transition: var(--transition);
    border: 1px solid rgba(238, 21, 30, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-section .profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(238, 21, 30, 0.1), transparent);
    transition: var(--transition);
}

.hero-section .profile-card:hover::before {
    left: 100%;
}

.hero-section .profile-card:hover {
    transform: translateY(-5px);
    border-color: rgba(238, 21, 30, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-section .profile-card.active {
    background: rgba(238, 21, 30, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(238, 21, 30, 0.3);
}

.hero-section .profile-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(238, 21, 30, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.3rem;
}

.hero-section .profile-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light);
}

.hero-section .profile-card p {
    font-size: 0.85rem;
    color: rgba(243, 244, 246, 0.8);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Conteúdo Central da Hero */
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 550px;
    margin: 0 auto 35px;
    color: rgba(243, 244, 246, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero-primary {
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 0 18px rgba(238, 21, 30, 0.5);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(238, 21, 30, 0.7);
}

.btn-hero-outline {
    border: 2px solid rgba(243, 244, 246, 0.3);
    color: var(--light);
    background: transparent;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

/* Card de Diferencial na Hero */
.feature-card {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 20px;
    padding: 20px 20px 5px;
    transition: var(--transition);
    border: 1px solid rgba(238, 21, 30, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    align-self: start;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 21, 30, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    z-index: -1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(238, 21, 30, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto 20px;
    color: var(--primary);
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z' fill='rgba(238,21,30,0.1)'/%3E%3C/svg%3E");
    background-size: 40px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--light);
    text-align: center;
}

.feature-card p {
    font-size: 1rem;
    color: rgba(243, 244, 246, 0.9);
margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.feature-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(243, 244, 246, 0.7);
    display: block;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.benefit-list li {
    padding: 10px 0;
    position: relative;
    padding-left: 35px;
    margin-bottom: 8px;
    color: rgba(243, 244, 246, 0.9);
    font-size: 0.95rem;
}

.benefit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-color: rgba(238, 21, 30, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--primary);
}

.benefit-list li:nth-child(1)::before {
    content: '\f00c';
}

.benefit-list li:nth-child(2)::before {
    content: '\f00c';
}

.benefit-list li:nth-child(3)::before {
    content: '\f00c';
}

.benefit-list li:nth-child(4)::before {
    content: '\f00c';
}

@media (max-width: 576px) {
    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}


/* ============================================= */
/* ANIMAÇÕES (PRIORIDADE DO HTML)                */
/* ============================================= */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(120deg);
    }

    66% {
        transform: translateY(20px) rotate(240deg);
    }
}


/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.lead {
    color: #6b7280;
}


/* How It Works Section */
.how-it-works {
    background-color: var(--light);
}

.step-card {
    background: var(--light);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(238, 21, 30, 0.05);
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--primary);
    color: var(--light);
    transform: rotate(10deg) scale(1.1);
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.step-card p {
    color: #6b7280;
    margin-bottom: 0;
}

/* Featured Vehicles Section */
.featured-vehicles {
    background-color: var(--gray);
}


.vehicle-card {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    margin: 20px 0px;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}


.vehicle-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.vehicle-badge.highlight {
    background: var(--dark);
}

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

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.vehicle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-overlay {
    opacity: 1;
}

.btn-view {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-3px);
}

.vehicle-info {
    padding: 20px;
}

.vehicle-info h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.vehicle-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #6b7280;
}

.vehicle-meta i {
    margin-right: 5px;
    color: var(--primary);
}

.vehicle-price {
    margin-top: 15px;
}

.vehicle-price .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.vehicle-price .installment {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Profiles Section */
.profile-card {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.profile-card.highlight {
    border: 2px solid var(--primary);
    transform: translateY(-10px);
}

.profile-card.highlight .profile-header {
    background: linear-gradient(135deg, var(--primary) 0%, #c91119 100%);
    color: var(--light);
}

.profile-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
    color: var(--light);
    position: relative;
}

.profile-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: var(--transition);
}

.profile-card:hover .profile-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--primary);
}

.profile-card h3 {
    font-weight: 800;
    margin-bottom: 0;
}

.profile-body {
    padding: 30px;
}

.profile-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.profile-features li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.profile-features li:last-child {
    border-bottom: none;
}

.profile-features i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 10px;
}

.btn-profile {
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
    width: 100%;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.2);
}

.btn-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(238, 21, 30, 0.3);
}

.profile-card.highlight .btn-profile {
    background: var(--light);
    color: var(--primary);
}

/* Testimonials Section */
.testimonial-card {
    background: var(--light);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 15px;
    height: 100%;
}

.testimonial-content {
    position: relative;
    margin-bottom: 25px;
    padding-top: 5px;
    padding-left: 55px;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: #6b7280;
    position: relative;
    padding-left: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-light);
}

.author-info h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info span {
    font-size: 0.9rem;
    color: #6b7280;
}

.glide__bullets button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 5px;
    transition: var(--transition);
    padding: 0;
}

.glide__bullets button.glide__bullet--active {
    background: var(--primary);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #c91119 100%);
    color: var(--light);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Footer */
.footer {
    background: var(--darker2);
    color: var(--light);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary) 0%, #c91119 100%);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-text {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links h5 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--light);
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer-links a:hover::after {
    width: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 10px;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .step-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        margin-bottom: 15px;
    }

    .profile-card.highlight {
        transform: none;
    }

    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

/* How It Works Section - Enhanced */
.how-it-works {
    background-color: #f9fafc;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ee151e" fill-opacity="0.03" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: 0;
}

.how-it-works .row.justify-content-center>.col-lg-8 {
    text-align: center;
}

.profile-tabs {
    background: white;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: inline-flex
}

.profile-tabs .nav-pills {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-tabs .nav-pills .nav-link {
    border-radius: 40px;
    /* CORREÇÃO AQUI: Padding padrão e correto para os botões INATIVOS */
    padding: 16px 30px !important;
    font-weight: 700;
    color: var(--dark) !important;
    background-color: transparent;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}


.profile-tabs .nav-pills .nav-link span {
    margin: 0 10px;
}

.profile-tabs .nav-pills .nav-link i {
    margin-right: 8px;
    margin-left: 10px;
    font-size: 1.1rem;
    transition: var(--transition);
    flex-shrink: 0;
}



/* Efeito hover para botões que NÃO estão ativos */
.profile-tabs .nav-pills .nav-link:not(.active):hover {
    background-color: var(--primary-light);
}

/* Regra final e correta para o botão ATIVO */
.profile-tabs .nav-pills .nav-link.active {
    background-color: var(--primary);
    color: var(--light) !important;
    /* Garante o texto branco */
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.3);
    /* Padding generoso APENAS para o botão ativo, criando o "balão" */
    padding: 18px 35px;

}

.profile-tabs .nav-pills .nav-link.active i {
    color: white;
}


.step-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(238, 21, 30, 0.05);
    line-height: 1;
    z-index: -1;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card p {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.step-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-image img {
    max-height: 100%;
    transition: var(--transition);
    filter: grayscale(100%) opacity(0.8);
}

.step-card:hover .step-image img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .profile-tabs .nav-pills .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .step-card {
        padding: 25px 20px;
    }

    .step-card h4 {
        min-height: auto;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .profile-tabs {
        border-radius: 15px;
        padding: 5px;
    }

    .profile-tabs .nav-pills {
        flex-direction: column;
    }

    .profile-tabs .nav-pills .nav-link {
        margin: 2px 0;
        border-radius: 10px;
        padding: 10px 15px;
        justify-content: flex-start;
    }

    .step-card {
        margin-bottom: 20px;
    }

    .step-card:hover {
        transform: none;
    }

    .step-image {
        height: 100px;
    }

    .profile-tabs .nav-pills .nav-link i {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .step-card h4 {
        font-size: 1rem;
    }

    .step-card p {
        font-size: 0.85rem;
    }
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover:active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}


.btn-primary:hover {
    background-color: #c91119;
    border-color: #c91119;
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.3);
}


.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}


.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.2);
    border-color: var(--primary);
}

.btn-outline-primary:hover:active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

/* ============================================= */
/* SEÇÃO VEÍCULOS EM DESTAQUE - CARROSSEL        */
/* ============================================= */

.glide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.glide__arrow:hover {
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 8px 20px rgba(238, 21, 30, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.glide__arrow--left {
    left: -25px;
    /* Posição ajustada para o container */
}

.glide__arrow--right {
    right: -25px;
    /* Posição ajustada para o container */
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .glide__arrow {
        width: 40px;
        height: 40px;
    }

    .glide__arrow--left {
        left: 10px;
    }

    .glide__arrow--right {
        right: 10px;
    }
}

.brands-section {
    background-color: var(--light);
}

.brands-section .glide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.brands-section .glide__slide img {
    max-height: 50px;
    /* Ajusta a altura máxima do logo */
    width: auto;
    /* Mantém a proporção da imagem */
    max-width: 100%;
    /* Garante que a imagem não ultrapasse o contêiner */
    filter: grayscale(100%);
    /* Deixa o logo em escala de cinza */
    opacity: 0.6;
    /* Deixa o logo um pouco transparente */
    transition: var(--transition);
    /* Usa a sua transição padrão */
}

.brands-section .glide__slide:hover img {
    filter: grayscale(0%);
    /* Remove a escala de cinza ao passar o mouse */
    opacity: 1;
    /* Remove a transparência */
    transform: scale(1.1);
    /* Aumenta levemente o tamanho para dar destaque */
}

/* ============================================= */
/* AJUSTE HERO PARA TELAS GRANDES                */
/* ============================================= */
@media (min-width: 1401px) {


    .hero-content-container .container {
        max-width: 100%;
        padding-left: 50px;
        padding-right: 50px;
    }


    .navbar .container {
        max-width: 100%;
        padding-left: 50px;
        padding-right: 50px;
    }

    .hero-grid {
        grid-template-columns: minmax(340px, 420px) 1fr minmax(340px, 420px);
    }

}

.btn-profile {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid var(--primary-light);
}

.btn-profile:focus {
    border-color: var(--primary);
    color: white;
}

.btn-profile:hover {
    color: white;
}

.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.253);
    border: none;
}

.dropdown-item {
    font-weight: 600;
    padding: 10px 20px;
}

.dropdown-item:active{
    background-color: white;
    color: #000000;
}

.dropdown-item i {
    color: var(--primary);
}

@media (max-width: 768px) {

    .hero-section {
        min-height: auto; 
        padding: 60px 0 100px 0; 
        background-position: center center; 
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.4); /* Adiciona uma camada preta com 40% de opacidade */
    }

    .hero-section .profile-cards,
    .hero-section .feature-card {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-central-content {
        margin-top: 0;
        padding-bottom: 0;
    }

    .hero-content-container {

    margin-top: 20px;
    padding-bottom: 80px;

    }

}

.profile-card:hover .profile-icon  {
    color: var(--light);
}

@media (max-width: 991.98px) {
    .navbar-collapse #user-actions-logged-out {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
        display: flex
;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding-bottom: 15px;
    }
}




