/* ==========================================================
   GRENOBLE POKER PONTOIS
   PAGE — LE CLUB

   Sections :
   1. Structure générale
   2. Présentation de l'association
   3. Titres des sections
   4. Activités
   5. Tournois
   6. Bureau et équipe
   7. Photo
   8. Adhésion
   9. Responsive
   10. Accessibilité

   Compatible Bootstrap 3
   ========================================================== */


/* ==========================================================
   1. STRUCTURE GÉNÉRALE
   ========================================================== */

.gp-club {
    color: var(--gp-text);
    padding-bottom: 50px;
}

.gp-club section {
    margin-bottom: 55px;
}

.gp-club p {
    line-height: 1.75;
}

.gp-club a {
    color: var(--gp-red);
    text-decoration: none;
}

.gp-club a:hover,
.gp-club a:focus {
    color: var(--gp-red-hover);
    text-decoration: underline;
}

/* ==========================================================
   NORMALISATION DES GLYPHICONS
   ========================================================== */

.gp-club .glyphicon {
    top: 0;
}

.gp-club-activity-card > .glyphicon,
.gp-club-tournament-group-header > .glyphicon {
    position: static;

    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-club-activity-card > .glyphicon::before,
.gp-club-tournament-group-header > .glyphicon::before {
    display: block;
    line-height: 1;
}





/* ==========================================================
   2. PRÉSENTATION DE L'ASSOCIATION
   ========================================================== */

.gp-club .gp-club-hero {
    position: relative;

    padding: 45px 50px;

    background: var(--gp-white);

    border: 1px solid var(--gp-border);
    border-left: 4px solid var(--gp-red);
    border-radius: 12px;

    box-shadow: 0 8px 28px rgba(16, 20, 25, 0.05);
}

.gp-club-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--gp-red);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.gp-club-hero h3 {
    margin: 0 0 25px;

    color: var(--gp-black);

    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

.gp-club-hero h3 span {
    color: var(--gp-red);
}

.gp-club-hero p {
    max-width: 850px;

    margin-bottom: 16px;

    font-size: 15px;
}

.gp-club-hero .gp-club-intro {
    font-size: 17px;
    font-weight: 500;
}


/* ==========================================================
   3. TITRES DES SECTIONS
   ========================================================== */

.gp-club-section-header {
    margin-bottom: 28px;
}

.gp-club-section-header h3 {
    position: relative;

    margin: 0 0 12px;
    padding-bottom: 15px;

    color: var(--gp-black);

    font-size: 26px;
    font-weight: 700;
}

.gp-club-section-header h3::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 45px;
    height: 3px;

    background: var(--gp-red);
    border-radius: 3px;
}

.gp-club-section-header p {
    margin: 0;

    color: var(--gp-category-text);

    font-size: 14px;
}


/* ==========================================================
   4. NOS ACTIVITÉS
   ========================================================== */

.gp-club-activities-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.gp-club-activity-card {
    padding: 28px;

    background: var(--gp-white);

    border: 1px solid var(--gp-border);
    border-left: 2px solid var(--gp-red);
    border-radius: 10px;
}

/* Icônes des activités */
.gp-club-activity-card > .glyphicon {
      width: 52px;
    height: 52px;

    margin-bottom: 20px;

    background: var(--gp-category-bg);
    border-radius: 10px;

    color: var(--gp-red);

    font-size: 23px;
    line-height: 1;
}

.gp-club .gp-club-activity-card > .glyphicon,
.gp-club .gp-club-activity-card > .glyphicon::before {
    color: var(--gp-red);
}


/* Titres */

.gp-club-activity-card h4 {
    margin: 0 0 14px;

    color: var(--gp-black);

    font-size: 18px;
    font-weight: 700;
}

/* Descriptions */

.gp-club-activity-card p {
    margin: 0;

    color: var(--gp-category-text);

    font-size: 14px;
}


/* ==========================================================
   5. NOS TOURNOIS
   ========================================================== */

.gp-club-tournament-group {
    margin-bottom: 40px;
}

/* ----------------------------------------------------------
   EN-TÊTE LIVE / ONLINE
   ---------------------------------------------------------- */

.gp-club-tournament-group-header {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 22px;
}

/* Icônes centrées */

.gp-club-tournament-group-header > .glyphicon {

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    background: var(--gp-black);
    border-radius: 8px;

    color: var(--gp-white);

    font-size: 17px;
    line-height: 1;
}



.gp-club-tournament-group-header h4 {
    margin: 0;

    color: var(--gp-black);

    font-size: 21px;
    font-weight: 700;
}

.gp-club-tournament-group-intro {
    margin-bottom: 22px;

    color: var(--gp-category-text);
}


/* ----------------------------------------------------------
   DISPOSITION DES CARTES

   Colonnes indépendantes pour éviter les espaces vides
   lorsque les détails d'un tournoi sont dépliés.
   ---------------------------------------------------------- */

.gp-club-tournament-grid {
    columns: 2;
    column-gap: 20px;
}

.gp-club-tournament-card {
    display: inline-block;

    width: 100%;
    min-width: 0;

    margin-bottom: 20px;
    padding: 25px;

    break-inside: avoid;

    background: var(--gp-white);

    border: 1px solid var(--gp-border);
    border-radius: 10px;
}

/*
   Pas d'effet au survol sur les cartes :
   seule la commande d'ouverture des détails est interactive.
*/


/* ----------------------------------------------------------
   BADGES LIVE / ONLINE
   ---------------------------------------------------------- */

.gp-club-tournament-badge {
    display: inline-block;

    margin-bottom: 15px;
    padding: 5px 12px;

    background: var(--gp-category-bg);
    border-radius: 20px;

    color: var(--gp-category-text);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ----------------------------------------------------------
   TITRES ET DESCRIPTIONS
   ---------------------------------------------------------- */

.gp-club-tournament-card h5 {
    margin: 0 0 12px;

    color: var(--gp-black);

    font-size: 18px;
    font-weight: 700;
}

.gp-club-tournament-card > p {
    min-height: 75px;

    margin-bottom: 20px;

    color: var(--gp-category-text);

    font-size: 14px;
}


/* ----------------------------------------------------------
   INFORMATIONS RAPIDES
   ---------------------------------------------------------- */

.gp-club-tournament-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;
}

.gp-club-tournament-meta span {
    display: inline-block;

    padding: 6px 10px;

    background: var(--gp-background);

    border: 1px solid var(--gp-border);
    border-radius: 6px;

    color: var(--gp-category-text);

    font-size: 12px;
}


/* ----------------------------------------------------------
   DÉTAILS DÉPLIABLES
   ---------------------------------------------------------- */

.gp-club .gp-club-tournament-card details {
    border-top: 1px solid var(--gp-border);

    padding-top: 15px;
}

/* ----------------------------------------------------------
   BOUTON INFORMATIONS ET DOTATIONS
   ---------------------------------------------------------- */

.gp-club .gp-club-tournament-card summary {
    display: list-item;

    width: fit-content;
    max-width: 100%;

    padding: 7px 12px;

    background: var(--gp-category-bg);

    border: 1px solid var(--gp-red);
    border-radius: 6px;

    color: var(--gp-red);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;

    cursor: pointer;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

/* Survol */

.gp-club .gp-club-tournament-card summary:hover {
    background: var(--gp-white);

    color: var(--gp-red-hover);

    text-decoration: none;
}

/* Focus clavier */

.gp-club .gp-club-tournament-card summary:focus-visible {
    outline: 2px solid var(--gp-red);
    outline-offset: 3px;
}

/* État ouvert */

.gp-club .gp-club-tournament-card details[open] > summary {
    background: var(--gp-category-bg);
    border-color: var(--gp-red);
    color: var(--gp-red);
    text-decoration: none;
}

/* État ouvert au survol */

.gp-club .gp-club-tournament-card details[open] > summary:hover {
    background: var(--gp-white);
    color: var(--gp-red-hover);
    text-decoration: none;
}
/* ----------------------------------------------------------
   CONTENU DES DÉTAILS
   ---------------------------------------------------------- */

.gp-club-tournament-details {
    margin-top: 18px;
    padding-top: 15px;

    border-top: 1px solid var(--gp-border);
}

.gp-club-tournament-details h6 {
    margin: 20px 0 8px;

    color: var(--gp-black);

    font-size: 13px;
    font-weight: 700;
}

.gp-club-tournament-details h6:first-child {
    margin-top: 0;
}

.gp-club-tournament-details p,
.gp-club-tournament-details li {
    color: var(--gp-category-text);

    font-size: 13px;
    line-height: 1.7;

    overflow-wrap: anywhere;
}

.gp-club-tournament-details ul {
    padding-left: 20px;
}


/* ----------------------------------------------------------
   NOTE SUR LES INFORMATIONS
   ---------------------------------------------------------- */

.gp-club-tournaments-note {
    margin-top: 20px;

    color: var(--gp-category-text);

    font-size: 12px;
    font-style: italic;
}


/* ==========================================================
   6. BUREAU ET ÉQUIPE
   ========================================================== */

.gp-club-team-group {
    margin-bottom: 35px;
}

.gp-club-team-title {
    display: flex;
    align-items: center;

    gap: 12px;

    margin: 0 0 22px;

    color: var(--gp-black);

    font-size: 20px;
    font-weight: 700;
}

.gp-club-team-title span {
    padding: 5px 10px;

    background: var(--gp-category-bg);
    border-radius: 6px;

    color: var(--gp-category-text);

    font-size: 12px;
    font-weight: 600;
}


/* ----------------------------------------------------------
   BUREAU
   ---------------------------------------------------------- */

.gp-club-board-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* ----------------------------------------------------------
   CARTES DES MEMBRES
   ---------------------------------------------------------- */

.gp-club-member {
    display: flex;
    align-items: center;

    gap: 15px;

    min-width: 0;

    padding: 18px;

    background: var(--gp-white);

    border: 1px solid var(--gp-border);
    border-radius: 10px;
}

.gp-club-member-board {
    border-top: 3px solid var(--gp-red);
}


/* ==========================================================
   ICÔNES — BUREAU ET ÉQUIPE
   ========================================================== */

.gp-club-member-avatar {
    position: static;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    background: var(--gp-category-bg);
    border-radius: 50%;

    color: var(--gp-category-text);

    font-size: 20px;
    line-height: 1;
}

/* Normalisation des Glyphicons Bootstrap 3 */

.gp-club-member-avatar > .glyphicon {
    position: static;
    top: auto;

    display: block;

    margin: 0;
    padding: 0;

    font-size: inherit;
    line-height: 1;
}

.gp-club-member-avatar > .glyphicon::before {
    display: block;
    line-height: 1;
}

/* Bureau */

.gp-club-member-board .gp-club-member-avatar {
    background: var(--gp-red);
    color: var(--gp-white);
}

/* Équipe */

.gp-club-members-grid .gp-club-member-avatar {
    flex-basis: 38px;

    width: 38px;
    height: 38px;

    font-size: 16px;
}

/* ----------------------------------------------------------
   INFORMATIONS DES MEMBRES
   ---------------------------------------------------------- */

.gp-club-member-info {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 5px;
}

.gp-club-member-info h5 {
    margin: 0;

    color: var(--gp-black);

    font-size: 15px;
    font-weight: 700;
}

.gp-club-member-nickname {
    color: var(--gp-category-text);

    font-size: 12px;

    overflow-wrap: anywhere;
}

.gp-club-member-role {
    color: var(--gp-red);

    font-size: 12px;
    font-weight: 700;
}


/* ----------------------------------------------------------
   ÉQUIPE
   ---------------------------------------------------------- */

.gp-club-team-intro {
    margin-bottom: 20px;

    color: var(--gp-category-text);
}

.gp-club-members-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.gp-club-members-grid .gp-club-member {
    padding: 15px;
}

.gp-club-members-grid .gp-club-member-avatar {
    width: 38px;
    height: 38px;

    font-size: 16px;
}


/* ==========================================================
   7. PHOTO DE L'ASSOCIATION
   ========================================================== */

.gp-club-team-photo {
    margin-top: 35px;

    text-align: center;
}

.gp-club-team-photo img {
    display: block;

    width: 100%;
    max-width: 800px;
    height: auto;

    margin: 0 auto;

    border: 1px solid var(--gp-border);
    border-radius: 10px;
}

.gp-club-team-photo p {
    margin-top: 12px;

    color: var(--gp-category-text);

    font-size: 12px;
    font-style: italic;
}


/* ==========================================================
   8. NOUS REJOINDRE
   ========================================================== */

.gp-club-join-content {
    padding: 40px;

    background: var(--gp-black);
    border-radius: 12px;

    color: var(--gp-white);
}

.gp-club-join-content h4 {
    margin: 0 0 20px;

    color: var(--gp-white);

    font-size: 24px;
    font-weight: 700;
}

.gp-club-join-content > p {
    max-width: 800px;

    color: var(--gp-white);

    font-size: 14px;
}


/* ----------------------------------------------------------
   ACTIONS D'ADHÉSION
   ---------------------------------------------------------- */

.gp-club-join-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 28px;
    margin-bottom: 25px;
}

.gp-club .gp-club-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 12px 22px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.gp-club .gp-club-btn:hover,
.gp-club .gp-club-btn:focus {
    text-decoration: none;
}


/* ----------------------------------------------------------
   BOUTON PRINCIPAL
   ---------------------------------------------------------- */

.gp-club .gp-club-btn-primary {
    background: var(--gp-red);

    color: var(--gp-white);
}

.gp-club .gp-club-btn-primary:hover,
.gp-club .gp-club-btn-primary:focus {
    background: var(--gp-red-hover);

    color: var(--gp-white);
}


/* ----------------------------------------------------------
   BOUTON SECONDAIRE
   ---------------------------------------------------------- */

.gp-club .gp-club-btn-secondary {
    background: transparent;

    border-color: var(--gp-white);

    color: var(--gp-white);
}

.gp-club .gp-club-btn-secondary:hover,
.gp-club .gp-club-btn-secondary:focus {
    background: var(--gp-white);

    color: var(--gp-black);
}


/* ----------------------------------------------------------
   CONTACT
   ---------------------------------------------------------- */

.gp-club .gp-club-contact {
    margin-bottom: 0;

    font-size: 13px;
}

.gp-club .gp-club-contact a {
    color: var(--gp-white);

    font-weight: 700;
    text-decoration: underline;
}

.gp-club .gp-club-contact a:hover,
.gp-club .gp-club-contact a:focus {
    color: var(--gp-white);
}


/* ==========================================================
   9. RESPONSIVE
   ========================================================== */

/* ----------------------------------------------------------
   TABLETTES
   ---------------------------------------------------------- */

@media (max-width: 991px) {

    .gp-club .gp-club-hero {
        padding: 35px;
    }

    .gp-club-activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-club-board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-club-members-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ----------------------------------------------------------
   MOBILES
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .gp-club {
        padding-bottom: 25px;
    }

    .gp-club section {
        margin-bottom: 35px;
    }

    .gp-club .gp-club-hero {
        padding: 25px 20px;
    }

    .gp-club-hero h3 {
        font-size: 27px;
    }

    .gp-club-hero .gp-club-intro {
        font-size: 15px;
    }

    .gp-club-section-header h3 {
        font-size: 23px;
    }

    .gp-club-activities-grid,
    .gp-club-board-grid {
        grid-template-columns: 1fr;
    }

    .gp-club-tournament-grid {
        columns: 1;
    }

    .gp-club-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-club-tournament-card > p {
        min-height: 0;
    }

    .gp-club-join-content {
        padding: 28px 20px;
    }

    .gp-club-join-content h4 {
        font-size: 21px;
    }

    .gp-club-join-actions {
        flex-direction: column;
    }

    .gp-club .gp-club-btn {
        width: 100%;
    }

}


/* ----------------------------------------------------------
   PETITS MOBILES
   ---------------------------------------------------------- */

@media (max-width: 480px) {

    .gp-club-members-grid {
        grid-template-columns: 1fr;
    }

    .gp-club-member {
        padding: 14px;
    }

    .gp-club-activity-card,
    .gp-club-tournament-card {
        padding: 20px;
    }

    .gp-club-team-title {
        flex-wrap: wrap;
    }

}


/* ==========================================================
   10. ACCESSIBILITÉ
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .gp-club .gp-club-tournament-card summary,
    .gp-club .gp-club-btn {
        transition: none;
    }

}
