*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat', Arial, sans-serif;
    background: linear-gradient(180deg, #1a1a1a 0%, #1a1919 100%);
    color:#f1eded;
    line-height:1.6;
}

/* En-tête */

header{
    width:100%;
    background:#0a0a0a;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 35px;
    position:sticky;
    border-bottom: 1px solid rgb(163, 163, 163);
    top:0;
    z-index:1000;
    box-shadow:0 4px 14px rgba(0,0,0,.18);
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    color:white;
    font-size:32px;
    letter-spacing:1px;
    font-family:'Bebas Neue', sans-serif;
}

.logo img{
    width:65px;
    height:65px;
    object-fit:contain;
}

/* Nav */

nav ul{
    display:flex;
    align-items:center;
    gap:15px;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li{
    margin-left:10px;
}

nav ul li a{
    position:relative;
    color:white;
    display: inline-block;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    font-family:'Montserrat', sans-serif;
    padding-bottom:4px;
    transition:.3s;
    white-space: nowrap;
}

nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:#00c2f7;
    transition:width .3s;
}

nav ul li a:hover{
    color:#00c2f7;
}

nav ul li a:hover::after{
    width:100%;
}

nav ul li a.actif{
    color:#040454;
    background: whitesmoke;
    border-radius: 40px;
    padding:10px 10px 10px;
}

nav ul li a.actif::after{
    width:0%;
}

.badge-panier{
    position:relative;
}

.compteur-panier{
    position:absolute;
    top:-10px;
    right:-16px;
    background:#f60606;
    color:white;
    font-size:11px;
    font-weight:bold;
    min-width:18px;
    height:18px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 2px;
}

.titre h1 {
    text-align: center;
    font-family: 'Bebas Neue',sans-serif;
    font-size: 48px;
    letter-spacing: 1px;
    color:white;
    margin-bottom: 15px;
    padding-top: 50px;
}

.titre p{
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color:whitesmoke;
    margin-bottom: 15px;
}

section.bloc{
    padding:80px;
}

/*Phase*/

.filtres{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:70px;
}

.bouton-filtre{
    font-family: 'Bebas Neue', sans-serif;
    background:white;
    letter-spacing: 1px;
    border:2px solid #046681;
    color:#0b1f3a;
    font-weight:bold;
    font-size:13px;
    padding:10px 20px;
    border-radius:30px;
    cursor:pointer;
    transition:.3s;
}

.bouton-filtre:hover{
    background:#0b1f3a;
    color:white;
}



/* Matchs */

.grille-matchs{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.carte-match{
    background:#011722;
    border: 2px solid #fafafa;
    border-radius:15px;
    padding:25px;
}

.categorie {
    margin-top: 40px;
}

.categorie h3{
    font-family:'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    color: white;
}

.carte-match .phase{
    font-size:12px;
    font-weight:bold;
    color:white;
    text-transform:uppercase;
    letter-spacing:px;
}

.equipes{
    font-family: 'Montserrat', sans-serif;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:15px 0;
    font-weight:bold;
    font-size:17px;
    color:whitesmoke;
}

.equipes span:not(.vs){
    display:flex;
    align-items:center;
    gap:8px;
}

.equipes.vs{
    font-size:13px;
    color:#f1f2f3;
    font-weight:normal;
}

.drapeau {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.info{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    color:#ede2e2;
    border-top:1px dashed #ddd;
    padding-top:12px;
}


/* Footer */

footer {
    background: #060606;
    color:whitesmoke;
    padding:60px 120px 30px;
    border-top:1px solid rgb(171, 171, 171);
}

.footer-grille{
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;
    gap:40px;
    padding-bottom:40px;
    border-bottom:1px solid #ffffff26;
}

.reseaux-sociaux{
    display:flex;
    gap:12px;
    margin-top:20px;
}


.reseaux-sociaux{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.reseaux-sociaux a, .app a{
    display:flex;
    align-items:center;
    justify-content:center;
    width: 40px;
    height:40px;
    background:#ffffff14;
    border-radius:50%;
    color:white;
    font-size:18px;
    text-decoration:none;
    transition:.3s;
}

.reseaux-sociaux a:hover{
    opacity:0.5;
    transition:opacity .3s ease;
    transform:translateY(-2px);
}

.texte-reseaux, .texte-app{
    font-size:13px;
    color:#ffffff;
    margin-top:20px;
    margin-bottom:2px;
    font-family:'Montserrat', sans-serif;
    letter-spacing:1px;
}

.app{
    display:flex;
    gap:12px;
}

.app a:hover{
    opacity:0.5;
    transition:opacity .3s ease;
    transform:translateY(-2px);
}

.footer-marque h3{
    color:white;
    font-size:30px;
    letter-spacing:0.5px;
    font-family:'Bebas Neue', sans-serif;
    margin-bottom:15px;
}

.footer-marque p{
    font-size:14px;
}

.footer-colonne h4{
    color:white;
    font-family:'Bebas Neue', sans-serif;
    font-size:18px;
    letter-spacing:1px;
    margin-bottom:20px;
    text-transform:uppercase;
}

.footer-colonne ul{
    list-style:none;
}

.footer-colonne li{
    margin-bottom:12px;
}

.footer-colonne a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.footer-colonne a:hover{
    color:#00c2f7;
}

.footer-bas{
    text-align:center;
    padding-top:25px;
    font-size:13px;
}


/* Responsive */

    @media screen and (max-width: 767px) {

    /* Header centré verticalement */
    header {
        position: sticky;
        top: 0;
        padding: 15px 10px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        background: #0a0a0a;
    }

    
    .logo {
        font-size: 26px;
        gap: 10px;
        justify-content: center;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    
    nav {
        position: static;
        width: 100%;
        max-height: none;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    
    nav ul {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        align-items: center;
        gap: 12px 15px; 
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 0;
        width: auto; 
    }

    nav ul li a {
        font-size: 14px;
        font-weight: 600;
        padding: 6px 10px;
        display: inline-block;
    }


    nav ul li a.actif {
        color: #040454;
        background: whitesmoke;
        border-radius: 40px;
        padding: 6px 14px;
    }

    .titre h1{
        font-size:32px;
    }

    .grille-matchs {
        grid-template-columns: 1fr;
        gap: 20px;
        
    }

    /*Footer Responsive  */

    footer {
        padding: 40px 20px 20px;
    }

    .footer-grille {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }


    .footer-marque {
        grid-column: span 2;
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        margin-bottom: 10px;
    }

    .reseaux-sociaux, .app {
        justify-content: center;
    }


    .footer-colonne {
        text-align: left;
        padding-left: 10px; 
    }

    .footer-colonne h4 {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-colonne ul li {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .footer-bas {
        text-align: center;
        padding-top: 25px;
        margin-top: 20px;
        font-size: 11px;
        line-height: 1.5;
}
}