/* ==========================================================================
   FRONT.CSS — Charte graphique fidèle à gymenpaysrochois.org
   Elementor-inspired design reproduction
   ========================================================================== */

/* ── Variables ── */
:root {
    --color-primary: #222222;
    --color-secondary: #0c949b;
    --color-accent: #de0052;
    --color-text: #3c3c3c;
    --color-soft: #888;
    --color-border: #f0f0f0;
    --color-bg: #ffffff;
    --color-footer: #1a1a1a;
    --color-footer-bar: #111111;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --max-width: 1140px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(12,148,155,0.035));
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ==========================================================================
   HEADER — Logo centré, nav des deux côtés
   ========================================================================== */
.site-header {
    background: rgba(255,255,255,0.97);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-header::after {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #0c949b 0%, #de0052 100%);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 24px;
    gap: 0;
}

/* Logo à gauche */
.header-logo-wrap {
    flex-shrink: 0;
    margin-right: 28px;
}
.header-logo-wrap img {
    height: 62px;
    width: auto;
}

/* Nav principale */
.header-nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.header-nav a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #3a3a3a;
    padding: 10px 14px;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--color-secondary);
    text-decoration: underline;
    text-decoration-color: rgba(12, 148, 155, 0.55);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* ── Dropdown "L'association" ── */
.header-dropdown {
    position: relative;
}

.header-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #3a3a3a;
    padding: 10px 14px;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
}

.header-dropdown__toggle:hover,
.header-dropdown__toggle.active {
    color: var(--color-secondary);
}

.header-dropdown__toggle.active {
    text-decoration: underline;
    text-decoration-color: rgba(12, 148, 155, 0.55);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.header-dropdown__arrow {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.header-dropdown:hover .header-dropdown__arrow,
.header-dropdown--open .header-dropdown__arrow {
    transform: rotate(180deg);
}

.header-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    min-width: 170px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 200;
}

.header-dropdown:hover .header-dropdown__menu,
.header-dropdown--open .header-dropdown__menu {
    display: block;
}

.header-dropdown__menu li a {
    display: block;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: #333;
    padding: 9px 18px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.header-dropdown__menu li a:hover,
.header-dropdown__menu li a.active {
    background: rgba(12, 148, 155, 0.08);
    color: var(--color-secondary);
}

/* Burger mobile */
/* Overlay backdrop */
.mf-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14,34,42,0.55);
    z-index: 1049;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.mf-overlay--visible {
    display: block;
    opacity: 1;
}

/* Bouton burger */
.mf-burger {
    display: none;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1100;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 10px;
    width: 46px;
    height: 46px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: box-shadow 0.2s;
}
.mf-burger:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.15); }

.mf-burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #14222a;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.mf-burger--open { display: none !important; }

/* Panel mobile — slide depuis la droite */
.mf-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 92vw);
    background: #14222a;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.4,0,.2,1);
    box-shadow: -4px 0 32px rgba(0,0,0,0.25);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mf-mobile-nav--open { transform: translateX(0); }

/* Header du panel */
.mf-mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.mf-mobile-nav__logo img {
    height: 44px;
    width: auto;
}
.mf-mobile-nav__close {
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}
.mf-mobile-nav__close:hover { background: rgba(255,255,255,0.16); }

/* Corps du panel */
.mf-mobile-nav__body {
    flex: 1;
    padding: 12px 0 8px;
    display: flex;
    flex-direction: column;
}

.mf-mobile-nav__link {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,0.82);
    padding: 13px 24px;
    text-decoration: none;
    display: block;
    transition: color 0.2s, background 0.2s, padding-left 0.2s;
    border-left: 3px solid transparent;
}
.mf-mobile-nav__link:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
    padding-left: 28px;
}
.mf-mobile-nav__link--active {
    color: #fff;
    border-left-color: #0c949b;
    background: rgba(12,148,155,0.12);
    font-weight: 700;
}

.mf-mobile-nav__group-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: rgba(255,255,255,0.35);
    padding: 16px 24px 6px;
}

.mf-mobile-nav__sep {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 24px;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.mf-section {
    padding: 60px 0;
}

.mf-section--alt {
    background: transparent;
}

.mf-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.mf-hero {
    padding: 60px 0 40px;
}

.mf-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 36px 40px;
    background: rgba(255,255,255,0.86);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(20,34,42,0.06);
    border-left: 5px solid var(--color-secondary);
}

.mf-kicker {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-soft);
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    display: block;
}

.mf-hero__title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-secondary);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.mf-body-text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 12px;
    max-width: 640px;
}

.mf-soft-text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(34,34,34,0.55);
    margin-bottom: 28px;
    max-width: 580px;
}

.mf-hero__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.mf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 28px;
    border-radius: 999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.mf-btn--primary {
    background: linear-gradient(180deg, rgba(34,34,34,0.98), rgba(48,48,48,0.98));
    color: #fff;
    border: 1px solid rgba(34,34,34,0.12);
    box-shadow: 0 10px 18px rgba(20,34,42,0.16);
}

.mf-btn--primary:hover {
    background: linear-gradient(90deg, rgba(12,148,155,0.9), rgba(222,0,82,0.92));
    color: #fff;
    border-color: rgba(12,148,155,0.18);
}

.mf-btn--outline {
    background: rgba(255,255,255,0.84);
    color: #3a3a3a;
    border: 1px solid rgba(58,58,58,0.14);
    box-shadow: none;
}

.mf-btn--outline:hover {
    background: #fff3f8;
    color: var(--color-accent);
    border-color: rgba(222,0,82,0.3);
    box-shadow: 0 10px 22px rgba(222,0,82,0.08);
}

.mf-btn--accent {
    background: var(--color-accent);
    color: #fff;
    border: 1px solid var(--color-accent);
}

.mf-btn--accent:hover {
    background: #c20048;
}

/* ==========================================================================
   STATS ROW
   ========================================================================== */
.mf-stats {
    padding: 40px 0;
}

.mf-stats__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.mf-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mf-stat {
    text-align: center;
    padding: 34px 20px;
    background: #fff;
    border-radius: 18px;
    border: 2px solid rgba(12,148,155,0.35);
    box-shadow: 0 12px 38px rgba(12,148,155,0.17), 0 3px 10px rgba(20,34,42,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.mf-stat::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}

.mf-stat:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 54px rgba(12,148,155,0.22), 0 6px 16px rgba(20,34,42,0.09);
    border-color: rgba(222,0,82,0.44);
}

.mf-stat__number {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mf-stat__label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(34,34,34,0.8);
    margin-bottom: 10px;
}

.mf-stat__desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(34,34,34,0.55);
    max-width: 28ch;
    margin: 0 auto;
}

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */
.mf-features {
    padding: 40px 0;
}

.mf-features__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.mf-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mf-feature {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(12,148,155,0.12);
    box-shadow: 0 12px 22px rgba(20,34,42,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mf-feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}

.mf-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(20,34,42,0.09);
}

.mf-feature__label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.mf-feature__title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 14px;
}

.mf-feature__text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.mf-cta {
    padding: 60px 0;
    text-align: center;
}

.mf-cta__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 40px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(12,148,155,0.08), rgba(222,0,82,0.08));
    border: 1px solid rgba(12,148,155,0.12);
    box-shadow: 0 14px 28px rgba(20,34,42,0.06);
}

.mf-cta__badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(12,148,155,0.08);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0a7f86;
    margin-bottom: 16px;
}

.mf-cta__title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
}

.mf-cta__text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(34,34,34,0.55);
    max-width: 600px;
    margin: 0 auto 28px;
}

/* ==========================================================================
   PAGE HERO — Sous-pages
   ========================================================================== */
.mf-page-hero {
    padding: 60px 0 30px;
}

.mf-page-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 36px 40px;
    background: rgba(255,255,255,0.86);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(20,34,42,0.06);
    border-left: 5px solid var(--color-secondary);
}

.mf-page-hero__label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0a7f86;
    margin-bottom: 12px;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(12,148,155,0.08);
}

.mf-page-hero__title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 14px;
}

.mf-page-hero__subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: #aaa;
    max-width: 640px;
}

.mf-breadcrumb {
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    color: #bbb;
}

.mf-breadcrumb a {
    color: var(--color-secondary);
}

.mf-breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   PAGE CONTENT — Zone CMS
   ========================================================================== */
.mf-page-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.cms-content {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    background: rgba(255,255,255,0.86);
    border-radius: 14px;
    padding: 36px 40px;
    box-shadow: 0 10px 22px rgba(20,34,42,0.06);
}

.cms-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 2em 0 0.8em;
    line-height: 1.2;
}

.cms-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 1.8em 0 0.6em;
    line-height: 1.3;
}

.cms-content h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-primary);
    margin: 1.5em 0 0.5em;
}

.cms-content p { margin-bottom: 1.2em; }

.cms-content ul, .cms-content ol {
    margin: 1em 0;
    padding-left: 1.8em;
    list-style: disc;
}

.cms-content ol { list-style: decimal; }
.cms-content li { margin-bottom: 0.4em; }

.cms-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.cms-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.cms-content a:hover { color: var(--color-accent); }

.cms-content blockquote {
    border-left: 3px solid var(--color-secondary);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

.cms-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.cms-content table th,
.cms-content table td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.cms-content table th {
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.04em;
}

/* Classes utilitaires CMS */
.txt-rose { color: var(--color-accent); }
.txt-vert { color: var(--color-secondary); }
.txt-gras { font-weight: 700; }
.txt-italic { font-style: italic; }

/* ==========================================================================
   PRICING CARDS
   ========================================================================== */
.gym-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    padding: 20px 0 40px;
}

.gym-pricing-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(12,148,155,0.12);
    box-shadow: 0 12px 22px rgba(20,34,42,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gym-pricing-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0c949b, #de0052);
    z-index: 1;
}

.gym-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(20,34,42,0.09);
}

.gym-pricing-header {
    background: linear-gradient(135deg, #222 0%, #333 100%);
    padding: 28px 28px 24px;
    text-align: center;
}

.gym-pricing-accent .gym-pricing-header {
    background: linear-gradient(135deg, #0c949b 0%, #0aabb3 100%);
}

.gym-pricing-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.gym-pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

.gym-pricing-body { padding: 8px 0; }

.gym-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.gym-pricing-row:last-child { border-bottom: none; }
.gym-pricing-row:hover { background: #fafafa; }

.gym-pricing-freq {
    font-family: var(--font-body);
    font-size: 15px;
    color: #555;
}

.gym-pricing-amount {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.gym-pricing-accent .gym-pricing-amount {
    color: var(--color-secondary);
}

.gym-pricing-footer {
    padding: 16px 28px 20px;
    background: #fafafa;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.gym-pricing-footer p {
    font-size: 13px;
    color: #888;
    margin: 0;
    font-style: italic;
}

/* ==========================================================================
   ACTUALITÉS — Grille de cartes
   ========================================================================== */
.mf-actus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    padding: 0 0 40px;
}

.mf-actu-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(12,148,155,0.12);
    box-shadow: 0 12px 22px rgba(20,34,42,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.mf-actu-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0c949b, #de0052);
    z-index: 1;
}

.mf-actu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(20,34,42,0.09);
}

.mf-actu-card__img-wrap {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
}

.mf-actu-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mf-actu-card:hover .mf-actu-card__img { transform: scale(1.04); }

.mf-actu-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0c949b 0%, #de0052 100%);
    font-size: 48px;
    opacity: 0.6;
    color: #fff;
}

.mf-actu-card__body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mf-actu-card__date {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.mf-actu-card__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #222;
}

.mf-actu-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px;
    flex: 1;
}

.mf-actu-card__link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-accent);
    transition: color 0.2s;
}

.mf-actu-card__link:hover { color: var(--color-secondary); }

/* ==========================================================================
   SINGLE ARTICLE
   ========================================================================== */
.mf-single-article {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.mf-single-article__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-secondary);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.mf-single-article__back:hover { color: var(--color-accent); }

.mf-single-article__date {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
    margin-bottom: 12px;
    display: block;
}

.mf-single-article__title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.mf-single-article__featured-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 32px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mf-single-article__chapeau {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mf-single-article__nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.mf-single-article__nav a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.mf-single-article__nav a:hover { color: var(--color-accent); }

/* ==========================================================================
   EVENTS
   ========================================================================== */
.mf-events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mf-event-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(12,148,155,0.12);
    box-shadow: 0 12px 22px rgba(20,34,42,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.mf-event-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}

.mf-event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(20,34,42,0.09);
}

.mf-event-date {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--color-secondary);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.mf-event-date__day {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.mf-event-date__month {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.mf-event-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mf-event-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 4px;
}

.mf-event-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.mf-event-meta span {
    font-size: 13px;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.mf-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    padding-bottom: 20px;
}

.mf-pagination a,
.mf-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    color: #555;
    background: #fff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s;
}

.mf-pagination a:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.mf-pagination .current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */
.mf-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-soft);
}

.mf-empty svg { width: 48px; height: 48px; margin: 0 auto 16px; opacity: 0.4; }
.mf-empty p { font-size: 16px; margin-top: 12px; }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.mf-section-header {
    margin-bottom: 40px;
}

.mf-section-header--center { text-align: center; }

.mf-section-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: block;
}

.mf-section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.2;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer__main {
    background: var(--color-footer);
    padding: 60px 0 40px;
}

.site-footer__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
}

.gym-footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gym-footer-brand p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin: 0 0 20px;
}

.gym-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.gym-footer-social:hover {
    background: #1877F2;
    color: #fff;
    transform: translateY(-2px);
}

.gym-footer-social svg { width: 28px; height: 28px; }

.gym-footer-nav h4,
.gym-footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.gym-footer-nav ul { list-style: none; padding: 0; margin: 0; }
.gym-footer-nav li { margin-bottom: 10px; }

.gym-footer-nav a {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.gym-footer-nav a:hover {
    color: var(--color-secondary);
    padding-left: 6px;
}

.gym-footer-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gym-footer-ci {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.5);
}

.gym-footer-ci svg {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.gym-footer-ci div {
    display: flex;
    flex-direction: column;
}

.gym-footer-ci span {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.gym-footer-ci a {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.gym-footer-ci a:hover { color: var(--color-secondary); }

.site-footer__bar {
    background: var(--color-footer-bar);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.gym-footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.gym-footer-bottom > span:first-child {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

.gym-footer-bottom-links {
    display: flex;
    gap: 20px;
}

.gym-footer-bottom-links a {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.gym-footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   PAGE INTRO
   ========================================================================== */
.mf-page-intro {
    font-size: 17px;
    color: var(--color-soft);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* ==========================================================================
   PLANNING DES COURS
   ========================================================================== */
.mf-update-badge {
    background: rgba(255,255,255,0.86);
    border: 2px solid var(--color-secondary);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
}
.mf-update-badge::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}
.mf-update-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-secondary);
    margin-bottom: 6px;
}
.mf-update-badge h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mf-update-badge p {
    color: var(--color-soft);
    margin-bottom: 14px;
}

.mf-planning { margin-bottom: 36px; }
.mf-planning-section { margin-bottom: 36px; }

.mf-jour__header {
    margin-bottom: 16px;
}
.mf-jour__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 0;
}
.mf-creneau__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.mf-creneau__nom {
    font-size: 15px;
    color: var(--color-primary);
}
.mf-creneau__animateur {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 500;
}

.mf-jour {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(12,148,155,0.06), rgba(222,0,82,0.05));
    border: 1px solid rgba(12,148,155,0.12);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(20,34,42,0.06);
}
.mf-jour::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}
.mf-jour h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.mf-jour__count {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 18px;
}

.mf-creneau {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(12,148,155,0.08);
}
.mf-creneau:first-of-type { border-top: 1px solid rgba(12,148,155,0.15); }
.mf-creneau__horaire {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
}
.mf-creneau__details {
    font-size: 14px;
    color: var(--color-text);
}
.mf-creneau__lieu {
    font-size: 13px;
    color: var(--color-soft);
}
.mf-creneau__desc {
    font-size: 13px;
    color: var(--color-text);
    margin: 6px 0 4px;
    line-height: 1.5;
}

.mf-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.mf-badge--complet {
    background: rgba(222,0,82,0.1);
    color: #de0052;
}
.mf-badge--dispo,
.mf-badge--disponible {
    background: rgba(12,148,155,0.1);
    color: #0c949b;
}
.mf-badge--info {
    background: rgba(52,152,219,0.12);
    color: #2980b9;
    font-size: 10px;
    padding: 3px 10px;
}

/* ==========================================================================
   WEEKLY PLANNING GRID — Planning visuel de la semaine (page cours)
   ========================================================================== */
.mf-weekly-planning {
    margin-bottom: 48px;
}
.mf-weekly-planning__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(12,148,155,0.15);
}
/* Légende lieux */
.mf-weekly-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 20px;
}
.mf-weekly-legend__item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--color-text);
    font-weight: 500;
}
.mf-weekly-legend__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
/* Grille des jours */
.mf-weekly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 12px;
    overflow-x: auto;
}
.mf-weekly-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 148px;
}
.mf-weekly-col__head {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    background: var(--color-primary);
    padding: 9px 12px;
    border-radius: 8px;
    text-align: center;
}
/* Carte créneau — peut être un <a> ou un <div> */
.mf-weekly-slot {
    display: flex;
    text-decoration: none;
    border-left: 4px solid #0c949b;
    border-radius: 0 8px 8px 0;
    padding: 10px 12px;
    flex-direction: column;
    gap: 3px;
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
}
.mf-weekly-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.09);
}
.mf-weekly-slot--complet {
    opacity: .72;
}
.mf-weekly-slot__hint {
    font-size: 10px;
    color: var(--color-soft);
    opacity: 0;
    transition: opacity .15s;
    margin-top: 2px;
    letter-spacing: .02em;
}
.mf-weekly-slot:hover .mf-weekly-slot__hint {
    opacity: 1;
}
.mf-weekly-slot__time {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1;
}
.mf-weekly-slot__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}
.mf-weekly-slot__lieu {
    font-size: 11px;
    color: var(--color-soft);
    line-height: 1.2;
}
.mf-weekly-slot__badge-complet {
    display: inline-block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #de0052;
    background: rgba(222,0,82,0.10);
    padding: 2px 8px;
    border-radius: 999px;
    align-self: flex-start;
}

/* Highlight du créneau ciblé par l'ancre */
.mf-creneau:target {
    background: rgba(12,148,155,0.07);
    border-radius: 8px;
    outline: 2px solid rgba(12,148,155,0.35);
    outline-offset: 2px;
    animation: mf-highlight-in .5s ease;
}
@keyframes mf-highlight-in {
    from { background: rgba(12,148,155,0.22); }
    to   { background: rgba(12,148,155,0.07); }
}

.mf-calendar-section {
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(12,148,155,0.13);
    border-radius: 14px;
    padding: 28px 32px;
    margin-top: 10px;
}
.mf-calendar-section h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.mf-calendar-list { display: flex; flex-direction: column; gap: 8px; }
.mf-calendar-item {
    font-size: 14px;
    color: var(--color-text);
    padding: 8px 0;
    border-bottom: 1px solid rgba(12,148,155,0.06);
}
.mf-calendar-item:last-child { border-bottom: none; }

/* ==========================================================================
   INSCRIPTIONS — Tarifs, Events, Règles
   ========================================================================== */
.mf-info-box {
    background: rgba(12,148,155,0.06);
    border-left: 4px solid var(--color-secondary);
    border-radius: 0 14px 14px 0;
    padding: 24px 28px;
    margin-bottom: 28px;
}
.mf-info-box h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mf-info-box p {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 6px;
}

.mf-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.mf-event-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(12,148,155,0.06), rgba(222,0,82,0.05));
    border: 1px solid rgba(12,148,155,0.12);
    border-radius: 16px;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(20,34,42,0.06);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.mf-event-card:hover {
    border-color: rgba(222,0,82,0.32);
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(20,34,42,0.1);
}
.mf-event-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}
.mf-event-card--warning::before {
    background: linear-gradient(90deg, #e67e22, #de0052);
}
.mf-event-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 8px;
}
.mf-event-card--warning .mf-event-card__label { color: #e67e22; }
.mf-event-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.mf-event-card p {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 6px;
}

.mf-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.mf-pricing-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(12,148,155,0.06), rgba(222,0,82,0.05));
    border: 2px solid rgba(12,148,155,0.16);
    border-radius: 16px;
    padding: 28px 28px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(20,34,42,0.06);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.mf-pricing-card:hover {
    border-color: rgba(222,0,82,0.32);
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(20,34,42,0.1);
}
.mf-pricing-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}
.mf-pricing-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 6px;
}
.mf-pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.mf-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
}
.mf-pricing-table td {
    padding: 10px 0;
    font-size: 14px;
    color: var(--color-text);
    border-bottom: 1px solid rgba(12,148,155,0.08);
}
.mf-pricing-table td:last-child {
    text-align: right;
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-secondary);
}
.mf-pricing-note {
    font-size: 13px;
    color: var(--color-soft);
    font-style: italic;
}

.mf-rules-section {
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(12,148,155,0.13);
    border-radius: 14px;
    padding: 28px 32px;
}
.mf-rules-section h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.mf-rules-section p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.mf-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.mf-contact-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(12,148,155,0.06), rgba(222,0,82,0.05));
    border: 1px solid rgba(12,148,155,0.12);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(20,34,42,0.06);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.mf-contact-card:hover {
    border-color: rgba(222,0,82,0.32);
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(20,34,42,0.1);
}
.mf-contact-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}
.mf-contact-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 8px;
}
.mf-contact-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.mf-contact-card h3 a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.mf-contact-card h3 a:hover { color: var(--color-secondary); }
.mf-contact-card p {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 12px;
}
.mf-cta-section {
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(12,148,155,0.13);
    border-radius: 14px;
    padding: 28px 32px;
}
.mf-cta-section h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.mf-cta-section p {
    font-size: 14px;
    color: var(--color-text);
}

/* ==========================================================================
   ÉQUIPE — Bureau, Animateurs, Partenaires
   ========================================================================== */
.mf-team-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(12,148,155,0.04));
    border: 1px solid rgba(12,148,155,0.16);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 40px;
}
.mf-team-section h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mf-team-section > p {
    font-size: 14px;
    color: var(--color-soft);
    margin-bottom: 20px;
}

/* Bureau: toujours 4 colonnes */
.mf-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.mf-team-card {
    background: #fff;
    border: 1px solid rgba(12,148,155,0.12);
    border-radius: 16px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(20,34,42,0.06);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.mf-team-card:hover {
    border-color: rgba(222,0,82,0.32);
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(20,34,42,0.1);
}
.mf-team-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c949b, #de0052);
}
.mf-team-card__role {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #0c949b;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(12,148,155,0.1), rgba(222,0,82,0.08));
    margin-bottom: 8px;
}
.mf-team-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mf-team-card p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
}

/* Animateurs: style pill avec gradient frosted */
.mf-team-card--animateur {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(12,148,155,0.06), rgba(222,0,82,0.05));
    border-left: none;
}
.mf-team-card--animateur::before {
    display: none;
}

.mf-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.mf-partner-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(12,148,155,0.06), rgba(222,0,82,0.05));
    border: 1px solid rgba(12,148,155,0.12);
    border-radius: 18px;
    padding: 24px;
    min-height: 120px;
    box-shadow: 0 12px 24px rgba(20,34,42,0.06);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.mf-partner-card:hover {
    border-color: rgba(222,0,82,0.32);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(20,34,42,0.1);
}
.mf-partner-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mf-partner-card h4 a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.mf-partner-card h4 a:hover { text-decoration: underline; }
.mf-partner-card p {
    font-size: 14px;
    color: var(--color-text);
}

/* ==========================================================================
   HEADER ACTIONS (Adhésion + Accès adhérent)
   ========================================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 16px;
    flex-shrink: 0;
}

.header-btn {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.header-btn--accent {
    background: var(--color-primary);
    color: #fff;
}
.header-btn--accent:hover {
    background: #b80045;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(222, 0, 82, 0.3);
}

.header-btn--outline {
    background: transparent;
    color: var(--color-secondary);
    border: 1.5px solid var(--color-secondary);
}
.header-btn--outline:hover {
    background: var(--color-secondary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 148, 155, 0.25);
}

/* Mobile nav actions (en bas du panel) */
.mf-mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.mf-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 13px 20px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: all 0.22s ease;
}

.mf-mobile-btn--accent {
    background: linear-gradient(90deg, #de0052, #b80045);
    color: #fff;
    box-shadow: 0 4px 14px rgba(222,0,82,0.25);
}
.mf-mobile-btn--accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(222,0,82,0.35);
}

.mf-mobile-btn--outline {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.2);
}
.mf-mobile-btn--outline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .header-nav a,
    .header-dropdown__toggle { padding: 10px 10px; font-size: 13px; }
    .header-logo-wrap img { height: 52px; }
    .header-logo-wrap { margin-right: 16px; }
    .header-btn { font-size: 12px; padding: 6px 12px; }
    .header-actions { margin-left: 10px; gap: 6px; }
}

@media (max-width: 768px) {
    .header-inner { display: none; }
    .header-actions { display: none; }
    .mf-burger { display: flex; }
    .site-header {
        display: flex;
        align-items: center;
        padding: 10px 16px;
    }
    .header-mobile-logo { display: block; height: 45px; width: auto; }

    .mf-hero { padding: 30px 0 20px; }
    .mf-hero__inner { padding: 24px 20px; }
    .mf-hero__title { font-size: 34px; }
    .mf-stats__grid { grid-template-columns: 1fr; gap: 16px; }
    .mf-features__grid { grid-template-columns: 1fr; gap: 16px; }
    .mf-page-hero { padding: 30px 0 16px; }
    .mf-page-hero__inner { padding: 24px 20px; }
    .mf-page-hero__title { font-size: 30px; }
    .cms-content { padding: 24px 20px; }
    .mf-cta__inner { padding: 24px 20px; }
    .mf-actus-grid { grid-template-columns: 1fr; gap: 24px; }
    .mf-single-article__title { font-size: 28px; }
    .mf-event-item { flex-direction: column; gap: 16px; }
    .mf-cta__title { font-size: 26px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .gym-footer-bottom { flex-direction: column; text-align: center; }
    .gym-footer-bottom-links { justify-content: center; }

    /* Planning responsive */
    .mf-creneau {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
    }
    .mf-jour { padding: 20px 18px; }
    /* Weekly planning responsive */
    .mf-weekly-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 8px;
    }
    .mf-weekly-col { min-width: 130px; }
    .mf-update-badge { padding: 20px 18px; }
    .mf-calendar-section { padding: 20px 18px; }

    /* Grids responsive */
    .mf-pricing-grid { grid-template-columns: 1fr; }
    .mf-contact-grid { grid-template-columns: 1fr; }
    .mf-events-grid { grid-template-columns: 1fr; }
    .mf-team-grid { grid-template-columns: repeat(2, 1fr); }
    .mf-partners-grid { grid-template-columns: 1fr; }
    .mf-rules-section { padding: 20px 18px; }
    .mf-cta-section { padding: 20px 18px; }
}

@media (min-width: 769px) {
    .header-mobile-logo { display: none; }
    .mf-burger { display: none !important; }
    .mf-mobile-nav { transform: translateX(100%) !important; pointer-events: none !important; }
    .mf-overlay { display: none !important; }
}
