/* =====================================
   AMILEASE - STYLE GLOBAL
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Segoe UI", Arial, Helvetica, sans-serif;

    color:#1c2b3a;

    background:#f6f9fc;

    overflow-x:hidden;
}


img{

    max-width:100%;
    display:block;

}


a{

    text-decoration:none;
    transition:.3s;

}


/* =====================================
   HEADER
===================================== */


header{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:20px 60px;

    background:white;

    position:sticky;

    top:0;

    z-index:1000;

    box-shadow:0 4px 15px rgba(0,0,0,.08);

}


.logo{

    width:220px;

}



header nav{

    display:flex;

    align-items:center;

    gap:35px;

}



header nav a{

    color:#003B71;

    font-size:1.05rem;

    font-weight:600;

}



header nav a:hover{

    color:#0099d8;

}



.menu-mobile{

    display:none;

    width:50px;

    height:45px;

    background:white;

    border:1px solid #dce6ef;

    border-radius:10px;

    cursor:pointer;

}



.menu-mobile span{

    display:block;

    width:30px;

    height:4px;

    background:#003B71;

    margin:5px auto;

    border-radius:5px;

}




/* =====================================
   HERO
===================================== */


.hero{

    min-height:700px;

    display:flex;

    align-items:center;

    padding:120px 8% 80px;

    background:

    linear-gradient(
    120deg,
    rgba(0,59,113,.95),
    rgba(0,130,210,.85)
    ),

    url("../images/serveur.jpg");

    background-size:cover;

    background-position:center;

    color:white;

}


.hero-text{

    max-width:700px;

}


.hero h1{

    font-size:clamp(2.5rem,5vw,4rem);

    line-height:1.1;

    margin-bottom:25px;

}


.hero p{

    font-size:1.2rem;

    line-height:1.7;

}

/* =====================================
   HERO PETIT (PAGES INTERNES)
===================================== */


.hero-small{

    padding:140px 8% 80px;

    text-align:center;

    background:

    linear-gradient(
        120deg,
        #003B71,
        #0084d1
    );

    color:white;

}


.hero-small h1{

    font-size:3rem;

    line-height:1.2;

    margin-bottom:20px;

}


.hero-small p{

    max-width:800px;

    margin:auto;

    font-size:1.25rem;

    line-height:1.7;

    opacity:.95;

}

/* =====================================
   BOUTONS
===================================== */


.btn{

    display:inline-block;

    padding:15px 35px;

    border-radius:50px;

    font-weight:700;

    margin-top:30px;

}



.primary{

    background:white;

    color:#003B71;

}



.secondary{

    color:white;

    border:2px solid white;

}



/* =====================================
   SECTIONS
===================================== */


.section{

    padding:90px 8%;

}



.title{

    text-align:center;

    max-width:800px;

    margin:auto auto 50px;

}


.title h2{

    font-size:2.5rem;

    color:#003B71;

}



.title p{

    margin-top:20px;

    color:#667;

    font-size:1.1rem;

}



/* =====================================
   EXPERTISES
===================================== */


.services{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}



.card{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    transition:.3s;

}



.card:hover{

    transform:translateY(-8px);

}



.card h3{

    color:#003B71;

    margin:20px 0 15px;

}



.card p{

    color:#667;

    line-height:1.7;

}




/* =====================================
   ICONES
===================================== */


.icon{

    width:80px;

    height:80px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#eef5fb;

    border-radius:20px;

    transition:.3s;

}



.icon img{

    width:40px;

    height:40px;

}



.card:hover .icon{

    transform:translateY(-5px) scale(1.1);

    background:#dceefa;

}



/* =====================================
   CLOUD
===================================== */

/* =====================================
   SECTION CLOUD / HEBERGEMENT
===================================== */


.cloud{

    background:

    linear-gradient(
        135deg,
        #003B71,
        #006fb3
    );

    color:white;

    display:flex;

    align-items:center;

    gap:70px;

    padding:100px 8%;

    overflow:hidden;

}



.cloud > div{

    flex:1;

}



.cloud h2{

    font-size:2.8rem;

    line-height:1.2;

    margin-bottom:25px;

}



.cloud p{

    font-size:1.15rem;

    line-height:1.8;

    opacity:.95;

}



.cloud ul{

    margin-top:30px;

    padding:0;

}



.cloud li{

    list-style:none;

    margin:15px 0;

    font-size:1.1rem;

    display:flex;

    align-items:center;

}



.cloud li:before{

    content:"✓";

    display:flex;

    align-items:center;

    justify-content:center;

    width:28px;

    height:28px;

    background:#59C4FF;

    color:#003B71;

    border-radius:50%;

    font-weight:bold;

    margin-right:15px;

}



/* Illustration serveur */

.server-animation{

    height:300px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:120px;

}



/* =====================================
   STATS
===================================== */


.stats{

    display:flex;

    justify-content:center;

    gap:70px;

    flex-wrap:wrap;

    background:#003B71;

    padding:70px 20px;

    color:white;

}



.stat{

    text-align:center;

    min-width:180px;

}



.stat h2{

    font-size:3rem;

    color:#59C4FF;

}



.stat p{

    color:white;

    font-size:1.1rem;

}



/* =====================================
   CONTACT
===================================== */


.contact-form{

    max-width:700px;

    margin:auto;

}



.contact-form input,
.contact-form textarea,
.contact-form select{

    width:100%;

    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    margin-bottom:15px;

}



/* =====================================
   FOOTER
===================================== */


footer{

    background:#001d38;

    color:white;

    padding:40px;

    text-align:center;

}



/* =====================================
   MOBILE
===================================== */


@media(max-width:768px){


header{

    padding:15px 20px;

}


.logo{

    width:140px;

}



.menu-mobile{

    display:block;

}



header nav{

    position:absolute;

    top:75px;

    left:0;

    width:100%;

    background:white;

    display:none;

    flex-direction:column;

    padding:20px;

}



header nav.active{

    display:flex;

}



header nav a{

    padding:12px;

}

.hero-small{

    padding:100px 25px 60px;

}


.hero-small h1{

    font-size:2.2rem;

}


.hero-small p{

    font-size:1.05rem;

}

.hero{

    min-height:600px;

    padding:80px 25px;

}



.hero h1{

    font-size:2.2rem;

}



.services{

    grid-template-columns:1fr;

}



.cloud{

    flex-direction:column;

}



.stats{

    flex-direction:column;

    gap:30px;

}


}