
/* ==========================================================
   STAT FOOTBALL CLUB FRANCE
   PAGE D'ACCUEIL - VERSION 2
   ========================================================== */


/* ==========================================================
   CONTENEUR PRINCIPAL
   ========================================================== */

.zone-accueil2 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 40px;
    box-sizing: border-box;
}


/* ==========================================================
   TITRES DES SECTIONS
   ========================================================== */

.zone-accueil2 .titre-bloc-europe {
    margin: 0 0 20px;
}

.zone-accueil2 .titre-bloc-europe h2,
.zone-accueil2 h2.titre-bloc-europe {
    margin: 0;
}


/* ==========================================================
   BLOCS PRINCIPAUX
   ========================================================== */

.bloc-actualites,
.bloc-competitions,
.bloc-calendrier {
    margin-bottom: 30px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.045);
}


/* ==========================================================
   ACTUALITÉS
   ========================================================== */

.bloc-actualites {
    margin-bottom: 35px;
}

.actualites-principales {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.carte-actualite {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 9px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-actualite:hover {
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.actualite-image-lien {
    display: block;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #edf2f7;
}

.actualite-image-lien {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #edf2f7;
}

.actualite-image-lien img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carte-actualite:hover .actualite-image-lien img {
    transform: scale(1.03);
}

.actualite-contenu {
    padding: 16px;
}

.actualite-informations {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.actualite-theme {
    display: inline-block;
    padding: 5px 10px;
    color: #ffffff;
    background: #174477;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.actualite-date {
    color: #7b8794;
    font-size: 12px;
}

.actualite-contenu h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}

.actualite-contenu h3 a {
    color: #183653;
    text-decoration: none;
}

.actualite-contenu h3 a:hover {
    color: #2672b8;
}

.autres-actualites {
    border-top: 1px solid #e5eaf0;
}

.ligne-actualite {
    display: grid;
    grid-template-columns: 100px 175px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 13px 5px;
    border-bottom: 1px solid #edf0f3;
}

.ligne-actualite:last-child {
    border-bottom: none;
}

.ligne-actualite-date {
    color: #778493;
    font-size: 13px;
    white-space: nowrap;
}

.ligne-actualite-theme {
    color: #174477;
    font-size: 13px;
    font-weight: 600;
}

.ligne-actualite-titre {
    color: #253b50;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ligne-actualite-titre:hover {
    color: #2672b8;
    text-decoration: underline;
}

.aucune-actualite {
    padding: 20px;
    color: #778493;
    text-align: center;
}


/* ==========================================================
   COMPÉTITIONS
   ========================================================== */

.bloc-competitions {
    margin-bottom: 30px;
}

.bloc-competitions > p {
    margin: 0 0 18px;
}

.lien-match-weekend-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    color: #174477;
    background: #edf3fa;
    border: 1px solid #d5e1ef;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lien-match-weekend-header:hover {
    background: #dce9f7;
    border-color: #a9c2df;
}


/* Grille des étiquettes */

.etiquettes-accueil {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 10px;
    margin: 15px 0 5px;
}

.etiquette-accueil {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 11px;
    box-sizing: border-box;
    background: #f0f4f8;
    border: 1px solid #d5dee8;
    border-radius: 8px;
    color: #174477;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease,
                transform 0.18s ease, box-shadow 0.18s ease;
}

.etiquette-accueil:hover {
    background: #e2ecf7;
    border-color: #a9c2df;
    transform: translateY(-2px);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.07);
}

.titre-etiquette {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.badge-match {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 25px;
    height: 25px;
    margin-left: 9px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 20px;
    background: #174477;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}


/* ==========================================================
   CALENDRIER ET RÉSULTATS
   ========================================================== */

.bloc-calendrier {
    margin-bottom: 30px;
}


/* Semainier */

.semainier {
    width: 100%;
    max-width: 100%;
    margin: 18px auto 20px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
    box-sizing: border-box;
}

.jour-semainier {
    display: block;
    padding: 11px 5px;
    text-align: center;
    text-decoration: none;
    background: #f0f4f8;
    border: 1px solid #d5dee8;
    border-radius: 9px;
    color: #174477;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.jour-semainier:hover {
    background: #e1ebf6;
    border-color: #a9c2df;
}

.jour-semainier.actif {
    background: #174477;
    border-color: #174477;
    color: #ffffff;
}

.nom-jour {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.date-jour {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
}

.retour-aujourdhui {
    margin: 12px 0 20px;
    text-align: center;
}

.retour-aujourdhui a {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: #edf3fa;
    border: 1px solid #d5e1ef;
    color: #174477;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.retour-aujourdhui a:hover {
    background: #dce9f7;
}


/* Titre avec compteur de matchs */

.titre-programme-compteur {
    margin: 24px 0 14px;
    padding: 13px 17px;
    border-radius: 8px;
    background: #174477;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
}

.titre-programme-compteur span {
    font-size: 14px;
    font-weight: 400;
    color: #dceaff;
}


/* Aucun match */

.aucun-match {
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
    color: #64748b;
}


/* ==========================================================
   COMPÉTITIONS ET JOURNÉES DU PROGRAMME
   ========================================================== */

.bloc-competition-accueil {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 18px 0 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #174477, #2672b8);
    color: #ffffff;
}

.nom-competition-accueil {
    font-size: 16px;
    font-weight: 700;
}

.compteur-competition-accueil {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 14px;
    background: #ffffff;
    color: #174477;
    font-size: 12px;
    font-weight: 700;
}

.titre-journee {
    margin: 8px 0 2px;
    padding: 6px 11px;
    border-left: 4px solid #2672b8;
    background: #edf3f9;
    color: #174477;
    font-size: 13px;
    font-weight: 700;
}


/* ==========================================================
   MATCHS
   ========================================================== */

.match-accueil {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 95px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 5px 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #edf1f5;
    font-size: 13px;
    line-height: 1.3;
}

.match-accueil:nth-child(even) {
    background: #fafbfc;
}

.match-accueil:nth-child(odd) {
    background: #f3f6f9;
}

.match-accueil:hover {
    background: #e5effa !important;
}

.heure-match {
    text-align: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.club-domicile {
    text-align: right;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.club-exterieur {
    text-align: left;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.club-match {
    color: #253b50;
    text-decoration: none;
}

.club-match:hover {
    color: #2672b8;
    text-decoration: underline;
}

.score-match {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    font-size: 13px;
}

.score-victoire {
    color: #179548;
}

.score-nul {
    color: #d88400;
}

.score-defaite {
    color: #cf2020;
}

.score-statut {
    color: #64748b;
    font-weight: 400;
}


/* ==========================================================
   RESPONSIVE - TABLETTES
   ========================================================== */

@media screen and (max-width: 900px) {

    .zone-accueil2 {
        padding: 16px 12px 30px;
    }

    .bloc-actualites,
    .bloc-competitions,
    .bloc-calendrier {
        padding: 19px;
        margin-bottom: 25px;
    }

    .semainier {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .match-accueil {
        grid-template-columns: 48px minmax(0, 1fr) 80px minmax(0, 1fr);
        gap: 6px;
        font-size: 12px;
    }

    .etiquettes-accueil {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

}


/* ==========================================================
   RESPONSIVE - MOBILES
   ========================================================== */

@media screen and (max-width: 600px) {

    .zone-accueil2 {
        padding: 12px 8px 25px;
    }

    .bloc-actualites,
    .bloc-competitions,
    .bloc-calendrier {
        padding: 14px;
        border-radius: 9px;
        margin-bottom: 20px;
    }

    .actualites-principales {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .actualite-image-lien {
        height: 200px;
    }

    .actualite-contenu {
        padding: 13px;
    }

    .actualite-contenu h3 {
        font-size: 17px;
    }

    .ligne-actualite {
        grid-template-columns: 85px minmax(0, 1fr);
        gap: 7px 10px;
    }

    .ligne-actualite-titre {
        grid-column: 1 / -1;
    }

    .etiquettes-accueil {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .etiquette-accueil {
        min-height: 40px;
        padding: 7px;
    }

    .titre-etiquette {
        font-size: 12px;
    }

    .semainier {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .nom-jour {
        font-size: 12px;
    }

    .date-jour {
        font-size: 16px;
    }

    .titre-programme-compteur {
        font-size: 16px;
        padding: 11px 13px;
    }

    .bloc-competition-accueil {
        padding: 9px 10px;
    }

    .nom-competition-accueil {
        font-size: 14px;
    }

    .titre-journee {
        font-size: 12px;
    }

    .match-accueil {
        grid-template-columns: 38px minmax(0, 1fr) 66px minmax(0, 1fr);
        gap: 4px;
        padding: 5px 4px;
        font-size: 11px;
    }

    .heure-match,
    .score-match {
        font-size: 11px;
    }

}


/* ==========================================================
   TRÈS PETITS ÉCRANS
   ========================================================== */

@media screen and (max-width: 380px) {

    .etiquettes-accueil {
        grid-template-columns: 1fr;
    }

    .match-accueil {
        grid-template-columns: 34px minmax(0, 1fr) 58px minmax(0, 1fr);
        gap: 3px;
        font-size: 10px;
    }

    .heure-match,
    .score-match {
        font-size: 10px;
    }

}


/* Bandeau matchs du week-end */
.bandeau-match-weekend {
    margin: 0 auto 24px;
    text-align: center;
}

.bandeau-match-weekend a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 15px 20px;
    background: #A61B29;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #861522;
    transition: background 0.2s ease;
}

.bandeau-match-weekend a:hover {
    background: #861522;
}

.icone-match-weekend {
    font-size: 25px;
    flex-shrink: 0;
}

.texte-match-weekend {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.texte-match-weekend strong {
    font-size: 15px;
    font-weight: 700;
}

.texte-match-weekend span {
    font-size: 14px;
}

.fleche-match-weekend {
    font-size: 22px;
    flex-shrink: 0;
}

/* Affichage mobile */
@media (max-width: 600px) {
    .bandeau-match-weekend a {
        gap: 8px;
        padding: 12px 8px;
    }

    .icone-match-weekend {
        font-size: 20px;
    }

    .texte-match-weekend strong {
        font-size: 12px;
    }

    .texte-match-weekend span {
        font-size: 12px;
    }

    .fleche-match-weekend {
        font-size: 18px;
    }
}