/* GLOBAL */
@font-face {
    font-family: 'hyperpolar';
    src: url('../webfonts/HyperPolarRegular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'menca';
    src: url('../webfonts/fonnts.com-Menca_Black.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'menca-medium';
    src: url('../webfonts/fonnts.com-Menca_Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'menca-bold';
    src: url('../webfonts/fonnts.com-Menca_Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-red: #d70f20;
    --brand-gray: #b3b3b3;
    --text-color: rgba(0,0,0,0.8);
    --white: #ffffff;
    --font-menca: 'menca-medium', 'menca', sans-serif;
    --font-hyperpolar: 'hyperpolar', sans-serif;
}

/* Make media elements responsive */
img, video, audio, iframe, embed, svg, picture, figure {
    max-width: 100%;
    height: auto;
    display: block;
}

#main {
    overflow-x: hidden;
    font-family: var(--font-menca);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#rounded-img{
    border-radius: 20px;
}

/* Generic Hero Section for all pages */
.page-hero {
    background: linear-gradient(135deg, #d70f20 0%, #005b85 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.page-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 20px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-main {
        padding: 40px 15px;
    }
}

header {
    text-align: center;
    font-size: 2rem;
    padding-bottom: 15px;
    padding-top: 15px;
}

.body {
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: justify;
}

.section-title{
    padding-top: 20px;
    padding-left: 30px;
}
/* ANIMATIONS */

/* _MAIN */
.contact-banner{
    height: 35px;
    background-color: rgb(215, 15, 32);
    display: flex; /* Utilisation de Flexbox */
    justify-content: space-between; /* Pour espacer les éléments sur toute la largeur */
    align-items: center; /* Pour centrer verticalement les éléments */
}

.rs {
    margin-left: auto; /* Utilisation de Flexbox */
}

/* Style des icônes */
.rs i {
    margin-right: 10px; /* Espacement entre les icônes */
}

#width {
    width: 85%; 
}

@media (min-width: 768px){
    .contact-banner{
        height: 20px;
    }
    #width {
        width: 95%; 
     }
}
#logo-flamme {
    width: 70px;
    padding-left: 5px;
}

.headpart {
    font-family: 'menca-medium';
    border-bottom: 2px solid var(--brand-gray);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding-bottom: 7px;
    display: flex;
    align-items: center;
}

/* Navigation styles refactorisées - moved to site/assets/css/navigation.css */




#totop {
    display: block;
    padding: 8px;
    font-size: 2rem;
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #000;
    color: var(--white);
    z-index: 40;
    line-height: 1;
    border-radius: 6px;
    transition: opacity .3s;
    opacity: .4;
}
#totop:focus-visible {
    outline: 3px solid rgba(215,15,32,0.35);
    outline-offset: 2px;
}

#totop:hover {
    opacity: 1;
}

/* FOOTER */
.footer-menu {
    font-family: 'menca-medium';
    border-top: 2px solid #b3b3b3;
    padding-top: 10px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column; /* Par défaut pour les petits écrans */
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-menu-list {
    display: flex;
    flex-direction: column; /* Par défaut pour les petits écrans */
    width: 100%;
    align-items: center;
}

.footer-container-right {
    display: flex;
    flex-direction: column; /* Par défaut pour les petits écrans */
    align-items: center;
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

.footer-menu-logo {
    display: flex;
    flex-direction: row; /* Par défaut pour les petits écrans */
    justify-content: center;
    align-items: center;
    padding-left: 60px;
    margin-bottom: 20px;
    width: 100%; /* Ensure it takes full width */
}

.footer-menu-logo a {
    margin: 0 10px; /* Add some margin between logos */
}

.footer-club-info {
    text-align: center;
    margin-bottom: 20px;
}

.footer-menu span {
    font-weight: bold;
}

.footer-menu li a {
    color: #000;
    text-decoration: none;
}

.footer-menu li a:hover {
    color: rgb(215 15 32);
}

.footer-menu ul {
    list-style: none;
    width: 100%;
    text-align: center;
    padding-left: 0;
}

#logo-fscf {
    width: 150px;
}

footer {
    background-color: var(--brand-gray);
    color: var(--text-color);
    font-size: 1rem; 
    height: 100px;
}

footer a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: var(--brand-red);
    text-decoration: underline;
}

footer .sep {
    margin: 0 5px;
}

@media (min-width: 769px) {
    footer {
        height: 60px;
    }
    .footer-menu {
        flex-direction: row;
        justify-content: space-between; /* Justification normale pour les écrans plus larges */
    }

    .footer-menu-list {
        padding-left: 20px;
        flex-direction: row;
        width: auto; /* Réinitialisation de la largeur pour les écrans plus larges */
        align-items: flex-start; /* Alignement normal pour les écrans plus larges */
    }

    .footer-menu ul{
        text-align: left;
        width: auto;
        padding-left: 10px;
    }

    .footer-container-right {
        flex-direction: row; /* Direction normale pour les écrans plus larges */
        align-items: flex-start; /* Alignement normal pour les écrans plus larges */
        width: auto; /* Réinitialisation de la largeur pour les écrans plus larges */
        text-align: right; /* Alignement normal pour les écrans plus larges */
        padding-top: 0; /* Réinitialisation du padding pour les écrans plus larges */
    }

    .footer-menu-logo {
        padding-left: 10px; /* Réinitialisation du padding pour les écrans plus larges */
        margin-bottom: 0; /* Réinitialisation de la marge pour les écrans plus larges */
    }

    .footer-club-info {
        text-align: right; /* Alignement normal pour les écrans plus larges */
        margin-bottom: 0; /* Réinitialisation de la marge pour les écrans plus larges */
    }

    /* Réinitialisation de la taille du texte pour les écrans plus larges */
    .footer-menu, .footer-menu span, .footer-menu li a, .footer-club-info, footer {
        font-size: 1em;
    }
}

/*HOME (mobile first)*/ 

.home-title {
    text-align: center;
    color: var(--brand-red);
    font-size: 2rem;
    line-height: 0.8em;
    font-family: var(--font-menca);
    padding-bottom: 20px;
    margin-top: 0;
    padding-top: 20px;
}

.le-club{
    display: flex;
    flex-flow: row wrap;
    padding-top:20px;
    padding-bottom: 20px;
    margin: 0 auto;
}

.le-club-img{
    width: 200%;
    padding-right: 20px;
    flex: 1 100%;
}

.le-club-content{
    font-size: 1em;
    text-align: justify;
    flex: 1 100%;
}

@media (min-width: 768px) {

    .le-club-img {
        flex: 1;
        order: 1;
    }

    .le-club-content {
        flex: 1;
        order: 2;
    }
}

.number-container {
    border-radius: 10px;
    background-color: #f5f5f7de;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px; 
    margin: 0 auto;
    font-size: 1.5rem; 
    padding: 50px; 
    overflow: hidden; 
    min-height: 400px;
}

.number-container-column {
    font-family: 'hyperpolar';
    color: rgb(0, 0, 0);
    text-align: center;
}

@media (min-width: 481px) {
    .number-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (min-width: 769px) {
    .number-container {
        grid-template-columns: repeat(4, 1fr);
        padding: 10px; 
        min-height: 50px;
    }
}

/* ACTUALITES - Modern Card Grid */
.actu-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 50px;
}

/* Featured News Card */
.actu-featured {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.actu-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: #d70f20;
}

.actu-featured-link {
    text-decoration: none;
    color: inherit;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 180px;
}

.actu-featured-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.actu-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Format carré pour la featured compétition */
.actu-featured.format-square .actu-featured-image img {
    object-position: center;
}

/* Format portrait A4 pour la featured événement */
.actu-featured.format-portrait .actu-featured-image img {
    object-position: top center;
}

.actu-featured:hover .actu-featured-image img {
    transform: scale(1.05);
}

.actu-featured-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.actu-featured-content .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.actu-featured-content .meta-item i {
    color: #d70f20;
    font-size: 0.9rem;
}

.actu-featured-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #d70f20, #005b85);
    color: white;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.actu-featured-date {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.actu-featured-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    margin: 3px 0;
}

.actu-featured-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 3px 0;
}

.actu-featured-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: #d70f20;
    margin-top: auto;
}

.actu-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #005b85;
    margin-top: 5px;
    transition: gap 0.3s ease;
}

.actu-featured:hover .actu-featured-cta {
    gap: 12px;
}

.actu-featured-cta i {
    transition: transform 0.3s ease;
}

.actu-featured:hover .actu-featured-cta i {
    transform: translateX(3px);
}

@media (max-width: 992px) {
    .actu-featured-link {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .actu-featured-image {
        height: 220px;
    }
    
    .actu-featured-content {
        padding: 25px;
    }
    
    .actu-featured-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .actu-featured {
        margin-bottom: 30px;
    }
    
    .actu-featured-image {
        height: 200px;
    }
    
    .actu-featured-content {
        padding: 20px;
    }
    
    .actu-featured-title {
        font-size: 1.2rem;
    }
}

.actu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.actu-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.actu-card-hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.actu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.actu-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.actu-card-image {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #f5f5f5;
}

.actu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.actu-card:hover .actu-card-image img {
    transform: scale(1.05);
}

.actu-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.actu-card-content .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.actu-card-content .meta-item i {
    color: #d70f20;
    font-size: 0.9rem;
}

.actu-card-date {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.actu-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.actu-card-category {
    font-size: 0.875rem;
    color: var(--nav-accent);
    font-weight: 600;
    margin-top: auto;
}

.actu-view-all {
    text-align: center;
    margin-top: 20px;
}

.btn-view-all {
    display: inline-block;
    padding: 14px 32px;
    background: var(--nav-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(215, 15, 32, 0.2);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-view-all:hover {
    background: #b80d1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(215, 15, 32, 0.3);
}

@media (max-width: 768px) {
    .actu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .actu-card-image {
        height: 200px;
    }
}


/* CAT ET DISCIPLINES */
.body-container {
    font-size: 1em;
    text-align: justify;
    width: 85%;
    margin: 0 auto;
    white-space: pre-line;
    
}

/* Accessibility: focus styles */
a:focus-visible, button:focus-visible { outline: 3px solid rgba(215,15,32,0.35); outline-offset: 2px; }

.body-container p {
    font-size: 1em;
}

.new {
    display: flex;
    align-items: center; /* Aligne l'image et le texte verticalement au centre */
    gap: 20px; /* Espace entre l'image et le texte */
}

.new-img img {
    max-width: 100%; /* S'assure que l'image ne dépasse pas la taille du conteneur */
    height: auto; /* Garde les proportions de l'image */
    width: 50px; /* Ajuste la largeur de l'image */
}

.new-text {
    flex: 1; /* Prend tout l'espace disponible à droite de l'image */
    font-size: 1em;
}

.cat1,
.cat2 {
    display: flex;
    flex-flow: row wrap;
    width: 85%;
    margin: 0 auto;
    padding-top: 10px;
}

.cat-title{
    color: var(--brand-red);
    text-transform: uppercase;
    font-family: var(--font-menca);
    font-size: 2rem;
}

.cat-img {
    flex: 1 100%;
    order: 2;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img img {
    width: 100%;
    height: auto;
    max-height: 100%;
}

.cat-text {
    flex: 1 100%;
    order: 1;
    text-align: center;
    white-space: pre-line; 
    font-size: 1em;
    width: 85%; 
}

.cat-desc-info{
    font-family: 'menca-bold';
    margin: 0px;
}

.cat-desc-info > * {
    margin-bottom: 10px; /* Ajuste cette valeur pour l'espacement souhaité */
}

/* Si tu veux cibler spécifiquement l'élément `.cat-age` */
.cat-age {
    color: #769a98;
    /* margin-bottom: 10px; Espace après l'élément âge */
}

/* Assurer qu'il n'y a pas de marge en bas du dernier élément */
.cat-desc-info > *:last-child {
    margin-bottom: 0;
}

.cat-desc-txt{
    text-align: justify;
    font-size: 1em;
}

.title {
    text-align: center;
    font-size: 2rem;
    padding-top: 30px;
}

.agres {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.agres-gym {
    display: inline-block;
    text-align: center;
    position: relative;
}

.agres-gym img {
    width: 180px;
    height: 280px;
    object-fit: cover;
    margin: 10px;
}

.agres-gaf {
    text-align: center;
    position: absolute;
    width: 100%;
    line-height: 1;
    padding-top: 15px;
    color: rgb(255, 255, 255);
    font-family: 'menca';
    font-size: 1.6rem;
}

.agres-gam {
    text-align: center;
    position: absolute;
    width: 100%;
    line-height: 1;
    font-family: 'menca';
    padding-bottom: 5px;
    color: rgb(255, 255, 255);
    font-size: 1.6rem;
    bottom: 0;
}

@media (min-width: 768px) {
    .cat1,
    .cat2 {
        padding-top: 20px;
        padding-bottom: 20px;
        margin: 0 auto;
        width: 75%;
    }

    .cat1 .cat-text {
        text-align: right;
        flex: 1 20%;
        order: 1;
    }
    .cat2 .cat-text {
        text-align: justify;
        flex: 1 20%;
        order: 2;
    }

    .cat1 .cat-text,
    .cat2 .cat-text {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cat1 .cat-img {
        order: 2;
        padding-left: 20px;
        padding-right: 20px;
        flex: 1 20%;
    }

    .cat2 .cat-img {
        order: 1;
        padding-left: 20px;
        padding-right: 20px;
        flex: 1 20%;
    }

    .agres {
        flex-direction: row;
    }

}

/* COMPETITIONS (mobile first)*/

.saison-selector {
    padding: 10px;
    text-align: center;
    padding-bottom: 20px;
    text-align-last: center;
    font-size: 1.2em;
}

.saison-selector select {
    border-radius: 30px;
}

.compet1,
.compet2 {
    display: flex;
    flex-flow: row wrap;
    justify-content: center; /* Ajouté pour centrer horizontalement */
    width: 85%;
    align-items: flex-start;
    padding-bottom: 20px;
    padding-top: 20px;
}

.compet-img {
    display: flex; /* Permet un centrage vertical et horizontal */
    align-items: center;
    justify-content: center;
    order:2;
    padding-top: 10px;
}

.compet-text {
    flex: 1 100%;
    order: 1;
    text-align: justify;
    font-size: 1em;
}

.compet1 .compet-title,
.compet2 .compet-title {
    text-transform: uppercase;
    text-align: left;
}

.compet1 .compet-info,
.compet2 .compet-info {
    color: rgb(215 15 32);
}

#competitions_container {
    text-align: center; /* Pour centrer horizontalement */
    padding-bottom: 15px;
    display: flex;
    justify-content: center; /* Ajouté pour centrer horizontalement */
    align-items: center; /* Ajouté pour centrer verticalement */
    flex-direction: column; /* Pour que les éléments enfants soient disposés en colonne */
}

#competitions_container p {
    text-align: center;
}

#competitions_container p,
#competitions_container i {
    display: block;
    margin: 0 auto; /* Pour centrer horizontalement */
    padding-bottom: 5px;
}

@media (min-width: 768px) {
    .compet1,
    .compet2 {
        /* padding-top: 20px;
        padding-bottom: 20px; */
        margin: 0 auto;
        width: 75%;
    }

    .compet1 .compet-img {
        padding-left: 20px;
        padding-right: 20px;
        flex: 1 50%;
        order: 2;
    }

    .compet2 .compet-img {
        padding-left: 20px;
        padding-right: 20px;
        flex: 1 50%;
        order: 1;
    }

    .compet1 .compet-text {
        text-align: justify;
        flex: 1 50%;
        order: 1;
    }

    .compet2 .compet-text {
        text-align: justify;
        flex: 1 50%;
        order: 2;
    }
}

/* EVENEMENTS */
.col-md-4, .col-sm-6, .col-xs-12 {
    display: flex;
    justify-content: center; /* Centrer le contenu à l'intérieur des colonnes */
}

.event-img{
    width: 350px;
    padding:20px;
    transition: transform 0.3s ease;
}

.event-img:hover {
    transform: scale(1.02);
}

.img-shadow{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* PARTENAIRE */
.partenaire-body p {
    margin: 0; /* Supprimer les marges par défaut des paragraphes */
    padding: 0; /* Supprimer les espacements internes si nécessaire */
}

.partenaire-body {
    text-align: center; /* Centrer le texte et les éléments à l'intérieur du conteneur */
    margin-bottom: 0px; /* Réduire l'espace en dessous du conteneur partenaire-body */
}

.deduction {
    display: flex; /* Utiliser Flexbox pour le conteneur de l'icône et du texte */
    align-items: center; /* Aligner verticalement les éléments */
    justify-content: center; /* Centrer horizontalement les éléments */
    gap: 15px; /* Espacement entre l'icône et le texte */
    margin: 10px 0; /* Espacement au-dessus et en-dessous du conteneur */
}

.icon img {
    max-width: 100px; /* Limiter la largeur maximale de l'image */
    height: auto; /* Conserver les proportions de l'image */
}

.deduction-txt {
    max-width: 600px; /* Limiter la largeur maximale du texte pour éviter les lignes trop longues */
    margin: 0; /* Supprimer les marges par défaut autour du texte */
    text-align: left; /* Alignement du texte à gauche */
}


hr {
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}

.pack-header {
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Aligner verticalement */
    gap: 10px; /* Espacement entre le nom et le prix */
    padding-bottom: 10px;
}

.price-tag {
    background-color: #ffcc00; /* Couleur de fond jaune pour l'étiquette */
    color: #333; /* Couleur du texte */
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Effet d'ombre */
}

.desc-list-container {
    text-align: center; /* Centrer le conteneur de la liste */
}

.desc-list {
    display: inline-block; /* Permet de centrer le conteneur de la liste */
    list-style-type: disc; /* Utiliser des puces par défaut */
    margin: 0;
    padding-left: 20px; /* Espacement à gauche pour les puces */
    text-align: left; /* Justifier le texte à l'intérieur des éléments de liste */
}

.desc-list li {
    margin-bottom: 5px; /* Espacement entre les éléments de liste */
    text-align: justify; /* Justifier le texte à l'intérieur des éléments de liste */
}

.details-text {
    text-align: center; /* Centrer le texte des détails */
    margin: 10px auto; /* Espacement autour du texte et centrage automatique horizontal */
    padding: 15px; /* Espacement interne autour du texte */
    border: 2px solid rgb(0, 91, 133); /* Bordure dorée autour du texte */
    border-radius: 8px; /* Coins arrondis pour le cadre */
    background-color: rgb(0, 91, 133, 0.2); /* Couleur de fond très légère pour contraster avec la bordure */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Ombre légère pour l'effet de profondeur */
    max-width: 600px; /* Largeur maximale de l'encadré */
    width: 90%; /* Largeur relative pour s'ajuster à la taille de l'écran */
}


/*LE CLUB*/
.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Titres */
h1.h3 {
    margin-bottom: 0.5rem;
}

.muted-small {
    font-size: 0.85rem;
    color: #6c757d;
}

/* === Onglets Bootstrap === */
.nav-tabs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    padding-bottom: 0;
}

.nav-tabs .nav-link {
    display: block;
    font-weight: bold;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px 6px 0 0;
    width: 100px;
    text-align: center;
    padding: 10px;
    position: relative;
    z-index: 1;
    color: #000;
    transition: all 0.2s ease-in-out;
}

.nav-tabs .nav-link.active {
    background: white;
    border-color: #dee2e6 #dee2e6 #d70f20;
    z-index: 2;
    color: #d70f20;
}

.nav-tabs .nav-link:hover {
    background: #e9ecef;
}

/* === Cartes membres === */
.card-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
    display: block;
    position: relative;
}

/* Overlay (diplômes visibles au survol) */
.card {
    position: relative;
    overflow: hidden;
    border: none;
}

.photo-overlay {
    position: absolute;
    inset: 0; /* top, bottom, left, right = 0 */
    background: rgba(0, 0, 0, 0.55);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-align: center;
    padding: 1rem;
    border-radius: 6px 6px 0 0;
}

.card:hover .photo-overlay {
    opacity: 1;
}

/* Diplômes (badges dans l’overlay) */
.diplome-badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
    border-radius: 0.5rem;
    margin: 0.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.badge-bureau {
    background-color: #d70f20;
    color: #fff;
}

.badge-coach {
    background-color: #005b85;
    color: #fff;
}

.badge-juge {
    background-color: #faba25;
    color: #000;
}

/* === Rôles (badges sous le nom) === */
.role-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.role-badges .badge {
    white-space: nowrap;
}

/* === Cartes responsive === */
#membersGrid .col-12,
#membersGrid .col-sm-6,
#membersGrid .col-md-4,
#membersGrid .col-lg-3 {
    display: flex;
}

#membersGrid .card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

#membersGrid .card-body {
    flex-grow: 1;
}


/* CAGNOTTE */
.cagnotte-banner-wrapper {
    background: #f9f9f9; /* optionnel, pour détacher du fond */
    margin-top: -40px;
}
.cagnotte-banner {
    background: linear-gradient(135deg, #d70f20, #005b85);
    color: white;
    border-radius: 15px;
    max-width: 1000px;   /* limite la largeur du bandeau */
    margin: 0 auto;      /* centre le bandeau */
}
.cagnotte-banner h3 {
    font-weight: 700;
}
.cagnotte-banner .btn {
    font-weight: 600;
    border-radius: 30px;
}
.cagnotte-text {
  max-width: 80%; /* ajuste selon ton goût */
}
