/* ============================================================
   FSRS — Fédération Page CSS
   Refonte Design 2025
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Oswald:wght@400;500;600;700&display=swap');

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

:root {
    --primary:       #2E8B57;
    --primary-dark:  #1a3a2f;
    --primary-mid:   #236b45;
    --primary-light: #f0f7f3;
    --gold:          #FFD700;
    --gold-dark:     #e6c200;
    --white:         #FFFFFF;
    --off-white:     #F9FAFB;
    --text-dark:     #1a1a2e;
    --text-body:     #374151;
    --text-muted:    #6B7280;

    --font-body:    'Montserrat', sans-serif;
    --font-display: 'Oswald', sans-serif;

    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   14px;
    --radius-xl:   22px;
    --radius-pill: 50px;
    --radius-full: 9999px;

    --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
    --shadow-md:    0 6px 24px rgba(0,0,0,0.08);
    --shadow-lg:    0 16px 48px rgba(0,0,0,0.12);
    --shadow-green: 0 12px 42px rgba(46,139,87,0.22);
    --shadow-gold:  0 8px 30px rgba(255,215,0,0.35);

    --ease:     all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.45); }
    50%       { box-shadow: 0 0 0 12px rgba(255,215,0,0); }
}

@keyframes shimmerLine {
    0%   { width: 0; opacity: 0; }
    50%  { opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   BASE
   ══════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--off-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 0.75rem 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.18);
    transition: var(--ease);
}

header.scrolled {
    padding: 0.4rem 0;
    background: rgba(26,58,47,0.92);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,215,0,0.12);
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

header .logo img {
    height: 50px;
    max-width: 100%;
    border-radius: var(--radius-md);
    transition: var(--ease);
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: wrap;
    align-items: center;
}

header nav ul li {
    margin-left: 0;
}

header nav ul li a {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--ease);
    display: block;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--gold);
    background: rgba(255,215,0,0.08);
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: calc(100% - 1.8rem);
}

.btn-header {
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    color: var(--primary-dark);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--ease-out);
    box-shadow: 0 4px 16px rgba(255,215,0,0.3);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ══════════════════════════════════════════════════════════
   HERO FÉDÉRATION — Overlay formes géométriques CSS
   ══════════════════════════════════════════════════════════ */
.hero-federation {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 55%, var(--primary) 100%);
    color: var(--white);
    padding: 7rem 2rem 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: -3rem;
}

/* Formes géométriques en fond */
.hero-federation::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0.09) 0%, rgba(255,215,0,0.02) 40%, transparent 65%);
    pointer-events: none;
}

.hero-federation::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,139,87,0.18) 0%, transparent 60%);
    pointer-events: none;
}

/* Losange CSS décoratif */
.hero-geo-1 {
    position: absolute;
    top: 15%;
    right: 38%;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255,215,0,0.14);
    transform: rotate(45deg);
    pointer-events: none;
}

.hero-geo-2 {
    position: absolute;
    bottom: 20%;
    left: 42%;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255,255,255,0.08);
    transform: rotate(45deg);
    pointer-events: none;
}

.hero-federation .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Texte hero */
.hero-content {
    flex: 1;
    min-width: 300px;
    animation: slideInLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(255,215,0,0.12);
    border: 1px solid rgba(255,215,0,0.25);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: var(--white);
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.82);
    margin-bottom: 2rem;
    line-height: 1.72;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-yellow {
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    color: var(--primary-dark);
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--ease-out);
    box-shadow: var(--shadow-gold);
    display: inline-block;
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255,215,0,0.5);
}

.btn-dark {
    background: transparent;
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.55);
    transition: var(--ease-out);
    display: inline-block;
    backdrop-filter: blur(4px);
}

.btn-dark:hover {
    background: rgba(255,255,255,0.14);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════
   ORGANIGRAMME — Nodes avec gradient + shadow
   ══════════════════════════════════════════════════════════ */
.organigramme-container {
    flex: 1;
    min-width: 300px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,215,0,0.22);
    overflow-x: auto;
    animation: slideInRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    z-index: 1;
}

.organigramme {
    position: relative;
    padding: 1rem;
    min-width: 400px;
}

/* Président */
.president {
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    color: var(--primary-dark);
    border: none;
    padding: 1.1rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(255,215,0,0.45);
    animation: pulse 3s ease-in-out infinite;
}

.president::after {
    content: "";
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--gold), rgba(255,215,0,0.3));
}

/* Nœuds de l'organigramme */
.node {
    background: linear-gradient(135deg, rgba(255,215,0,0.18) 0%, rgba(255,215,0,0.08) 100%);
    color: var(--white);
    border: 1px solid rgba(255,215,0,0.35);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
    font-size: 0.88rem;
    position: relative;
    transition: var(--ease-out);
    backdrop-filter: blur(4px);
}

.node:hover {
    background: linear-gradient(135deg, rgba(255,215,0,0.32) 0%, rgba(255,215,0,0.16) 100%);
    border-color: var(--gold);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 28px rgba(255,215,0,0.3);
}

.node-title {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.2rem;
}

/* Rangées de nœuds */
.nodes-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    flex-wrap: wrap;
}

.nodes-row.first-level::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.nodes-row.first-level .node::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 50%;
    width: 2px;
    height: 1rem;
    background: var(--gold);
    transform: translateX(-50%);
}

.nodes-row.second-level::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255,215,0,0.7), transparent);
}

.nodes-row.second-level .node::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 50%;
    width: 2px;
    height: 1rem;
    background: rgba(255,215,0,0.7);
    transform: translateX(-50%);
}

/* Version Mobile de l'organigramme */
.organigramme-mobile {
    display: none;
}

.organigramme-mobile .org-level {
    margin-bottom: 1.5rem;
}

.organigramme-mobile .org-level-title {
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    color: var(--primary-dark);
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(255,215,0,0.3);
}

.organigramme-mobile .org-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
}

.organigramme-mobile .org-item {
    background: rgba(255,215,0,0.08);
    color: rgba(255,255,255,0.88);
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--ease);
}

.organigramme-mobile .org-item:hover {
    background: rgba(255,215,0,0.14);
    transform: translateX(6px);
    color: var(--gold);
}

/* Éléments décoratifs */
.decorative-elements {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0.25;
}

/* ══════════════════════════════════════════════════════════
   SECTION HISTORIQUE
   ══════════════════════════════════════════════════════════ */
.brief-history {
    background: var(--white);
    padding: 6rem 2rem 5rem;
    position: relative;
    z-index: 2;
}

.brief-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(46,139,87,0.2), transparent);
}

.brief-history .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.history-content {
    flex: 1;
    min-width: 300px;
}

.history-eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(46,139,87,0.08);
    border: 1px solid rgba(46,139,87,0.18);
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

.history-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.history-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 4px;
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    border-radius: var(--radius-full);
}

.history-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-body);
    font-size: 0.97rem;
}

.history-content p:last-child {
    margin-bottom: 0;
}

.history-images {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--ease-out);
}

.image-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

.image-caption {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
    padding: 1.1rem 1.4rem;
}

.image-caption h3 {
    font-family: var(--font-display);
    margin-bottom: 0.3rem;
    color: var(--gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.image-caption p {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════
   PARTNERS SECTION — Hover elevation + scale
   ══════════════════════════════════════════════════════════ */
.partners-section {
    padding: 5rem 2rem;
    background: var(--primary-light);
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partners-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-section .section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

.partners-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    border-radius: var(--radius-full);
}

.partners-section .section-header p {
    color: var(--text-muted);
    font-size: 0.97rem;
    margin-top: 1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    text-decoration: none;
    color: inherit;
    transition: var(--ease-out);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.partner-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-green);
    border-color: rgba(46,139,87,0.15);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-logo-container {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(46,139,87,0.07), rgba(255,215,0,0.06));
    overflow: hidden;
    border: 1px solid rgba(46,139,87,0.1);
    transition: var(--ease);
}

.partner-card:hover .partner-logo-container {
    background: linear-gradient(135deg, rgba(46,139,87,0.13), rgba(255,215,0,0.1));
    border-color: rgba(46,139,87,0.2);
    transform: scale(1.05);
}

.partner-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--ease);
}

.partner-info h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
}

.partner-info p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.partner-badge {
    margin-left: auto;
    background: rgba(255,215,0,0.14);
    color: var(--primary-dark);
    padding: 5px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border: 1px solid rgba(255,215,0,0.25);
    transition: var(--ease);
}

.partner-card:hover .partner-badge {
    background: var(--gold);
    border-color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   CLUBS SECTION (sur la page fédération)
   ══════════════════════════════════════════════════════════ */
.clubs-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.clubs-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.clubs-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clubs-section .section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

.clubs-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    border-radius: var(--radius-full);
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.club-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--ease-out);
    border: 1px solid rgba(0,0,0,0.04);
}

.club-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.club-image {
    position: relative;
    height: 165px;
    overflow: hidden;
}

.club-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.club-card:hover .club-image img {
    transform: scale(1.08);
}

.club-overlay {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(26,58,47,0.8);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.club-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.club-content h3 {
    font-family: var(--font-display);
    margin: 0;
    font-size: 1.05rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.club-location {
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.club-description {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.55;
}

.club-disciplines {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.discipline-tag {
    background: rgba(46,139,87,0.09);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.club-contact {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* CTA Clubs */
.clubs-cta {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-direction: column;
}

.btn-see-more {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-green);
    transition: var(--ease-out);
}

.btn-see-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(46,139,87,0.35);
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    color: var(--primary-dark);
}

.clubs-count {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════ */

/* ── 1024px ── */
@media (max-width: 1024px) {
    .hero-federation {
        min-height: 75vh;
        clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    }

    .hero-federation .container { gap: 3rem; }

    .partners-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ── 768px ── */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 0.8rem 1rem;
        gap: 0.6rem;
    }

    header nav ul { justify-content: center; gap: 0.2rem; }
    header nav ul li a { font-size: 0.85rem; padding: 0.4rem 0.7rem; }

    .hero-federation {
        padding: 5rem 1.5rem 4rem;
        min-height: auto;
        clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
    }

    .hero-federation .container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        padding: 0 1rem;
    }

    .hero-content { animation-name: fadeInUp; }
    .hero-content p { max-width: 100%; }
    .hero-buttons { justify-content: center; }

    .organigramme-container {
        width: 100%;
        animation-name: fadeInUp;
        animation-delay: 0.15s;
    }

    .organigramme { min-width: 350px; }

    .nodes-row {
        gap: 0.7rem;
    }

    .node {
        padding: 0.65rem 0.85rem;
        font-size: 0.82rem;
    }

    .nodes-row.first-level::before { left: 20%; right: 20%; }
    .nodes-row.second-level::before { left: 5%; right: 5%; }

    .brief-history { padding: 4rem 1.5rem 3.5rem; }
    .brief-history .container { flex-direction: column; gap: 2.5rem; padding: 0 1rem; }

    .partners-section,
    .clubs-section { padding: 3.5rem 1.5rem; }

    .partners-section .container,
    .clubs-section .container { padding: 0 1rem; }
}

/* ── 576px (mobile organigramme) ── */
@media (max-width: 576px) {
    header .logo img { height: 42px; }

    .hero-federation {
        padding: 4rem 1rem 3rem;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        margin-bottom: -2rem;
    }

    .hero-content h1 { font-size: 1.7rem; }
    .hero-content p  { font-size: 0.95rem; }

    .btn-yellow,
    .btn-dark { padding: 0.8rem 1.5rem; font-size: 0.88rem; }

    .organigramme { display: none; }
    .organigramme-mobile { display: block; }
    .organigramme-container { overflow-x: visible; padding: 1.5rem 1rem; }

    .brief-history { padding: 3rem 1rem; }
    .history-content h2 { font-size: 1.5rem; }
    .image-card img { height: 170px; }

    .partners-section,
    .clubs-section { padding: 3rem 1rem; }

    .partners-grid { grid-template-columns: 1fr; gap: 1rem; }
    .partner-badge { display: none; }

    .clubs-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .club-image { height: 145px; }
}

/* ── 360px ── */
@media (max-width: 360px) {
    .hero-content h1 { font-size: 1.4rem; }
    .organigramme-mobile .org-level-title { font-size: 0.88rem; }
    .organigramme-mobile .org-item { font-size: 0.82rem; }
    .history-content h2 { font-size: 1.3rem; }
}

/* ── Accessibilité ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .hero-federation { clip-path: none; }
    .president { animation: none; }
}
