/* ==========================================================================
   TeamFFF — One-page publique (refonte 2026)
   Chargée uniquement sur les pages publiques. Toutes les classes sont préfixées
   "tf-" pour ne pas interférer avec l'espace admin / adhérent.
   Charte : navy #292e3d · bleu #54bbff · ardoise #85a2b6 · fond #F6F9FB
            Titres Roboto 900 italique · chiffres & labels Bebas Neue
   ========================================================================== */

:root {
    --tf-navy: #292e3d;
    --tf-blue: #54bbff;
    --tf-slate: #85a2b6;
    --tf-bg: #f6f9fb;
    --tf-white: #ffffff;

    --tf-navy-deep: color-mix(in srgb, var(--tf-navy) 78%, #000);
    --tf-navy-soft: color-mix(in srgb, var(--tf-navy) 88%, #fff);
    --tf-blue-ink: color-mix(in srgb, var(--tf-blue) 55%, #0a2236);
    --tf-blue-tint: color-mix(in srgb, var(--tf-blue) 12%, #fff);
    --tf-ink: var(--tf-navy);
    --tf-muted: #586579;
    --tf-line: color-mix(in srgb, var(--tf-slate) 35%, transparent);
    --tf-line-dark: color-mix(in srgb, var(--tf-slate) 28%, transparent);

    --tf-display: 'Bebas Neue', 'Roboto', system-ui, sans-serif;
    --tf-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --tf-max: 1200px;
    --tf-gutter: clamp(16px, 4vw, 40px);
    --tf-radius: 24px;
    --tf-radius-lg: 32px;
    --tf-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(41, 46, 61, .18);
    --tf-ease: cubic-bezier(.2, .7, .2, 1);
    --tf-header-h: 84px;
}

/* ---------- Neutralise les règles globales de style.css sur la one-page ---------- */
.tf-onepage *,
.tf-footer,
.tf-footer * {
    transition: none;
}
.tf-onepage p,
.tf-footer p { width: auto; }

html { scroll-padding-top: var(--tf-header-h); }

body.tf-onepage {
    font-family: var(--tf-sans);
    color: var(--tf-ink);
    background: var(--tf-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.tf-public .all_page { height: auto; min-height: 100vh; }
.tf-onepage .content { background: var(--tf-bg); }

.tf-wrap {
    width: 100%;
    max-width: calc(var(--tf-max) + var(--tf-gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--tf-gutter);
}

.tf-anchor { position: absolute; top: calc(var(--tf-header-h) * -1); }

.tf-skip {
    position: fixed; left: 16px; top: -60px; z-index: 100;
    background: var(--tf-blue); color: var(--tf-navy); font-weight: 700;
    padding: 10px 16px; border-radius: 12px;
}
.tf-skip:focus { top: 16px; }

.tf-onepage :focus-visible,
.tf-footer :focus-visible {
    outline: 3px solid var(--tf-blue);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ---------- Typo ---------- */
.tf-kicker {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--tf-display);
    font-size: 1.15rem; letter-spacing: .14em;
    color: var(--tf-blue-ink);
    margin: 0 0 .6rem;
}
.tf-kicker::before {
    content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px;
}
.tf-kicker--light { color: var(--tf-blue); }
.tf-hero .tf-kicker::before { display: none; }

.tf-title {
    font-family: var(--tf-sans);
    font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: clamp(2rem, 5.2vw, 3.75rem);
    line-height: .98; letter-spacing: -.03em;
    color: var(--tf-ink);
    margin: 0;
}
.tf-title--light { color: var(--tf-white); }
.tf-accent { color: var(--tf-blue); }
.tf-title:not(.tf-title--light) .tf-accent { color: var(--tf-blue-ink); }
.tf-title:not(.tf-title--light) .tf-accent {
    background: linear-gradient(transparent 62%, color-mix(in srgb, var(--tf-blue) 35%, transparent) 62%);
    color: var(--tf-ink);
    padding-inline: .06em;
}

.tf-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--tf-ink); }
.tf-onepage .tf-section p { line-height: 1.65; }

.tf-link {
    display: inline-flex; align-items: center; gap: .5em;
    font-weight: 700; color: var(--tf-blue-ink);
    border-bottom: 2px solid color-mix(in srgb, var(--tf-blue) 45%, transparent);
    padding-bottom: 2px;
    transition: gap .25s var(--tf-ease), border-color .25s;
}
.tf-link:hover { gap: .8em; color: var(--tf-blue-ink); border-color: var(--tf-blue); }
.tf-section--dark .tf-link { color: var(--tf-blue); }

/* ---------- Boutons ---------- */
.tf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: .8em 1.4em;
    border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 1rem; line-height: 1.1; white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--tf-ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.tf-btn:hover { transform: translateY(-2px); }
.tf-btn:active { transform: translateY(0); }
.tf-btn--lg { min-height: 56px; padding: .95em 1.7em; font-size: 1.05rem; }
.tf-btn--primary { background: var(--tf-blue); color: var(--tf-navy); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--tf-blue) 80%, transparent); }
.tf-btn--primary:hover { background: color-mix(in srgb, var(--tf-blue) 85%, #fff); color: var(--tf-navy); }
.tf-btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.tf-btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.tf-btn--dark { background: var(--tf-navy); color: #fff; }
.tf-btn--dark:hover { background: var(--tf-navy-deep); color: #fff; }
.tf-btn--outline { background: transparent; color: var(--tf-navy); border-color: var(--tf-navy); }
.tf-btn--outline:hover { background: var(--tf-navy); color: #fff; }
.tf-btn--light { background: #fff; color: var(--tf-navy); }
.tf-btn--light:hover { background: var(--tf-blue); color: var(--tf-navy); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.tf-public header.tf-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: auto; width: 100%;
    background: transparent !important;
    backdrop-filter: none;
    padding: 18px 0;
    transition: padding .35s var(--tf-ease), background-color .35s, box-shadow .35s;
}
.tf-public header.tf-header.is-scrolled {
    padding: 10px 0;
    background: color-mix(in srgb, var(--tf-navy) 82%, transparent) !important;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.tf-header__bar {
    max-width: calc(var(--tf-max) + var(--tf-gutter) * 2);
    margin-inline: auto; padding-inline: var(--tf-gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.tf-header__logo img { height: 56px; width: auto; display: block; transition: height .35s var(--tf-ease); }
.tf-header.is-scrolled .tf-header__logo img { height: 44px; }

.tf-nav {
    display: flex; align-items: center; gap: 4px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--tf-line-dark);
    background: color-mix(in srgb, var(--tf-navy) 55%, transparent);
    backdrop-filter: blur(10px);
}
.tf-nav__link {
    position: relative;
    color: rgba(255, 255, 255, .82); font-size: .92rem; font-weight: 500; letter-spacing: .02em;
    padding: .55em 1.05em; border-radius: 999px;
    transition: color .2s, background-color .2s;
}
.tf-nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tf-nav__link.is-active { color: var(--tf-navy); background: var(--tf-blue); font-weight: 700; }
.tf-nav__member { display: none; }

.tf-header__actions { display: flex; align-items: center; gap: 10px; }
.tf-header__member {
    display: inline-flex; align-items: center; gap: .55em;
    height: 48px; padding: 0 1.1em;
    border-radius: 999px; border: 1px solid var(--tf-line-dark);
    background: var(--tf-navy); color: #fff; font-weight: 500; font-size: .92rem;
    transition: background-color .2s, border-color .2s, color .2s;
}
.tf-header__member i { color: var(--tf-blue); }
.tf-header__member:hover { border-color: var(--tf-blue); color: #fff; }

.tf-burger {
    display: none;
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--tf-line-dark); background: var(--tf-navy);
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    cursor: pointer; position: relative; z-index: 60;
}
.tf-burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--tf-ease), opacity .2s; }
.tf-menu-open .tf-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tf-menu-open .tf-burger span:nth-child(2) { opacity: 0; }
.tf-menu-open .tf-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tf-progress {
    position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background: var(--tf-blue); transform-origin: left; transform: scaleX(0);
    opacity: 0; transition: opacity .3s;
}
.tf-header.is-scrolled .tf-progress { opacity: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
.tf-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100svh;
    display: flex; align-items: center;
    /* marges haut/bas identiques : le contenu est centré dans l'écran, sous le header */
    padding: calc(var(--tf-header-h) + 24px) 0;
    background: var(--tf-navy-deep); color: #fff;
}
.tf-hero__bg, .tf-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.tf-hero__bg img { object-fit: cover; object-position: center 60%; transform: scale(1.06); animation: tf-zoom 18s ease-out forwards; }
.tf-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--tf-navy-deep) 70%, transparent) 0%, color-mix(in srgb, var(--tf-navy-deep) 20%, transparent) 40%, var(--tf-navy-deep) 100%),
        linear-gradient(90deg, color-mix(in srgb, var(--tf-navy-deep) 75%, transparent) 0%, transparent 70%);
}
.tf-hero__glow {
    position: absolute; z-index: -1; width: 60vmax; height: 60vmax; right: -20vmax; top: -25vmax;
    background: radial-gradient(circle, color-mix(in srgb, var(--tf-blue) 38%, transparent) 0%, transparent 60%);
    filter: blur(20px); opacity: .7;
    animation: tf-float 12s ease-in-out infinite alternate;
}
.tf-hero__inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px;
}
.tf-hero__content { min-width: 0; }
.tf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tf-blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tf-blue) 30%, transparent); }
.tf-hero__title {
    margin: .2em 0 .35em;
    font-family: var(--tf-sans); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: clamp(3rem, 7vw, 7.5rem); line-height: .88; letter-spacing: -.045em;
    white-space: nowrap;
    color: #fff;
}
.tf-hero__title span { display: block; }
.tf-hero__accent {
    color: transparent;
    background: linear-gradient(100deg, var(--tf-blue) 0%, color-mix(in srgb, var(--tf-blue) 60%, #fff) 50%, var(--tf-blue) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    animation: tf-shine 6s linear infinite;
    padding-right: .08em;
}
.tf-hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .82); margin: 0 0 2rem; }
.tf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tf-hero__chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tf-hero__chips li { display: inline-flex; align-items: center; gap: .55em; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.tf-hero__chips i { color: var(--tf-blue); }

/* Carte "Prochaine séance" */
.tf-next {
    width: 300px;
    padding: 22px 24px;
    border-radius: var(--tf-radius);
    background: color-mix(in srgb, var(--tf-navy) 78%, transparent);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.tf-next p { margin: 0; }
.tf-next__label { display: flex; align-items: center; gap: .6em; font-family: var(--tf-display); letter-spacing: .12em; font-size: 1.05rem; color: var(--tf-blue); }
.tf-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--tf-blue); position: relative; }
.tf-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: tf-ping 1.8s ease-out infinite; }
.tf-next.is-live .tf-pulse { background: #3ddc84; }
.tf-next.is-live .tf-next__label { color: #3ddc84; }
.tf-next__day { font-size: 1.55rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; margin-top: .35rem !important; line-height: 1.1; }
.tf-next__time { color: rgba(255, 255, 255, .75); font-weight: 500; }
.tf-next__countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 14px; }
.tf-next__countdown[hidden] { display: none; }
.tf-next__countdown div { text-align: center; padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.tf-next__countdown strong { display: block; font-family: var(--tf-display); font-size: 2rem; line-height: 1; color: #fff; font-weight: 400; }
.tf-next__countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.tf-next__place { display: flex; align-items: center; gap: .5em; font-size: .88rem; color: rgba(255, 255, 255, .7); padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .18); margin-top: 12px !important; }
.tf-next__place i { color: var(--tf-blue); }

.tf-hero__scroll {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    width: 28px; height: 46px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .5);
    display: flex; justify-content: center; padding-top: 8px;
}
.tf-hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: #fff; animation: tf-wheel 1.6s ease-in-out infinite; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.tf-marquee {
    overflow: hidden; background: var(--tf-blue); color: var(--tf-navy);
    padding: 14px 0; position: relative; z-index: 2;
    transform: rotate(-1.2deg) scale(1.02); margin-top: -18px;
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5);
}
.tf-marquee__track { display: flex; width: max-content; animation: tf-marquee 96s linear infinite; will-change: transform; }
/* l'espacement final du groupe (padding) = le gap, pour que -50 % tombe pile sur le début du 2e groupe */
.tf-marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex: none; }
.tf-marquee span { font-family: var(--tf-display); font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .06em; line-height: 1; }
.tf-marquee i { font-size: 1.1rem; opacity: .7; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.tf-page { position: relative; }
.tf-section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.tf-section--dark { background: var(--tf-navy); color: rgba(255, 255, 255, .8); }
.tf-section--tint { background: #fff; }
.tf-section--dark::before {
    /* motif pointillé de la charte */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(color-mix(in srgb, var(--tf-slate) 30%, transparent) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.tf-section > .tf-wrap { position: relative; }

.tf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.tf-head__aside { max-width: 380px; margin: 0; color: var(--tf-muted); }
.tf-section--dark .tf-head__aside { color: rgba(255, 255, 255, .7); }

/* ---------- Stats ---------- */
.tf-stats {
    list-style: none; padding: 0; margin: 0 0 clamp(56px, 8vw, 96px);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.tf-stats li {
    background: #fff; border-radius: var(--tf-radius); padding: 26px 24px;
    box-shadow: var(--tf-shadow); border: 1px solid var(--tf-line);
    display: flex; flex-direction: column; gap: 6px;
}
.tf-stats strong { font-family: var(--tf-display); font-weight: 400; font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: .95; color: var(--tf-navy); }
.tf-stats small { font-size: .45em; margin-left: .15em; color: var(--tf-blue-ink); }
.tf-stats li > span { color: var(--tf-muted); font-weight: 500; }

/* ---------- Asso ---------- */
.tf-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.tf-split__text .tf-title { margin-bottom: 1.5rem; }
.tf-split__text p { color: var(--tf-muted); margin-bottom: 1.1rem; }
.tf-split__text .tf-lead { color: var(--tf-ink); }
.tf-split__text strong { color: var(--tf-ink); }

.tf-values { display: grid; gap: 14px; }
.tf-value {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 22px 24px; border-radius: var(--tf-radius);
    background: #fff; border: 1px solid var(--tf-line);
    transition: transform .3s var(--tf-ease), box-shadow .3s, border-color .3s;
}
.tf-value:hover { transform: translateX(6px); box-shadow: var(--tf-shadow); border-color: color-mix(in srgb, var(--tf-blue) 50%, transparent); }
.tf-value h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .3rem; color: var(--tf-ink); }
.tf-value p { margin: 0; color: var(--tf-muted); font-size: .97rem; }
.tf-value__icon {
    flex: none; width: 52px; height: 52px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.3rem;
    background: var(--tf-blue-tint); color: var(--tf-blue-ink);
}

/* ---------- Cartes séances ---------- */
.tf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tf-card {
    position: relative; overflow: hidden;
    padding: 28px; border-radius: var(--tf-radius);
    background: color-mix(in srgb, #fff 4%, transparent);
    border: 1px solid var(--tf-line-dark);
    display: flex; flex-direction: column; gap: 12px;
    transition: transform .35s var(--tf-ease), border-color .35s, background-color .35s;
}
.tf-card::after {
    content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--tf-blue) 40%, transparent), transparent 65%);
    opacity: 0; transition: opacity .4s;
}
.tf-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tf-blue) 70%, transparent); background: color-mix(in srgb, #fff 7%, transparent); }
.tf-card:hover::after { opacity: 1; }
.tf-card__num { position: absolute; top: 18px; right: 24px; font-family: var(--tf-display); font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--tf-slate) 55%, transparent); }
.tf-card__icon {
    width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.6rem; color: var(--tf-navy); background: var(--tf-blue);
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--tf-blue) 90%, transparent);
    transition: transform .35s var(--tf-ease);
}
.tf-card:hover .tf-card__icon { transform: rotate(-8deg) scale(1.06); }
.tf-card__title { font-family: var(--tf-display); font-weight: 400; font-size: 2.6rem; letter-spacing: .03em; line-height: 1; color: #fff; margin: 10px 0 0; }
.tf-card__desc { margin: 0; color: rgba(255, 255, 255, .72); font-size: .98rem; flex: 1; }
.tf-card__level { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--tf-line-dark); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.tf-meter { display: inline-flex; gap: 4px; }
.tf-meter i { width: 18px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.tf-meter i.on { background: var(--tf-blue); }

/* ---------- Planning ---------- */
.tf-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.tf-week__day {
    min-height: 168px; padding: 16px 14px; border-radius: 20px;
    display: flex; flex-direction: column; gap: 10px;
    border: 2px dashed var(--tf-line);
    color: var(--tf-muted);
}
.tf-week__label { font-family: var(--tf-display); font-size: 1.4rem; letter-spacing: .06em; color: var(--tf-ink); opacity: .55; }
.tf-week__rest { margin-top: auto; font-size: .85rem; }
.tf-week__day.is-on {
    border: 0; background: var(--tf-navy); color: #fff;
    box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--tf-navy) 80%, transparent);
    position: relative; overflow: hidden;
}
.tf-week__day.is-on .tf-week__label { color: var(--tf-blue); opacity: 1; }
.tf-week__slot { display: flex; flex-direction: column; margin-top: auto; }
.tf-week__slot strong { font-family: var(--tf-display); font-weight: 400; font-size: 2.4rem; line-height: .95; }
.tf-week__slot small { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.tf-week__slot small::before { content: "→ "; }
.tf-week__tag { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .35em .7em; border-radius: 999px; background: color-mix(in srgb, var(--tf-blue) 22%, transparent); color: var(--tf-blue); }
.tf-week__day.is-next { outline: 3px solid var(--tf-blue); outline-offset: 3px; }
.tf-week__day.is-next::after {
    content: "Prochaine"; position: absolute; top: 14px; right: -30px; transform: rotate(35deg);
    background: var(--tf-blue); color: var(--tf-navy); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 32px;
}
.tf-note { display: flex; gap: .6em; align-items: baseline; margin: 18px 0 0; color: var(--tf-muted); font-size: .92rem; }
.tf-note i { color: var(--tf-blue-ink); }

/* ---------- Rejoindre ---------- */
.tf-join { margin-top: clamp(72px, 10vw, 120px); }
.tf-join__intro { margin-bottom: clamp(32px, 5vw, 48px); }
.tf-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; position: relative; }
.tf-step {
    position: relative; padding: 30px 28px; border-radius: var(--tf-radius);
    background: #fff; border: 1px solid var(--tf-line); box-shadow: var(--tf-shadow);
    display: flex; flex-direction: column; gap: 10px;
}
.tf-step h3 { font-size: 1.3rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; margin: 6px 0 0; color: var(--tf-ink); }
.tf-step p { margin: 0 0 6px; color: var(--tf-muted); flex: 1; }
.tf-step strong { color: var(--tf-ink); }
.tf-step .tf-link { align-self: flex-start; }
.tf-step__num {
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--tf-display); font-size: 1.9rem; line-height: 1;
    color: var(--tf-navy); background: var(--tf-blue);
}
.tf-step:not(:last-child)::after {
    content: ""; position: absolute; top: 58px; right: -19px; width: 20px; border-top: 2px dashed var(--tf-slate); z-index: 1;
}

.tf-sponsor {
    margin-top: 18px; display: flex; gap: 22px; align-items: center;
    padding: 26px 30px; border-radius: var(--tf-radius);
    background: linear-gradient(120deg, var(--tf-navy) 0%, color-mix(in srgb, var(--tf-navy) 55%, var(--tf-blue)) 100%);
    color: #fff;
}
.tf-sponsor h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .3rem; color: #fff; }
.tf-sponsor p { margin: 0; color: rgba(255, 255, 255, .8); }
.tf-sponsor__icon { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255, 255, 255, .12); color: var(--tf-blue); }

/* ---------- Actus ---------- */
.tf-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tf-event { display: flex; gap: 20px; padding: 24px; border-radius: var(--tf-radius); background: var(--tf-bg); border: 1px solid var(--tf-line); }
.tf-event__date { flex: none; width: 74px; height: 80px; border-radius: 18px; background: var(--tf-navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tf-event__date strong { font-family: var(--tf-display); font-weight: 400; font-size: 2.3rem; line-height: .9; color: var(--tf-blue); }
.tf-event__date span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.tf-event h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .25rem; color: var(--tf-ink); }
.tf-event p { margin: 0; color: var(--tf-muted); font-size: .95rem; }
.tf-event__hour { margin-bottom: .5rem !important; font-weight: 500; color: var(--tf-blue-ink) !important; }

/* ---------- Coachs ---------- */
.tf-coachs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tf-coach {
    border-radius: var(--tf-radius-lg); overflow: hidden;
    background: color-mix(in srgb, #fff 4%, transparent);
    border: 1px solid var(--tf-line-dark);
    display: flex; flex-direction: column;
}
.tf-coach__media {
    position: relative; height: 420px; overflow: hidden;
    display: flex; align-items: flex-end; justify-content: center;
    background:
        radial-gradient(circle at 50% 75%, color-mix(in srgb, var(--tf-blue) 55%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, color-mix(in srgb, var(--tf-navy) 60%, #000) 0%, var(--tf-navy-soft) 100%);
}
.tf-coach__name {
    position: absolute; top: 18px; left: 0; right: 0; text-align: center;
    font-family: var(--tf-display); font-size: clamp(5rem, 11vw, 9rem); line-height: .9; letter-spacing: .02em;
    color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--tf-blue) 70%, transparent);
    user-select: none;
}
.tf-coach__media picture { position: relative; height: 92%; display: flex; align-items: flex-end; }
.tf-coach__media img {
    height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45));
    transition: transform .6s var(--tf-ease);
    transform-origin: bottom center;
}
.tf-coach:hover .tf-coach__media img { transform: scale(1.04); }
.tf-coach__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 14px; }
.tf-coach__body h3 { font-family: var(--tf-display); font-weight: 400; font-size: 3rem; line-height: .9; letter-spacing: .03em; color: #fff; margin: 0; }
.tf-coach__role { display: inline-flex; align-items: center; gap: .5em; margin: 0; font-weight: 700; color: var(--tf-blue); font-size: .95rem; }
.tf-coach__quote { margin: 4px 0; padding-left: 16px; border-left: 3px solid var(--tf-blue); font-size: 1.08rem; font-style: italic; color: #fff; line-height: 1.5; }
.tf-coach__tags p { margin: 0 0 .5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }
.tf-coach__tags ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tf-coach__tags li { padding: .4em .9em; border-radius: 999px; font-size: .9rem; font-weight: 500; background: var(--tf-blue); color: var(--tf-navy); }
.tf-coach__tags ul.is-outline li { background: transparent; color: #fff; border: 1px solid var(--tf-line-dark); }

/* ---------- Lieu ---------- */
.tf-place { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch; }
.tf-place__photo { position: relative; margin: 0; border-radius: var(--tf-radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--tf-shadow); }
.tf-place__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tf-ease); }
.tf-place__photo:hover img { transform: scale(1.03); }
.tf-place__photo figcaption { position: absolute; left: 18px; bottom: 18px; }
.tf-place__photo figcaption span { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.1em; border-radius: 999px; background: var(--tf-navy); color: #fff; font-weight: 500; font-size: .95rem; }
.tf-place__photo figcaption i { color: var(--tf-blue); }
.tf-place__side { display: flex; flex-direction: column; gap: 14px; }
.tf-map { position: relative; flex: 1; min-height: 220px; border-radius: var(--tf-radius); overflow: hidden; background: var(--tf-navy); }
.tf-map::before {
    content: ""; position: absolute; inset: 0; opacity: .35;
    background-image:
        linear-gradient(var(--tf-line-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--tf-line-dark) 1px, transparent 1px);
    background-size: 28px 28px;
}
.tf-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tf-map__load {
    position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: #fff; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.tf-map__load i { font-size: 2.2rem; color: var(--tf-blue); margin-bottom: 4px; transition: transform .3s var(--tf-ease); }
.tf-map__load span { font-weight: 700; font-size: 1.05rem; }
.tf-map__load small { color: rgba(255, 255, 255, .6); }
.tf-map__load:hover i { transform: translateY(-4px); }
.tf-place__infos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tf-place__infos li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--tf-line); }
.tf-place__infos i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tf-blue-tint); color: var(--tf-blue-ink); }
.tf-place__infos div { display: flex; flex-direction: column; }
.tf-place__infos strong { color: var(--tf-ink); }
.tf-place__infos span { color: var(--tf-muted); font-size: .92rem; }
.tf-place__side .tf-btn { width: 100%; }

/* ---------- Avis ---------- */
.tf-reviews { border-radius: var(--tf-radius-lg); background: var(--tf-bg); padding: clamp(12px, 3vw, 28px); position: relative; min-height: 160px; }

/* ---------- FAQ ---------- */
.tf-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.tf-faq__intro { position: sticky; top: calc(var(--tf-header-h) + 24px); }
.tf-faq__intro .tf-title { margin-bottom: 1rem; }
.tf-faq__intro > p { color: var(--tf-muted); }
.tf-faq__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.tf-accordion { display: grid; gap: 10px; }
.tf-qa { border-radius: 20px; background: #fff; border: 1px solid var(--tf-line); transition: border-color .25s, box-shadow .25s; }
.tf-qa[open] { border-color: color-mix(in srgb, var(--tf-blue) 60%, transparent); box-shadow: var(--tf-shadow); }
.tf-qa summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 22px; font-weight: 700; font-size: 1.05rem; color: var(--tf-ink);
}
.tf-qa summary::-webkit-details-marker { display: none; }
.tf-qa summary i {
    flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--tf-blue-tint); color: var(--tf-blue-ink); font-size: .85rem;
    transition: transform .3s var(--tf-ease), background-color .3s, color .3s;
}
.tf-qa[open] summary i { transform: rotate(45deg); background: var(--tf-blue); color: var(--tf-navy); }
.tf-qa__a { padding: 0 22px 22px; }
.tf-qa__a p { margin: 0; color: var(--tf-muted); }

/* ---------- CTA final ---------- */
.tf-cta {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--tf-navy-deep); color: #fff; text-align: center;
    padding: clamp(80px, 12vw, 150px) 0;
}
.tf-cta::before {
    content: ""; position: absolute; inset: -30%; z-index: -1;
    background:
        radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--tf-blue) 40%, transparent), transparent 40%),
        radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--tf-blue) 28%, transparent), transparent 45%);
    animation: tf-float 14s ease-in-out infinite alternate;
}
.tf-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.tf-cta__title {
    margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: clamp(2.4rem, 7vw, 6rem); line-height: .9; letter-spacing: -.04em; color: #fff;
}
.tf-cta__title span { display: block; color: var(--tf-blue); }
.tf-cta p { margin: 0 0 .8rem; color: rgba(255, 255, 255, .78); font-size: 1.1rem; }
.tf-cta .tf-hero__actions { justify-content: center; }

/* ---------- Barre mobile ---------- */
.tf-mobilebar { display: none; }

/* ==========================================================================
   FOOTER (toutes les pages publiques)
   ========================================================================== */
.tf-footer { background: var(--tf-navy); color: rgba(255, 255, 255, .72); font-family: var(--tf-sans); padding: clamp(56px, 8vw, 88px) 0 28px; }
.tf-footer a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.tf-footer a:hover { color: var(--tf-blue); }
.tf-footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px dashed var(--tf-line-dark); }
.tf-footer__brand img { height: 64px; width: auto; }
.tf-footer__brand p { margin: 16px 0 20px; max-width: 300px; }
.tf-footer__socials { display: flex; gap: 10px; }
.tf-footer__socials a {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--tf-line-dark); color: #fff;
    transition: background-color .2s, color .2s, border-color .2s;
}
.tf-footer__socials a:hover { background: var(--tf-blue); border-color: var(--tf-blue); color: var(--tf-navy); }
.tf-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tf-footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.tf-footer__title { font-family: var(--tf-display); font-size: 1.2rem; letter-spacing: .12em; color: var(--tf-slate); margin: 0 0 4px; }
.tf-footer__mail { padding: 40px 0; border-bottom: 1px dashed var(--tf-line-dark); }
.tf-footer__mail p { margin: 0 0 6px; color: rgba(255, 255, 255, .7); }
.tf-footer__mail a { font-weight: 900; font-style: italic; letter-spacing: -.03em; font-size: clamp(1.5rem, 5.5vw, 4rem); line-height: 1.05; color: #fff; word-break: break-word; }
.tf-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .9rem; }
.tf-footer__bottom p { margin: 0; color: rgba(255, 255, 255, .55); }
.tf-totop {
    width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--tf-line-dark);
    background: var(--tf-navy-deep); color: #fff; cursor: pointer;
    /* script.js force display:flex au scroll : on centre en flex pour rester aligné */
    display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1;
    transition: background-color .2s, color .2s, transform .25s var(--tf-ease);
}
.tf-totop:hover { background: var(--tf-blue); color: var(--tf-navy); transform: translateY(-3px); }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.tf-js [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .8s var(--tf-ease), transform .8s var(--tf-ease);
    transition-delay: var(--d, 0s);
}
.tf-js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes tf-zoom { to { transform: scale(1); } }
@keyframes tf-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-4%, 6%, 0); } }
@keyframes tf-shine { to { background-position: -200% 0; } }
@keyframes tf-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes tf-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes tf-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .tf-onepage *, .tf-onepage *::before, .tf-onepage *::after { animation: none !important; transition: none !important; }
    .tf-js [data-reveal] { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
    .tf-nav__link { padding: .55em .8em; }
    .tf-week__slot strong { font-size: 2rem; }
}

@media (max-width: 991px) {
    :root { --tf-header-h: 72px; }
    .tf-burger { display: inline-flex; }
    .tf-header__member span { display: none; }
    .tf-header__member { width: 48px; padding: 0; justify-content: center; }
    .tf-header__logo img { height: 46px; }

    .tf-nav {
        position: fixed; inset: 0; z-index: 55;
        flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
        padding: 96px var(--tf-gutter) 40px;
        border: 0; border-radius: 0;
        background: var(--tf-navy-deep);
        backdrop-filter: none;
        opacity: 0; visibility: hidden;
        transition: opacity .35s var(--tf-ease), visibility 0s linear .35s;
    }
    .tf-menu-open .tf-nav { opacity: 1; visibility: visible; transition: opacity .35s var(--tf-ease); }
    .tf-menu-open { overflow: hidden; }
    .tf-nav__link {
        font-family: var(--tf-display); font-size: clamp(2.6rem, 11vw, 4rem); letter-spacing: .03em; line-height: 1.05;
        padding: .05em 0; background: none !important; color: #fff; font-weight: 400;
        transform: translateY(16px); opacity: 0;
        transition: transform .5s var(--tf-ease), opacity .5s, color .2s;
    }
    .tf-nav__link.is-active { color: var(--tf-blue); font-weight: 400; }
    .tf-menu-open .tf-nav__link { transform: none; opacity: 1; }
    .tf-menu-open .tf-nav__link:nth-child(2) { transition-delay: .04s; }
    .tf-menu-open .tf-nav__link:nth-child(3) { transition-delay: .08s; }
    .tf-menu-open .tf-nav__link:nth-child(4) { transition-delay: .12s; }
    .tf-menu-open .tf-nav__link:nth-child(5) { transition-delay: .16s; }
    .tf-menu-open .tf-nav__link:nth-child(6) { transition-delay: .2s; }
    .tf-nav__member {
        display: inline-flex; align-items: center; gap: .6em; margin-top: 28px;
        padding: .9em 1.4em; border-radius: 999px; background: var(--tf-blue); color: var(--tf-navy); font-weight: 700;
    }
    .tf-menu-open header.tf-header { background: transparent !important; box-shadow: none; backdrop-filter: none; }
    .tf-menu-open .tf-header__logo { position: relative; z-index: 60; }
    .tf-menu-open .tf-header__member { visibility: hidden; }

    .tf-hero__inner { grid-template-columns: 1fr; gap: 36px; }
    .tf-next { width: 100%; max-width: 420px; }

    .tf-stats { grid-template-columns: repeat(2, 1fr); }
    .tf-split, .tf-faq, .tf-place { grid-template-columns: 1fr; }
    .tf-faq__intro { position: static; }
    .tf-cards { grid-template-columns: repeat(2, 1fr); }
    .tf-steps { grid-template-columns: 1fr; }
    .tf-step:not(:last-child)::after { top: auto; bottom: -19px; left: 55px; right: auto; width: 0; height: 20px; border-top: 0; border-left: 2px dashed var(--tf-slate); }
    .tf-coachs { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
    .tf-place__photo { min-height: 320px; }
    .tf-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .tf-hero { padding-bottom: 72px; }
    .tf-hero__title { font-size: clamp(2.6rem, 13.5vw, 4.5rem); white-space: normal; }
    .tf-hero .tf-kicker { font-size: .95rem; letter-spacing: .1em; }
    .tf-hero__actions .tf-btn { flex: 1 1 100%; }
    .tf-hero__chips { gap: 8px 16px; margin-top: 1.5rem; }
    .tf-hero__chips li { font-size: .88rem; }
    .tf-hero__scroll { display: none; }

    /* Séances : carrousel horizontal avec snap */
    .tf-cards {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
        margin-inline: calc(var(--tf-gutter) * -1); padding: 4px var(--tf-gutter) 18px;
        scrollbar-width: none;
    }
    .tf-cards::-webkit-scrollbar { display: none; }
    .tf-card { flex: 0 0 82%; scroll-snap-align: center; }
    .tf-card:hover { transform: none; }

    /* Planning : semaine compacte */
    .tf-week { gap: 6px; }
    .tf-week__day { min-height: 116px; padding: 12px 6px; align-items: center; text-align: center; border-radius: 14px; gap: 6px; }
    .tf-week__label { font-size: 1.1rem; }
    .tf-week__slot strong { font-size: 1.15rem; }
    .tf-week__slot small, .tf-week__tag { display: none; }
    .tf-week__rest { font-size: .7rem; }
    .tf-week__day.is-next::after { display: none; }

    .tf-head { margin-bottom: 28px; }
    .tf-stats li { padding: 20px 18px; }
    .tf-sponsor { flex-direction: column; align-items: flex-start; padding: 24px; }
    .tf-coach__media { height: 360px; }
    .tf-coach__body { padding: 24px; }
    .tf-coach__body h3 { font-size: 2.5rem; }
    .tf-event { flex-direction: column; }
    .tf-cta .tf-btn { flex: 1 1 100%; }

    .tf-footer__cols { grid-template-columns: 1fr 1fr; }
    .tf-footer { padding-bottom: 96px; }

    .tf-mobilebar {
        display: flex; gap: 8px;
        position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
        padding: 8px; border-radius: 999px;
        background: color-mix(in srgb, var(--tf-navy) 88%, transparent);
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
        transform: translateY(140%);
        transition: transform .4s var(--tf-ease);
    }
    .tf-mobilebar.is-visible { transform: none; }
    .tf-mobilebar .tf-btn { flex: 1; min-height: 46px; padding: .6em .8em; font-size: .92rem; }
    .tf-mobilebar .tf-btn--dark { background: rgba(255, 255, 255, .08); }
}

@media (max-width: 420px) {
    .tf-stats { gap: 10px; }
    .tf-stats strong { font-size: 2.3rem; }
    .tf-stats li > span { font-size: .88rem; }
    .tf-footer__cols { grid-template-columns: 1fr; }
}
