/* ===========================
   BLOC CLUB-INFO 
   =========================== */
.club-info {
    background: rgb(244, 181, 34);
    width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 20px 0;
}

/* Colonnes latérales (logo + fanion) */
.club-info .col {
    flex: 0 0 250px;
    text-align: center;
}

/* Images */
.club-info .col img {
    width: 120px;
    height: auto;
}

/* Texte central */
.club-info p {
    flex: 1;
    font-size: 20px;
    line-height: 1.5;
    padding: 0 20px;
}

/* Logo */
.club-info .logo {
    margin-top: 20px;
}

/* Fanion */
.club-info .fanion {
    margin-top: 10px;
}

/* ===========================
   BLOC TABLEAU
   =========================== */
.club-table {
    background: white;
    width: 1000px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* Tableau */
.Tclubs {
    border-collapse: collapse;
    font-size: 20px;
    width: 1000px;
    margin: 0 auto;
    background: white;
    border: 1px solid black;
}

/* Ligne bleue (couleur d’origine) */
.Tclubs tr {
    background: #76D0EC;
}

/* Cellules */
.Tclubs th, 
.Tclubs td {
    padding: 8px 12px;
    border: 1px solid black;
    white-space: nowrap;
}

/* En-tête gris clair */
.Tclubs th {
    background: #eaeaea;
}

/* ===========================
   ZONE DESTINÉE AU CLUB
   =========================== */
.club-zone {
    background: white;
    width: 1000px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

/* ===========================
   RESPONSIVE (smartphone)
   =========================== */
@media (max-width: 800px) {

    /* Club-info devient vertical */
    .club-info {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .club-info p {
        padding: 20px;
        font-size: 16px;
    }

    .club-info .col {
        flex: none;
        margin-bottom: 20px;
    }

    /* Tableau fluide */
    .club-table {
        width: 95%;
    }

    .Tclubs {
        width: 100%;
        font-size: 18px;
        display: block;
        overflow-x: auto; /* scroll horizontal si nécessaire */
        white-space: normal;
    }

    .Tclubs th, .Tclubs td {
        padding: 6px 8px;
    }

    /* Zone club fluide */
    .club-zone {
        width: 95%;
        font-size: 18px;
        padding: 15px;
    }
}

/* Bulle de titre avec deux signets */
.titre-bulle {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;                /* la bulle peut s'élargir jusqu'au bord */
    box-sizing: border-box;
    margin: 2.2rem auto 1.8rem;
    padding: 1rem clamp(2.5rem, 8vw, 6rem);   /* marges latérales qui rétrécissent avec l'écran */
    text-align: center;
    border-radius: var(--rayon);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .8),    /* reflet sur l'arête haute */
        0 10px 24px rgba(0, 0, 0, .55),           /* ombre portée */
        0 2px 0 rgba(0, 0, 0, .25);
}

/* Le h1 est dans #conteneur1 : on doit battre "#conteneur1 h1" de d101style.css */
#conteneur1 .titre-bulle h1 {
    display: inline-block;
    vertical-align: middle;
    width: auto;                    /* annule width: 60% */
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 10px;                /* annule padding: .4rem 1rem */
    background: #76D0EC;
    border: none;                   /* annule le ridge 3px ; retire cette ligne pour le garder */
    border-radius: 12px;
    color: #070606;
    font-size: clamp(1rem, 3vw, 2.2rem);
    font-weight: normal;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

/* Signets horizontaux, de part et d'autre de la bulle */
.titre-bulle h1::before,
.titre-bulle h1::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 64px;
    height: 24px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #ffe8bd 0%, #FFDC9D 55%, #e9b960 100%);
}

/* Gauche : dépasse à gauche, encoche à l'extrémité extérieure */
.titre-bulle h1::before {
    left: -16px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18% 50%);
}

/* Droite : dépasse à droite, encoche à l'extrémité extérieure */
.titre-bulle h1::after {
    right: -16px;
    clip-path: polygon(0 0, 100% 0, 82% 50%, 100% 100%, 0 100%);
}

@media (max-width: 600px) {
    .titre-bulle h1 {
        white-space: normal;        /* autorise le retour à la ligne sur mobile */
    }
    .titre-bulle h1::before,
    .titre-bulle h1::after { width: 44px; height: 18px; }
    .titre-bulle h1::before { left: -10px; }
    .titre-bulle h1::after  { right: -10px; }
}