*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#111;
}

/* HEADER */

header{
    position:fixed;
    top:0;
    width:100%;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:26px;
    font-weight:700;
    color:#111;
}

.logo img{
    height:60px;
    width:auto;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#111;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#f9b000;
}

/* HERO */

.hero{
    min-height:100vh;
    background:linear-gradient(rgba(249,176,0,.75),rgba(249,176,0,.75)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    padding:120px 20px;
}

.hero h1{
    font-size:58px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    max-width:700px;
    margin:auto;
}

.hero-buttons{
    margin-top:40px;
}

.btn,
.btn2{
    display:inline-block;
    padding:15px 35px;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
    margin:10px;
}

.btn{
    background:#111;
    color:#fff;
}

.btn:hover{
    background:#000;
    transform:translateY(-3px);
}

.btn2{
    border:2px solid #fff;
    color:#fff;
}

.btn2:hover{
    background:#fff;
    color:#111;
}

/* SECTIONS */

section{
    padding:90px 8%;
}

section h2{
    text-align:center;
    font-size:38px;
    color:#f9b000;
    margin-bottom:50px;
}

/* CARDS */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    background:#fff;
    border-radius:15px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:45px;
    color:#f9b000;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

/* NIVEAUX */

.niveau{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:30px;
}

.niveau div{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.niveau h3{
    color:#f9b000;
    margin-bottom:20px;
}

.niveau ul{
    list-style:none;
}

.niveau li{
    padding:8px 0;
}

/* FORMULAIRES */

form{
    max-width:900px;
    margin:auto;
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.ligne{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

input,
select,
textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
}

textarea{
    resize:vertical;
}

button{
    width:100%;
    margin-top:20px;
    background:#f9b000;
    color:#111;
    border:none;
    padding:18px;
    border-radius:10px;
    cursor:pointer;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

button:hover{
    background:#e2a000;
}

/* FAQ */

.question{
    max-width:900px;
    margin:20px auto;
    background:#fff;
    padding:25px;
    border-left:5px solid #f9b000;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.question h3{
    margin-bottom:10px;
}

/* CONTACT */

.infos{
    display:flex;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
}

.infos div{
    background:#fff;
    padding:30px;
    width:240px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.infos i{
    font-size:38px;
    color:#f9b000;
    margin-bottom:15px;
}

/* FOOTER */

footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:30px;
    margin-top:70px;
}

/* RESPONSIVE */

@media(max-width:900px){

header{
    flex-direction:column;
    gap:15px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
}

.hero h1{
    font-size:40px;
}

.hero p{
    font-size:18px;
}

.ligne{
    flex-direction:column;
}

.infos{
    flex-direction:column;
    align-items:center;
}

}

/* ===== CONTACT ===== */

.contact{
    background:#f5f5f5;
    padding:80px 20px;
    min-height:90vh;
}

.contact-container{
    max-width:800px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.1);
}

.contact-container h1{
    text-align:center;
    font-size:40px;
    margin-bottom:15px;
}

.contact-container p{
    text-align:center;
    color:#666;
    margin-bottom:35px;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    font-family:Poppins,sans-serif;
}

.form-group textarea{
    resize:vertical;
}

.form-group input:focus,
.form-group textarea:focus{
    outline:none;
    border:2px solid #F2B400;
}

.contact .btn{
    width:100%;
    margin-top:10px;
}

/* ===== HEADER DES PAGES ===== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:26px;
    font-weight:700;
    color:#111;
}

.logo img{
    height:60px;
    width:auto;
}

.btn-retour{
    text-decoration:none;
    background:#f9b000;
    color:#111;
    padding:12px 24px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.btn-retour:hover{
    background:#e2a000;
    transform:translateY(-2px);
}

body{
    padding-top:100px;
}