.modules-hero{
    padding:100px 20px;
    text-align:center;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:white;
}

.modules-hero h1{
    font-size:40px;
    margin-bottom:10px;
}

.modules-hero p{
    font-size:20px;
    max-width:700px;
    margin:auto;
}

/* SECTION */
.modules-section{
    padding:80px 20px;
    text-align:center;
}

.modules-section h2{
    font-size:32px;
    color:var(--primary);
    margin-bottom:40px;
}

.modules-title-image{
    display:block;
    width:100%;
    max-width:1400px;
    margin:0 auto 50px;
    height:auto;
}

/* GRID */
.modules-grid{
    display:flex;
    flex-wrap:wrap;
    gap:25px;
    justify-content:center;
}

/* CARD */
.module-card{
    width:260px;
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
    transition:0.4s;
    position:relative;
    overflow:hidden;
}

/* HOVER ANIMATION */
.module-card:hover{
    transform:translateY(-10px) scale(1.03);
}

/* glow effect */
.module-card::before{
    content:"";
    position:absolute;
    width:100%;
    height:5px;
    background:var(--primary);
    top:0;
    left:0;
}

/* IMAGE */
.module-card img{
    width:60px;
    margin-bottom:15px;
}

/* TITLE */
.module-card h3{
    color:var(--primary);
    margin-bottom:10px;
}

/* LIST */
.module-card ul{
    text-align:left;
    margin:15px 0;
    font-size:14px;
}

/* BUTTON */
.btn-details{
    padding:8px 15px;
    border:none;
    background:var(--primary);
    color:white;
    border-radius:5px;
    cursor:pointer;
}

/* TECH SECTION */
.tech{
    background:#f5f7fa;
}

.tech-card{
    border-left:5px solid var(--accent);
}

/* effet spécial techno */
.tech-card::before{
    background: var(--accent);
}

/* bouton hover */
.btn-details:hover{
    background: var(--secondary);
    transform: scale(1.05);
}