.cours-title h1 {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    text-align: left;
    color: #111;
    text-decoration: underline;
    text-decoration-color: #009CDF;
    text-decoration-thickness: 12px;
    text-underline-offset: 8px;
    line-height: 1.5;
    text-align: start;
}

.btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: #2196F3;
    color: white;
    border: none;
    z-index: 1;
       box-shadow: #ffffff00 0px 0px ;
       transition: all 0.3s ease;
        width: fit-content; 
}
.sheen::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.sheen:hover::before {
    left: 100%;
}


.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    stroke: currentColor;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}
.btn:hover {

    transform: translateY(2px);
    box-shadow: #1f293733 4px 4px ;
}


/* ============================================
   VOITURE PAGE - CSS DÉDIÉ
   Pour: voiture-manuelle, voiture-automatique, etc.
   ============================================ */

.voiture-content {
    position: relative;
    margin-top: 160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
    max-width: 1500px;
}

/* ============================================
   CONTENU PRINCIPAL
   ============================================ */
.main-content {
    position: relative;
    max-width: 100%;
    z-index: 1;
}

/* Container flex pour layout desktop */
.content-wrapper {
    display: flex;
    gap: 200px;
    align-items: flex-start;
    margin-bottom: 80px;
}

/* ============================================
   SECTION INFO VÉHICULE + BOUTONS
   ============================================ */
.vehicle-info-section {
    display: flex;
    align-items: center;
    gap: 50px;
    flex: 0 0 auto;
}

/* Stats du véhicule */
.vehicle-stats {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-family: "Unbounded", sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: #111827;
}

/* Séparateur vertical */
.vertical-divider {
    width: 3px;
    min-height: 280px;
    border-radius: 5px;
    background: rgba(112, 112, 112, 0.651);
    align-self: stretch;
}

/* Boutons verticaux */
.cta-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    width: fit-content;
}

/* ============================================
   CAROUSEL D'IMAGES
   ============================================ */
.carousel-container {
    flex: 1;
    min-width: 0; /* Important pour flexbox */
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
    margin: 0 auto;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Boutons de navigation du carousel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    stroke: #111827;
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

/* Points indicateurs */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dots .dot:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.carousel-dots .dot.active {
    background: #009CDF;
    width: 32px;
    border-radius: 6px;
}

/* ============================================
   RESPONSIVE - TABLETTE
   ============================================ */
@media (max-width: 1200px) {

    .sheen::before {
        display: none;
    }
    .voiture-content {
        padding-left: 40px;
        padding-right: 40px;
        max-width: 100%;
    }

    .content-wrapper {
        gap: 60px;
    }

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

@media (max-width: 968px) {
    .voiture-content {
        margin-top: 120px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .main-content {
        max-width: 100%;
    }

    /* Passer en layout vertical sur mobile */
    .content-wrapper {
        flex-direction: column;
        gap: 50px;
    }

   .vehicle-info-section{
    margin-top: 40px;
    margin-left: 30px;
    align-items: start;
    flex-direction: column;
}

    .vertical-divider {
        display: none;
    }

    .cta-buttons-vertical {
        flex-direction: row;
        gap: 12px;
    }

    .carousel-container {
        width: 100%;
    }

    .carousel-wrapper {
        max-width: 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn.prev {
        left: 12px;
    }

    .carousel-btn.next {
        right: 12px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 480px) {
    .main-content{
        margin-top: 150px;
    }
    .cours-title h1 {
        text-align: start;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-left: 30px;
  
}
.vehicle-info-section{
    margin-top: 40px;
    margin-left: 30px;
    align-items: start;
}
    .voiture-content {
        margin-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .vehicle-stats {
        justify-content: start;
        gap: 20px;
    }

    .stat-label {
        font-size: 0.85rem;
    }

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

    .cta-buttons-vertical {
        flex-direction: row;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 16px;
    }

    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }

    .carousel-dots .dot.active {
        width: 24px;
    }
}
@media (max-width: 480px){
     .cta-buttons-vertical {
        flex-direction: column;
    }
}
@media (max-width: 400px){
        .cours-title h1 {
    font-size: 1.9rem;
}
   .cta-buttons-vertical {
        flex-direction: column;
    }
}