
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f8f8;
    color:#222;
    line-height:1.6;
}

/* ================= HEADER ================= */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    background:rgba(0,0,0,.85);
    backdrop-filter:blur(10px);
}

nav{

    max-width:1200px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 25px;

}

.logo{

    height:70px;

}

nav ul{

    display:flex;
    gap:35px;

    list-style:none;

}

nav a{

    color:white;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#f3b300;

}

/* ================= HERO ================= */

.hero{

    height:100vh;

    background:#1d1d1d;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

}

.overlay{

    position:absolute;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.60);

}

.hero-text{

    position:relative;

    color:white;

    text-align:center;

    max-width:800px;

    padding:20px;

}

.hero h1{

    font-size:65px;

    margin-bottom:15px;

}

.hero h2{

    font-size:35px;

    color:#f3b300;

    margin-bottom:20px;

}

.hero p{

    font-size:20px;

    margin-bottom:40px;

}

.btn{

    display:inline-block;

    background:#f3b300;

    color:black;

    padding:16px 40px;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    background:white;

    transform:translateY(-4px);

}

section{

    padding:100px 8%;

}

.titre{

    text-align:center;

    font-size:40px;

    margin-bottom:60px;

    color:#222;

    position:relative;

}

.titre::after{

    content:"";

    width:80px;

    height:4px;

    background:#f3b300;

    display:block;

    margin:15px auto 0;

    border-radius:5px;

}

/* ================= SERVICES ================= */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.card{

    background:white;

    border-radius:18px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 45px rgba(0,0,0,.15);

}

.card h3{

    color:#f3b300;

    margin-bottom:15px;

    font-size:24px;

}

.card p{

    color:#666;

    font-size:16px;

}

/* ================= GALERIE ================= */

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

.gallery img{

    width:100%;

    height:300px;

    object-fit:cover;

    border-radius:15px;

    cursor:pointer;

    transition:.4s;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

}

.gallery img:hover{

    transform:scale(1.05);

}

/* ================= CONTACT ================= */

.contact{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:start;

}

.contact h3{

    font-size:30px;

    margin-bottom:20px;

}

.contact p{

    margin-bottom:12px;

    color:#555;

}

/* ===== FORMULAIRE ===== */

form{

    display:flex;
    flex-direction:column;
    gap:20px;

}

form input,
form textarea{

    width:100%;

    padding:18px;

    border:2px solid #ddd;

    border-radius:12px;

    font-size:16px;

    font-family:'Poppins',sans-serif;

    transition:.3s;

    outline:none;

}

form input:focus,
form textarea:focus{

    border-color:#f3b300;

}

form textarea{

    min-height:180px;

    resize:vertical;

}

form button{

    background:#f3b300;

    color:#222;

    border:none;

    padding:18px;

    border-radius:12px;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

form button:hover{

    background:#222;

    color:white;

}

/* ===== FOOTER ===== */

footer{

    background:#1d1d1d;

    color:white;

    text-align:center;

    padding:50px 20px;

}

footer img{

    width:140px;

    margin-bottom:20px;

}

footer p{

    color:#bbb;

}

/* ===== ANIMATIONS ===== */

.card,
.gallery img,
.btn,
form button{

    transition:all .35s ease;

}

.card:hover{

    transform:translateY(-10px);

}

.gallery img:hover{

    transform:scale(1.04);

}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){

nav{

    flex-direction:column;

    gap:20px;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.hero h1{

    font-size:42px;

}

.hero h2{

    font-size:24px;

}

.hero p{

    font-size:17px;

}

.contact{

    grid-template-columns:1fr;

}

.gallery{

    grid-template-columns:1fr;

}

.cards{

    grid-template-columns:1fr;

}

section{

    padding:70px 25px;

}

.logo{

    height:60px;

}

}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#efefef;

}

::-webkit-scrollbar-thumb{

    background:#f3b300;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#d99d00;

}

/* ===== Bouton retour en haut ===== */

#topButton{

position:fixed;

bottom:25px;

right:25px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:#f3b300;

color:#222;

font-size:24px;

cursor:pointer;

display:none;

transition:.3s;

box-shadow:0 8px 20px rgba(0,0,0,.25);

z-index:999;

}

#topButton:hover{

background:#222;

color:white;

transform:translateY(-4px);

}