/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --navy: #061936;
    --navy-2: #0b2348;

    --lime: #c7f23a;
    --lime-dark: #a9d71f;

    --white: #ffffff;
    --text: #13213a;
    --muted: #68758a;
    --light: #f5f7fa;
    --border: #dfe5ed;

    --radius: 16px;
    --shadow: 0 12px 35px rgba(6, 25, 54, 0.10);

    /* Largeur maximale du contenu */
    --max: 1200px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   CONTENEUR
   ========================================================= */

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
    height: 88px;
    background: var(--navy);
    color: #fff;
    position: relative;
    z-index: 100;
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 800;
    line-height: 1.05;
    font-size: 18px;
    letter-spacing: 0.3px;
}

.brand strong,
.brand span:last-child strong {
    color: var(--lime);
}

.brand-icon {
    font-size: 34px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;

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

.main-nav > a:not(.nav-cta) {
    opacity: 0.92;
    position: relative;
    padding: 32px 0;
}

.main-nav > a:not(.nav-cta)::after {
    content: "";

    height: 2px;

    background: var(--lime);

    position: absolute;
    left: 0;
    right: 0;
    bottom: 23px;

    transform: scaleX(0);
    transition: 0.2s;
}

.main-nav > a.active::after,
.main-nav > a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--lime);
    color: var(--navy);

    padding: 12px 20px;

    border-radius: 8px;

    font-weight: 800;
}

.menu-toggle {
    display: none;

    background: none;
    border: 0;

    color: #fff;

    width: 42px;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    height: 2px;

    background: #fff;

    margin: 6px 0;

    border-radius: 2px;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 0;
    border-radius: 9px;

    padding: 13px 22px;

    font: 700 14px Inter, Arial, sans-serif;

    cursor: pointer;

    transition: 0.2s;
}

.btn-primary {
    background: var(--lime);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--lime-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--navy);
}

.btn-dark {
    background: var(--navy);
    color: #fff;
}

.btn-dark:hover {
    transform: translateY(-2px);
}


/* Bouton inscription accueil */

.inscription-btn {
    padding: 17px 35px;
    font-size: 16px;
    gap: 20px;
}

.renouvellement {
    display: flex;
    justify-content: center;
    width: 70%;
    margin: 0 auto
}

.inscription-icon {
    font-size: 22px;
}


.club-title-container {
    background-color: var(--navy);
    width: 100%;
}

.club-title {
    text-align: center;
    margin: 0;
    padding: 15px;
    color: white;
}

.grand_h2 {
    font-size: 50px;
}

.grand_h2_green {
    font-size: 50px;
    color : var(--lime);
}
/* =========================================================
   HERO ACCUEIL
   ========================================================= */

.hero { min-height: 490px; 
    background: linear-gradient( 
        90deg, 
        rgba(6, 25, 54, 0.98) 0%, 
        rgba(6, 25, 54, 0.84) 45%,
        rgba(6, 25, 54, 0.25) 100% ), 
     
     url("../images/salle_pc.png") center / cover; 
     
     position: relative; 
     
     color: #fff; 
}

.hero-content {
    min-height: 490px;

    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: none;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;

    color: var(--lime);

    margin-bottom: 12px;
}

.eyebrow.dark {
    color: #92b923;
}



.hero-text {
    font-size: 17px;

    max-width: 560px;

    color: #eef3fb;

    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================================================
   BANDEAU POINTS FORTS
   ========================================================= */

.feature-strip {
    background: #fff;

    padding: 20px 0;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);

    position: relative;
    z-index: 2;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.feature-card {
    display: flex;
    align-items: center;

    gap: 16px;

    padding: 14px 20px;

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

.feature-icon {
    display: grid;
    place-items: center;

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    background: var(--navy);

    border-radius: 50%;

    color: #fff;

    font-size: 22px;
}

.feature-card h3 {
    font-size: 15px;
}

.feature-card p {
    font-size: 12px;
    color: var(--muted);
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 80px 0;
}

.section-gray{
    background : hsl(280, 16%, 96%);
}
.section-light {
    background: var(--navy);

    color: #fff;

    padding: 75px 0;
}

.soft-bg {
    background: var(--light);
}


/* =========================================================
   BLOCS 2 COLONNES
   ========================================================= */

.split {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.split-copy h2,
.section h2 {
    font-size: 36px;

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 18px;
}

.split-copy > p:not(.eyebrow) {
    color: var(--muted);

    margin-bottom: 14px;

    max-width: 540px;
}

.split-copy .btn {
    margin-top: 12px;
}


/* =========================================================
   IMAGES
   ========================================================= */

.image-placeholder {
    min-height: 280px;

    background: linear-gradient(
        135deg,
        #dce4ee,
        #aebdce
    );

    border-radius: 14px;

    display: grid;
    place-items: center;

    color: var(--navy);

    overflow: hidden;
}

.image-placeholder > div {
    text-align: center;

    display: flex;
    flex-direction: column;

    gap: 7px;

    align-items: center;

    font-weight: 700;
}

.image-placeholder span {
    font-size: 32px;
}

.image-placeholder small {
    font-weight: 500;
    color: #52657e;
}

.tall {
    min-height: 390px;
}
/* =========================================================
   TABLEAU DES CRÉNEAUX
   ========================================================= */

.schedule-table {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 14px;

    overflow: hidden;

    background: #fff;
}


/* =========================================================
   LIGNES DU TABLEAU
   ========================================================= */

.schedule-row {
    display: grid;

    grid-template-columns: 1fr 1fr 1.3fr 1.8fr;

    align-items: center;

    gap: 20px;

    padding: 18px 22px;

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


/* En-tête */

.schedule-row.header {
    background: var(--navy);

    color: #fff;

    border-top: none;

    font-size: 13px;

    font-weight: 700;
}

.schedule-row.header > span {
    color: #fff;
}


/* Contenu */

.schedule-row > span {
    font-size: 14px;

    color: var(--muted);
}


/* =========================================================
   PUBLIC
   ========================================================= */

.public-badge {
    display: inline-flex;

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

    width: fit-content;

    padding: 6px 13px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;
}


/* Adultes = BLEU */

.badge-adultes {
    background: #4D9CE8;

    color: #173b70;
}


/* Jeunes = VERT */

.badge-jeunes {
    background: #edf8c9;

    color: #486300;
}


/* =========================================================
   TYPE DE CRÉNEAU
   ========================================================= */

.tag {
    display: inline-block;

    width: fit-content;

    padding: 5px 11px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.3;
}


/* Entraînement = JAUNE */

.tag-green {
    background: #fff3c4;

    color: #7a5b00;
}



/* Tag jaune — Entraînement */
.tag-yellow {
    background: #fff3c4;
    color: #7a5b00;
}


/* Tag gris — Jeu libre */
.tag-gray {
    background: #e9edf2;
    color: #27384f;
}


/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 760px) {

    .schedule-row {
        display: grid;

        grid-template-columns: 1fr;

        gap: 8px;

        padding: 16px;
    }

    .schedule-row.header {
        display: none;
    }

    .schedule-row > span {
        display: flex;

        justify-content: space-between;

        gap: 15px;

        font-size: 13px;
    }

    .schedule-row > span::before {
        content: attr(data-label);

        font-weight: 700;

        color: var(--navy);
    }

    .schedule-row strong {
        font-size: 13px;
    }

    .schedule-row .tag {
        font-size: 10px;

        padding: 4px 9px;
    }
}

/* =========================================================
   BLOC INFORMATION
   ========================================================= */

.notice {
    margin-top: 25px;

    padding: 20px;

    background: #f2f7df;

    border-left: 4px solid var(--lime-dark);

    border-radius: 8px;
}

.notice strong {
    font-size: 14px;
}

.notice p {
    color: #5d684b;

    font-size: 14px;

    margin-top: 4px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-banner {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    background: var(--light);

    padding: 35px 45px;

    border-radius: 18px;
}

.cta-banner h2 {
    margin-bottom: 5px;
}

.cta-banner p:last-child {
    color: var(--muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #041328;

    color: #b7c2d1;

    padding: 55px 0 20px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;
}

.footer-brand {
    color: #fff;

    margin-bottom: 15px;
}

.footer h3 {
    font-size: 14px;

    color: #fff;

    margin-bottom: 12px;
}

.footer-grid a:not(.brand) {
    display: block;

    font-size: 13px;

    margin: 7px 0;
}

.footer p {
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);

    margin-top: 40px;

    padding-top: 18px;

    display: flex;

    justify-content: space-between;

    font-size: 12px;
}

/* 
/* =========================================================
   EN-TÊTE DES PAGES
   ========================================================= */

.page-hero {
    background: var(--navy);

    color: #fff;

    padding: 75px 0;
}

.page-hero h1 {
    font-size: 52px;

    margin-bottom: 12px;
}

.page-hero > div > p:last-child {
    color: #c5cfdd;

    max-width: 600px;
} */


/* =========================================================
   CARTES
   ========================================================= */

.cards-3 {
    display: grid;

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

    gap: 22px;
}

.cards-2 {
    display: grid;

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

    gap: 30px;

    width: 100%;
}

.info-card,
.news-card,
.team-card {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;
}

.info-card {
    padding: 28px;
}

.info-card > span {
    font-size: 30px;
}

.info-card h3 {
    margin: 12px 0 7px;
}

.info-card p,
.news-body p,
.team-body p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   LICENCES
   ========================================================= */

.license-card {
    position: relative;

    padding: 32px;

    min-width: 0;
}

.license-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 22px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.license-label {
    margin: 0 0 6px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--lime-dark);
}

.license-card h3 {
    margin: 0;

    font-size: 28px;

    color: var(--navy);
}

.license-price {
    flex-shrink: 0;

    font-size: 25px;

    font-weight: 800;

    color: var(--navy);

    white-space: nowrap;
}

.license-card > p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 14px;
}

.inscription-list {
    list-style: none;

    padding: 0;

    margin: 22px 0 0;

    padding-top: 20px;

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

    display: grid;

    gap: 10px;
}

.inscription-list li {
    color: var(--navy);

    font-size: 13px;

    font-weight: 600;
}

/* =========================================================
   PHOTO QUI SOMME NOUS ?
   ========================================================= */

.photo-club {
    overflow: hidden;
}

.photo-club img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    transform: scale(1.03);
}

/* =========================================================
   ÉQUIPES
   ========================================================= */

.team-photo {
    border-radius: 0;

    min-height: 240px;
}

.team-body {
    padding: 24px;
}

.team-body h2 {
    margin: 12px 0 8px;
}

.dark-link {
    color: var(--navy);
}


/* =========================================================
   GALERIE
   ========================================================= */

.gallery {
    display: grid;

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

    gap: 18px;
}

.gallery-item {
    min-height: 240px;
}

.gallery-item.large {
    grid-row: span 2;

    min-height: 498px;
}

.gallery-item .image-placeholder {
    height: 100%;

    min-height: 240px;
}


/* =========================================================
   ACTUALITÉS
   ========================================================= */

.news-image {
    min-height: 190px;

    border-radius: 0;
}

.news-body {
    padding: 22px;
}

.news-body h2 {
    font-size: 20px;

    margin: 8px 0;
}

.date {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;

    color: #8ca51d;
}


/* =========================================================
   RÉSEAUX SOCIAUX
   ========================================================= */

.social-page {
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}

.social-page h2 {
    margin-bottom: 12px;
}

.social-intro {
    color: var(--muted);

    max-width: 600px;

    margin: 0 auto 35px;

    line-height: 1.6;
}

.social-links {
    display: grid;

    gap: 18px;

    text-align: left;
}

.social-card {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 22px 25px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);

    transition: 0.2s;
}

.social-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--shadow);

    border-color: var(--lime-dark);
}

.social-icon {
    width: 55px;
    height: 55px;

    flex: 0 0 55px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    color: #fff;

    font-size: 28px;

    font-weight: 800;
}

.facebook-icon {
    background: #1877f2;

    font-family: Arial, sans-serif;
}

.instagram-icon {
    background: linear-gradient(
        135deg,
        #833ab4,
        #fd1d1d,
        #fcb045
    );

    font-size: 34px;
}

.social-content {
    flex: 1;
}

.social-content strong {
    display: block;

    color: var(--navy);

    font-size: 17px;

    margin-bottom: 4px;
}

.social-content span {
    display: block;

    color: var(--muted);

    font-size: 13px;
}

.social-arrow {
    color: var(--navy);

    font-size: 22px;

    font-weight: 700;

    transition: 0.2s;
}

.social-card:hover .social-arrow {
    transform: translateX(5px);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;
}

.contact-list {
    margin-top: 30px;

    display: grid;

    gap: 18px;
}

.contact-list > div {
    display: flex;

    gap: 14px;
}

.contact-list span {
    font-size: 22px;
}

.contact-list strong {
    font-size: 14px;
}

.contact-list p {
    font-size: 13px;

    color: var(--muted);
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.form-card {
    background: var(--light);

    border-radius: 16px;

    padding: 30px;
}

.form-card h2 {
    font-size: 25px;
}

.form-card form {
    display: grid;

    gap: 16px;
}

.form-card label {
    display: grid;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;
}

.form-card input,
.form-card textarea {
    font: 14px Inter, Arial, sans-serif;

    padding: 12px 14px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: #fff;

    outline: none;
}

.form-card input:focus,
.form-card textarea:focus {
    border-color: #9ebf2c;
}

.form-help {
    font-size: 11px;

    color: var(--muted);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .main-nav {
        gap: 15px;
    }

    .main-nav > a:not(.nav-cta) {
        font-size: 12px;
    }

    .schedule-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .split {
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 28px);
    }

    .site-header {
        height: 72px;
    }

    .brand {
        font-size: 15px;
    }

    .brand-icon {
        font-size: 28px;
    }

    /* Menu */

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;

        left: 0;
        right: 0;

        top: 72px;

        background: var(--navy);

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 12px 20px 22px;

        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);

        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a:not(.nav-cta) {
        padding: 13px 5px;
    }

    .main-nav > a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        text-align: center;

        margin-top: 8px;
    }


    /* Hero */

    
    .hero-content {
        min-height: 570px;
    }

    .hero {
        background-repeat: no-repeat;
        background:
            linear-gradient(
                rgba(6, 25, 54, 0.85) 0%,
                rgba(6, 25, 54, 0.55) 35%,
                rgba(6, 25, 54, 0.15) 70%,
                rgba(6, 25, 54, 0) 100%
            ),
            url("../images/salle_tel.png") center / cover;
    }

    .hero-copy {
        padding: 45px 0;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-text {
        font-size: 15px;
    }


    /* Points forts */

    .feature-strip {
        padding: 15px 0;
    }

    .feature-grid {
        gap: 10px;
    }

    .feature-card {
        padding: 12px 15px;
    }

    .feature-card p {
        font-size: 11px;
    }


    /* Sections */

    .section {
        padding: 58px 0;
    }

    .split,
    .cards-2,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .split {
        gap: 30px;
    }

    .split .image-placeholder {
        order: -1;

        min-height: 250px;
    }

    .section h2 {
        font-size: 30px;
    }

    .page-hero {
        padding: 55px 0;
    }

    .page-hero h1 {
        font-size: 43px;
    }


    /* Créneaux */

    .schedule-home-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;

        gap: 15px;

        flex-direction: column;
    }


    /* CTA */

    .cta-banner {
        align-items: start;

        flex-direction: column;

        padding: 28px;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        gap: 10px;

        flex-direction: column;
    }


    /* Tableaux */

    .schedule-table {
        border-radius: 10px;
    }

 @media (max-width: 760px) {

    .schedule-row {
        display: grid;

        grid-template-columns: 1fr;

        gap: 8px;

        padding: 16px;
    }

    .schedule-row.header {
        display: none;
    }

    .schedule-row > span {
        display: flex;

        justify-content: space-between;

        gap: 15px;

        font-size: 13px;
    }

    .schedule-row > span::before {
        content: attr(data-label);

        font-weight: 700;

        color: var(--navy);
    }

    .schedule-row strong {
        font-size: 13px;
    }

    .schedule-row .tag {
        font-size: 10px;

        padding: 4px 9px;
    }
}

    /* Cartes */

    .cards-3,
    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item.large {
        grid-row: auto;

        min-height: 250px;
    }

    .gallery-item .image-placeholder {
        min-height: 250px;
    }


    /* Licences */

    .license-card {
        padding: 24px;
    }

    .license-header {
        gap: 15px;
    }

    .license-card h3 {
        font-size: 23px;
    }

    .license-price {
        font-size: 21px;
    }


    /* Réseaux sociaux */

    .social-card {
        padding: 18px;

        gap: 14px;
    }

    .social-icon {
        width: 48px;
        height: 48px;

        flex-basis: 48px;

        font-size: 24px;
    }

    .instagram-icon {
        font-size: 30px;
    }

    .social-content strong {
        font-size: 15px;
    }

    .social-content span {
        font-size: 12px;
    }

    .social-arrow {
        font-size: 18px;
    }
}


/* =========================================================
   PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 39px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .schedule-row {
        grid-template-columns: 1fr;
    }

    .schedule-row > span {
        display: block;
    }

    .form-card {
        padding: 22px;
    }

    .license-header {
        align-items: flex-start;
    }

    .license-price {
        font-size: 19px;
    }
}

/* =========================================================
   LICENCES - CORRECTION LARGEUR
   ========================================================= */

.license-cards-container {
    width: min(1200px, calc(100% - 40px)) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.license-cards-container .cards-2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 30px !important;
}

.license-cards-container .license-card {
    width: 100% !important;
    min-width: 0 !important;
}


/* MOBILE */

@media (max-width: 760px) {

    .license-cards-container {
        width: calc(100% - 28px) !important;
    }

    .license-cards-container .cards-2 {
        grid-template-columns: 1fr !important;
    }

}