/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =============== MENU SPORTIF PARIS 2024 =============== */

.menu {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #002654; /* Bleu Paris 2024 */
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO */
.menu-logo {
    display: flex;
    align-items: center; /* au lieu de flex-end → centre parfaitement */
    gap: 14px;
}

.menu-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transform: translateY(0px); /* on annule la descente qui cassait l’équilibre */
    position: relative;
    z-index: 2000;
}

.menu-logo span {
    font-size: 1.9rem;   /* plus gros */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #002654;
    line-height: 1;
    display: block;
}


.menu-logo a {
    display: flex;
    align-items: center;
    gap: 16px; /* espace logo/titre */
    text-decoration: none;
}


/* LINKS */
.menu-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.menu-links li {
    position: relative;
}

.menu-links a {
    text-decoration: none;
    color: #002654;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 6px 0;
    display: block;
    position: relative;
    transition: color 0.25s ease, transform 0.2s ease;
}


/* ALIGNEMENT DES LIENS AVEC LE LOGO */

.menu-links a {
    display: flex;
    align-items: center; /* centre verticalement le texte */
}

/* Soulignement animé */
.menu-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 3px;
    width: 0;
    background: #FF4B98; /* Rose Paris 2024 */
    border-radius: 6px;
    transition: width 0.25s ease;
}

.menu-links a:hover {
    color: #FF4B98;
    transform: translateY(-2px);
}

.menu-links a:hover::after {
    width: 100%;
}

/* PETITE ANIMATION GLOW */
.menu:hover {
    box-shadow: 0 8px 30px rgba(0, 38, 84, 0.12);
}


/* ===== MENU RESPONSIVE ===== */

/* Burger */
.menu-burger {
    display: none;
    flex-direction: column;
    width: 28px;
    cursor: pointer;
    gap: 5px;
}

.menu-burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #002654;
    border-radius: 5px;
    transition: 0.3s;
}

/* MENU MOBILE */
.menu-mobile {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 75px;
    right: 20px;
    background: white;
    width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
}

.menu-mobile li {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.menu-mobile li:last-child {
    border-bottom: none;
}

.menu-mobile a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: #002654;
    font-weight: 600;
}

.menu-mobile a:hover {
    background: #FF4B98;
    color: white;
}

/* Responsive trigger */
@media (max-width: 850px) {
    .menu-links {
        display: none;
    }

    .menu-burger {
        display: flex;
    }
}

/* Animation burger */
.menu-burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-burger.open span:nth-child(2) {
    opacity: 0;
}
.menu-burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Show mobile menu */
.menu-mobile.show {
    display: flex;
}


/* PALETTE PARIS 2024 + THEME CLAIR */
:root {
    --blue-main: #002654;        /* Bleu Paris 2024 */
    --pink-accent: #FF4B98;      /* Rose Paris 2024 */
    --bg-page: #F8F9FB;          /* Fond général très clair */
    --bg-section: #FFFFFF;
    --text-main: #111827;
    --text-muted: #6B7280;
    --card-bg: #FFFFFF;
    --card-border: rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.08);
}

/* BODY */
body {
    background: #F8F9FB !important;
    color: #111 !important;
}

/* LAYOUT */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}


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

.hero {
    margin-top: 20px; /* évite que le header colle au menu */
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
}


.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    margin-bottom: 10px;
}

.hero-text h1 span {
    background: linear-gradient(110deg, var(--pink-accent), var(--blue-main));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 540px;
    margin-bottom: 18px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 38, 84, 0.06);
    color: var(--blue-main);
}

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

/* BOUTONS */
.btn-primary {
    background: linear-gradient(120deg, var(--pink-accent), #ff7ab9);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(255, 75, 152, 0.35);
}

.btn-secondary {
    background: #ffffff;
    color: var(--blue-main);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 38, 84, 0.16);
}

/* HERO IMAGE / CARTE */
.hero-media {
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
}

.hero-card img {
    max-height: 300px !important;
    width: auto !important;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.hero-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(0, 38, 84, 0.95);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* HERO RESPONSIVE */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .hero-media {
        order: -1;
    }
}

/* ================= SECTIONS GÉNÉRALES ================= */

.section {
    padding: 30px 0 10px;
}

.section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--pink-accent);
    margin-bottom: 4px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

/* GRILLE DE CARTES (accueil & équipes) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--card-border);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card a {
    margin-top: 10px;
    font-size: 0.86rem;
    text-decoration: none;
    color: var(--blue-main);
    font-weight: 600;
}

@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ================= PAGES INTERNES (HERO & BLOCS) ================= */

.page-hero {
    padding: 30px 0 20px;
}

.page-hero h1 {
    font-size: 1.7rem;
    margin-bottom: 6px;
    color: var(--blue-main);
}

.page-hero p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.page-section {
    background: var(--bg-section);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.page-section h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--blue-main);
}

.page-section p,
.page-section li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================= TABLES (Horaires) ================= */

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th,
.table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    text-align: left;
}

.table thead th {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-main);
    background: rgba(0, 38, 84, 0.04);
}

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

form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

form input,
form textarea {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 8px 10px;
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

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

/* ================= HELLOASSO WRAPPER ================= */

.ha-container {
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--card-border);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

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

footer {
    margin-top: 40px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding: 14px 0 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
