@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f7f9fc;
    color:#163b63;
}

img{
    width:100%;
    display:block;
}


/*==========================
        HERO DETAILS
===========================*/

.hero-details{
    position: relative;
    width: 100%;
    height: 250px;
}

.hero-details img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-details .overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,.35),
        rgba(0,0,0,.45)
    );
}

.hero-content{
    position: absolute;
    left: 8%;
    bottom: 60px;
    color: white;
}

.breadcrumb{
    margin-bottom: 25px;
    font-size: 14px;
}

.breadcrumb a{
    color: white;
}

.breadcrumb span{
    color: #ffffff;
}

.niveau{
    display: inline-block;
    background: #c69b2d;
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-content h1{
    font-size: 54px;
    font-weight: 700;
}

/*==========================
      DETAILS
===========================*/

.formation-details{
    padding: 70px 0;
    background: #fff;
}

.formation-details .container{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 45px;
    align-items: start;
    margin-left: auto;
    margin-right: auto;
}

/*==========================
      LEFT
===========================*/

.left-column h2{
    color:#123d6b;
    margin-bottom:10px;
    font-size:30px;
}

.left-column p{
    color:#667085;
    line-height:32px;
    font-size:18px;
    margin-bottom:25px;
}

.big-image{
    width: 700px;
    height: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius:12px;
    margin-bottom:45px;
}

/*==========================
      BENEFICES
===========================*/

.benefices{
    margin-top:5px;
}

.benefices h2{
    margin-bottom:5px;
}

.benefices-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.item{
    display:flex;
    align-items:center;
    gap:18px;
}

.item i{
    width:60px;
    height:60px;
    background:#edf5ff;
    color:#123d6b;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
}

.item span{
    color:#455468;
    font-size:17px;
}

/*==========================
      RIGHT
===========================*/

.right-column{
    display:flex;
    flex-direction:column;
    gap:35px;
}

/*==========================
      PRICE CARD
===========================*/

.price-card{
    background:white;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.price-card h2{
    color:#123d6b;
    font-size:35px;
    margin-bottom:35px;
}

.price-card h2 small{
    color:#7b8794;
    font-size:18px;
    font-weight:400;
}

.info{
    display:flex;
    justify-content:space-between;
    padding:18px 0;
    border-bottom:1px solid #ededed;
}

.info span{
    color:#6f7d8d;
}

.info strong{
    color:#123d6b;
}

.btn-inscription{
    display:block;
    margin-top:35px;
    text-align:center;
    padding:18px;
    background:#ff9800;
    color:white;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn-inscription:hover{
    background:#f08a00;
}

/*==========================
      VIDEO
===========================*/
.video-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 105px;
    background: #e53935;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

.video-link:hover{
    background: #c62828;
    transform: scale(1.05);
}

.video-link i{
    font-size: 30px;
}

.video-card:hover .play{
    transform:translate(-50%,-50%) scale(1.15);
}

/*==========================
      RESPONSIVE
===========================*/

@media(max-width:991px){
    .formation-details .container{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:38px;
    }

    .benefices-grid{
        grid-template-columns:1fr;
    }
    }

@media(max-width:768px){
    .hero-details{
        height:300px;
    }

    .hero-content{
        left:25px;
        bottom:30px;
    }

    .hero-content h1{
        font-size:30px;
    }

    .left-column h2{
        font-size:28px;
    }

    .price-card{
        padding:25px;
    }

    .price-card h2{
        font-size:32px;
    }
}

/* Style appliqué uniquement sur les écrans de moins de 768px (smartphones) */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Taille de texte adaptée */
    }
    
    .ma-classe {
        width: 100%; /* Les éléments prennent toute la largeur */
    }
}
