/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

:root{
    --primary:#0A4D8C;
    --secondary:#1E293B;
    --light:#F8FAFC;
    --border:#E2E8F0;
    --radius:12px;
    --shadow:0 4px 12px rgba(0,0,0,.08);
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:20px;
}

/* ==========================
   HERO
========================== */

.hero{
    color:#fff;
    padding:120px 30px;
    border-radius:12px;
    text-align:center;
    margin-bottom:40px;
}

.hero h1{
    color:#fff;
    margin:0 0 15px;
}

/* ==========================
   GRILLES
========================== */

.cards-grid,
.equipes-grid,
.effectif{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
    gap:20px;
}

/* ==========================
   CARTES
========================== */

.card,
.equipe-card,
.joueur-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:20px;
    box-shadow:var(--shadow);
}

.card img,
.equipe-card img,
.joueur-card img{
    width:100%;
    height:auto;
    display:block;
    border-radius:8px;
    margin-bottom:15px;
}

.card h2,
.card h3,
.equipe-card h2,
.joueur-card h3{
    margin-top:0;
}

/* ==========================
   EFFECTIF
========================== */

.joueur-card{
    text-align:center;
}

.joueur-card img{
    max-width:180px;
    margin:0 auto 15px;
}

/* ==========================
   MATCHS
========================== */

.match-item{
    border-bottom:1px solid var(--border);
    padding:12px 0;
}

.match-item:last-child{
    border-bottom:none;
}

/* ==========================
   LIENS
========================== */

a{
    text-decoration:none;
}

a:hover{
    opacity:.85;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width:768px){

    .hero{
        padding:50px 20px;
    }

    .cards-grid,
    .equipes-grid,
    .effectif{
        grid-template-columns:1fr;
    }

}

.site-logo{
    max-width:180px;
    width:100%;
    height:auto;
    margin:0 auto 20px;
    display:block;
}

.main-navigation{
    border-bottom:1px solid var(--border);
}

.site-header{
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.sponsors-home{
    margin-top:60px;
}

.sponsors-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.sponsor-card{
    background:#fff;
    border:1px solid #e5e7eb;
    padding:15px;
    border-radius:12px;
}

.sponsor-card img{
    width:100%;
    height:auto;
    display:block;
}

@media(max-width:768px){

    .sponsors-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

.hero-slogan{
    font-size:1.3rem;
    margin:15px 0 30px;
}

.hero-stats{
    display:flex;
    justify-content:center;
    gap:50px;
    margin:35px 0;
}

.stat{
    text-align:center;
}

.stat span{
    display:block;
    font-size:2rem;
    font-weight:700;
}

.stat small{
    opacity:.9;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:30px;
}

.btn-primary,
.btn-secondary{
    display:inline-block;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.btn-primary{
    background:#fff;
    color:#0A4D8C;
}

.btn-secondary{
    border:1px solid #fff;
    color:#fff;
}

@media(max-width:768px){

    .hero-stats{
        flex-direction:column;
        gap:20px;
    }

    .hero-buttons{
        flex-direction:column;
    }

}

/* ==========================
   CONTACT
========================== */

.contact-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    margin-top:40px;
}

.contact-form,
.contact-infos{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:30px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.contact-infos h2{
    margin-top:0;
}

.contact-infos p{
    margin-bottom:15px;
}

@media(max-width:768px){

    .contact-grid{
        grid-template-columns:1fr;
    }

}

/* ==========================
   FOOTER ATHLINKER
========================== */

.club-footer{
    background:#0f172a;
    color:#fff;
    margin-top:60px;
    padding:50px 0;
}

.club-footer a{
    color:#fff;
}

.club-footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;
}

.club-footer h3{
    color:#fff;
    margin-bottom:15px;
}

.club-footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.club-footer li{
    margin-bottom:10px;
}

.club-footer-bottom{
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.2);
    text-align:center;
}

@media(max-width:768px){

    .club-footer-grid{
        grid-template-columns:1fr;
    }

}

.club-footer{
    width:100%;
    background:#0f172a;
    color:#fff;
    margin-top:60px;
    padding:50px 0;
}
.club-footer{
    clear:both !important;
    width:100% !important;
    display:block !important;
}

.club-footer-grid{
    display:grid !important;
    grid-template-columns:2fr 1fr 1fr !important;
}
.site-info{
    display:none;
}

.hero{
    border-radius:0;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
}
.main-navigation .main-nav ul li a{
    font-weight:600;
}

.team-cover img{
    width:100%;
    border-radius:12px;
    margin-bottom:25px;
}

.team-badge{
    display:inline-block;
    background:#0A4D8C;
    color:#fff;
    padding:8px 15px;
    border-radius:30px;
    margin-bottom:25px;
}

.team-infos{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin:30px 0;
}

.team-infos div{
    background:#fff;
    border:1px solid #e5e7eb;
    padding:20px;
    border-radius:12px;
}

@media(max-width:768px){

    .team-infos{
        grid-template-columns:1fr;
    }

}
.equipe-card{
    display:flex;
    flex-direction:column;
}

.equipe-card h2{
    margin:15px 0 10px;
}

.equipe-card .team-badge{
    align-self:flex-start;
    margin-bottom:15px;
}

.btn-club{
    margin-top:auto;
    display:inline-block;
    background:var(--primary);
    color:#fff;
    padding:10px 18px;
    border-radius:8px;
    text-align:center;
}

.btn-club:hover{
    color:#fff;
}

.club-hero{
    text-align:center;
    margin-bottom:40px;
}

.club-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:40px;
}

.stat-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:30px;
    text-align:center;
    box-shadow:var(--shadow);
}

.stat-card span{
    display:block;
    font-size:2rem;
    font-weight:700;
}

.club-stade img{
    width:100%;
    border-radius:12px;
    margin-bottom:40px;
}

.club-section{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:30px;
    margin-bottom:30px;
    box-shadow:var(--shadow);
}

@media(max-width:768px){

    .club-stats{
        grid-template-columns:1fr;
    }

}

.event-date{
    width:70px;
    margin-bottom:15px;
    border-radius:12px;
    overflow:hidden;
    text-align:center;
    box-shadow:var(--shadow);
}

.event-day{
    display:block;
    background:var(--primary);
    color:#fff;
    font-size:1.6rem;
    font-weight:700;
    padding:10px 0;
}

.event-month{
    display:block;
    background:#fff;
    color:var(--secondary);
    padding:8px 0;
    font-weight:600;
}

.event-placeholder{
    height:140px;
    border-radius:12px;
    margin-bottom:15px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        #2563eb
    );

    color:#fff;
    font-size:1.5rem;
    font-weight:700;
    text-align:center;
    padding:20px;
}

.event-placeholder span{
    max-width:80%;
}

.joueurs-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.joueur-card{
    text-align:center;
}

.joueur-equipe{
    font-weight:600;
    color:var(--primary);
}

@media(max-width:1024px){
    .joueurs-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .joueurs-grid{
        grid-template-columns:1fr;
    }
}

.joueur-card p:first-of-type{
    display:inline-block;
    background:var(--primary);
    color:#fff;
    padding:4px 10px;
    border-radius:20px;
}

.player-header{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:40px;
    margin-bottom:40px;
}

.player-photo img{
    width:100%;
    border-radius:12px;
}

.player-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.player-number{
    display:inline-block;
    background:var(--primary);
    color:#fff;
    padding:8px 16px;
    border-radius:30px;
    margin-bottom:15px;
    font-weight:700;
}

.player-position{
    font-size:1.2rem;
    font-weight:600;
}

.captain-badge{
    display:inline-block;
    background:#facc15;
    color:#111827;
    padding:8px 14px;
    border-radius:30px;
    font-weight:700;
    width:fit-content;
}

.player-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:40px;
}

.player-stats .stat-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:var(--shadow);
}

.player-stats .stat-card strong{
    display:block;
    margin-bottom:10px;
}

@media(max-width:768px){

    .player-header{
        grid-template-columns:1fr;
    }

    .player-stats{
        grid-template-columns:1fr;
    }

}

.captain-badge{
    display:inline-block;
    background:#facc15;
    color:#111827;
    padding:10px 16px;
    border-radius:30px;
    font-weight:700;
    width:fit-content;
}

.matchs-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:40px;
}

.match-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:var(--shadow);
}

.match-date{
    width:70px;
    margin:0 auto 15px;
    border-radius:10px;
    overflow:hidden;
}

.match-date .day{
    display:block;
    background:var(--primary);
    color:#fff;
    font-size:1.5rem;
    font-weight:700;
    padding:8px 0;
}

.match-date .month{
    display:block;
    background:#f3f4f6;
    padding:6px 0;
    font-weight:600;
}

.score-big{
    font-size:2rem;
    font-weight:700;
    margin:10px 0;
    color:var(--primary);
}

@media(max-width:1024px){

    .matchs-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .matchs-grid{
        grid-template-columns:1fr;
    }

}

.match-single{
    margin:40px 0;
}

.match-scoreboard{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:20px;
    align-items:center;
    text-align:center;
    margin-bottom:40px;
}

.team-name{
    font-size:2rem;
    font-weight:700;
}

.vs-big{
    font-size:3rem;
    font-weight:700;
    color:var(--primary);
}

.match-details{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:40px;
}

.detail-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:var(--shadow);
}

.detail-card strong{
    display:block;
    margin-bottom:10px;
}

@media(max-width:768px){

    .match-scoreboard{
        grid-template-columns:1fr;
    }

    .match-details{
        grid-template-columns:1fr;
    }
}

.cta-home{
    text-align:center;
    background:#fff;
    padding:60px 30px;
    border-radius:12px;
    margin-top:60px;
    box-shadow:var(--shadow);
}

.staff-intro{
    text-align:center;
    margin-bottom:40px;
    font-size:1.1rem;
}

.staff-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.staff-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:var(--shadow);
}

.staff-card img{
    width:100%;
    border-radius:12px;
    margin-bottom:15px;
}

.staff-card h3{
    margin-bottom:10px;
}

.staff-role{
    color:var(--primary);
    font-weight:700;
    margin-bottom:15px;
}

.staff-description{
    margin-top:15px;
    font-size:.95rem;
    color:#475569;
}

@media(max-width:1024px){

    .staff-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .staff-grid{
        grid-template-columns:1fr;
    }

}

.galerie-card{
    display:block;
    color:inherit;
    text-align:center;
    transition:.2s;
}

.galerie-card:hover{
    transform:translateY(-4px);
}

.galerie-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:15px;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:20px;
}

.footer-logo{
    width:90px !important;
    height:auto !important;
    margin:0 !important;
    flex-shrink:0;
}

.footer-brand-text h3{
    margin:0 0 8px;
    color:#fff;
}

.footer-brand-text p{
    margin:0;
}

.footer-socials{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.footer-socials a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    transition:.2s;
}

.footer-socials a:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.2);
}

.footer-socials img{
    width:22px !important;
    height:22px !important;
    max-width:22px !important;
    max-height:22px !important;
    display:block;
}

.club-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:25px;
    box-shadow:var(--shadow);
}

.matchs-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.matchs-grid-small,
.resultats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.result-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:var(--shadow);
}

.result-header{
    font-size:1.2rem;
    font-weight:700;
    margin-bottom:10px;
}

.result-status{
    margin-bottom:15px;
    font-weight:600;
}

.score-big{
    font-size:2rem;
    font-weight:700;
    margin-bottom:15px;
}

@media(max-width:1200px){

    .matchs-grid-small,
    .resultats-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .matchs-layout{
        grid-template-columns:1fr;
    }

    .matchs-grid-small,
    .resultats-grid{
        grid-template-columns:1fr;
    }

}

.resultat-card{
    text-align:center;
}

.resultat-status{
    font-weight:700;
    margin-bottom:10px;
}

.score-big{
    font-size:2rem;
    font-weight:700;
    margin-bottom:10px;
}

.match-card{
    text-align:center;
}

.match-date{
    margin-bottom:15px;
}

.match-date .day{
    display:block;
    font-size:2rem;
    font-weight:700;
    line-height:1;
}

.match-date .month{
    display:block;
    text-transform:uppercase;
    font-size:.9rem;
    color:#64748b;
}

.match-versus{
    margin-bottom:5px;
    color:#64748b;
    font-weight:600;
}

.match-team{
    font-weight:700;
    color:var(--primary);
    margin-bottom:10px;
}

@media(max-width:768px){

    .club-footer{
        overflow:hidden;
    }

    .club-footer-grid{
        display:grid;
        grid-template-columns:1fr !important;
        gap:30px;
    }

    .footer-brand{
        flex-direction:column;
        text-align:center;
    }

    .footer-brand-text{
        text-align:center;
    }

    .footer-logo{
        width:80px !important;
    }

    .footer-socials{
        justify-content:center;
        flex-wrap:wrap;
    }

    .club-footer ul{
        padding-left:0;
    }

    .club-footer li{
        word-break:break-word;
    }

}

.club-footer *{
    box-sizing:border-box;
}

.club-footer img{
    max-width:100%;
    height:auto;
}