/* ==========================================================
   SUPER PARRAINAGE
   style.css
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:#f5f7fb;

    color:#222;

    line-height:1.6;

}

.container{

    width:90%;

    max-width:1300px;

    margin:auto;

}

/* ===========================
HEADER
=========================== */

header{

    background:#ffffff;

    position:sticky;

    top:0;

    z-index:1000;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

.logo img{

    height:60px;

}

nav ul{

    list-style:none;

    display:flex;

    gap:30px;

}

nav a{

    text-decoration:none;

    color:#222;

    font-weight:bold;

    transition:.3s;

}

nav a:hover{

    color:#0E7CFF;

}

/* ===========================
HERO
=========================== */

.hero{

    padding:120px 20px;

    text-align:center;

    background:linear-gradient(135deg,#0E7CFF,#0066d6);

    color:white;

}

.hero h1{

    font-size:54px;

    margin-bottom:25px;

}

.hero p{

    font-size:22px;

    max-width:700px;

    margin:auto;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn-primary{

    background:#ffffff;

    color:#0E7CFF;

    padding:18px 40px;

    border-radius:40px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-3px);

}

.btn-secondary{

    border:2px solid white;

    color:white;

    text-decoration:none;

    padding:18px 40px;

    border-radius:40px;

}

/* ===========================
RECHERCHE
=========================== */

.search{

    padding:60px 0;

}

.search input{

    width:100%;

    padding:20px;

    border-radius:15px;

    border:none;

    font-size:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

/* ===========================
CATEGORIES
=========================== */

.categories{

    padding:70px 0;

}

.categories h2{

    margin-bottom:35px;

}

.category-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:20px;

}

.category-grid a{

    background:white;

    padding:25px;

    border-radius:15px;

    text-align:center;

    text-decoration:none;

    color:#222;

    font-weight:bold;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;

}

.category-grid a:hover{

    background:#0E7CFF;

    color:white;

}

/* ===========================
OFFRES
=========================== */

#offres{

    padding:80px 0;

}

#offres h2{

    margin-bottom:40px;

}

.offers-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.card{

    background:white;

    border-radius:18px;

    padding:25px;

    text-decoration:none;

    color:#222;

    transition:.3s;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.card h3{

    margin-bottom:15px;

    color:#0E7CFF;

}

.card p{

    margin-bottom:20px;

}

.card span{

    color:#0E7CFF;

    font-weight:bold;

}

/* ===========================
AVANTAGES
=========================== */

.advantages{

    padding:90px 0;

    background:white;

}

.advantages h2{

    text-align:center;

    margin-bottom:60px;

}

.advantages-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.advantages-grid div{

    background:#f5f7fb;

    padding:35px;

    border-radius:20px;

    text-align:center;

}

/* ===========================
FOOTER
=========================== */

footer{

    background:#101010;

    color:white;

    padding:50px 0;

    margin-top:80px;

}

footer .container{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:20px;

}

footer a{

    color:white;

    margin-left:20px;

    text-decoration:none;

}

footer a:hover{

    color:#0E7CFF;

}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:900px){

.hero h1{

font-size:38px;

}

.hero p{

font-size:18px;

}

header .container{

flex-direction:column;

gap:20px;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

}

}

@media(max-width:600px){

.hero{

padding:80px 20px;

}

.hero h1{

font-size:30px;

}

.btn-primary,
.btn-secondary{

width:100%;

text-align:center;

}

.search input{

font-size:16px;

}

}