:root {
    --navy: #062653;
    --blue: #0d4ea3;
    --yellow: #ffd400;
    --light: #f5f8fc;
    --white: #ffffff;
    --text: #10284a;
    --muted: #66758a;
    --radius: 18px;
    --shadow: 0 12px 35px rgba(6, 38, 83, 0.10);
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================
   CONTAINER
   ========================= */

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    max-height: 62px;
    width: auto;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.menu a {
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease;
}

.menu a:hover {
    color: var(--blue);
}

.menu-btn {
    display: none;
    border: 0;
    background: var(--navy);
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.cta {
    background: var(--yellow);
    color: var(--navy) !important;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 800;
}

/* =========================
   HERO
   ========================= */

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-real {
    background-image:
        linear-gradient(
            rgba(6, 38, 83, 0.72),
            rgba(6, 38, 83, 0.55)
        ),
        url("../images/sallebis.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
    color: var(--white);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 14px;
    background: rgba(255, 212, 0, 0.95);
    color: var(--navy);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;
    margin-bottom: 20px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
}

.hero p {
    max-width: 720px;
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.6;
}

.actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 800;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

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

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

.btn.secondary {
    background: transparent;
    border-color: white;
    color: white;
}

.btn.secondary:hover {
    background: white;
    color: var(--navy);
}

/* =========================
   STATS
   ========================= */

.stats {
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat .icon {
    font-size: 34px;
    margin-bottom: 8px;
}

.stat strong {
    display: block;
    font-size: 32px;
    color: var(--navy);
    line-height: 1.1;
}

.stat span {
    color: var(--muted);
    font-weight: 600;
}

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

section {
    padding: 75px 0;
}

.section-head {
    margin-bottom: 35px;
}

.section-head h2 {
    color: var(--navy);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.section-head p {
    margin-top: 10px;
    color: var(--muted);
}

.underline {
    width: 70px;
    height: 5px;
    margin-top: 12px;
    background: var(--yellow);
    border-radius: 10px;
}

/* =========================
   GRILLES
   ========================= */

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* =========================
   CARDS
   ========================= */

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-body {
    padding: 24px;
}

.card h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 10px;
    background: #eaf1fb;
    color: var(--blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

.muted {
    color: var(--muted);
}

/* =========================
   MATCHS
   ========================= */

.match {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.match-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.team-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    object-fit: contain;
}

.teams strong {
    display: block;
    color: var(--navy);
}

.vs {
    color: var(--blue);
    font-weight: 900;
    font-size: 20px;
}

/* =========================
   ABOUT
   ========================= */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.real-photo {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.feature {
    padding: 18px;
    background: var(--light);
    border-radius: 12px;
}

.feature strong {
    display: block;
    color: var(--navy);
    margin-bottom: 5px;
}

/* =========================
   BANNER
   ========================= */

.banner {
    background: var(--navy);
    color: white;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.banner h2 {
    margin-bottom: 8px;
}

.banner p {
    color: rgba(255, 255, 255, 0.8);
}

.pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

/* =========================
   PAGE HERO
   ========================= */

.page-hero {
    background: var(--navy);
    color: white;
    padding: 55px 0;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.1;
    margin-bottom: 12px;
}

.page-hero p {
    max-width: 750px;
    color: rgba(255, 255, 255, 0.85);
}

/* =========================
   FILTRES
   ========================= */

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter {
    padding: 9px 15px;
    border: 1px solid #d9e1ec;
    background: white;
    border-radius: 30px;
    color: var(--navy);
    font-weight: 700;
}

/* =========================
   EQUIPES
   ========================= */

.team-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.team-card img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.team-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.team-meta {
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   FORMULAIRES
   ========================= */

.form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 700;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #d5deea;
    border-radius: 10px;
    background: white;
    color: var(--text);
}

.form textarea {
    min-height: 150px;
    resize: vertical;
}

.notice {
    margin-bottom: 25px;
    padding: 18px;
    border-radius: 12px;
    background: #eef5ff;
    border-left: 5px solid var(--blue);
}

/* =========================
   ACTUALITES
   ========================= */

.news-photo {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
}

.score {
    display: inline-block;
    padding: 7px 12px;
    margin-top: 10px;
    background: var(--yellow);
    color: var(--navy);
    border-radius: 20px;
    font-weight: 900;
}

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

.photos-section {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 60px;
}

.photos-grid,
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.photo-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.photo-card h2 {
    color: var(--navy);
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.photo-card a {
    display: block;
}

.photo-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

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

.photo-card p {
    margin-top: 12px;
    color: var(--muted);
    font-weight: 700;
}

/* =========================
   TABLEAU PLANNING
   ========================= */

.tableau-entrainements {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tableau-entrainements th,
.tableau-entrainements td {
    padding: 12px 10px;
    border: 1px solid #dce4ee;
    text-align: center;
    vertical-align: middle;
}

.tableau-entrainements th {
    background: var(--navy);
    color: white;
    font-weight: 800;
}

.tableau-entrainements td {
    color: var(--text);
}

.tableau-entrainements tr:nth-child(even) td {
    background: #f8fafd;
}

.tableau-entrainements tr:hover td {
    background: #eef4fb;
}

/* =========================
   COTISATIONS
   ========================= */

.cotisations-section {
    padding: 70px 0;
}

.cotisations-intro {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
}

.cotisations-intro h2 {
    color: var(--navy);
    margin-bottom: 12px;
}

.cotisations-intro p {
    color: var(--muted);
}

.cotisations-infos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cotisation-info {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cotisation-info h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.cotisation-action {
    margin-top: 30px;
    text-align: center;
}

/* =========================
   COMPTEUR VISITEURS
   ========================= */

.compteur-section {
    padding: 50px 0;
    background: #eef4fb;
}

.compteur-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.compteur-item {
    background: white;
    padding: 25px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.compteur-item strong {
    display: block;
    font-size: 34px;
    color: var(--blue);
    line-height: 1.2;
}

.compteur-item span {
    color: var(--muted);
    font-weight: 700;
}

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

.footer {
    background: #041a3a;
    color: white;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 35px;
}

.footer h3 {
    margin-bottom: 12px;
}

.footer p,
.footer li {
    color: rgba(255, 255, 255, 0.75);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 7px;
}

.footer a:hover {
    color: var(--yellow);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

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

@media (max-width: 1000px) {

    .nav {
        min-height: 70px;
    }

    .menu {
        gap: 12px;
    }

    .menu a {
        font-size: 13px;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

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

@media (max-width: 700px) {

    .container {
        width: 92%;
    }

    section {
        padding: 50px 0;
    }

    /* HEADER */

    .nav {
        min-height: 65px;
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .logo img {
        max-height: 52px;
    }

    .menu-btn {
        display: block;
    }

    .menu {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 15px 0;
        gap: 5px;
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        display: block;
        padding: 11px 12px;
        border-radius: 8px;
    }

    .menu a:hover {
        background: #eef4fb;
    }

    .cta {
        text-align: center;
    }

    /* HERO */

    .hero {
        min-height: 500px;
    }

    .hero-inner {
        padding: 60px 0;
    }

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

    .hero p {
        font-size: 17px;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    /* STATS */

    .stats {
        margin-top: -30px;
    }

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

    /* GRILLES */

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

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

    /* MATCHS */

    .teams {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vs {
        margin: 3px 0;
    }

    /* BANNER */

    .banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    /* PHOTOS */

    .photos-section {
        width: 94%;
    }

    .photos-grid,
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .photo-card img {
        height: 240px;
    }

    /* TABLEAU */

    .tableau-entrainements {
        font-size: 12px;
    }

    .tableau-entrainements th,
    .tableau-entrainements td {
        padding: 8px 5px;
    }

    .tableau-entrainements tr:first-child td,
    .tableau-entrainements th {
        font-size: 13px;
    }

    /* COTISATIONS */

    .cotisations-infos {
        grid-template-columns: 1fr;
    }

    /* COMPTEUR */

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

    /* FOOTER */

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

/* =========================================================
   PETITS TELEPHONES
   ========================================================= */

@media (max-width: 450px) {

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

    .hero p {
        font-size: 16px;
    }

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

    .photo-card img {
        height: 210px;
    }

    .stat strong {
        font-size: 28px;
    }
}

/* =========================================================
   IMPRESSION
   ========================================================= */

@media print {

    .header,
    .menu,
    .menu-btn,
    .actions,
    .footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    section {
        padding: 25px 0;
    }
}