body {
    margin: 0;
    overflow-x: hidden;
}

.btn-glow {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
    
}

.btn-glow:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -8px rgba(59, 130, 246, 0.7);
}


/* ============================================
// NAV SEXTION
/ ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1rem 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    box-shadow: none;
}

.navbar.visible {
    background: rgba(255, 255, 255, 0.219);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
   
}

.navbar.scrolled {
    background: rgba(255, 253, 253, 0.664);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
   
}



/* ============================================
// HERO SEXTION
/ ============================================ */
.frame-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

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

.hero-section {
    position: relative;
    z-index: 1;
    height: 150vh; /* ← Permet le scroll sur la hero */
   
    display: flex;
    align-items: center;
    align-items: flex-start;
    padding-top: 20rem;
    justify-content: center;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}








/* ============================================================
VEHICUL VEDETTE 
============================================================ */

.vehicul_vedette_titre{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}
.vedette_gallery{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.5rem;
}
 

.paginator-arrow{
    position: relative;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

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

/* Effet de brillance au survol */
.group::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}
.group:hover::before {
    opacity: 1;
}

/* ============================================================
   MISSION & VALEURS
   ============================================================ */
.section_mission_valeurs{
    display: flex;
    flex-direction: column;
    }
.left_and_right-conatiner{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center; 
}

.valeur-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
/* ============================================================
   STATS – STYLE ANIME
   ============================================================ */
.stat-card {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.stat-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Effet de "pulse" sur le fond */
@keyframes auraPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}
.aura-pulse {
    animation: auraPulse 4s ease-in-out infinite;
}

@keyframes slideIn{
    from{
        transform: translateX(200px);
    }
    to{
        transform: translateX(0px);
    }  
}
.vehicul_ved_anim{
    animation: slideIn 1s ease-in-out;
     
}
.vehicul_ved_anim{
height: 40vh;
width: 50%;

}



/* Vérifie que la vidéo n'est pas cachée */
video {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}




.btn-glow {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
    }

.btn-glow:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -8px rgba(59, 130, 246, 0.7);
    }
    
.scrollable-form {
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 0.75rem;
    scroll-behavior: smooth;
    scrollbar-color: rgba(59, 130, 246, 0.5) rgba(15, 23, 42, 0.05);
    scrollbar-width: thin;
    }

.scrollable-form::-webkit-scrollbar {
    width: 10px;
    }

    .scrollable-form::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.05);
    border-radius: 9999px;
    }

.scrollable-form::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 9999px;
    }

.scrollable-form::-webkit-scrollbar-thumb:hover {
        background: rgba(37, 99, 235, 0.7);
    }


.act-hero{
    height: 35rem;
}






 
@media (max-width: 1024px) {

    .hero-section{
        min-height: 180vh;
    }
    
    .trois_box {
        bottom: 4%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    .box {
        width: 50%;
        transform: translateY(40px);
        padding: 1rem 1.5rem;
    }
    .box-left,
    .box-right {
        transform: translateY(40px);
    }
    .box-left{
        top: 10rem;
    }
    .box-right{
        top: 8rem;
    }

   
    
    .vedette_gallery_display{
        display: flex;
        flex-wrap: wrap;
    }

    .vedette_gallery img{
        height: 40vh;
        width: 50%;
    }
   
    
}

@media (min-width: 1025px) {
  .hero-section{
        min-height: 180vh;
    }

}

@media (max-width: 768px) {
    /* HERO SECTION */
    .hero-section{
        min-height: 100vh;
    }
    .trois_box {
        top: 40rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    .box {

        transform: translateY(40px);
        padding: 1rem 1.5rem;
    }
    .box-left,
    .box-right {
        transform: translateY(40px);
    }

    


    /* VEHICUL VEDETTE SECTION */
    .vedette_gallery_display{
        display: flex;
        flex-direction: column;
    }

    .vedette_gallery_display img {
    height: 40vh;
    width: 100%;
    }
  
    

 }
@media (max-width: 480px) {
    /* HERO SECTION */
    .hero-section{
        min-height: 200vh;
    }

    .trois_box{
        top: 55rem;
    }

    .box{
        min-width: 19rem;
    }

  

   
}

@media (max-width: 390px) {
    /* HERO SECTION */
    .hero-section{
        min-height: 200vh;
    }
    .trois_box{
        top: 48rem;
    }
    .box{
        min-width: 18rem;
    }
   .vedette_gallery_display img {
    height: 40vh;
    width: 100%;}

    .services-title {
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        line-height: 1.1;
    }
    
}

@media (max-width: 375px) {
    /* HERO SECTION */
    .hero-section{
        min-height: 200vh;
    }
    .trois_box{
        top: 50rem;
    }
    .box{
        min-width: 18rem;
    }

    .services-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}
        
}

@media (max-width: 360px){
    .hero-section{
        min-height: 200vh;
    }
    .trois_box{
        top: 55rem;
    }
    .box{
        min-width: 16rem;
    }
    .vedette_gallery_display img {
    height: 40vh;
    width: 100%;
    }

}

@media (width >= 1rem) {
    .lg\:aspect-auto {
        aspect-ratio: auto;
    }}


@media (min-width: 768px) {
    /* 1ère carte (ex: SUV) -> Gauche */
    .type-contain > .type-card:nth-child(1) {
        transform: rotate(-6deg) translateY(25px);
        transform-origin: bottom right;
    }

    /* 2ème carte (ex: Berline) -> Centre */
    .type-contain > .type-card:nth-child(2) {
        transform: rotate(0deg) translateY(-15px);
        z-index: 10;
    }

    /* 3ème carte (ex: Truck) -> Droite */
    .type-contain > .type-card:nth-child(3) {
        transform: rotate(6deg) translateY(25px);
        transform-origin: bottom left;
    }

    /* Hovers dynamiques */
    .type-contain > .type-card:nth-child(1):hover,
    .type-contain > .type-card:nth-child(3):hover {
        transform: rotate(0deg) translateY(-10px) scale(1.03);
        z-index: 20;
    }

    .type-contain > .type-card:nth-child(2):hover {
        transform: rotate(0deg) translateY(-30px) scale(1.03);
        z-index: 20;
    }
}

 