/* =========================================================
   ESTIVAL LEAGUE
   LA LIGUE ESTIVALE DE NATATION
========================================================= */


/* ================= VARIABLES ================= */

:root {
    --blue: #0b0826;
    --white: #FFFFFF;
    --black: #111111;
    --grey: #F4F4F6;
    --grey-dark: #686868;
    --gold: #D4B46A;
}

.home-page {
    --blue: #0b0826;
}

.home-page .site-header::before,
.home-page .hero,
.home-page .footer-partner-bar {
    background: #0b0826;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--white);
}

body.home-intro-active {
    overflow: hidden;
}


/* ================= ACCUEIL · INTRODUCTION ================= */

.home-intro {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    color: #ffffff;
    background: #0b0826;
    opacity: 1;
    transition: opacity .72s cubic-bezier(.4, 0, .2, 1), visibility .72s;
}

.home-intro::before,
.home-intro::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.home-intro::before {
    inset: 0;
    opacity: .16;
    background:
        linear-gradient(120deg, transparent 12%, rgba(104, 126, 255, .16) 47%, transparent 70%),
        repeating-linear-gradient(90deg, transparent 0 84px, rgba(255, 255, 255, .025) 85px);
}

.home-intro::after {
    right: 5vw;
    bottom: 7vh;
    left: 5vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
    transform: scaleX(0);
    transform-origin: center;
}

.home-intro.is-playing::after {
    animation: home-intro-line 5.3s .25s cubic-bezier(.2, .7, .2, 1) both;
}

.home-intro.is-leaving {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.home-intro-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(760px, 92vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(50, 70, 180, .22), transparent 67%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.75);
    pointer-events: none;
}

.home-intro.is-playing .home-intro-glow {
    animation: home-intro-glow 5.3s .2s ease-in-out both;
}

.home-intro-stage {
    position: relative;
    width: min(900px, 92vw);
    height: min(600px, 70vh);
    display: grid;
    place-items: center;
}

.home-intro-mark,
.home-intro-word {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.94);
    filter: blur(30px);
    will-change: opacity, filter, transform;
}

.home-intro-mark {
    display: block;
    height: auto;
    object-fit: contain;
    user-select: none;
}

.home-intro-mark--dso {
    width: min(560px, 78vw);
}

.home-intro-mark--world {
    width: min(460px, 66vw);
}

.home-intro-mark--estival {
    width: min(680px, 84vw);
}

.home-intro-word {
    color: rgba(255, 255, 255, .82);
    font-size: clamp(13px, 1.2vw, 18px);
    font-weight: 900;
    letter-spacing: .62em;
    line-height: 1;
    text-indent: .62em;
}

.home-intro.is-playing .home-intro-mark--dso {
    animation: home-intro-sfumato 1.3s .12s cubic-bezier(.2, .7, .2, 1) both;
}

.home-intro.is-playing .home-intro-word--and {
    animation: home-intro-word 650ms 1.4s ease-in-out both;
}

.home-intro.is-playing .home-intro-mark--world {
    animation: home-intro-sfumato 1.35s 2s cubic-bezier(.2, .7, .2, 1) both;
}

.home-intro.is-playing .home-intro-word--presents {
    animation: home-intro-word 720ms 3.3s ease-in-out both;
}

.home-intro.is-playing .home-intro-mark--estival {
    animation: home-intro-final 1.55s 3.95s cubic-bezier(.2, .7, .2, 1) both;
}

.home-intro-skip {
    position: absolute;
    right: clamp(18px, 3vw, 48px);
    bottom: clamp(20px, 4vh, 44px);
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    color: rgba(255, 255, 255, .48);
    background: transparent;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    opacity: 0;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

.home-intro.is-playing .home-intro-skip {
    animation: home-intro-skip-in .5s .7s ease forwards;
}

.home-intro-skip:hover,
.home-intro-skip:focus-visible {
    color: #ffffff;
    border-color: #ffffff;
    outline: none;
}

@keyframes home-intro-sfumato {
    0% {
        opacity: 0;
        filter: blur(32px);
        transform: translate(-50%, -50%) scale(.94);
    }
    24% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1);
    }
    68% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        filter: blur(38px);
        transform: translate(-50%, -50%) scale(1.045);
    }
}

@keyframes home-intro-word {
    0%, 100% {
        opacity: 0;
        filter: blur(15px);
        transform: translate(-50%, -50%) scale(.92);
    }
    34%, 66% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes home-intro-final {
    0% {
        opacity: 0;
        filter: blur(34px);
        transform: translate(-50%, -50%) scale(.92);
    }
    28% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes home-intro-line {
    0% { opacity: 0; transform: scaleX(0); }
    12%, 82% { opacity: 1; }
    90% { transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1); }
}

@keyframes home-intro-glow {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.75); }
    35%, 78% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes home-intro-skip-in {
    to { opacity: 1; }
}

@media (max-width: 600px) {
    .home-intro-stage {
        width: 94vw;
        height: 58vh;
    }

    .home-intro-mark--dso {
        width: min(480px, 88vw);
    }

    .home-intro-mark--world {
        width: min(390px, 76vw);
    }

    .home-intro-mark--estival {
        width: min(560px, 90vw);
    }

    .home-intro-skip {
        right: 50%;
        bottom: 24px;
        transform: translateX(50%);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-intro,
    .home-intro.is-leaving {
        transition-duration: .2s;
    }

    .home-intro::before,
    .home-intro::after,
    .home-intro-glow,
    .home-intro-mark--dso,
    .home-intro-mark--world,
    .home-intro-word {
        display: none;
        animation: none !important;
    }

    .home-intro.is-playing .home-intro-mark--estival {
        opacity: 1;
        filter: none;
        transform: translate(-50%, -50%);
        animation: none;
    }

    .home-intro.is-playing .home-intro-skip {
        opacity: 1;
        animation: none;
    }
}

a {
    text-decoration: none;
    color: inherit;
}


/* ================= HEADER ================= */

.site-header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid #eeeeee;
}

.site-header::before {
    content: "";

    display: block;

    width: 100%;

    height: 50px;

    background: #0b0826;
}

.site-header.is-video-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 28px rgba(17, 17, 17, .12);
}

.site-header.is-video-sticky::before {
    display: none;
}

.site-header.is-video-sticky .header-container {
    min-height: 86px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-header.is-video-sticky .brand img {
    width: 160px;
    height: 80px;
    object-position: center 45%;
}

.site-header .header-container,
.site-header .brand img {
    transition: min-height .22s ease, padding .22s ease, width .22s ease, height .22s ease;
}

.site-header .header-container {
    width: min(1500px, 94%);
    min-height: 124px;
    margin: auto;

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);

    align-items: center;

    gap: clamp(28px, 4vw, 80px);
}

/* LOGO HEADER */

.brand {
    display: flex;
    align-items: center;

    justify-self: center;
}

.site-header .brand img {
    width: 260px;
    height: 118px;

    display: block;

    object-fit: cover;
    object-position: center 45%;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;

    width: 100%;

    gap: clamp(16px, 1.7vw, 30px);

    min-width: 0;
}

.main-nav-left {
    justify-content: flex-end;
}

.main-nav-right {
    justify-content: flex-start;
}

.main-nav a {
    position: relative;

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.8px;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 3px;

    background: var(--blue);

    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue);
}

.main-nav a:hover::after {
    width: 100%;
}

.global-search-trigger {
    display: inline-grid;
    width: 40px;
    height: 40px;
    margin-left: 2px;
    padding: 0;
    place-items: center;
    flex: 0 0 40px;
    border: 0;
    border-radius: 50%;
    color: #5f646e;
    background: transparent;
    font: inherit;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.global-search-trigger:hover,
.global-search-trigger:focus-visible {
    color: var(--blue);
    background: #f0f1f6;
    outline: none;
    transform: translateY(-2px);
}

.global-search-trigger svg,
.global-search-field-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-live-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 92px;
    min-height: 36px;
    margin-left: 2px;
    padding: 9px 13px;
    border: 1px solid transparent;
    color: #ffffff;
    background: #303b91;
    cursor: pointer;
    text-decoration: none;
    transition: background .25s ease, box-shadow .25s ease, transform .2s ease, opacity .2s ease;
}

.main-nav .header-live-trigger::after {
    display: none;
}

.header-live-trigger > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
}

.header-live-trigger > strong {
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .09em;
    white-space: nowrap;
}

.header-live-trigger[data-state="live"] {
    background: #ff3f57;
    box-shadow: 0 0 0 0 rgba(255, 63, 87, .48);
    animation: header-live-pulse 2s infinite;
}

.header-live-trigger[data-state="finished"] {
    background: #303b91;
}

.header-live-trigger[data-state="waiting"] {
    background: #303b91;
    opacity: .72;
}

.header-live-trigger:hover,
.header-live-trigger:focus-visible {
    color: #ffffff;
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    transform: translateY(-2px);
}

.header-live-trigger[aria-disabled="true"] {
    cursor: default;
}

.header-live-trigger[aria-disabled="true"]:hover {
    outline: none;
    transform: none;
}

@keyframes header-live-pulse {
    70% { box-shadow: 0 0 0 8px rgba(255, 63, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 63, 87, 0); }
}

@media (min-width: 901px) and (max-width: 1250px) {
    .header-live-trigger {
        min-width: 72px;
        padding-inline: 8px;
    }

    .header-live-trigger > strong {
        font-size: 8px;
        letter-spacing: .04em;
    }
}

body.global-search-open {
    overflow: hidden;
}

.global-search[hidden] {
    display: none !important;
}

.global-search {
    position: fixed;
    z-index: 5000;
    inset: 0;
    padding: clamp(18px, 5vh, 58px) 18px;
    opacity: 0;
    transition: opacity .18s ease;
}

.global-search.is-open {
    opacity: 1;
}

.global-search-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(5, 5, 20, .76);
    backdrop-filter: blur(7px);
    cursor: default;
}

.global-search-panel {
    position: relative;
    width: min(1120px, 100%);
    max-height: calc(100vh - clamp(36px, 10vh, 116px));
    margin: 0 auto;
    overflow: hidden;
    color: var(--blue);
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(3, 3, 18, .42);
    transform: translateY(-14px);
    transition: transform .18s ease;
}

.global-search-panel::before {
    content: "";
    display: block;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, #5e5bff, var(--blue) 65%);
}

.global-search.is-open .global-search-panel {
    transform: translateY(0);
}

.global-search-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 38px 26px;
}

.global-search-header span {
    color: #5367cb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.2px;
}

.global-search-header h2 {
    margin-top: 8px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: .96;
    letter-spacing: -2px;
}

.global-search-close {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    flex: 0 0 44px;
    border: 1px solid #dadce8;
    border-radius: 50%;
    color: var(--blue);
    background: #ffffff;
    font: inherit;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}

.global-search-close:hover,
.global-search-close:focus-visible {
    color: #ffffff;
    border-color: var(--blue);
    background: var(--blue);
    outline: none;
}

.global-search-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    margin: 0 38px;
    padding: 0 20px;
    border: 2px solid var(--blue);
    background: #f5f6fb;
}

.global-search-field-icon {
    color: #606772;
}

.global-search-field input {
    width: 100%;
    min-height: 62px;
    padding: 0;
    border: 0;
    color: var(--blue);
    background: transparent;
    font: inherit;
    font-size: 18px;
    font-weight: 750;
    outline: none;
}

.global-search-field input::placeholder {
    color: #777b89;
    font-weight: 600;
}

.global-search-field kbd {
    padding: 5px 8px;
    border: 1px solid #d8dae5;
    border-radius: 4px;
    color: #777b89;
    background: #ffffff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
}

.global-search-content {
    max-height: calc(100vh - 280px);
    padding: 22px 38px 38px;
    overflow-y: auto;
}

.global-search-status {
    margin-bottom: 18px;
    color: #686c79;
    font-size: 13px;
    font-weight: 700;
}

.global-search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 26px;
}

.global-search-group {
    min-width: 0;
}

.global-search-group:only-child {
    grid-column: 1 / -1;
}

.global-search-group h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
    padding-bottom: 11px;
    border-bottom: 2px solid var(--blue);
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.global-search-group h3 small {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    font-size: 10px;
}

.global-search-list {
    display: grid;
}

.global-search-result {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px 8px;
    border-bottom: 1px solid #e1e3ec;
    color: var(--blue);
    text-decoration: none;
    transition: background .2s ease, padding .2s ease;
}

.global-search-result:hover,
.global-search-result:focus-visible {
    padding-right: 13px;
    padding-left: 13px;
    background: #f2f4fb;
    outline: none;
}

.global-search-result-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.global-search-result-icon.swimmer {
    color: var(--blue);
    background: #e7eaff;
}

.global-search-result-copy {
    min-width: 0;
}

.global-search-result-copy strong,
.global-search-result-copy small {
    display: block;
}

.global-search-result-copy strong {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-search-result-copy small {
    margin-top: 5px;
    color: #686c79;
    font-size: 12px;
    line-height: 1.35;
}

.global-search-result-arrow {
    font-size: 21px;
    transition: transform .2s ease;
}

.global-search-result:hover .global-search-result-arrow,
.global-search-result:focus-visible .global-search-result-arrow {
    transform: translateX(4px);
}

.global-search-empty {
    grid-column: 1 / -1;
    display: grid;
    gap: 7px;
    padding: 42px;
    border: 1px solid #dfe1eb;
    text-align: center;
    background: #f5f6fb;
}

.global-search-empty strong {
    font-size: 20px;
}

.global-search-empty span {
    color: #686c79;
    font-size: 14px;
}

@media (max-width: 760px) {
    .global-search {
        padding: 0;
    }

    .global-search-panel {
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
    }

    .global-search-header {
        padding: 25px 20px 20px;
    }

    .global-search-field {
        margin: 0 20px;
        padding: 0 14px;
    }

    .global-search-field input {
        min-height: 56px;
        font-size: 16px;
    }

    .global-search-field kbd {
        display: none;
    }

    .global-search-content {
        max-height: calc(100vh - 190px);
        padding: 18px 20px 30px;
    }

    .global-search-results {
        grid-template-columns: 1fr;
    }
}


/* ================= PAGE RECHERCHE ================= */

.search-page-main {
    min-height: 70vh;
    background: #f3f5fb;
}

.search-page-container {
    width: min(1500px, 92%);
    margin: auto;
}

.search-page-hero {
    padding: 82px 0 92px;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 18%, rgba(83, 103, 203, .42), transparent 28%),
        linear-gradient(135deg, #070817, #0b0826 60%, #131849);
}

.search-page-hero > .search-page-container > span,
.search-page-results-heading span {
    color: #98a7f2;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.6px;
}

.search-page-hero h1 {
    margin: 13px 0 18px;
    font-size: clamp(54px, 7vw, 104px);
    line-height: .86;
    letter-spacing: -5px;
    text-transform: uppercase;
}

.search-page-hero p {
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.55;
}

.search-page-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    max-width: 1180px;
    min-height: 78px;
    margin-top: 42px;
    padding: 8px 9px 8px 24px;
    color: var(--blue);
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .28);
}

.search-page-form > svg {
    display: block;
    width: 29px;
    height: 29px;
    fill: none;
    stroke: #606772;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-page-form input {
    width: 100%;
    min-height: 60px;
    padding: 0;
    border: 0;
    color: var(--blue);
    background: transparent;
    font: inherit;
    font-size: 20px;
    font-weight: 750;
    outline: none;
}

.search-page-form input::placeholder {
    color: #7a7e89;
    font-weight: 600;
}

.search-page-form button {
    min-height: 60px;
    padding: 0 28px;
    border: 0;
    color: #ffffff;
    background: var(--blue);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.search-page-form button:hover,
.search-page-form button:focus-visible {
    background: #24205a;
    outline: 2px solid #ffffff;
    outline-offset: -4px;
    transform: translateX(2px);
}

.search-page-content {
    padding: 72px 0 105px;
}

.search-page-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}

.search-page-results-heading span {
    color: #5367cb;
}

.search-page-results-heading h2 {
    margin-top: 9px;
    color: var(--blue);
    font-size: clamp(34px, 4vw, 56px);
    line-height: .95;
    letter-spacing: -2.5px;
}

.search-page-results-heading p {
    max-width: 520px;
    color: #646875;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: right;
}

.search-page-results {
    display: grid;
    gap: 42px;
    min-height: 230px;
    color: var(--blue);
}

.search-page-global-empty {
    display: grid;
    place-content: center;
    min-height: 230px;
    padding: 40px;
    border-top: 7px solid var(--blue);
    background: #ffffff;
    box-shadow: 0 20px 52px rgba(9, 8, 38, .09);
    text-align: center;
}

.search-page-category {
    min-width: 0;
}

.search-page-category-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 15px;
}

.search-page-category-heading span {
    color: #5367cb;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.search-page-category-heading h3 {
    margin-top: 6px;
    font-size: clamp(25px, 2.6vw, 38px);
    line-height: 1;
    letter-spacing: -1.4px;
}

.search-page-category-heading > strong {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    font-size: 13px;
}

.search-page-category-body {
    min-width: 0;
    border-top: 7px solid var(--blue);
    background: #ffffff;
    box-shadow: 0 20px 52px rgba(9, 8, 38, .09);
}

.search-page-category-body.search-page-list {
    padding: 16px 34px 34px;
}

.search-page-list .global-search-result {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 19px 12px;
}

.search-page-list .global-search-result-icon {
    width: 52px;
    height: 52px;
}

.search-page-list .global-search-result-copy strong {
    font-size: 17px;
}

.search-page-list .global-search-result-copy small {
    font-size: 13px;
}

.search-page-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 24px;
}

.search-page-related-card {
    display: grid;
    grid-template-rows: 220px minmax(230px, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e4ee;
    color: var(--blue);
    background: #ffffff;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.search-page-related-card:hover,
.search-page-related-card:focus-visible {
    box-shadow: 0 17px 34px rgba(9, 8, 38, .16);
    outline: none;
    transform: translateY(-5px);
}

.search-page-related-visual {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #090826, #20256a);
}

.search-page-related-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 5, 38, .48), transparent 62%);
}

.search-page-related-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.search-page-related-card:hover .search-page-related-visual img,
.search-page-related-card:focus-visible .search-page-related-visual img {
    transform: scale(1.04);
}

.search-page-related-visual > small {
    position: absolute;
    z-index: 1;
    top: 17px;
    left: 17px;
    padding: 8px 11px;
    color: #ffffff;
    background: var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.search-page-related-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.search-page-related-copy > small {
    color: #5367cb;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.search-page-related-copy > strong {
    margin: 10px 0 11px;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1;
    letter-spacing: -1px;
}

.search-page-related-copy p {
    color: #646875;
    font-size: 14px;
    line-height: 1.5;
}

.search-page-related-copy b {
    margin-top: auto;
    padding-top: 22px;
    font-size: 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

@media (max-width: 1000px) {
    .search-page-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .search-page-hero {
        padding: 62px 0 70px;
    }

    .search-page-hero h1 {
        font-size: clamp(48px, 16vw, 68px);
        letter-spacing: -3px;
    }

    .search-page-form {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 10px 12px 12px 18px;
    }

    .search-page-form button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .search-page-content {
        padding: 55px 0 75px;
    }

    .search-page-results-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .search-page-results-heading p {
        text-align: left;
    }

    .search-page-results {
        gap: 34px;
    }

    .search-page-category-heading {
        align-items: center;
    }

    .search-page-category-body.search-page-list {
        padding: 10px 16px 24px;
    }

    .search-page-list .global-search-result {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 16px 6px;
    }

    .search-page-list .global-search-result-icon {
        width: 44px;
        height: 44px;
    }

    .search-page-related-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .search-page-related-card {
        grid-template-rows: 210px auto;
    }
}

/* Garde la recherche et le direct centrés dans la partie droite du menu. */
@media (min-width: 1251px) {
    .site-header .header-container {
        gap: clamp(28px, 2.5vw, 48px);
    }

    .site-header .main-nav-right {
        gap: clamp(8px, .68vw, 13px);
    }

    .site-header .main-nav-right > a:not(.header-live-trigger) {
        font-size: clamp(11px, .68vw, 12px);
    }

    .site-header .header-live-trigger {
        min-width: 88px;
        padding-inline: 11px;
    }
}

@media (min-width: 901px) and (max-width: 1250px) {
    .site-header .header-container {
        gap: 18px;
    }

    .site-header .brand img {
        width: 180px;
        height: 92px;
    }

    .site-header .main-nav-right {
        gap: 5px;
    }

    .site-header .main-nav-right > a:not(.header-live-trigger) {
        font-size: 9px;
        letter-spacing: .2px;
    }

    .site-header .global-search-trigger {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .site-header .header-live-trigger {
        min-width: 68px;
        padding-inline: 7px;
    }

    .site-header .header-live-trigger > strong {
        font-size: 7.5px;
    }
}

@media (min-width: 1101px) {
    .site-header:has(.main-nav a:nth-child(5)) .header-container {
        width: min(1780px, 98%);
    }

    .site-header:has(.main-nav a:nth-child(5)) .brand img {
        width: 210px;
        height: 100px;
    }

    .site-header:has(.main-nav a:nth-child(5)) .main-nav {
        gap: clamp(8px, .8vw, 14px);
    }

    .site-header:has(.main-nav a:nth-child(5)) .main-nav a {
        font-size: 11px;
        letter-spacing: .4px;
    }

    .site-header:has(.main-nav a:nth-child(5)) .main-nav-right {
        gap: clamp(5px, .55vw, 10px);
    }

    .site-header:has(.main-nav a:nth-child(5)) .main-nav-right > a:not(.header-live-trigger) {
        font-size: 10px;
        letter-spacing: .25px;
    }
}

@media (min-width: 1500px) {
    .site-header:has(.main-nav a:nth-child(5)) .brand img {
        width: 260px;
        height: 118px;
    }

    .site-header:has(.main-nav a:nth-child(5)) .main-nav {
        gap: clamp(15px, 1vw, 22px);
    }

    .site-header:has(.main-nav a:nth-child(5)) .main-nav a {
        font-size: 13px;
        letter-spacing: .65px;
    }

    .site-header:has(.main-nav a:nth-child(5)) .main-nav-right {
        gap: clamp(8px, .68vw, 13px);
    }

    .site-header:has(.main-nav a:nth-child(5)) .main-nav-right > a:not(.header-live-trigger) {
        font-size: 12px;
        letter-spacing: .45px;
    }

    .site-header:has(.main-nav a:nth-child(5)) .header-live-trigger {
        min-width: 88px;
        padding-inline: 11px;
    }
}

/* =====================================================
   PAGES CONTENUS : RECORDS, SAISONS, MÉDIATHÈQUE, ACTUALITÉS
===================================================== */

body.content-hub-page,
.content-hub-page main {
    background: #ffffff;
}

.results-content {
    width: min(100% - 56px, 1780px);
    margin: 0 auto;
    padding: 55px 0 100px;
}

.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    width: 100%;
    min-height: 102px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dedee5;
    white-space: nowrap;
}

.results-competition-choice { position: relative; flex: 0 0 370px; min-height: 78px; padding-left: 102px; display: flex; align-items: center; cursor: pointer; }
.results-competition-mark { position: absolute; left: 0; top: 0; width: 82px; height: 58px; border: 2px solid #0b0826; background: #ffffff; color: #0b0826; display: grid; place-items: center; font-size: 18px; font-weight: 900; letter-spacing: .08em; transition: color .2s ease, background-color .2s ease; }
.results-competition-choice::after { content: ''; position: absolute; right: 0; bottom: 0; left: 102px; height: 3px; background: #0b0826; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.results-competition-choice:hover::after,
.results-competition-choice:focus-within::after,
.results-competition-choice.is-selected::after { transform: scaleX(1); }
.results-competition-choice:hover .results-competition-mark,
.results-competition-choice:focus-within .results-competition-mark { color: #ffffff; background: #0b0826; }
.results-competition-copy { min-width: 0; padding-right: 28px; display: grid; gap: 6px; }
.results-competition-label { color: #0b0826; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.results-competition-current { overflow: hidden; color: #0b0826; font-size: 15px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.results-competition-copy::after { content: ''; position: absolute; right: 5px; top: 29px; width: 8px; height: 8px; border-right: 2px solid #0b0826; border-bottom: 2px solid #0b0826; transform: rotate(45deg); }
.results-competition-choice select { position: absolute; inset: 0 0 0 92px; width: calc(100% - 92px); cursor: pointer; opacity: 0; }
.results-category-tabs { display: flex; align-items: center; justify-content: flex-end; gap: clamp(7px, .55vw, 12px); min-width: 0; }
.results-category-tabs button { position: relative; padding: 12px 0; border: 0; background: transparent; color: #0b0826; cursor: pointer; font: inherit; font-size: clamp(8px, .58vw, 10px); font-weight: 800; white-space: nowrap; }
.results-category-tabs button.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -31px; height: 3px; background: #0b0826; }
.results-count { margin: 25px 0 14px; color: #686868; font-size: 13px; text-align: right; }
.results-list { display: grid; gap: 22px; }
.result-event { overflow: hidden; }
.result-event > header { min-height: 58px; padding: 14px 24px; background: #0b0826; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.result-event h2 { font-size: clamp(17px, 1.7vw, 23px); line-height: 1.1; text-transform: uppercase; }
.result-event time { flex: 0 0 auto; font-size: clamp(13px, 1.35vw, 19px); font-weight: 900; }
.result-event table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.result-event tr:nth-child(odd) { background: #e3e5e9; }
.result-event tr:nth-child(even) { background: #f7f7f8; }
.result-event td { height: 38px; padding: 8px 14px; color: #596578; font-size: 13px; }
.result-rank { width: 6%; text-align: right; }
.result-athlete { width: 35%; }
.result-athlete a { font-weight: 700; }
.result-athlete small { font-size: inherit; }
.result-club { width: 24%; text-transform: uppercase; }
.result-time { width: 16%; font-weight: 900; text-align: center; }
.result-points { width: 15%; text-align: center; }
.result-trend { width: 5%; text-align: center; font-size: 24px !important; font-weight: 900; line-height: 1; }
.result-trend.up { color: #0b0826; }
.result-trend.down { color: #0b0826; }
.result-trend.same { color: #9a9a9a; font-size: 15px !important; }

@media (max-width: 1050px) {
    .results-content { overflow-x: auto; }
    .results-toolbar, .results-list, .results-count { min-width: 1720px; }
}

.hub-content {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 75px 0 105px;
}

.hub-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.hub-heading > div > span {
    color: #0b0826;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
}

.hub-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(35px, 4.5vw, 58px);
    line-height: 1;
    letter-spacing: -.045em;
}

.hub-filters,
.media-tabs {
    display: flex;
    gap: 10px;
}

.hub-filters select,
.media-tabs button {
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid #0b0826;
    background: #ffffff;
    color: #0b0826;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.media-tabs button.active {
    background: #0b0826;
    color: #ffffff;
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.record-card {
    padding: 28px;
    border-top: 5px solid #0b0826;
    background: #f4f4f4;
}

.record-card > span,
.record-card > small,
.news-card > span,
.media-feature > small,
.media-tile > span {
    color: #777777;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
}

.record-card h3 {
    margin: 9px 0 14px;
    font-size: 22px;
    text-transform: uppercase;
}

.record-card > strong {
    color: #0b0826;
    font-size: 44px;
    line-height: 1;
}

.record-card p {
    min-height: 48px;
    margin: 18px 0 12px;
    font-size: 12px;
    line-height: 1.5;
}

.record-card > a,
.season-card > a,
.news-card > a {
    display: inline-block;
    margin-top: 20px;
    color: #0b0826;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hub-empty {
    grid-column: 1 / -1;
    padding: 65px 25px;
    background: #f4f4f4;
    color: #777777;
    text-align: center;
}

.seasons-grid {
    display: grid;
    gap: 24px;
}

.season-card {
    padding: 35px;
    border-left: 6px solid #d7d7d7;
    background: #f5f5f5;
    display: grid;
    grid-template-columns: 1.2fr 2fr auto;
    gap: 38px;
    align-items: center;
}

.season-card.active-season {
    border-left-color: #0b0826;
}

.season-card > div > span {
    color: #0b0826;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.season-card > div > strong {
    display: block;
    margin-top: 4px;
    color: #0b0826;
    font-size: 55px;
    line-height: 1;
}

.season-card h3 {
    margin: 8px 0 0;
    font-size: 17px;
}

.season-card dl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
}

.season-card dl div {
    text-align: center;
}

.season-card dt {
    color: #777777;
    font-size: 8px;
    font-weight: 900;
}

.season-card dd {
    margin: 5px 0 0;
    color: #0b0826;
    font-size: 28px;
    font-weight: 900;
}

.media-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.media-feature,
.news-feature {
    grid-row: span 2;
}

.media-feature,
.media-tile,
.news-card {
    padding: 28px;
    background: #f4f4f4;
}

.media-placeholder {
    min-height: 320px;
    margin-bottom: 24px;
    background: #0b0826;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 55px;
    font-weight: 900;
    line-height: .82;
    text-align: center;
}

.media-placeholder.compact {
    min-height: 150px;
    font-size: 42px;
}

.media-feature h3,
.news-card h3 {
    margin: 9px 0 12px;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1;
}

.media-feature p,
.news-card p {
    color: #666666;
    font-size: 13px;
    line-height: 1.6;
}

.news-grid {
    grid-template-columns: 1.25fr 1fr;
}

.magazine-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 190px;
    margin-bottom: 68px;
    padding: 34px 42px;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 15%, rgba(105, 125, 232, .52), transparent 28%),
        linear-gradient(125deg, #0b0826 0%, #172f88 62%, #5265cf 100%);
    box-shadow: 0 24px 55px rgba(11, 8, 38, .18);
    text-decoration: none;
}

.magazine-cta::before,
.magazine-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 110px;
    width: 260px;
    height: 2px;
    background: rgba(255, 255, 255, .35);
    transform: skewX(-28deg);
}

.magazine-cta::before { top: 46px; }
.magazine-cta::after { bottom: 42px; right: 155px; }

.magazine-cta-copy {
    display: grid;
    gap: 8px;
}

.magazine-cta-copy small {
    color: #aebcff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2em;
}

.magazine-cta-copy strong {
    max-width: 800px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 52px);
    line-height: .95;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.magazine-cta-copy > span {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.magazine-cta-arrow {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 50%;
    color: #ffffff;
    font-size: 32px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.magazine-cta:hover .magazine-cta-arrow,
.magazine-cta:focus-visible .magazine-cta-arrow {
    color: #172f88;
    background: #ffffff;
    transform: translateX(5px);
}

.magazine-cta:focus-visible {
    outline: 3px solid #5265cf;
    outline-offset: 5px;
}

.news-card {
    min-height: 235px;
    border-top: 5px solid #0b0826;
}

.news-feature {
    padding: 40px;
    background: #0b0826;
    color: #ffffff;
}

.news-feature > span,
.news-feature p,
.news-feature > a {
    color: rgba(255,255,255,.78);
}

@media (max-width: 800px) {
    .records-grid,
    .media-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .season-card {
        grid-template-columns: 1fr;
    }

    .media-feature,
    .news-feature {
        grid-row: auto;
    }

    .magazine-cta {
        min-height: 165px;
        margin-bottom: 50px;
        padding: 28px;
    }
}

@media (max-width: 620px) {
    .hub-content {
        width: min(100% - 30px, 1200px);
        padding: 55px 0 75px;
    }

    .hub-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .magazine-cta {
        align-items: flex-end;
        gap: 18px;
        padding: 25px 22px;
    }

    .magazine-cta-copy strong {
        font-size: 29px;
    }

    .magazine-cta-copy > span {
        font-size: 13px;
    }

    .magazine-cta-arrow {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 25px;
    }

    .hub-filters,
    .media-tabs {
        width: 100%;
        flex-wrap: wrap;
    }

    .season-card dl {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.main-nav a.active {
    color: var(--blue);
}

.main-nav a.active::after {
    width: 100%;
}


/* ================= HERO ================= */

.hero {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #0b0826;
    color: white;
    text-align: center;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    color: white;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
}


/* Petit effet décoratif */

.hero::before {
    content: "";
    display: none;

    position: absolute;

    width: 700px;
    height: 700px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    top: -350px;
    left: -250px;
}

.hero::after {
    content: "";
    display: none;

    position: absolute;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    bottom: -250px;
    right: -150px;
}


.hero-content {
    width: min(860px, 94%);
    margin: auto;

    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}


/* ANNONCE 2027 */

.hero-announcement {
    max-width: 980px;
    margin: 0 auto;
    color: #ffffff !important;
    font-size: clamp(17px, 1.55vw, 24px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.hero-announcement strong {
    font-weight: 900;
}


/* GRAND LOGO */

.hero-logo-frame {
    width: min(440px, 72vw);
    height: 105px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.hero-logo {
    width: 100%;

    height: auto;

    display: block;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-signature {
    margin: 0 auto;
    color: #ffffff !important;
    font-size: clamp(11px, 1.15vw, 16px);
    font-weight: 900;
    letter-spacing: .3em;
    text-transform: uppercase;
}


/* ================= VIDÉO ACCUEIL ================= */

.home-video {
    position: relative;
    z-index: 2;
    padding: 0;
    background: #080f12;
}

.home-video-container {
    width: 100%;
    margin: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.home-video-heading {
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px 40px;
}

.home-video-heading > span {
    grid-column: 1 / -1;
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .28em;
}

.home-video-heading h2 {
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1;
    letter-spacing: -.045em;
}

.home-video-heading p {
    max-width: 350px;
    padding-bottom: 4px;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    text-align: right;
}

.home-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: visible;
    border: 0;
    background: #080f12;
    box-shadow: none;
}

.home-video-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.home-video-interaction-lock {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    cursor: default;
    touch-action: pan-y;
    user-select: none;
}

.home-video-control-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    width: clamp(235px, 15vw, 260px);
    height: clamp(58px, 4vw, 68px);
    place-items: center;
    overflow: hidden;
    background: var(--blue);
    clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
    box-shadow: 0 16px 38px rgba(8, 5, 38, .3);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.home-video-control-cover img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 220px;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
}

.home-video-shield {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    height: clamp(105px, 14vw, 215px);
    pointer-events: auto;
}

.home-video-shield::after {
    content: "";
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    height: 61px;
    background: var(--blue);
}

.home-video-shield-top {
    top: 0;
    bottom: auto;
    z-index: 4;
    height: clamp(88px, 7vw, 128px);
    transform: rotate(180deg);
    transform-origin: center;
}

.home-video-shield-top::after {
    display: none;
}

.home-video-shield svg {
    display: block;
    width: 100%;
    height: 100%;
}

.home-video-shield-main {
    fill: var(--blue);
}

.home-video-sound {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 5;
    min-width: 165px;
    padding: 13px 18px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 3px;
    color: #ffffff;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}

.home-video-sound:hover,
.home-video-sound:focus-visible {
    background: #0b0826;
    transform: translateY(-2px);
}

.home-video-sound span {
    margin-right: 7px;
}


/* DESCRIPTION */

.hero-description {
    width: min(720px, 90%);

    margin: 40px auto;

    font-size: 19px;

    line-height: 1.6;

    color: rgba(255,255,255,0.92);
}

.hero-description strong {
    color: var(--white);
}


/* BOUTONS */

.hero-actions {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 30px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 170px;

    padding: 15px 25px;

    font-size: 12px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    border-radius: 3px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);

    color: var(--blue);
}

.btn-outline {
    border: 2px solid var(--white);

    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);

    color: var(--blue);
}


/* ================= PRESENTATION ================= */

.presentation {
    position: relative;
    z-index: 1;
    background: var(--white);

    padding: 110px 0 48px;
}

.home-program {
    position: relative;
    overflow: hidden;
    padding: 86px 0 92px;
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 5%, rgba(65, 76, 170, .24), transparent 32%),
        linear-gradient(112deg, #07061b 0%, var(--blue) 56%, #14113e 100%);
}

.home-program::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -175px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.home-program-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 90%);
    margin: auto;
}

.home-program-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 90px;
    align-items: end;
    margin-bottom: 54px;
}

.home-program-heading span {
    color: #9ba9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.home-program-heading h2 {
    margin-top: 15px;
    font-size: clamp(42px, 5vw, 67px);
    line-height: .93;
    letter-spacing: -3px;
}

.home-program-heading p {
    padding-left: 28px;
    border-left: 3px solid #737fff;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.7;
}

.home-program-strokes {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.home-program-card {
    min-height: 220px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
    display: flex;
    flex-direction: column;
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.home-program-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, .42);
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
}

.home-program-card-medley {
    border-color: rgba(144, 158, 255, .5);
    background: linear-gradient(145deg, rgba(78, 93, 198, .32), rgba(255, 255, 255, .035));
}

.home-program-number {
    color: #9ba9ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.home-program-card h3 {
    margin-top: 23px;
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1;
    letter-spacing: -1.5px;
}

.home-program-distances {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.home-program-distances strong {
    min-width: 70px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
}

.home-program-relays {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.home-program-relay {
    position: relative;
    min-height: 156px;
    padding: 27px 30px;
    border-left: 4px solid #737fff;
    background: rgba(255, 255, 255, .07);
}

.home-program-relay-club {
    background: linear-gradient(110deg, rgba(49, 61, 151, .7), rgba(255, 255, 255, .07));
}

.home-program-relay > span {
    color: #9ba9ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.home-program-relay h3 {
    margin-top: 17px;
    font-size: clamp(23px, 2.5vw, 34px);
    letter-spacing: -1px;
}

.home-program-relay p {
    margin-top: 9px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.5;
}


/* ================= CATÉGORIES ACCUEIL ================= */

.home-categories {
    padding: 100px 0 105px;
    background: #f2f3f7;
}

.home-categories-container {
    width: min(1200px, 90%);
    margin: auto;
}

.home-categories-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: 90px;
    align-items: end;
    margin-bottom: 54px;
}

.home-categories-heading span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.home-categories-heading h2 {
    margin-top: 15px;
    font-size: clamp(42px, 5vw, 67px);
    line-height: .93;
    letter-spacing: -3px;
}

.home-categories-heading > p {
    padding-left: 28px;
    border-left: 3px solid var(--blue);
    color: #565763;
    font-size: 16px;
    line-height: 1.7;
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    min-height: 415px;
    padding: 30px;
    border: 1px solid #dcdde5;
    border-top: 5px solid var(--blue);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 45px rgba(11, 8, 38, .06);
    transition: transform .22s ease, box-shadow .22s ease;
}

.home-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(11, 8, 38, .11);
}

.home-category-card-avenir {
    color: #ffffff;
    border-color: var(--blue);
    background: linear-gradient(145deg, #07061c, var(--blue) 65%, #161248);
}

.home-category-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-category-topline span {
    color: #7f8cff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.home-category-topline strong {
    color: #727381;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.home-category-card-avenir .home-category-topline strong {
    color: rgba(255, 255, 255, .62);
}

.home-category-card h3 {
    margin-top: 34px;
    font-size: clamp(31px, 3vw, 43px);
    line-height: .94;
    letter-spacing: -2px;
}

.home-category-genders {
    margin-top: auto;
}

.home-category-genders > div {
    padding: 18px 0;
    border-top: 1px solid #dedfe6;
}

.home-category-card-avenir .home-category-genders > div {
    border-color: rgba(255, 255, 255, .18);
}

.home-category-genders strong {
    color: var(--blue);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.home-category-card-avenir .home-category-genders strong {
    color: #a8b2ff;
}

.home-category-genders p {
    margin-top: 8px;
    color: #60616d;
    font-size: 14px;
    line-height: 1.55;
}

.home-category-card-avenir .home-category-genders p {
    color: rgba(255, 255, 255, .73);
}


/* ================= RÉCOMPENSES ACCUEIL ================= */

.home-rewards {
    position: relative;
    overflow: hidden;
    padding: 96px 0 102px;
    color: #ffffff;
    background:
        radial-gradient(circle at 10% 100%, rgba(68, 81, 179, .26), transparent 34%),
        linear-gradient(112deg, #07061b 0%, var(--blue) 60%, #14113e 100%);
}

.home-rewards::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, .16);
}

.home-rewards-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 90%);
    margin: auto;
}

.home-rewards-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 90px;
    align-items: end;
    margin-bottom: 54px;
}

.home-rewards-heading span {
    color: #9ba9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.home-rewards-heading h2 {
    margin-top: 15px;
    font-size: clamp(42px, 5vw, 67px);
    line-height: .93;
    letter-spacing: -3px;
}

.home-rewards-heading > p {
    padding-left: 28px;
    border-left: 3px solid #737fff;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.7;
}

.home-rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-reward-phase {
    min-height: 610px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-top: 5px solid #737fff;
    background: rgba(255, 255, 255, .055);
    display: flex;
    flex-direction: column;
}

.home-reward-phase-leaders {
    background: linear-gradient(145deg, rgba(48, 60, 150, .2), rgba(255, 255, 255, .04));
}

.home-reward-phase-final {
    border-color: rgba(143, 155, 255, .5);
    background: linear-gradient(145deg, rgba(75, 88, 190, .3), rgba(255, 255, 255, .055));
}

.home-reward-phase-heading {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 42px;
}

.home-reward-phase-heading > span {
    color: #9ba9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.home-reward-phase-heading small {
    color: rgba(255, 255, 255, .55);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.home-reward-phase-heading h3 {
    margin-top: 9px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
    letter-spacing: -1.5px;
}

.home-reward-item {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.home-reward-item:last-child {
    padding-bottom: 0;
}

.home-reward-item > strong {
    color: #a8b2ff;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.home-reward-item h4 {
    margin-top: 12px;
    font-size: 22px;
    letter-spacing: -.5px;
}

.home-reward-item p {
    margin-top: 10px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.6;
}

.home-reward-statline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.home-reward-statline > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.home-reward-statline strong {
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -1px;
}

.home-reward-statline span {
    color: rgba(255, 255, 255, .55);
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-rewards-note {
    margin-top: 22px;
    padding-left: 18px;
    border-left: 2px solid rgba(155, 169, 255, .7);
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.6;
}

.presentation-container {
    width: min(1200px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


/* TITRE */

.presentation-title span {
    color: var(--blue);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;
}

.presentation-title h1 {
    margin-top: 18px;

    font-size: clamp(45px, 5vw, 75px);

    line-height: 0.92;

    letter-spacing: -4px;
}


/* TEXTE */

.presentation-text {
    border-left: 4px solid var(--blue);

    padding-left: 30px;
}

.presentation-text p {
    font-size: 19px;

    line-height: 1.7;

    color: #555;

    margin-bottom: 25px;
}

.presentation-text p:last-child {
    margin-bottom: 0;
}


/* ================= QUICK ACCESS ================= */

.quick-access {
    background: var(--grey);

    padding: 90px 0;
}

.quick-container {
    width: min(1200px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.quick-card {
    background: var(--white);

    padding: 40px;

    min-height: 320px;

    border-top: 6px solid var(--blue);

    box-shadow: 0 15px 40px rgba(0,0,0,0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.quick-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 25px 50px rgba(0,0,0,0.10);
}


.card-number {
    color: var(--blue);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 2px;
}

.quick-card h2 {
    margin-top: 25px;

    margin-bottom: 18px;

    font-size: 30px;
}

.quick-card p {
    color: var(--grey-dark);

    font-size: 16px;

    line-height: 1.6;

    margin-bottom: 30px;
}

.quick-card a {
    color: var(--blue);

    font-size: 13px;

    font-weight: 900;
}


/* ================= CLUBS ================= */

.clubs-showcase {
    overflow: hidden;
    background: var(--white);
    padding: 85px 0 95px;
    border-bottom: 1px solid #eeeeee;
}

.clubs-showcase-heading {
    width: min(1200px, 90%);
    margin: 0 auto 48px;
}

.clubs-showcase-heading > span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.clubs-showcase-heading h2 {
    margin-top: 13px;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -2px;
}

.clubs-marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.clubs-track {
    display: flex;
    width: max-content;
    animation: clubs-scroll 38s linear infinite;
}

.clubs-marquee:hover .clubs-track,
.clubs-marquee:focus-within .clubs-track {
    animation-play-state: paused;
}

.clubs-list {
    display: flex;
    gap: 22px;
    padding-right: 22px;
}

.club-logo-card {
    width: 205px;
    height: 145px;
    flex: 0 0 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px;
    color: #111111;
    background: #f7f7f9;
    border: 1px solid #e9e9ee;
    border-radius: 4px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.club-logo-card:hover,
a.club-logo-card:focus-visible {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 14px 30px rgba(11, 8, 38, .10);
    outline: none;
}

.club-monogram {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--blue);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.5px;
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.16);
}

.club-logo-card strong {
    max-width: 92px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .5px;
    text-transform: uppercase;
}

@keyframes clubs-scroll {
    to { transform: translateX(-50%); }
}


/* ================= VALEURS ================= */

.values {
    background: var(--white);
    border-top: 0;
    padding: 48px 0 110px;
}

.values-container {
    width: min(1200px, 90%);

    margin: auto;
}

.values-label {
    color: var(--blue);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;
}

.values-container > h2 {
    font-size: clamp(40px, 5vw, 65px);

    letter-spacing: -3px;

    margin-top: 15px;

    margin-bottom: 70px;
}


.values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;
}

.values-grid > div {
    border-top: 2px solid var(--blue);

    padding-top: 20px;
}

.values-grid strong {
    font-size: 15px;

    letter-spacing: 1px;
}

.values-grid p {
    margin-top: 15px;

    color: #666;

    line-height: 1.6;

    font-size: 14px;
}


/* ================= ACCUEIL · SPONSORS ET PARTENAIRES ================= */

/* ================= ACTUALITÉS ET MÉDIATHÈQUE ACCUEIL ================= */

.home-editorial {
    padding: 100px 0 105px;
    color: #ffffff;
    background: var(--blue);
}

.home-editorial-container {
    width: min(1500px, 92%);
    margin: auto;
}

.home-editorial-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 48px;
}

.home-editorial-heading span {
    color: #9aabff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.6px;
}

.home-editorial-heading h2 {
    max-width: 880px;
    margin-top: 12px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: .94;
    letter-spacing: -3.5px;
}

.home-editorial-heading p {
    padding: 4px 0 4px 26px;
    border-left: 3px solid #5367cb;
    color: rgba(255, 255, 255, .74);
    font-size: 16px;
    line-height: 1.65;
}

.home-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(380px, .85fr);
    gap: 22px;
}

.home-editorial-feature,
.home-editorial-card {
    color: var(--blue);
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(9, 8, 38, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-editorial-feature:hover,
.home-editorial-feature:focus-visible,
.home-editorial-card:hover,
.home-editorial-card:focus-visible {
    outline: none;
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(9, 8, 38, .14);
}

.home-editorial-feature {
    display: grid;
    grid-template-rows: minmax(330px, 1fr) auto;
    min-height: 650px;
}

.home-editorial-visual,
.home-editorial-card-image {
    position: relative;
    overflow: hidden;
    background: var(--blue);
}

.home-editorial-visual img,
.home-editorial-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.home-editorial-feature:hover img,
.home-editorial-feature:focus-visible img,
.home-editorial-card:hover img,
.home-editorial-card:focus-visible img {
    transform: scale(1.035);
}

.home-editorial-visual::after,
.home-editorial-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 5, 38, .48), transparent 62%);
}

.home-editorial-type,
.home-editorial-card-image > span {
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 22px;
    padding: 9px 12px;
    color: #ffffff;
    background: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.home-editorial-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: var(--blue);
    background: #ffffff;
    font-size: 24px;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.home-editorial-copy {
    padding: 34px 38px 38px;
}

.home-editorial-copy > span,
.home-editorial-card-copy small {
    color: #5367cb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.home-editorial-copy h3 {
    max-width: 720px;
    margin: 10px 0 12px;
    font-size: clamp(30px, 3.2vw, 49px);
    line-height: .98;
    letter-spacing: -2px;
}

.home-editorial-copy p,
.home-editorial-card-copy p {
    color: #5c6070;
    font-size: 15px;
    line-height: 1.55;
}

.home-editorial-copy strong,
.home-editorial-card-copy strong {
    display: inline-block;
    margin-top: 22px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.home-editorial-side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-editorial-card {
    display: grid;
    grid-template-columns: minmax(165px, .8fr) minmax(0, 1.2fr);
    min-height: 314px;
}

.home-editorial-card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
}

.home-editorial-card-copy h3 {
    margin: 10px 0 12px;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.02;
    letter-spacing: -1px;
}

.home-editorial-card-copy strong {
    margin-top: auto;
    padding-top: 20px;
}

@media (max-width: 1100px) {
    .home-editorial-grid {
        grid-template-columns: 1fr;
    }

    .home-editorial-feature {
        min-height: 600px;
    }

    .home-editorial-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .home-editorial-card {
        grid-template-columns: 1fr;
    }

    .home-editorial-card-image {
        min-height: 230px;
    }
}

@media (max-width: 760px) {
    .home-editorial {
        padding: 72px 0 76px;
    }

    .home-editorial-heading {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 34px;
    }

    .home-editorial-heading h2 {
        font-size: clamp(40px, 13vw, 58px);
        letter-spacing: -2.5px;
    }

    .home-editorial-heading p {
        padding-left: 18px;
        font-size: 15px;
    }

    .home-editorial-feature {
        grid-template-rows: 290px auto;
        min-height: 0;
    }

    .home-editorial-copy {
        padding: 28px 24px 32px;
    }

    .home-editorial-side {
        grid-template-columns: 1fr;
    }

    .home-editorial-card {
        min-height: 0;
    }

    .home-editorial-card-image {
        min-height: 240px;
    }
}


.home-partners {
    padding: 105px 0 110px;
    background: #ffffff;
}

.home-partners-container {
    width: min(1200px, 90%);
    margin: auto;
}

.home-partners-heading {
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: end;
    gap: 70px;
}

.home-partners-heading span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.home-partners-heading h2 {
    margin-top: 14px;
    font-size: clamp(42px, 5vw, 65px);
    line-height: .95;
    letter-spacing: -3px;
}

.home-partners-heading p {
    padding: 4px 0 4px 26px;
    border-left: 3px solid var(--blue);
    color: #60606a;
    font-size: 16px;
    line-height: 1.65;
}

.home-partners-empty {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    padding: 48px;
    border: 1px solid #dfe0e8;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 18%, rgba(52, 68, 170, .42), transparent 30%),
        linear-gradient(135deg, #08061d, #0b0826 60%, #12174e);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.home-partners-empty::after {
    content: "+";
    position: absolute;
    right: 46px;
    color: rgba(255, 255, 255, .08);
    font-size: 190px;
    font-weight: 300;
    line-height: 1;
}

.home-partners-empty span {
    margin-bottom: 18px;
    color: #97a6ef;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

.home-partners-empty strong {
    position: relative;
    z-index: 1;
    max-width: 750px;
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.08;
}

.home-partners-empty p {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}


/* ================= FOOTER ================= */

.site-footer {
    background: var(--white);

    border-top: 1px solid #eeeeee;

    padding: 0;
}

.footer-container {
    width: min(1200px, 90%);

    margin: auto;

    text-align: center;

    padding: 75px 0;
}

.footer-container img {
    width: 220px;

    height: auto;

    margin-bottom: 25px;
}

.footer-title {
    font-size: 13px;

    font-weight: 900;

    letter-spacing: 2px;
}

.footer-subtitle {
    color: var(--blue);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-top: 8px;
}

.footer-location {
    margin-top: 25px;

    color: #777;

    font-size: 10px;

    letter-spacing: 1px;
}

.footer-partner-bar {
    width: 100%;
    box-sizing: border-box;
    padding: 34px max(5%, calc((100% - 1410px) / 2)) 42px;
    background: #0b0826;
}

.footer-partner-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px 180px auto;
    align-items: center;
    gap: 0;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

.footer-partner-top::after {
    content: "";
    grid-column: 2;
    grid-row: 1;
    width: 130px;
    height: 80px;
    justify-self: end;
    background: url("images/world-holiday-league.png") center 40% / 125px 125px no-repeat;
    mix-blend-mode: screen;
    transform: translateX(-30px);
}

.footer-partner-logo {
    display: block;

    width: 260px;

    height: 100px;

    object-fit: cover;

    object-position: center 46%;

    mix-blend-mode: screen;

    grid-column: 3;

    grid-row: 1;

    justify-self: start;

    transform: translateX(-50px);
}

.footer-league-group {
    width: min(390px, 45vw);

    display: flex;

    flex-direction: column;

    align-items: center;

    grid-column: 1;

    grid-row: 1;

    justify-self: start;

    min-width: 0;
}

.footer-league-logo {
    display: block;

    width: 220px;

    height: 100px;

    object-fit: cover;

    object-position: center;

    mix-blend-mode: screen;

    justify-self: center;
}

.footer-departments {
    margin-top: -2px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 9px;

    font-weight: 700;

    line-height: 1.5;

    letter-spacing: 1.2px;

    text-align: center;

    text-transform: uppercase;
}

.footer-partner-copyright {
    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    grid-column: 4;

    grid-row: 1;

    margin-left: 16px;

    justify-self: end;

    text-align: right;
}

.footer-clubs {
    min-height: 125px;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(38px, 6vw, 100px);
}

.footer-clubs img {
    display: block;
    width: clamp(90px, 8vw, 130px);
    height: 105px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .92;
    transition: opacity .2s ease, transform .2s ease;
}

.footer-clubs img:hover {
    opacity: 1;
    transform: translateY(-3px);
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .home-partners-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-partners-heading p {
        max-width: 620px;
    }

    .clubs-showcase {
        padding: 65px 0 72px;
    }

    .clubs-showcase-heading {
        margin-bottom: 35px;
    }

    .club-logo-card {
        width: 175px;
        height: 125px;
        flex-basis: 175px;
        padding: 16px;
    }

    .club-monogram {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        font-size: 13px;
    }

    .club-logo-card strong {
        font-size: 10px;
    }

    .footer-partner-bar {
        padding: 24px 5%;
    }

    .footer-partner-top {
        grid-template-columns: minmax(0, 1fr) 105px 170px auto;
        gap: 0;
        padding-bottom: 22px;
    }

    .footer-partner-top::after {
        width: 105px;
        height: 68px;
        background-size: 102px 102px;
        transform: translateX(-22px);
    }

    .footer-partner-logo {
        width: 210px;

        height: 82px;

        transform: translateX(-40px);
    }

    .footer-league-logo {
        width: 180px;

        height: 82px;
    }

    .footer-league-group {
        width: min(250px, 35vw);
    }

    .footer-departments {
        font-size: 8px;

        letter-spacing: 0.8px;
    }

    .footer-clubs {
        min-height: auto;
        padding-top: 25px;
        gap: 28px;
        flex-wrap: wrap;
    }

    .footer-clubs img {
        width: 92px;
        height: 82px;
    }

    .site-header .header-container {
        min-height: 116px;

        padding: 12px 0;

        gap: 20px;
    }

    .site-header .brand img {
        width: 220px;
        height: 105px;
    }

    .main-nav {
        flex-wrap: wrap;

        gap: 14px;
    }

    .main-nav a {
        font-size: 10px;
    }


    .hero {
        min-height: 360px;

        padding: 32px 28px;
    }


    .presentation-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .home-program-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .home-program-card-medley {
        grid-column: 1 / -1;
    }

    .home-categories-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-categories-grid {
        grid-template-columns: 1fr;
    }

    .home-category-card {
        min-height: 350px;
    }

    .home-rewards-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-rewards-grid {
        grid-template-columns: 1fr;
    }

    .home-reward-phase {
        min-height: auto;
    }


    .quick-container {
        grid-template-columns: 1fr;
    }


    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .home-partners {
        padding: 75px 0 80px;
    }

    .home-partners-heading {
        margin-bottom: 34px;
    }

    .home-partners-heading h2 {
        letter-spacing: -2px;
    }

    .home-partners-heading p {
        padding-left: 18px;
        font-size: 15px;
    }

    .home-partners-empty {
        min-height: 245px;
        padding: 32px 24px;
    }

    .home-partners-empty::after {
        right: 12px;
        font-size: 135px;
    }

    .site-header .header-container {
        display: flex;

        flex-direction: column;

        justify-content: center;

        padding: 18px 0;

        gap: 18px;
    }

    .brand {
        order: 0;
    }

    .main-nav-left {
        order: 1;
    }

    .main-nav-right {
        order: 2;
    }

    .site-header .brand img {
        width: 210px;
        height: 100px;
    }

    .main-nav {
        width: auto;

        gap: 12px;

        justify-content: center;
    }

    .main-nav a {
        font-size: 10px;
    }


    .hero {
        min-height: 360px;
        padding: 28px 20px;
    }

    .hero-announcement {
        font-size: clamp(16px, 4.6vw, 22px);
        letter-spacing: .025em;
    }

    .hero-logo-frame {
        width: min(390px, 82vw);
        height: clamp(82px, 23vw, 100px);
    }

    .hero-signature {
        font-size: 10px;
        line-height: 1.5;
        letter-spacing: .18em;
    }

    .home-video {
        padding: 0;
    }

    .home-video-heading {
        grid-template-columns: 1fr;
        margin-bottom: 25px;
    }

    .home-video-heading > span {
        grid-column: auto;
    }

    .home-video-heading p {
        margin-top: 6px;
        padding: 0;
        text-align: left;
    }

    .home-video-player {
        border-width: 0;
    }

    .home-video-control-cover {
        width: 210px;
        height: 58px;
    }

    .home-video-control-cover img {
        width: 185px;
    }

    .home-video-shield {
        bottom: 0;
        height: clamp(82px, 22vw, 108px);
    }

    .home-video-shield::after {
        height: 39px;
    }

    .home-video-shield-top {
        top: 0;
        bottom: auto;
        height: clamp(72px, 19vw, 94px);
    }

    .home-video-sound {
        right: 12px;
        bottom: 12px;
        min-width: auto;
        padding: 10px 12px;
        font-size: 9px;
    }


    .presentation {
        padding: 75px 0 34px;
    }

    .home-program {
        padding: 68px 0 72px;
    }

    .home-program-heading {
        margin-bottom: 38px;
    }

    .home-program-heading h2 {
        letter-spacing: -2px;
    }

    .home-program-heading p {
        padding-left: 18px;
        font-size: 15px;
    }

    .home-program-strokes,
    .home-program-relays {
        grid-template-columns: 1fr;
    }

    .home-program-card-medley {
        grid-column: auto;
    }

    .home-program-card {
        min-height: 180px;
    }

    .home-program-relay {
        min-height: 140px;
        padding: 24px;
    }

    .home-categories {
        padding: 68px 0 72px;
    }

    .home-categories-heading {
        margin-bottom: 38px;
    }

    .home-categories-heading h2 {
        letter-spacing: -2px;
    }

    .home-categories-heading > p {
        padding-left: 18px;
        font-size: 15px;
    }

    .home-category-card {
        min-height: 330px;
        padding: 25px;
    }

    .home-rewards {
        padding: 68px 0 72px;
    }

    .home-rewards-heading {
        margin-bottom: 38px;
    }

    .home-rewards-heading h2 {
        letter-spacing: -2px;
    }

    .home-rewards-heading > p {
        padding-left: 18px;
        font-size: 15px;
    }

    .home-reward-phase {
        padding: 25px;
    }

    .home-reward-phase-heading {
        gap: 16px;
        margin-bottom: 30px;
    }

    .values {
        padding-top: 34px;
    }

    .presentation-title h1 {
        letter-spacing: -2px;
    }


    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-container > h2 {
        margin-bottom: 45px;
    }


    .quick-access {
        padding: 60px 0;
    }

    .quick-card {
        min-height: auto;

        padding: 30px;
    }

}
/* =========================================================
   CLASSEMENTS
========================================================= */

.ranking-hero {
    background: var(--blue);
    color: white;
    padding: 90px 0;
}

.ranking-hero-content {
    width: min(1200px, 90%);
    margin: auto;
}

.ranking-hero span {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.ranking-hero h1 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: .9;
    letter-spacing: -4px;
    margin: 15px 0 25px;
}

.ranking-hero p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
}


/* =========================
   ZONE CLASSEMENTS
========================= */

.rankings-section {
    background: var(--grey);
    padding: 70px 0 100px;
}

.rankings-container {
    width: min(1300px, 92%);
    margin: auto;
}


/* COMPETITION / GENERAL */

.ranking-switch {
    display: flex;
    background: white;
    padding: 6px;
    width: fit-content;
    border-radius: 5px;
    margin-bottom: 25px;
}

.ranking-switch-button {
    border: none;
    background: transparent;
    padding: 14px 30px;
    cursor: pointer;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ranking-switch-button.active {
    background: var(--blue);
    color: white;
}


/* FEMMES / HOMMES */

.gender-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 35px;
}

.gender-button {
    border: 1px solid #ddd;
    background: white;
    padding: 11px 20px;
    cursor: pointer;

    font-size: 11px;
    font-weight: 900;
}

.gender-button.active {
    background: var(--black);
    color: white;
}


/* CATEGORIES */

.ranking-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 50px;
}

.category-button {
    border: 1px solid #ddd;
    background: white;

    padding: 13px 18px;

    cursor: pointer;

    font-weight: 800;
    font-size: 12px;

    transition: .2s;
}

.category-button:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.category-button.active {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}


/* TITRE */

.ranking-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 30px;

    margin-bottom: 25px;
}

.ranking-heading span {
    color: var(--blue);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}

.ranking-heading h2 {
    font-size: 35px;

    margin-top: 8px;

    letter-spacing: -1px;
}

#competition-select {
    background: white;

    border: 1px solid #ddd;

    padding: 13px 20px;

    font-weight: 800;

    min-width: 180px;
}


/* TABLEAU */

.ranking-table-wrapper {
    background: white;

    overflow-x: auto;

    box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

.ranking-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 950px;
}

.ranking-table th {
    background: var(--blue);

    color: white;

    padding: 16px 14px;

    text-align: left;

    font-size: 10px;

    letter-spacing: 1px;
}

.ranking-table td {
    padding: 17px 14px;

    border-bottom: 1px solid #eeeeee;

    font-size: 13px;
}

.ranking-table tbody tr:hover td {
    background: #f7f8fb;
}

.position {
    font-weight: 900;

    font-size: 15px !important;
}

.first {
    color: #C69A25;
}

.second {
    color: #777;
}

.third {
    color: #A96845;
}

.athlete {
    font-weight: 900;
}

.total {
    color: var(--blue);

    font-size: 16px !important;

    font-weight: 900;
}


/* INFO BAREME */

.ranking-info {
    margin-top: 20px;

    background: white;

    padding: 20px 25px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: 12px;
}

.ranking-info strong {
    color: var(--blue);
}

.ranking-info span {
    color: #777;
}


/* MOBILE */

@media (max-width: 700px) {

    .ranking-hero {
        padding: 65px 0;
    }

    .ranking-hero h1 {
        letter-spacing: -2px;
    }

    .ranking-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    #competition-select {
        width: 100%;
    }

    .ranking-info {
        flex-direction: column;
    }

}
.points-info {
    background: white;
    border-radius: 14px;
    padding: 22px;
    margin: 25px 0;
    border: 1px solid #e5e5e5;
}

.points-title {
    color: #0b0826;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.points-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.points-list span {
    background: #f4f5f8;
    padding: 9px 13px;
    border-radius: 7px;
    font-size: 13px;
}

.points-list strong {
    color: #0b0826;
    margin-left: 5px;
}

.points-info p {
    color: #777;
    font-size: 12px;
    margin-top: 14px;
}
/* =====================================================
   STRUCTURE DE LA PAGE — FOOTER EN BAS
   ===================================================== */

html,
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0826;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Le contenu principal prend toute la hauteur disponible */
main {
    flex: 1 0 auto;
}

/* Le classement reste dans le flux normal */
.rankings-section {
    position: relative;
    z-index: 1;
}

/* Le footer arrive APRÈS tout le classement */
.site-footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;

    width: 100%;
    margin-top: 0;

    flex-shrink: 0;
}
/* =====================================================
   BARRE PRINCIPALE DES CLASSEMENTS
===================================================== */

.ranking-top-line {

    width: 100%;

    display: flex;

    align-items: stretch;

    justify-content: space-between;

    border-bottom: 1px solid #d8d8d8;

    min-height: 74px;

}


/* =====================================================
   GAUCHE
   GÉNÉRAL / COMPÉTITION
===================================================== */

.ranking-switch {

    display: flex;

    align-items: stretch;

    flex-shrink: 0;

}


.ranking-switch-button {

    background: transparent;

    border: none;

    border-bottom: 3px solid transparent;

    padding: 0 28px;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.8px;

    cursor: pointer;

    color: #1d1d1d;

    transition: 0.2s;

}


.ranking-switch-button:hover {

    background: #f5f5f5;

}


.ranking-switch-button.active {

    color: #0b0826;

    border-bottom-color: #0b0826;

}


/* =====================================================
   DROITE
===================================================== */

.ranking-right-filters {

    display: flex;

    align-items: stretch;

    justify-content: flex-end;

    margin-left: auto;

    flex-wrap: nowrap;

}


/* =====================================================
   BOUTONS DROITE
===================================================== */

.main-filter-button,
.discipline-button {

    position: relative;

    background: transparent;

    border: none;

    border-bottom: 3px solid transparent;

    padding: 0 13px;

    min-height: 74px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.2px;

    text-transform: uppercase;

    white-space: nowrap;

    cursor: pointer;

    color: #333;

    transition:
        background 0.2s,
        color 0.2s;

}


.main-filter-button:hover,
.discipline-button:hover {

    background: #f5f5f5;

}


/* =====================================================
   FILTRE ACTIF
===================================================== */

.main-filter-button.active,
.discipline-button.active {

    color: #0b0826;

    border-bottom-color: #0b0826;

}


/* =====================================================
   SÉPARATION NAGES / RELAIS
===================================================== */

.discipline-button:first-of-type {

    margin-left: 8px;

    border-left: 1px solid #dddddd;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1250px) {

    .ranking-top-line {

        align-items: flex-start;

    }


    .ranking-right-filters {

        overflow-x: auto;

        max-width: 70%;

    }


    .main-filter-button,
    .discipline-button {

        padding-left: 10px;

        padding-right: 10px;

        font-size: 11px;

    }


    .ranking-switch-button {

        padding-left: 18px;

        padding-right: 18px;

    }

}


@media (max-width: 800px) {

    .ranking-top-line {

        flex-direction: column;

        align-items: stretch;

    }


    .ranking-switch {

        min-height: 60px;

    }


    .ranking-right-filters {

        max-width: 100%;

        width: 100%;

        border-top: 1px solid #e2e2e2;

        overflow-x: auto;

    }


    .main-filter-button,
    .discipline-button {

        min-height: 58px;

    }

}
/* =====================================================
   PAGE NAGEUR
===================================================== */

.swimmer-page {
    background: #ffffff;
    color: #171717;
}


/* =====================================================
   HERO
===================================================== */

.swimmer-hero {
    position: relative;

    min-height: 380px;

    background: #0b0826;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}


/* =====================================================
   CONTENU CENTRAL
===================================================== */

.swimmer-hero-center {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 35px;

    width: 100%;

    max-width: 1000px;

    padding:
        45px
        140px;
}


/* =====================================================
   PHOTO
===================================================== */

.swimmer-photo-container {
    position: relative;

    width: 310px;

    height: 300px;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    flex-shrink: 0;
}


.swimmer-photo {
    display: none;

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: bottom;
}


.swimmer-photo-fallback {
    width: 100%;

    height: 100%;

    background: transparent;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 100px;
}


/* =====================================================
   INFOS
===================================================== */

.swimmer-hero-information {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.swimmer-number {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: rgba(255,255,255,.82);

    font-weight: 400;

    font-size: 15px;

    text-transform: uppercase;

    margin: 0;
}


.swimmer-number span {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}


.swimmer-hero h1 {
    margin: 0;

    display: flex;

    align-items: baseline;

    gap: .18em;

    font-size:
        clamp(
            28px,
            2.2vw,
            42px
        );

    font-weight: 900;

    line-height: 1;

    letter-spacing: -.04em;

    text-transform: uppercase;
}


.swimmer-meta {
    margin-top: 14px;

    color: #d0d0d0;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.swimmer-club {
    margin-top: 12px;

    font-size: 17px;

    font-weight: 900;

    text-transform: uppercase;
}


/* =====================================================
   NAVIGATION
===================================================== */

.swimmer-navigation {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    color: white;

    display: flex;

    align-items: center;

    gap: 15px;

    cursor: pointer;

    padding: 20px;

    z-index: 5;

    transition:
        opacity .2s ease,
        transform .2s ease;
}


.swimmer-navigation:hover {
    transform:
        translateY(-50%)
        scale(1.04);
}


.swimmer-navigation:disabled {
    opacity: .25;

    cursor: default;
}


.swimmer-navigation-left {
    left: 20px;
}


.swimmer-navigation-right {
    right: 20px;
}


.navigation-arrow {
    font-size: 65px;

    font-weight: 200;

    line-height: 1;

    color: #ffffff;
}


.navigation-name {
    max-width: 150px;

    font-size: 11px;

    font-weight: 900;

    line-height: 1.4;

    text-transform: uppercase;

    letter-spacing: .06em;
}


.swimmer-navigation-right .navigation-name {
    text-align: right;
}


/* =====================================================
   CONTENU
===================================================== */

.swimmer-main {
    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

    padding:
        70px
        30px
        100px;
}


/* =====================================================
   OVERVIEW
===================================================== */

.swimmer-overview {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    border-bottom:
        3px solid
        #0b0826;

    padding-bottom: 35px;

    margin-bottom: 55px;
}


.swimmer-overview-title span,
.section-header span {
    display: block;

    color: #0b0826;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .25em;

    text-transform: uppercase;

    margin-bottom: 12px;
}


.swimmer-overview-title h2,
.section-header h2 {
    margin: 0;

    font-size: 38px;

    font-weight: 900;

    letter-spacing: -.03em;
}


.swimmer-status {
    display: flex;

    gap: 50px;
}


.swimmer-status div {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.swimmer-status span {
    color: #777;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .14em;
}


.swimmer-status strong {
    color: #0b0826;

    font-size: 35px;

    font-weight: 900;
}


/* =====================================================
   STATISTIQUES
===================================================== */

.swimmer-statistics {
    background: #f7f7f7;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    border-top: 0;

    border-bottom: 5px solid #0b0826;

    margin-bottom: 90px;
}


.stat-card {
    min-height: 210px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-right: 0;

    text-align: center;
}


.stat-card:last-child {
    border-right: none;
}


.stat-icon {
    font-size: 35px;

    margin-bottom: 15px;
}


.stat-card span {
    color: #111111;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .12em;
}


.stat-card strong {
    width: 68px;

    height: 68px;

    margin-top: 24px;

    border-radius: 50%;

    background: #0b0826;

    display: grid;

    place-items: center;

    font-size: 30px;

    font-weight: 900;

    color: #ffffff;
}


/* =====================================================
   ÉVOLUTION DES CLASSEMENTS
===================================================== */

.ranking-evolution {
    margin: -20px 0 45px;
}

.ranking-evolution-heading {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 16px;
}

.ranking-evolution-heading span {
    color: #0b0826;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
}

.ranking-evolution-heading h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.ranking-evolution-scroll {
    overflow-x: auto;
}

.ranking-evolution-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
    text-align: center;
}

.ranking-evolution-table th,
.ranking-evolution-table td {
    height: 42px;
    border: 1px solid #ffffff;
}

.ranking-evolution-table thead th {
    background: #0b0826;
    color: #ffffff;
    font-weight: 900;
}

.ranking-evolution-table thead th:first-child,
.ranking-evolution-table tbody th {
    width: 190px;
    padding: 0 16px;
    text-align: left;
}

.ranking-evolution-table tbody th {
    background: #ececec;
    color: #111111;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
}

.ranking-evolution-table tbody td {
    background: #f4f4f4;
    color: #777777;
    font-weight: 700;
}

.ranking-evolution-table tbody tr:nth-child(even) td {
    background: #e9e9e9;
}

.ranking-evolution-table tbody td.has-ranking {
    color: #0b0826;
    font-size: 14px;
    font-weight: 900;
}

.ranking-evolution-table tbody td.has-ranking strong {
    font: inherit;
}

.ranking-evolution-table tbody td.is-absent {
    color: #8a8a8a;
}

.ranking-evolution-table tbody td.is-absent small {
    display: block;
    margin-top: 1px;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
}


/* =====================================================
   SECTIONS
===================================================== */

.swimmer-section {
    margin-top: 85px;
}


.section-header {
    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom:
        1px solid
        #dedede;
}


/* =====================================================
   RECORDS
===================================================== */

.swimmer-career-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.swimmer-career-panel {
    min-width: 0;
    padding: 34px;
    border: 1px solid #dfe1e9;
}

.swimmer-career-panel .section-header {
    min-height: 88px;
    margin-bottom: 24px;
}

.swimmer-records-panel .records-grid {
    grid-template-columns: 1fr;
}

.swimmer-records-panel .record-card {
    min-height: 102px;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.swimmer-records-panel .record-card strong {
    text-align: right;
}

.swimmer-all-seasons-panel {
    border-color: #0b0826;
    background:
        linear-gradient(145deg, #0b0826 0%, #101344 62%, #1b3188 100%);
    color: #ffffff;
}

.all-seasons-heading {
    min-height: 88px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.25);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.all-seasons-heading span {
    display: block;
    margin-bottom: 12px;
    color: #91a3ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .25em;
}

.all-seasons-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -.03em;
}

.all-seasons-heading p {
    max-width: 190px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 11px;
    line-height: 1.45;
    text-align: right;
}

.all-seasons-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.18);
    border-left: 1px solid rgba(255,255,255,.18);
}

.all-seasons-grid > div {
    min-height: 112px;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.all-seasons-grid dt {
    color: rgba(255,255,255,.62);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.all-seasons-grid dd {
    margin: 0;
    color: #ffffff;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

.all-seasons-grid .all-seasons-duration {
    font-size: clamp(21px, 2.2vw, 31px);
    letter-spacing: -.03em;
}

.all-seasons-loyalty {
    position: relative;
    overflow: hidden;
    background: rgba(82,101,207,.14);
}

.all-seasons-loyalty::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -36px;
    width: 122px;
    height: 122px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.loyalty-badge {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border: 2px solid #91a3ff;
    border-radius: 50%;
    box-shadow:
        0 0 0 5px rgba(145,163,255,.12),
        inset 0 0 22px rgba(145,163,255,.16);
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: center;
    align-content: center;
    gap: 0;
}

.loyalty-badge span {
    font-size: 29px;
    font-weight: 900;
    line-height: .95;
}

.loyalty-badge small {
    color: #91a3ff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .16em;
}

.all-seasons-grid > .all-seasons-medals {
    grid-column: 1 / -1;
    min-height: 118px;
    background: rgba(255,255,255,.045);
}

.all-seasons-medals > dd {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.all-seasons-medal {
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.all-seasons-medal small {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.all-seasons-medal strong {
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
}

.all-seasons-medal-gold {
    border-color: rgba(226,190,92,.68);
}

.all-seasons-medal-gold small {
    color: #e2be5c;
}

.all-seasons-medal-silver {
    border-color: rgba(206,214,227,.62);
}

.all-seasons-medal-silver small {
    color: #ced6e3;
}

.all-seasons-medal-bronze {
    border-color: rgba(204,133,86,.7);
}

.all-seasons-medal-bronze small {
    color: #cc8556;
}

.records-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 15px;
}


.record-card {
    background: #f6f6f6;

    border-top:
        4px solid
        #0b0826;

    padding: 25px;

    display: flex;

    flex-direction: column;

    gap: 12px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.record-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.08);
}


.record-card span {
    color: #555;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;
}


.record-card strong {
    color: #0b0826;

    font-size: 32px;

    font-weight: 900;
}


/* =====================================================
   TABLEAU RÉSULTATS
===================================================== */

.swimmer-results-wrapper {
    overflow-x: auto;
}


.swimmer-results-table {
    width: 100%;

    border-collapse: collapse;
}


.swimmer-results-table th {
    background: #0b0826;

    color: white;

    text-align: left;

    padding: 17px;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .12em;
}


.swimmer-results-table td {
    padding: 18px 17px;

    border-bottom:
        1px solid
        #e7e7e7;

    font-size: 13px;
}


.swimmer-results-table tr:hover td {
    background: #f7f7f7;
}


.result-points {
    color: #0b0826;

    font-weight: 900;
}


/* =====================================================
   SAISONS
===================================================== */

.seasons-list {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                300px,
                1fr
            )
        );

    gap: 20px;
}


.season-card {
    padding: 30px;

    background: #f6f6f6;

    border-top:
        5px solid
        #0b0826;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            1fr
        );

    gap: 25px;
}


.season-year {
    grid-column:
        1 / -1;

    font-size: 42px;

    font-weight: 900;

    color: #0b0826;

    border-bottom:
        1px solid
        #dddddd;

    padding-bottom: 15px;
}


.season-stat {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.season-stat span {
    font-size: 9px;

    color: #777;

    font-weight: 900;

    letter-spacing: .1em;
}


.season-stat strong {
    font-size: 28px;

    font-weight: 900;
}


/* =====================================================
   CHRONOLOGIE DE CARRIÈRE
===================================================== */

.swimmer-seasons-section {
    margin-top: 78px;
    padding-top: 52px;
    border-top: 3px solid #0b0826;
}

.career-timeline-heading {
    margin-bottom: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: end;
    gap: 50px;
}

.career-timeline-heading > div > span {
    display: block;
    margin-bottom: 12px;
    color: #5265cf;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .25em;
}

.career-timeline-heading h2 {
    margin: 0;
    color: #0b0826;
    font-size: clamp(38px, 5vw, 62px);
    line-height: .95;
    letter-spacing: -.05em;
    text-transform: uppercase;
}

.career-timeline-heading > p {
    margin: 0;
    padding-left: 25px;
    border-left: 3px solid #0b0826;
    color: #626574;
    font-size: 15px;
    line-height: 1.65;
}

.career-timeline {
    border-bottom: 1px solid #d8dae2;
}

.career-years-navigation {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: stretch;
    border-top: 1px solid #d8dae2;
    border-bottom: 1px solid #d8dae2;
}

.career-years {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.career-years::-webkit-scrollbar {
    display: none;
}

.career-year-button,
.career-year-arrow {
    min-height: 56px;
    border: 0;
    background: #ffffff;
    color: #0b0826;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.career-year-button {
    min-width: 96px;
    flex: 1 0 96px;
    padding: 0 20px;
    font-size: 13px;
    transition: color .2s ease, background .2s ease;
}

.career-year-button:hover,
.career-year-button:focus-visible {
    background: #eef0fb;
}

.career-year-button.active {
    background: #0b0826;
    color: #ffffff;
}

.career-year-arrow {
    display: grid;
    place-items: center;
    font-size: 34px;
    line-height: 1;
    transition: color .2s ease, background .2s ease, opacity .2s ease;
}

.career-year-arrow:hover:not(:disabled),
.career-year-arrow:focus-visible:not(:disabled) {
    background: #0b0826;
    color: #ffffff;
}

.career-year-arrow:disabled {
    opacity: .2;
    cursor: default;
}

.career-season-panel {
    padding: 46px 0 0;
    outline: none;
}

.career-season-panel:focus-visible {
    outline: 3px solid #5265cf;
    outline-offset: 6px;
}

.career-season-header {
    margin-bottom: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
}

.career-season-header > div > span {
    display: block;
    margin-bottom: 7px;
    color: #5265cf;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.career-season-header h3 {
    margin: 0;
    color: #0b0826;
    font-size: 58px;
    line-height: .9;
    letter-spacing: -.05em;
}

.career-season-header p {
    margin: 0;
    color: #666978;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.career-season-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #0b0826;
    color: #ffffff;
}

.career-season-stats > div {
    min-height: 138px;
    padding: 25px;
    border-right: 1px solid rgba(255,255,255,.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.career-season-stats > div:last-child {
    border-right: 0;
}

.career-season-stats span {
    color: rgba(255,255,255,.68);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.career-season-stats strong {
    font-size: 40px;
    line-height: 1;
}

.career-medals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 1px solid #d8dae2;
    border-left: 1px solid #d8dae2;
}

.career-medal {
    min-height: 82px;
    padding: 20px 24px;
    border-right: 1px solid #d8dae2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.career-medal:last-child {
    border-right: 0;
}

.career-medal span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
}

.career-medal strong {
    font-size: 30px;
}

.career-medal-gold {
    box-shadow: inset 0 4px 0 #caa125;
}

.career-medal-silver {
    box-shadow: inset 0 4px 0 #a8abb3;
}

.career-medal-bronze {
    box-shadow: inset 0 4px 0 #ad6a38;
}

.career-official-awards {
    margin-top: 24px;
    padding: 18px 20px;
    border-left: 4px solid #5265cf;
    background: #f6f7fc;
}

.career-official-awards-heading {
    margin-bottom: 11px;
    display: flex;
    align-items: center;
}

.career-official-awards-heading h4 {
    margin: 0;
    color: #0b0826;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.career-official-awards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.career-official-award {
    min-height: 0;
    padding: 10px 13px;
    border: 1px solid #dce0ee;
    border-left: 3px solid #5265cf;
    background: #ffffff;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 5px 12px;
}

.career-official-award > span {
    color: #5265cf;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .1em;
    white-space: nowrap;
}

.career-official-award > strong {
    color: #0b0826;
    font-size: 13px;
    line-height: 1.25;
    text-transform: uppercase;
}

.career-official-award > p {
    grid-column: 1 / -1;
    margin: 1px 0 0;
    color: #626574;
    font-size: 11px;
    line-height: 1.4;
}

.career-highlights {
    margin: 35px 0 0;
    padding: 0;
    list-style: none;
}

.career-highlights li {
    min-height: 66px;
    padding: 18px 0;
    border-top: 1px solid #d8dae2;
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.career-highlights strong {
    color: #0b0826;
    font-size: 10px;
    letter-spacing: .12em;
}

.career-highlights span {
    color: #30323a;
    font-size: 14px;
    line-height: 1.5;
}


/* =====================================================
   ETATS VIDES
===================================================== */

.empty-state,
.loading-block {
    width: 100%;

    padding: 50px;

    background: #f7f7f7;

    text-align: center;

    color: #777;

    grid-column:
        1 / -1;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (
    max-width: 900px
) {

    .swimmer-hero {
        min-height: auto;

        padding: 50px 20px;
    }


    .swimmer-hero-center {
        padding: 20px 50px;

        flex-direction: column;

        text-align: center;
    }


    .swimmer-hero-information {
        align-items: center;
    }


    .swimmer-photo-container {
        height: 230px;

        width: 240px;
    }

    .swimmer-hero h1 {
        font-size: clamp(27px, 8vw, 44px);
        white-space: nowrap;
    }


    .swimmer-navigation {
        padding: 5px;
    }


    .navigation-name {
        display: none;
    }


    .navigation-arrow {
        font-size: 50px;
    }


    .swimmer-overview {
        align-items: flex-start;

        flex-direction: column;

        gap: 30px;
    }


    .swimmer-status {
        gap: 25px;
    }


    .swimmer-statistics {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .stat-card:nth-child(2) {
        border-right: none;
    }


    .records-grid {
        grid-template-columns:
            1fr;
    }

    .swimmer-career-summary {
        grid-template-columns: 1fr;
    }

    .career-timeline-heading {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .career-timeline-heading > p {
        max-width: 620px;
    }

}


@media (
    max-width: 600px
) {

    .swimmer-main {
        padding:
            45px
            15px
            70px;
    }


    .swimmer-overview-title h2,
    .section-header h2 {
        font-size: 30px;
    }


    .swimmer-status {
        width: 100%;

        justify-content: space-between;
    }


    .stat-card strong {
        font-size: 32px;
    }


    .swimmer-results-table {
        min-width: 650px;
    }

    .swimmer-career-panel {
        padding: 24px;
    }

    .swimmer-records-panel .record-card {
        min-height: 92px;
    }

    .all-seasons-heading {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .all-seasons-heading h2 {
        font-size: 32px;
    }

    .all-seasons-heading p {
        max-width: 320px;
        text-align: left;
    }

    .all-seasons-grid {
        grid-template-columns: 1fr;
    }

    .swimmer-seasons-section {
        margin-top: 58px;
        padding-top: 38px;
    }

    .career-timeline-heading {
        margin-bottom: 30px;
    }

    .career-timeline-heading h2 {
        font-size: 38px;
    }

    .career-years-navigation {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
    }

    .career-year-button,
    .career-year-arrow {
        min-height: 50px;
    }

    .career-season-panel {
        padding-top: 35px;
    }

    .career-season-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .career-season-header h3 {
        font-size: 48px;
    }

    .career-season-header p {
        text-align: left;
    }

    .career-season-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-season-stats > div:nth-child(2) {
        border-right: 0;
    }

    .career-season-stats > div:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255,255,255,.2);
    }

    .career-medal {
        min-height: 92px;
        padding: 16px 10px;
        align-items: flex-start;
        flex-direction: column;
    }

    .career-official-awards {
        padding: 16px;
    }

    .career-official-awards-heading {
        margin-bottom: 10px;
    }

    .career-official-awards-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .career-official-award {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .career-official-award > p {
        grid-column: auto;
    }

    .career-highlights li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

}
.ranking-swimmer-link {

    color: inherit;

    text-decoration: none;

    font-weight: 900;

    transition:
        color .2s ease;

}


.ranking-swimmer-link:hover {

    color: #0b0826;

}

.stat-icon svg {
    width: 54px;
    height: 54px;
    color: #111111;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    shape-rendering: geometricPrecision;
    vector-effect: non-scaling-stroke;
}

.stat-icon svg text {
    fill: currentColor;
    stroke: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 900;
    text-anchor: middle;
}

.stat-icon .laurel-icon {
    width: 58px;
    height: 58px;
    stroke-width: 2.1;
}

.stat-icon .participation-icon,
.stat-icon .podium-icon {
    width: 58px;
    height: 58px;
    stroke-width: 2.2;
}

.stat-icon .points-icon {
    width: 58px;
    height: 58px;
    stroke-width: 2.2;
}

.stat-icon .points-icon text {
    font-size: 12px;
    font-weight: 800;
    dominant-baseline: central;
}

@media (max-width: 620px) {
    .footer-partner-top {
        grid-template-columns: minmax(0, 1fr) 165px 42px;
        gap: 12px 0;
    }

    .footer-league-group {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
    }

    .footer-partner-top::after {
        grid-column: 1;
        grid-row: 2;
        width: 95px;
        height: 64px;
        background-size: 92px 92px;
        justify-self: end;
        transform: translateX(-8px);
    }

    .footer-partner-logo {
        grid-column: 2;
        grid-row: 2;
        width: 190px;
        height: 72px;
        justify-self: center;
        transform: translateX(-27px);
    }

    .footer-partner-copyright {
        grid-column: 3;
        grid-row: 2;
        margin-left: 8px;
        justify-self: start;
        text-align: left;
    }

    .footer-league-group {
        width: 100%;
    }

    .footer-clubs {
        gap: 20px 28px;
    }

    .footer-clubs img {
        width: 78px;
        height: 70px;
    }
}


/* =====================================================
   RIVALITÉS
===================================================== */

.rivalries-page {
    background: #ffffff;
}

.rivalries-hero {
    background: #0b0826;
    color: #ffffff;
}

.rivalries-hero-content {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 72px 0 0;
}

.rivalries-hero-content > span,
.rivalry-builder-heading > span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .22em;
}

.rivalries-hero h1 {
    margin: 12px 0 8px;
    font-size: clamp(58px, 7vw, 94px);
    line-height: .92;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.rivalries-hero-content > p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 15px;
}

.rivalry-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 48px;
    border-top: 1px solid rgba(255,255,255,.35);
}

.rivalry-mode {
    min-height: 175px;
    padding: 30px 34px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.35);
    background: transparent;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease;
}

.rivalry-mode:last-child {
    border-right: 0;
}

.rivalry-mode:hover,
.rivalry-mode.active {
    background: rgba(255,255,255,.12);
}

.rivalry-mode:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -6px;
}

.rivalry-mode small {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.rivalry-mode strong {
    margin: 9px 0 5px;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1;
    text-transform: uppercase;
}

.rivalry-mode span {
    color: rgba(255,255,255,.7);
    font-size: 12px;
}

.rivalry-builder {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 75px 0 105px;
}

.rivalry-builder-heading {
    text-align: center;
}

.rivalry-builder-heading > span {
    color: #0b0826;
}

.rivalry-builder-heading h2 {
    margin: 12px 0 10px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -.045em;
}

.rivalry-builder-heading p {
    margin: 0;
    color: #6f6f6f;
}

.rivalry-selectors {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    margin: 50px 0 38px;
}

.rivalry-selectors label > span {
    display: block;
    margin-bottom: 9px;
    color: #0b0826;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.rivalry-selectors select {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 2px solid #0b0826;
    border-radius: 0;
    background: #ffffff;
    color: #111111;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}

.rivalry-versus,
.rivalry-center-mark {
    color: #0b0826;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.rivalry-message {
    padding: 16px;
    background: #f1f3f8;
    color: #0b0826;
    font-weight: 800;
    text-align: center;
}

.rivalry-modal-open {
    overflow: hidden;
}

.rivalry-choice-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
}

.rivalry-choice-modal[hidden] {
    display: none;
}

.rivalry-choice-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(3, 2, 18, .82);
    backdrop-filter: blur(8px);
    cursor: default;
}

.rivalry-choice-dialog {
    position: relative;
    width: min(1120px, 100%);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding: 46px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: #0b0826;
    color: #ffffff;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
    outline: 0;
}

.rivalry-choice-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    display: grid;
    place-items: center;
    font: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.rivalry-choice-heading {
    max-width: 790px;
    margin-bottom: 34px;
}

.rivalry-choice-heading > span {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .22em;
}

.rivalry-choice-heading h2 {
    margin: 10px 0 9px;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: .98;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.rivalry-choice-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
}

.rivalry-age-options {
    display: grid;
    gap: 10px;
}

.rivalry-age-options[hidden],
.rivalry-club-options[hidden] {
    display: none;
}

.rivalry-age-group {
    display: grid;
    grid-template-columns: minmax(245px, .8fr) minmax(0, 1.4fr);
    min-height: 126px;
    border: 1px solid rgba(255, 255, 255, .22);
}

.rivalry-age-copy {
    padding: 25px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rivalry-age-copy small,
.rivalry-club-options small {
    color: rgba(255, 255, 255, .56);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.rivalry-age-copy strong {
    margin: 7px 0 4px;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
}

.rivalry-age-copy span {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
}

.rivalry-gender-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rivalry-gender-options button,
.rivalry-club-options button {
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .045);
    color: #ffffff;
    font: inherit;
    font-size: clamp(16px, 2vw, 23px);
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.rivalry-gender-options button {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rivalry-gender-options button + button {
    border-left-color: rgba(255, 255, 255, .22);
}

.rivalry-gender-options button:hover,
.rivalry-gender-options button:focus-visible,
.rivalry-club-options button:hover,
.rivalry-club-options button:focus-visible,
.rivalry-choice-close:hover,
.rivalry-choice-close:focus-visible {
    background: #ffffff;
    color: #0b0826;
    outline: 0;
}

.rivalry-club-options button {
    width: 100%;
    min-height: 190px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, .22);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rivalry-club-options strong {
    margin: 10px 0 7px;
    font-size: clamp(28px, 4vw, 48px);
}

.rivalry-club-options span {
    font-size: 11px;
}

.rivalry-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    min-height: 420px;
}

.rivalry-comparison.rivalry-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rivalry-comparison.rivalry-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rival-card {
    position: relative;
    min-width: 0;
    padding: 38px;
    border-top: 5px solid #0b0826;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.rival-slot-label {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 7px 10px;
    background: #5265cf;
    color: #ffffff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.rival-card-visual {
    height: 150px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
}

.rival-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rival-card-fallback {
    font-size: 78px;
}

.rival-card > small {
    color: #0b0826;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.rival-card h3 {
    margin: 8px 0 6px;
    font-size: clamp(27px, 3.2vw, 43px);
    line-height: 1;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.rival-card h3 span {
    font-weight: 400;
}

.rival-card > a:not(.rival-profile-link) {
    color: #555555;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.rival-card dl {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 28px 0;
}

.rival-card dl div {
    padding: 12px 5px;
    border-right: 1px solid #dddddd;
}

.rival-card dl div:last-child {
    border-right: 0;
}

.rival-card dt {
    min-height: 24px;
    color: #777777;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
}

.rival-card dd {
    margin: 5px 0 0;
    color: #0b0826;
    font-size: 25px;
    font-weight: 900;
}

.rival-profile-link {
    display: inline-block;
    align-self: center;
    margin-top: auto;
    padding-bottom: 4px;
    border-bottom: 2px solid #0b0826;
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rival-club-mark {
    width: 118px;
    height: 118px;
    margin: 10px auto 24px;
    border-radius: 50%;
    background: #0b0826;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 900;
}

.rivalry-count-3 .rival-card,
.rivalry-count-4 .rival-card {
    padding: 27px 22px;
}

.rivalry-count-3 .rival-card-visual,
.rivalry-count-4 .rival-card-visual {
    height: 120px;
}

.rivalry-count-3 .rival-card h3,
.rivalry-count-4 .rival-card h3 {
    font-size: clamp(22px, 2.1vw, 34px);
}

.rivalry-count-3 .rival-card dl,
.rivalry-count-4 .rival-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rivalry-count-3 .rival-card dl div:nth-child(even),
.rivalry-count-4 .rival-card dl div:nth-child(even) {
    border-right: 0;
}

.rivalry-count-3 .rival-card dd,
.rivalry-count-4 .rival-card dd {
    font-size: 21px;
}

.rivalry-count-3 .rival-club-mark,
.rivalry-count-4 .rival-club-mark {
    width: 96px;
    height: 96px;
    font-size: 28px;
}

@media (max-width: 1100px) {
    .rivalry-selectors,
    .rivalry-comparison.rivalry-count-3,
    .rivalry-comparison.rivalry-count-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .rivalry-choice-dialog {
        padding: 38px 26px 28px;
    }

    .rivalry-age-group {
        grid-template-columns: 1fr;
    }

    .rivalry-gender-options button {
        border-top: 1px solid rgba(255, 255, 255, .22);
    }

    .rivalry-gender-options button:first-child {
        border-left: 0;
    }

    .rivalry-comparison,
    .rivalry-comparison.rivalry-count-3,
    .rivalry-comparison.rivalry-count-4 {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .rivalry-center-mark {
        padding: 4px 0;
    }

    .rival-card dl {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 620px) {
    .rivalries-hero-content,
    .rivalry-builder {
        width: min(100% - 30px, 1200px);
    }

    .rivalry-mode-switch,
    .rivalry-selectors {
        grid-template-columns: 1fr;
    }

    .rivalry-mode {
        min-height: 145px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.35);
    }

    .rivalry-versus {
        padding: 14px 0;
    }

    .rivalry-choice-modal {
        padding: 12px;
    }

    .rivalry-choice-dialog {
        max-height: calc(100vh - 24px);
        padding: 48px 18px 20px;
    }

    .rivalry-choice-heading {
        margin-bottom: 24px;
    }

    .rivalry-gender-options {
        grid-template-columns: 1fr;
    }

    .rivalry-gender-options button,
    .rivalry-gender-options button + button {
        min-height: 62px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .22);
    }

    .rival-card {
        padding: 28px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .clubs-track {
        animation-play-state: paused;
    }
}

.ranking-club-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.ranking-club-link:hover,
.swimmer-club:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ranking-club-link:hover {
    color: #0b0826;
}

@media (max-width: 520px) {
    .footer-partner-top {
        grid-template-columns: minmax(0, 1fr) 145px 42px;
    }

    .footer-partner-bar {
        gap: 8px;

        padding: 20px 5%;

        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .footer-partner-logo {
        width: 170px;

        height: 64px;

        transform: translateX(-25px);
    }

    .footer-partner-top::after {
        width: 88px;
        height: 58px;
        background-size: 85px 85px;
        transform: translateX(-6px);
    }

    .footer-league-logo {
        width: 125px;

        height: 60px;
    }

    .footer-league-group {
        width: 100%;
    }

    .footer-departments {
        font-size: 6.5px;

        line-height: 1.45;

        letter-spacing: 0.45px;
    }

    .footer-partner-copyright {
        font-size: 8px;
    }
}

/* ================= TRANSITION RAPIDE · PAGES INTÉRIEURES ================= */

html.interior-transition-pending {
    background: #0b0826;
}

html.interior-transition-pending body {
    visibility: hidden;
    animation: interior-transition-pending-failsafe 0s 2s forwards;
}

html.interior-transition-pending .interior-page-transition {
    visibility: visible;
}

@keyframes interior-transition-pending-failsafe {
    to {
        visibility: visible;
    }
}

.interior-page-transition {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background: #0b0826;
    will-change: opacity;
}

.interior-page-transition::before,
.interior-page-transition::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.interior-page-transition::before {
    inset: 0;
    opacity: .16;
    background:
        linear-gradient(120deg, transparent 12%, rgba(104, 126, 255, .16) 47%, transparent 70%),
        repeating-linear-gradient(90deg, transparent 0 84px, rgba(255, 255, 255, .025) 85px);
}

.interior-page-transition::after {
    right: 5vw;
    bottom: 7vh;
    left: 5vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
    transform: scaleX(0);
    transform-origin: center;
}

.interior-page-transition-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(760px, 92vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(50, 70, 180, .24), transparent 67%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.75);
}

.interior-page-transition.is-entering {
    visibility: visible;
    animation: interior-page-intro-reveal 1s cubic-bezier(.4, 0, .2, 1) both;
}

.interior-page-transition.is-entering::after {
    animation: interior-page-intro-line .92s .04s cubic-bezier(.2, .7, .2, 1) both;
}

.interior-page-transition.is-entering .interior-page-transition-line {
    animation: interior-page-intro-glow .96s ease-in-out both;
}

.interior-page-transition.is-leaving {
    visibility: visible;
    pointer-events: auto;
}

.interior-page-transition.is-continuing {
    visibility: visible;
    animation: interior-page-intro-continue 600ms cubic-bezier(.4, 0, .2, 1) both;
}

.interior-page-transition.is-leaving::after {
    animation: interior-page-line-out 280ms ease-out both;
}

.interior-page-transition.is-continuing::after {
    animation: interior-page-line-in 600ms ease-out both;
}

.interior-page-transition.is-leaving .interior-page-transition-line {
    animation: interior-page-glow-out 280ms ease-out both;
}

.interior-page-transition.is-continuing .interior-page-transition-line {
    animation: interior-page-glow-in 600ms ease-out both;
}

@keyframes interior-page-intro-reveal {
    0%, 34% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes interior-page-intro-continue {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes interior-page-intro-line {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    20%, 68% {
        opacity: 1;
    }
    82% {
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(1);
    }
}

@keyframes interior-page-intro-glow {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.75);
    }
    35%, 68% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.12);
    }
}

@keyframes interior-page-line-out {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes interior-page-line-in {
    from {
        opacity: 1;
        transform: scaleX(1);
    }
    to {
        opacity: 0;
        transform: scaleX(1);
    }
}

@keyframes interior-page-glow-out {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.78);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(.95);
    }
}

@keyframes interior-page-glow-in {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(.95);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .interior-page-transition {
        display: none;
    }
}


/* =====================================================
   PAGES CLUBS
===================================================== */

.clubs-page,
.club-profile-page,
.reglement-page {
    background: #ffffff;
}

.reglement-content {
    width: min(1160px, calc(100% - 60px));
    margin: 0 auto;
    padding: 75px 0 105px;
}

.reglement-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.reglement-heading > span {
    display: block;
    margin-bottom: 14px;
    color: #0b0826;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .3em;
}

.reglement-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -.04em;
}

.reglement-heading p,
.reglement-grid p {
    color: #666666;
    line-height: 1.65;
}

.reglement-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.reglement-summary > div {
    min-height: 150px;
    padding: 30px;
    border: 1px solid #e2e3e8;
    border-top: 5px solid #0b0826;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reglement-summary strong {
    color: #0b0826;
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
}

.reglement-summary span {
    margin-top: 10px;
    color: #555555;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: none;
    white-space: nowrap;
}

.swimmer-nationality {
    margin: 0;
    color: rgba(255,255,255,.82);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .1em;
}

.swimmer-identity-line {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.swimmer-identity-line .swimmer-nationality {
    padding-left: 15px;
    border-left: 1px solid rgba(255,255,255,.4);
}

.swimmer-birth-date {
    margin-top: 10px;
    color: rgba(255,255,255,.76);
    font-size: 12px;
    font-weight: 400;
}

.swimmer-nationality-flag {
    width: 28px;
    height: 18px;
    border: 1px solid rgba(255,255,255,.5);
    overflow: hidden;
    display: inline-grid;
    place-items: center;
    font-size: 21px;
    line-height: 1;
}

.swimmer-nationality-flag img,
.swimmer-roster-flag img,
.home-table-flag img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swimmer-nationality-flag,
.swimmer-roster-flag,
.home-table-flag {
    position: relative;
}

.swimmer-nationality-flag[data-country="FR"] {
    border: 0;
    background: linear-gradient(90deg, #0055a4 0 33.333%, #ffffff 33.333% 66.666%, #ef4135 66.666% 100%);
    font-size: 0;
}

@media (min-width: 901px) {
    .swimmer-page:not(.club-profile-page) .swimmer-hero {
        min-height: 360px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-hero-center {
        width: 905px;
        max-width: 905px;
        height: 360px;
        padding: 30px 0;
        display: grid;
        grid-template-columns: 310px 560px;
        align-items: center;
        gap: 35px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-photo-container {
        height: 300px;
        width: 310px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-hero-information {
        position: relative;
        width: 560px;
        height: 300px;
        padding-bottom: 0;
        transform: none;
        display: block;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-hero-information h1 {
        position: absolute;
        top: 48px;
        left: 0;
        width: 560px;
        font-size: 40px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-identity-line {
        position: absolute;
        top: 103px;
        left: 0;
        width: 260px;
        margin: 0;
        display: grid;
        grid-template-columns: 125px 120px;
        gap: 0;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-birth-date {
        position: absolute;
        top: 138px;
        left: 0;
        margin: 0;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-club-group {
        position: absolute;
        top: 157px;
        left: 0;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-club {
        width: 340px;
        height: 24px;
        margin: 0;
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (min-width: 1200px) {
    .swimmer-page:not(.club-profile-page) .swimmer-hero {
        min-height: 360px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-hero-center {
        width: min(1030px, calc(100% - 300px));
        max-width: 1030px;
        height: 360px;
        padding: 10px 0 0;
        grid-template-columns: minmax(350px, 395px) minmax(520px, 620px);
        gap: 8px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-photo-container {
        align-self: end;
        justify-content: flex-end;
        width: 100%;
        height: 350px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-photo {
        width: 100%;
        height: 100%;
        object-position: right bottom;
        transform: scale(.95);
        transform-origin: right bottom;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-photo.is-full-body-portrait {
        object-fit: cover;
        object-position: center top;
        transform: translateX(18px) scale(1.2);
        transform-origin: center top;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-hero-information {
        width: 100%;
        height: 300px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-hero-information h1 {
        top: 48px;
        width: 100%;
        font-size: clamp(40px, 2.7vw, 50px);
    }

    .swimmer-page:not(.club-profile-page) .swimmer-identity-line {
        top: 106px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-birth-date {
        top: 141px;
    }

    .swimmer-page:not(.club-profile-page) .swimmer-club-group {
        top: 163px;
    }
}

.reglement-principles {
    padding: 22px 28px;
    background: #0b0826;
    color: #ffffff;
    display: flex;
    justify-content: center;
    gap: 16px 42px;
    flex-wrap: wrap;
}

.reglement-principles span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.swimmer-hero h1 strong {
    font-weight: 900;
}

.reglement-layout {
    margin-top: 70px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.reglement-toc {
    position: sticky;
    top: 25px;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #e1e2e8;
    border-top: 5px solid #0b0826;
    background: #ffffff;
}

.reglement-toc > span {
    display: block;
    margin-bottom: 16px;
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .25em;
}

.reglement-toc nav {
    display: flex;
    flex-direction: column;
}

.reglement-toc a {
    padding: 9px 0;
    border-bottom: 1px solid #eeeeef;
    color: #555555;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    transition: color .2s ease, padding-left .2s ease;
}

.reglement-toc a:hover,
.reglement-toc a:focus-visible {
    padding-left: 5px;
    color: #0b0826;
}

.reglement-articles {
    min-width: 0;
}

.reglement-article {
    scroll-margin-top: 24px;
    padding: 42px 44px;
    border: 1px solid #e1e2e8;
    border-top: 5px solid #0b0826;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(10, 8, 35, .045);
}

.reglement-article + .reglement-article {
    margin-top: 24px;
}

.reglement-article > span {
    display: block;
    margin-bottom: 13px;
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .25em;
}

.reglement-article h3 {
    margin-bottom: 25px;
    font-size: clamp(26px, 3vw, 39px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.reglement-article p,
.reglement-article li {
    color: #4f4f55;
    font-size: 15px;
    line-height: 1.75;
}

.reglement-article p + p,
.reglement-article ul + p,
.reglement-article div + p {
    margin-top: 16px;
}

.reglement-article ul {
    margin: 18px 0 0 20px;
    columns: 2;
    column-gap: 35px;
}

.reglement-article li {
    margin-bottom: 7px;
    break-inside: avoid;
}

.reglement-preamble {
    color: #ffffff;
    background: #0b0826;
    border-color: #0b0826;
}

.reglement-preamble > span,
.reglement-preamble p,
.reglement-preamble li {
    color: rgba(255,255,255,.9);
}

.reglement-preamble h3 {
    color: #ffffff;
}

.rule-callouts {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rule-callouts > strong {
    padding: 20px;
    color: #0b0826;
    background: #f1f3f8;
    font-size: 15px;
}

.rule-callouts small {
    display: block;
    margin-top: 7px;
    color: #555555;
    font-size: 11px;
    font-weight: 800;
}

.rule-table-wrap {
    margin-top: 22px;
    overflow-x: auto;
}

.rule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rule-table th {
    padding: 13px 18px;
    color: #ffffff;
    background: #0b0826;
    text-align: left;
}

.rule-table td {
    padding: 11px 18px;
    border-bottom: 1px solid #e4e4e8;
}

.rule-table tbody tr:nth-child(even) {
    background: #f7f7f9;
}

.rule-table td:last-child {
    color: #0b0826;
    font-weight: 900;
}

.rule-columns {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.rule-columns > div {
    padding: 20px;
    background: #f7f7f9;
}

.rule-columns strong {
    color: #0b0826;
    font-size: 12px;
}

.rule-columns ul {
    margin-top: 12px;
    columns: auto;
}

.chrono-scale {
    margin-top: 30px;
    padding: 28px;
    border-left: 5px solid #0b0826;
    background: #f1f3f8;
}

.chrono-scale > span {
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .22em;
}

.chrono-scale h4 {
    margin: 10px 0 16px;
    font-size: 21px;
}

.chrono-scale .rule-table {
    background: #ffffff;
}

.reglement-spirit {
    padding-top: 55px;
    padding-bottom: 55px;
    color: #ffffff;
    background: #0b0826;
    border-color: #0b0826;
}

.reglement-spirit > span {
    color: rgba(255,255,255,.78);
}

.reglement-spirit h3,
.reglement-spirit p {
    color: #ffffff;
}

.spirit-lines {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
}

.spirit-lines strong {
    padding: 14px 16px;
    background: rgba(255,255,255,.12);
    font-size: 13px;
}

.spirit-signature {
    margin-top: 35px !important;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.25);
    font-size: 18px !important;
}

.reglement-document-heading {
    margin-top: 70px;
    padding-bottom: 24px;
    border-bottom: 3px solid #0b0826;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.reglement-document-heading span {
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .25em;
}

.reglement-document-heading h3 {
    margin-top: 10px;
    font-size: clamp(25px, 3vw, 38px);
}

.reglement-download {
    flex: 0 0 auto;
    padding: 14px 20px;
    border: 2px solid #0b0826;
    color: #0b0826;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease;
}

.reglement-download:hover,
.reglement-download:focus-visible {
    background: #0b0826;
    color: #ffffff;
}

.reglement-pdf {
    display: block;
    width: 100%;
    height: min(1050px, 82vh);
    margin-top: 30px;
    border: 1px solid #dfe0e6;
    background: #f5f5f7;
}

@media (max-width: 700px) {
    .reglement-content {
        width: min(100% - 36px, 1160px);
        padding: 55px 0 75px;
    }

    .reglement-summary {
        grid-template-columns: 1fr;
    }

    .reglement-summary > div {
        min-height: 110px;
    }

    .reglement-document-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .reglement-pdf {
        height: 72vh;
    }

    .reglement-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 45px;
    }

    .reglement-toc {
        position: static;
        max-height: 330px;
    }

    .reglement-article {
        padding: 30px 24px;
    }

    .reglement-article ul,
    .rule-columns {
        columns: auto;
        grid-template-columns: 1fr;
    }

    .rule-callouts,
    .spirit-lines {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   PAGE CALENDRIER
===================================================== */

.calendar-page {
    background: #ffffff;
}

.calendar-content {
    width: min(1160px, calc(100% - 60px));
    margin: 0 auto;
    padding: 75px 0 105px;
}

.calendar-heading {
    padding-bottom: 32px;
    border-bottom: 3px solid #0b0826;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
}

.calendar-heading > div:first-child {
    max-width: 760px;
}

.calendar-heading > div:first-child > span,
.calendar-event-main > span,
.calendar-info span {
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .25em;
}

.calendar-heading h2 {
    margin: 13px 0 15px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: .98;
    letter-spacing: -.045em;
}

.calendar-heading p {
    color: #666666;
    font-size: 15px;
    line-height: 1.65;
}

.calendar-season-badge {
    width: 125px;
    height: 125px;
    flex: 0 0 125px;
    border-radius: 50%;
    color: #ffffff;
    background: #0b0826;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calendar-season-badge strong {
    font-size: 42px;
    line-height: .9;
}

.calendar-season-badge span {
    margin-top: 8px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;

    white-space: nowrap;
}

.calendar-progress {
    margin: 48px 0;
    display: flex;
    align-items: center;
}

.calendar-progress span {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 2px solid #0b0826;
    border-radius: 50%;
    color: #0b0826;
    background: #ffffff;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 900;
}

.calendar-progress span.active {
    color: #ffffff;
    background: #0b0826;
}

.calendar-progress i {
    height: 2px;
    flex: 1 1 auto;
    background: #dce2f2;
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.calendar-event {
    min-height: 210px;
    border: 1px solid #dfe0e6;
    border-left: 6px solid #0b0826;
    background: #ffffff;
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr) 230px;
    align-items: stretch;
    transition: transform .2s ease, box-shadow .2s ease;
}

.calendar-event:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(11, 8, 38, .09);
}

.calendar-event-number {
    padding: 28px;
    color: #0b0826;
    background: #f1f3f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calendar-event-number small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .22em;
}

.calendar-event-number strong {
    margin-top: 7px;
    font-size: 52px;
    line-height: .9;
}

.calendar-event-main {
    padding: 34px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calendar-event-main h3 {
    margin: 10px 0 12px;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.035em;
}

.calendar-event-main p {
    max-width: 580px;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}

.calendar-event-meta {
    padding: 30px;
    border-left: 1px solid #e3e3e8;
    background: #fafafa;
    display: grid;
    align-content: center;
    gap: 6px;
}

.calendar-event-meta span {
    margin-top: 10px;
    color: #85858d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.swimmer-club-logo-frame {
    position: relative;
    width: 88px;
    height: 76px;
    margin-top: 7px;
    overflow: visible;
    display: grid;
    place-items: center;
}

.swimmer-club-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) invert(1);
}

.swimmer-club-group {
    width: 340px;
    max-width: 340px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.swimmer-club-logo-frame[hidden] {
    display: none;
}

.swimmer-hero h1 > span {
    font-weight: 400;
}

#swimmer-last-name {
    font-weight: 900;
}

.calendar-event-meta strong {
    color: #222222;
    font-size: 12px;
}

.calendar-event.featured,
.calendar-event.final-event {
    color: #ffffff;
    background: #0b0826;
    border-color: #0b0826;
}

.calendar-event.featured .calendar-event-number,
.calendar-event.final-event .calendar-event-number {
    color: #ffffff;
    background: rgba(255,255,255,.1);
}

.calendar-event.featured .calendar-event-main > span,
.calendar-event.final-event .calendar-event-main > span,
.calendar-event.featured .calendar-event-main p,
.calendar-event.final-event .calendar-event-main p {
    color: rgba(255,255,255,.82);
}

.calendar-event.featured .calendar-event-meta,
.calendar-event.final-event .calendar-event-meta {
    border-color: rgba(255,255,255,.2);
    background: rgba(0,0,0,.08);
}

.calendar-event.featured .calendar-event-meta span,
.calendar-event.final-event .calendar-event-meta span {
    color: rgba(255,255,255,.65);
}

.calendar-event.featured .calendar-event-meta strong,
.calendar-event.final-event .calendar-event-meta strong {
    color: #ffffff;
}

.calendar-info {
    margin-top: 55px;
    padding: 34px 38px;
    border-top: 4px solid #0b0826;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.calendar-info strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
}

.calendar-info p {
    max-width: 500px;
    color: #666666;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 850px) {
    .calendar-event {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .calendar-event-meta {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid #e3e3e8;
        grid-template-columns: auto 1fr auto 1fr;
        align-items: center;
    }

    .calendar-event-meta span {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .calendar-content {
        width: min(100% - 36px, 1160px);
        padding: 55px 0 75px;
    }

    .calendar-heading {
        align-items: flex-start;
    }

    .calendar-season-badge {
        width: 82px;
        height: 82px;
        flex-basis: 82px;
    }

    .calendar-season-badge strong {
        font-size: 28px;
    }

    .calendar-progress span {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .calendar-event {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .calendar-event-number,
    .calendar-event-main,
    .calendar-event-meta {
        padding: 22px 18px;
    }

    .calendar-event-number strong {
        font-size: 38px;
    }

    .calendar-event-meta {
        grid-template-columns: 1fr 2fr;
    }

    .calendar-info {
        align-items: flex-start;
        flex-direction: column;
    }
}

.clubs-hero {
    min-height: 360px;
    padding: 70px max(30px, calc((100% - 1160px) / 2));
    background: #0b0826;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.clubs-hero-content {
    max-width: 720px;
}

.clubs-hero-content span,
.clubs-directory-heading span {
    display: block;
    margin-bottom: 14px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.clubs-hero-content h1 {
    margin: 0 0 16px;
    font-size: clamp(54px, 6vw, 88px);
    line-height: .95;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.clubs-hero-content p {
    max-width: 610px;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 1.6;
}

.clubs-directory {
    --clubs-white-separator: clamp(64px, 5vw, 92px);
    width: 100%;
    margin: 0;
    padding: var(--clubs-white-separator) 0;
    overflow: hidden;
    background: #ffffff;
    color: #ffffff;
}

.clubs-directory-heading {
    margin-bottom: 0;
    padding: 68px max(30px, calc((100% - 1250px) / 2)) 42px;
    border-bottom: 0;
    background: #0b0826;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.clubs-directory-heading span {
    color: rgba(255,255,255,.68);
}

.clubs-directory-heading h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -.04em;
}

.clubs-directory-heading > strong {
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.clubs-departments {
    display: flex;
    flex-direction: column;
    gap: var(--clubs-white-separator);
    padding-top: var(--clubs-white-separator);
    background: #ffffff;
}

.department-clubs {
    padding: 48px max(30px, calc((100% - 1250px) / 2)) 58px;
    background: #0b0826;
}

.department-clubs + .department-clubs {
    padding-top: 58px;
    border-top: 0;
}

.department-clubs-heading {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 26px;
}

.department-clubs-heading span {
    display: block;
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .28em;
}

.department-clubs-heading h3 {
    font-size: clamp(27px, 3.5vw, 42px);
    line-height: 1;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.department-clubs-heading > strong {
    padding-bottom: 7px;
    color: rgba(255,255,255,.68);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.department-slider-controls {
    display: flex;
    gap: 8px;
}

.department-slider-button {
    width: 44px;
    height: 44px;
    border: 2px solid #0b0826;
    color: #0b0826;
    background: #ffffff;
    cursor: pointer;
    font-size: 19px;
    font-weight: 900;
    transition: color .2s ease, background .2s ease, opacity .2s ease;
}

.department-slider-button:hover:not(:disabled),
.department-slider-button:focus-visible:not(:disabled) {
    color: #ffffff;
    background: #0b0826;
}

.department-slider-button:disabled {
    opacity: .24;
    cursor: default;
}

.department-clubs-viewport {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.department-clubs-viewport::-webkit-scrollbar {
    display: none;
}

.department-clubs-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    will-change: transform;
    animation: department-clubs-marquee-right var(--marquee-duration, 36s) linear infinite;
}

.department-clubs-marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 18px;
    padding-right: 18px;
}

@keyframes department-clubs-marquee-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.department-clubs-viewport:focus-within .department-clubs-track {
    animation-play-state: paused;
}

.department-clubs-track .club-directory-card {
    width: 360px;
    flex: 0 0 360px;
    scroll-snap-align: start;
}

.club-directory-card {
    min-height: 290px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.22);
    border-top: 5px solid #586bd6;
    background: rgba(255,255,255,.07);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.club-directory-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.11);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.club-card-top {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.club-card-emblem {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    color: #0b0826;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .05em;
}

.club-card-rank {
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.club-directory-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.15;
    text-transform: uppercase;
}

.club-directory-card p {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    line-height: 1.5;
}

.club-card-stats {
    margin-top: auto;
    padding-top: 23px;
    border-top: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.72);
    font-size: 12px;
}

.club-card-stats strong {
    color: #ffffff;
    font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
    .department-clubs-viewport {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
        scrollbar-width: thin;
    }

    .department-clubs-track {
        animation: none;
    }

    .department-clubs-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

.club-profile-hero .swimmer-hero-center {
    max-width: 1250px;
}

.club-profile-emblem {
    width: 190px;
    height: 190px;
    flex: 0 0 190px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    font-size: 52px;
    font-weight: 900;
    letter-spacing: .04em;
}

.club-profile-hero .swimmer-hero-information {
    max-width: 720px;
}

.club-profile-hero .swimmer-hero-information h1 {
    font-size: clamp(38px, 4.5vw, 72px);
    line-height: .92;
}

.club-profile-page .swimmer-status {
    text-align: left;
}

.club-profile-page .ranking-swimmer-link:hover {
    color: #0b0826;
}


/* =====================================================
   PAGE NAGEURS
===================================================== */

.swimmers-directory-page {
    background: #ffffff;
}

.swimmer-choice-section {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 72px 0 95px;
}

.swimmer-choice-heading {
    margin-bottom: 36px;
    text-align: center;
}

.swimmer-choice-heading > span {
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2em;
}

.swimmer-choice-heading h2 {
    max-width: 760px;
    margin: 12px auto 0;
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.swimmer-choice-panel {
    min-height: 800px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(400px, 1fr);
    box-shadow: 0 24px 65px rgba(11, 8, 38,.13);
}

.swimmer-choice {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 46px;
    color: #ffffff;
    background: #0b0826;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, background-color .25s ease;
}

.swimmer-choice + .swimmer-choice {
    border-left: 1px solid rgba(255,255,255,.55);
}

.swimmer-choice:nth-child(odd) {
    border-left: 0;
}

.swimmer-choice:nth-child(n + 3) {
    border-top: 1px solid rgba(255,255,255,.55);
}

.swimmer-choice::before {
    position: absolute;
    z-index: -1;
    right: -105px;
    bottom: -130px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    content: "";
    display: none;
    transition: transform .35s ease;
}

.swimmer-choice-men {
    background: #0b0826;
}

.swimmer-choice:hover,
.swimmer-choice:focus-visible {
    background: #070817;
    outline: none;
}

.swimmer-choice:hover::before,
.swimmer-choice:focus-visible::before {
    transform: scale(1.18);
}

.swimmer-choice-index {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .12em;
}

.swimmer-choice small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.swimmer-choice h3 {
    margin: 9px 0 13px;
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: .95;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.swimmer-choice p {
    max-width: 390px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.55;
}

.swimmer-choice > strong {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.swimmer-choice > strong span {
    margin-left: 8px;
    font-size: 18px;
}

.swimmers-back {
    margin-bottom: 25px;
    color: #0b0826;
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.swimmers-filters-split {
    grid-template-columns: minmax(260px, 1fr) 280px;
}

.swimmers-directory {
    width: min(1250px, calc(100% - 60px));
    margin: 0 auto;
    padding: 75px 0 105px;
}

.swimmers-directory-heading {
    padding-bottom: 28px;
    border-bottom: 3px solid #0b0826;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.swimmers-directory-heading span {
    display: block;
    margin-bottom: 14px;
    color: #0b0826;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .3em;
}

.swimmers-directory-heading h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -.04em;
}

.swimmers-directory-heading > strong {
    color: #0b0826;
    font-size: 18px;
    text-transform: uppercase;
}

.swimmers-filters {
    margin: 35px 0 42px;
    padding: 22px;
    background: #f5f5f7;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 190px 250px;
    gap: 16px;
}

.swimmers-filters label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.swimmers-filters label > span {
    color: #0b0826;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.swimmers-filters input,
.swimmers-filters select {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #d9d9df;
    border-radius: 0;
    color: #222222;
    background: #ffffff;
    font: inherit;
    font-size: 13px;
}

.swimmers-filters input:focus,
.swimmers-filters select:focus {
    border-color: #0b0826;
    outline: 2px solid rgba(11, 8, 38,.12);
}

.swimmers-rosters {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.swimmer-club-roster-heading {
    margin: 0 0 17px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0b0826;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    color: #111111;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.02em;
    text-align: center;
    text-transform: uppercase;
}

.swimmer-club-roster-heading span {
    color: #777982;
    font-size: 10px;
    letter-spacing: .08em;
}

.swimmer-category-roster + .swimmer-category-roster {
    margin-top: 28px;
}

.swimmer-category-roster-heading {
    margin-bottom: 10px;
    color: #0b0826;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.swimmer-category-roster-heading i {
    height: 1px;
    background: #d5daea;
    flex: 1;
}

.swimmer-roster-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.swimmer-roster-row {
    min-height: 54px;
    padding: 9px 14px;
    border-left: 3px solid transparent;
    color: #151515;
    background: #f1f1f3;
    display: grid;
    grid-template-columns: 36px 38px 28px minmax(0, 1fr) auto 22px;
    gap: 9px;
    align-items: center;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.swimmer-roster-row:nth-child(4n + 3),
.swimmer-roster-row:nth-child(4n + 4) {
    background: #fafafa;
}

.swimmer-roster-row:hover,
.swimmer-roster-row:focus-visible {
    border-left-color: #0b0826;
    color: #ffffff;
    background: #0b0826;
    outline: none;
}

.swimmer-roster-number {
    color: #777982;
    font-size: 11px;
    font-weight: 800;
    text-align: right;
}

.swimmer-roster-portrait {
    position: relative;
    width: 36px;
    height: 36px;
    border: 1px solid #d8d8df;
    border-radius: 50%;
    overflow: hidden;
    color: #0b0826;
    background: #ffffff;
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 900;
}

.swimmer-roster-portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.swimmer-roster-portrait img.is-headshot-crop {
    top: 6px;
    left: 50%;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    transform: translateX(-50%) scale(2.2);
    transform-origin: center top;
}

.swimmer-roster-flag {
    width: 24px;
    height: 16px;
    border: 1px solid #d4d4dc;
    overflow: hidden;
    display: inline-grid;
    place-items: center;
    font-size: 16px;
    line-height: 1;
    text-align: center;
}

.swimmer-roster-flag[data-country="FR"] {
    border: 0;
    background: linear-gradient(90deg, #0055a4 0 33.333%, #ffffff 33.333% 66.666%, #ef4135 66.666% 100%);
    font-size: 0;
}

.swimmer-roster-gender {
    width: 24px;
    height: 19px;
    color: #ffffff;
    background: #0b0826;
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 900;
}

.swimmer-roster-gender.female {
    background: #263ea5;
}

.swimmer-roster-name {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.swimmer-roster-category {
    color: #6e7079;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.swimmer-roster-action {
    color: #0b0826;
    font-size: 18px;
    font-weight: 800;
    text-align: right;
}

.swimmer-roster-row:hover .swimmer-roster-number,
.swimmer-roster-row:hover .swimmer-roster-category,
.swimmer-roster-row:hover .swimmer-roster-action,
.swimmer-roster-row:focus-visible .swimmer-roster-number,
.swimmer-roster-row:focus-visible .swimmer-roster-category,
.swimmer-roster-row:focus-visible .swimmer-roster-action {
    color: #ffffff;
}

.swimmer-roster-row:hover .swimmer-roster-gender,
.swimmer-roster-row:focus-visible .swimmer-roster-gender {
    color: #0b0826;
    background: #ffffff;
}

@media (max-width: 950px) {
    .swimmers-filters {
        grid-template-columns: 1fr 1fr;
    }

    .swimmers-search {
        grid-column: 1 / -1;
    }

}

@media (max-width: 620px) {
    .swimmer-choice-section {
        width: min(100% - 30px, 1200px);
        padding: 55px 0 75px;
    }

    .swimmer-choice-panel {
        min-height: 680px;
        grid-template-columns: 1fr;
    }

    .swimmer-choice {
        min-height: 340px;
        padding: 32px 28px;
    }

    .swimmer-choice + .swimmer-choice {
        border-top: 1px solid rgba(255,255,255,.55);
        border-left: 0;
    }

    .swimmers-directory {
        width: min(100% - 30px, 1250px);
        padding: 55px 0 75px;
    }

    .swimmers-directory-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .swimmers-filters,
    .swimmers-filters-split,
    .swimmer-roster-list {
        grid-template-columns: 1fr;
    }

    .swimmers-search {
        grid-column: auto;
    }

    .swimmers-rosters {
        gap: 38px;
    }

    .swimmer-club-roster-heading {
        align-items: center;
        flex-direction: column;
        gap: 4px;
        font-size: 15px;
    }

    .swimmer-roster-row {
        grid-template-columns: 26px 34px 24px minmax(0, 1fr) 18px;
        padding: 9px 10px;
    }

    .swimmer-roster-category {
        display: none;
    }
}

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

    .club-profile-emblem {
        width: 155px;
        height: 155px;
        flex-basis: 155px;
        font-size: 42px;
    }
}

@media (max-width: 620px) {
    .clubs-hero {
        min-height: 285px;
        padding: 55px 24px;
    }

    .clubs-hero-content h1 {
        font-size: 50px;
    }

    .clubs-directory {
        --clubs-white-separator: 38px;
        width: 100%;
        padding: var(--clubs-white-separator) 0;
    }

    .clubs-directory-heading {
        padding: 48px 18px 32px;
        align-items: flex-start;
        flex-direction: column;
    }

    .clubs-departments {
        gap: var(--clubs-white-separator);
        padding-top: var(--clubs-white-separator);
    }

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

    .department-clubs {
        padding: 38px 15px 42px;
    }

    .department-clubs + .department-clubs {
        padding-top: 42px;
    }

    .department-clubs-heading {
        grid-template-columns: 1fr auto;
        gap: 15px;
    }

    .department-clubs-track .club-directory-card {
        width: min(82vw, 320px);
        flex-basis: min(82vw, 320px);
    }

    .club-directory-card {
        min-height: 260px;
    }

    .club-profile-emblem {
        width: 130px;
        height: 130px;
        flex-basis: 130px;
        font-size: 36px;
    }

    .club-profile-hero .swimmer-hero-information h1 {
        font-size: 36px;
        text-align: center;
    }

    .club-profile-page .swimmer-status {
        text-align: center;
    }

    .club-members-table {
        min-width: 650px;
    }
}


/* ================= ACCUEIL · CLASSEMENTS ================= */

.home-standings {
    --standings-line: rgba(255, 255, 255, .16);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 72% 12%, rgba(37, 49, 137, .36), transparent 29%),
        linear-gradient(145deg, #050611 0%, #0b0826 52%, #070817 100%);
    padding: 92px 0 88px;
}

.home-live {
    background: #070817;
    padding: 0;
    border-bottom: 12px solid #fff;
}

.home-live-inner {
    position: relative;
    width: 100%;
    min-height: 82px;
    margin: 0 auto;
    padding: 25px clamp(32px, 7vw, 138px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(22px, 4vw, 62px);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(102deg, #070817 0%, #0b0826 62%, #17134d 100%);
    text-decoration: none;
}

.home-live-inner::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: #605cff;
}

.home-live[data-live-status="live"] .home-live-inner::before {
    background: #ff3f57;
    box-shadow: 0 0 24px rgba(255, 63, 87, .75);
}

.home-live[data-live-status="finished"] .home-live-inner::before {
    background: #5367cb;
    box-shadow: 0 0 18px rgba(83, 103, 203, .55);
}

.home-live-status {
    min-width: 112px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .4);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.home-live[data-live-status="live"] .home-live-status {
    color: #fff;
    border-color: #ff3f57;
    background: #ff3f57;
}

.home-live[data-live-status="finished"] .home-live-status {
    color: #ffffff;
    border-color: #5367cb;
    background: #5367cb;
}

.home-live-copy { display: flex; flex-direction: column; gap: 5px; }
.home-live-copy small { color: #aaa7ff; font-size: 9px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.home-live-copy strong { font-size: clamp(21px, 2.2vw, 34px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.home-live-copy > span { color: rgba(255, 255, 255, .68); font-size: 12px; }
.home-live-end {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 30px);
}
.home-live-time {
    color: #ffffff;
    font-size: clamp(16px, 1.35vw, 22px);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
    white-space: nowrap;
}
.home-live-arrow { font-size: 30px; transition: transform .2s ease; }
.home-live-inner:hover .home-live-arrow { transform: translateX(7px); }
.home-live-inner[aria-disabled="true"] {
    cursor: default;
}
.home-live-inner[aria-disabled="true"] .home-live-arrow {
    opacity: .25;
}
.home-live-inner[aria-disabled="true"]:hover .home-live-arrow {
    transform: none;
}

@media (max-width: 700px) {
    .home-live { padding: 0; }
    .home-live-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; min-height: 132px; }
    .home-live-status { grid-column: 1 / -1; justify-self: start; min-width: 0; }
}

.home-standings::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 4%;
    right: 4%;
    height: 12px;
    background: var(--blue);
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

.home-standings::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 4%;
    right: calc(4% + 22px);
    height: 2px;
    background: var(--blue);
}

.home-standings-inner {
    position: relative;
    z-index: 1;
    width: min(1500px, 92%);
    margin: auto;
}

.home-standings-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 38px;
    margin-bottom: 48px;
}

.home-standings-kicker,
.home-standings-summary span {
    color: #879ae8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.4px;
}

.home-standings-heading h2 {
    max-width: 920px;
    margin: 10px 0 12px;
    font-size: clamp(42px, 5.1vw, 78px);
    line-height: .93;
    letter-spacing: -4px;
    text-transform: uppercase;
}

.home-standings-heading p {
    max-width: 720px;
    color: rgba(255, 255, 255, .68);
    font-size: 15px;
    line-height: 1.6;
}

.home-standings-season {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: clamp(22px, 2.2vw, 34px);
    letter-spacing: -1px;
    white-space: nowrap;
}

.home-standings-navigation {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 26px;
    padding-bottom: 0;
    border-bottom: 1px solid var(--standings-line);
}

.home-standings-scope,
.home-standings-filters {
    display: flex;
    align-items: stretch;
}

.home-standings-scope {
    flex: 0 0 auto;
    gap: 17px;
}

.home-standings-filters {
    min-width: 0;
    justify-content: flex-end;
    gap: clamp(8px, .7vw, 14px);
}

.home-standings-navigation button {
    position: relative;
    min-height: 48px;
    padding: 0 0 16px;
    border: 0;
    color: rgba(255, 255, 255, .52);
    background: transparent;
    font: inherit;
    font-size: clamp(7.5px, .52vw, 9px);
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, opacity .2s ease;
}

.home-standings-scope button {
    font-size: clamp(10px, .7vw, 12px);
}

.home-standings-navigation button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.home-standings-navigation button:hover,
.home-standings-navigation button:focus-visible,
.home-standings-navigation button.active {
    color: #ffffff;
    outline: none;
}

.home-standings-navigation button.active::after,
.home-standings-navigation button:focus-visible::after {
    transform: scaleX(1);
}

.home-standings-filters.is-disabled {
    opacity: .32;
}

.home-standings-filters button:disabled {
    cursor: default;
}

.home-standings-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    padding: 38px 0 26px;
}

.home-standings-summary h3 {
    margin-top: 7px;
    font-size: clamp(24px, 2.2vw, 35px);
    letter-spacing: -1px;
}

.home-standings-summary > p {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.home-ranking-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 18px;
    min-height: 324px;
    margin-bottom: 42px;
}

.home-podium-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 270px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    color: #ffffff;
    background: linear-gradient(135deg, #192767, #0b1235);
}

.home-podium-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .34;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 9px 9px;
    mask-image: linear-gradient(to left, #000, transparent 72%);
}

.home-podium-card.rank-1 {
    order: 2;
    min-height: 324px;
    background: linear-gradient(135deg, #263ea5 0%, #172879 58%, #0b123d 100%);
    box-shadow: 0 22px 55px rgba(4, 8, 30, .46);
}

.home-podium-card.rank-2 {
    order: 1;
    min-height: 300px;
    background: linear-gradient(135deg, #1f307e, #101944);
}

.home-podium-card.rank-3 {
    order: 3;
    min-height: 276px;
    background: linear-gradient(135deg, #152050, #090d25);
}

.home-podium-position {
    display: block;
    margin-bottom: 42px;
    font-size: 46px;
    font-weight: 900;
    line-height: .8;
    letter-spacing: -3px;
}

.home-podium-position small {
    margin-left: 4px;
    font-size: 12px;
    letter-spacing: 0;
    vertical-align: top;
}

.home-podium-identity {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
}

.home-podium-avatar,
.home-table-avatar {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #0b0826;
    background: #ffffff;
    font-weight: 900;
}

.home-podium-avatar {
    width: 58px;
    height: 58px;
    font-size: 16px;
}

.home-podium-avatar img,
.home-table-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-podium-card h4 {
    margin: 0;
    font-size: clamp(19px, 1.7vw, 27px);
    line-height: 1;
    letter-spacing: -.8px;
}

.home-podium-card h4 a:hover,
.home-podium-card h4 a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-podium-card p {
    margin-top: 7px;
    color: rgba(255, 255, 255, .70);
    font-size: 12px;
    line-height: 1.35;
}

.home-podium-score {
    position: absolute;
    right: 26px;
    bottom: 24px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
}

.home-podium-score small {
    margin-left: 3px;
    font-size: 10px;
    letter-spacing: .4px;
}

.home-ranking-table-wrap {
    overflow-x: auto;
    border-top: 1px solid var(--standings-line);
}

.home-ranking-table {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
    color: #ffffff;
}

.home-ranking-table th,
.home-ranking-table td {
    padding: 14px 15px;
    border-bottom: 1px solid var(--standings-line);
    text-align: left;
}

.home-ranking-table th {
    color: rgba(255, 255, 255, .46);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.home-ranking-table th:first-child,
.home-ranking-table td:first-child {
    width: 75px;
}

.home-ranking-table th:nth-child(5),
.home-ranking-table td:nth-child(5),
.home-ranking-table th:last-child,
.home-ranking-table td:last-child {
    text-align: right;
}

.home-ranking-table th:nth-child(3),
.home-ranking-table td:nth-child(3) {
    width: 215px;
}

.home-ranking-table th:nth-child(5),
.home-ranking-table td:nth-child(5) {
    width: 150px;
}

.home-ranking-table th:last-child,
.home-ranking-table td:last-child {
    width: 130px;
}

.home-ranking-table td {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    transition: background-color .2s ease;
}

@media (hover: hover) {
    .home-standings:not(.home-all-time) .home-ranking-table tbody tr:hover > td,
    .home-standings:not(.home-all-time) .home-ranking-table tbody tr:focus-within > td {
        background-color: rgba(83, 103, 203, .22);
    }

    .home-all-time .home-ranking-table tbody tr:hover > td,
    .home-all-time .home-ranking-table tbody tr:focus-within > td {
        background-color: rgba(83, 103, 203, .11);
    }
}

.home-ranking-table td:first-child,
.home-ranking-table td:last-child {
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
}

.home-table-athlete {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-table-nationality {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 750;
}

.home-table-flag {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 18px;
    overflow: hidden;
    flex: 0 0 28px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 0;
    background: transparent;
    font-size: 21px;
    line-height: 1;
}

.home-table-flag[data-country="FR"] {
    border: 0;
    background: linear-gradient(
        90deg,
        #0055a4 0 33.333%,
        #ffffff 33.333% 66.666%,
        #ef4135 66.666% 100%
    );
    color: transparent;
    font-size: 0;
}

.home-standings.is-club-ranking .home-ranking-table th:nth-child(3),
.home-standings.is-club-ranking .home-ranking-table td:nth-child(3) {
    display: none;
}

.home-table-avatar {
    width: 34px;
    height: 34px;
    font-size: 9px;
}

.home-table-athlete a {
    color: #ffffff;
    font-weight: 800;
}

.home-table-athlete a:hover,
.home-table-athlete a:focus-visible {
    color: #aebcff;
}

.home-ranking-empty {
    height: 150px;
    color: rgba(255, 255, 255, .55) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.home-standings-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 26px;
}

.home-standings-footer > span {
    color: rgba(255, 255, 255, .50);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-standings-footer a {
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease;
}

.home-standings-footer a:hover,
.home-standings-footer a:focus-visible {
    color: var(--blue);
    background: #ffffff;
    outline: none;
}


/* ================= ACCUEIL · CLASSEMENT TOUTES SAISONS ================= */

.home-all-time {
    --standings-line: rgba(11, 8, 38, .16);
    color: var(--blue);
    background: #ffffff;
}

.home-all-time::before,
.home-all-time::after {
    background: #5367cb;
}

.home-all-time .home-standings-kicker,
.home-all-time .home-standings-summary span,
.home-all-time-select > span {
    color: #5367cb;
}

.home-all-time .home-standings-heading p,
.home-all-time .home-standings-summary > p {
    color: rgba(11, 8, 38, .62);
}

.home-all-time .home-standings-season {
    color: var(--blue);
}

.home-all-time .home-standings-navigation button {
    color: rgba(11, 8, 38, .52);
}

.home-all-time .home-standings-navigation button:hover,
.home-all-time .home-standings-navigation button:focus-visible,
.home-all-time .home-standings-navigation button.active {
    color: var(--blue);
}

.home-all-time .home-standings-navigation button::after,
.home-all-time-metrics button::after {
    background: #5367cb;
}

.home-all-time-refiners {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 225px) minmax(190px, 225px);
    align-items: end;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--standings-line);
}

.home-all-time-metrics {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.home-all-time-metrics button {
    position: relative;
    min-height: 44px;
    padding: 0 0 11px;
    border: 0;
    color: rgba(11, 8, 38, .52);
    background: transparent;
    font: inherit;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease;
}

.home-all-time-metrics button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.home-all-time-metrics button:hover,
.home-all-time-metrics button:focus-visible,
.home-all-time-metrics button.active {
    color: var(--blue);
    outline: none;
}

.home-all-time-metrics button.active::after,
.home-all-time-metrics button:focus-visible::after {
    transform: scaleX(1);
}

.home-all-time-select {
    display: grid;
    gap: 8px;
}

.home-all-time-select > span {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.home-all-time-select select {
    width: 100%;
    min-height: 46px;
    padding: 0 38px 0 14px;
    border: 1px solid rgba(11, 8, 38, .24);
    border-radius: 0;
    color: var(--blue);
    background: #ffffff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.home-all-time-select select:hover,
.home-all-time-select select:focus-visible {
    border-color: #5367cb;
    outline: 2px solid rgba(83, 103, 203, .18);
    outline-offset: 0;
}

.home-all-time .home-podium-card {
    color: var(--blue);
    border-color: rgba(11, 8, 38, .17);
    background: linear-gradient(135deg, #ffffff, #eef1fb);
    box-shadow: none;
}

.home-all-time .home-podium-card::before {
    opacity: .22;
    background-image:
        linear-gradient(90deg, rgba(11, 8, 38, .12) 1px, transparent 1px),
        linear-gradient(rgba(11, 8, 38, .08) 1px, transparent 1px);
}

.home-all-time .home-podium-card.rank-1 {
    background: linear-gradient(135deg, #e7ebff 0%, #f5f6ff 58%, #ffffff 100%);
    box-shadow: 0 22px 55px rgba(11, 8, 38, .11);
}

.home-all-time .home-podium-card.rank-2 {
    background: linear-gradient(135deg, #f1f3fa, #ffffff);
}

.home-all-time .home-podium-card.rank-3 {
    background: linear-gradient(135deg, #f7f8fc, #ffffff);
}

.home-all-time .home-podium-avatar,
.home-all-time .home-table-avatar {
    color: #ffffff;
    background: var(--blue);
}

.home-all-time .home-podium-card p,
.home-all-time .home-ranking-table td {
    color: rgba(11, 8, 38, .68);
}

.home-all-time .home-ranking-table {
    color: var(--blue);
}

.home-all-time .home-ranking-table th {
    color: rgba(11, 8, 38, .48);
}

.home-all-time .home-ranking-table td:first-child,
.home-all-time .home-ranking-table td:last-child,
.home-all-time .home-table-nationality,
.home-all-time .home-table-athlete a {
    color: var(--blue);
}

.home-all-time .home-table-athlete a:hover,
.home-all-time .home-table-athlete a:focus-visible {
    color: #5367cb;
}

.home-all-time .home-table-flag {
    border-color: rgba(11, 8, 38, .4);
}

.home-all-time .home-ranking-empty {
    color: rgba(11, 8, 38, .55) !important;
}

.home-all-time .home-standings-footer > span {
    color: rgba(11, 8, 38, .50);
}

.home-all-time .home-standings-footer a {
    color: var(--blue);
    border-color: rgba(11, 8, 38, .62);
}

.home-all-time .home-standings-footer a:hover,
.home-all-time .home-standings-footer a:focus-visible {
    color: #ffffff;
    background: var(--blue);
}

@media (max-width: 1100px) {
    .home-all-time-refiners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-all-time-metrics {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .home-all-time-refiners {
        grid-template-columns: 1fr;
    }

    .home-all-time-metrics {
        grid-column: auto;
    }
}


/* ================= ACCUEIL · TROIS BARÈMES ================= */

.home-scoring {
    position: relative;
    padding: 88px 0 96px;
    overflow: hidden;
    color: var(--blue);
    background: #ffffff;
}

.home-scoring::before {
    content: "";
    position: absolute;
    top: 0;
    left: 4%;
    right: 4%;
    height: 10px;
    background: #5367cb;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

.home-scoring-inner {
    width: min(1500px, 92%);
    margin: 0 auto;
}

.home-scoring-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 42px;
}

.home-scoring-heading span {
    color: #5367cb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.6px;
}

.home-scoring-heading h2 {
    max-width: 900px;
    margin: 12px 0 0;
    font-size: clamp(42px, 4.6vw, 68px);
    line-height: .94;
    letter-spacing: -3.5px;
    text-transform: uppercase;
}

.home-scoring-heading > p {
    margin: 0;
    padding: 4px 0 4px 26px;
    border-left: 3px solid var(--blue);
    color: #555968;
    font-size: 16px;
    line-height: 1.65;
}

.home-scoring-table {
    border-top: 1px solid #dfe2eb;
}

.home-scoring-row {
    min-height: 88px;
    padding: 15px 0;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #dfe2eb;
}

.home-scoring-row-heading h3 {
    margin: 0 0 5px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.home-scoring-row-heading p {
    margin: 0;
    color: #727785;
    font-size: 12px;
    line-height: 1.4;
}

.home-scoring-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
}

.home-scoring-list[data-home-rule-list="chrono"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-scoring-list li {
    min-height: 38px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--blue);
}

.home-scoring-list b {
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 500;
}

.home-scoring-list strong {
    color: #ffffff;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .home-scoring-row {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .home-scoring-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-scoring {
        padding: 74px 0 78px;
    }

    .home-scoring-heading {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 34px;
    }

    .home-scoring-heading h2 {
        font-size: clamp(40px, 13vw, 58px);
        letter-spacing: -2.5px;
    }

    .home-scoring-heading > p {
        padding-left: 18px;
        font-size: 16px;
    }

    .home-scoring-row {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 0;
    }

    .home-scoring-list,
    .home-scoring-list[data-home-rule-list="chrono"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }
}

@media (max-width: 900px) {
    .home-standings-navigation {
        flex-wrap: wrap;
        gap: 4px 30px;
    }

    .home-standings-filters {
        flex: 1 1 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0 22px;
    }
}

@media (max-width: 800px) {
    .home-standings {
        padding: 80px 0 68px;
    }

    .home-standings-heading,
    .home-standings-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-standings-heading h2 {
        letter-spacing: -2.5px;
    }

    .home-standings-season {
        order: -1;
    }

    .home-standings-summary > p {
        text-align: left;
    }

    .home-ranking-podium {
        grid-template-columns: 1fr;
        align-items: stretch;
        min-height: 0;
    }

    .home-podium-card,
    .home-podium-card.rank-1,
    .home-podium-card.rank-2,
    .home-podium-card.rank-3 {
        min-height: 220px;
    }

    .home-podium-card.rank-1 {
        order: 1;
    }

    .home-podium-card.rank-2 {
        order: 2;
    }

    .home-podium-card.rank-3 {
        order: 3;
    }
}

@media (max-width: 520px) {
    .home-standings::before,
    .home-standings::after {
        left: 15px;
        right: 15px;
    }

    .home-standings-inner {
        width: min(100% - 30px, 1500px);
    }

    .home-standings-heading {
        margin-bottom: 34px;
    }

    .home-standings-heading h2 {
        font-size: 40px;
    }

    .home-standings-navigation {
        gap: 8px;
    }

    .home-standings-scope {
        width: 100%;
    }

    .home-standings-scope button {
        flex: 1;
        text-align: left;
    }

    .home-standings-filters {
        gap: 0 17px;
    }

    .home-standings-filters button {
        max-width: 132px;
        text-align: left;
    }

    .home-standings-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =====================================================
   EXPLORATEUR DES RECORDS
===================================================== */

.records-age-section {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 72px 0 0;
}

.records-age-heading {
    margin-bottom: 36px;
    text-align: center;
}

.records-age-heading > span,
.records-hub-heading > div > span,
.records-filter-flow label > span,
.records-filter-flow legend,
.records-results-heading > span,
.records-results-heading > small {
    color: #5265cf;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.records-age-heading h2 {
    max-width: 760px;
    margin: 12px auto 0;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.records-age-heading p {
    max-width: 660px;
    margin: 15px auto 0;
    color: #656575;
    font-size: 13px;
    line-height: 1.6;
}

.record-age-selector {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #0b0826;
    box-shadow: 0 24px 65px rgba(11, 8, 38, .14);
}

.record-age-card {
    position: relative;
    isolation: isolate;
    min-height: 350px;
    overflow: hidden;
    padding: 38px;
    border: 0;
    background: #0b0826;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    font: inherit;
    transition: background-color .25s ease;
}

.record-age-card + .record-age-card {
    border-left: 1px solid rgba(255, 255, 255, .46);
}

.record-age-card::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: 0;
    background:
        linear-gradient(145deg, rgba(82, 101, 207, .72), rgba(11, 8, 38, .08) 72%),
        repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, .025) 55px);
    transition: opacity .25s ease;
}

.record-age-card::after {
    position: absolute;
    right: 38px;
    bottom: 0;
    left: 38px;
    height: 4px;
    content: "";
    background: #5265cf;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.record-age-card:hover,
.record-age-card:focus-visible {
    background: #070817;
    outline: none;
}

.record-age-card.active::before,
.record-age-card:hover::before,
.record-age-card:focus-visible::before {
    opacity: 1;
}

.record-age-card.active::after {
    transform: scaleX(1);
}

.record-age-card > span {
    color: rgba(255, 255, 255, .56);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .12em;
}

.record-age-card small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.record-age-card strong {
    display: block;
    margin-top: 9px;
    font-size: clamp(35px, 3.4vw, 52px);
    line-height: .95;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.record-age-card p {
    margin-top: 14px;
    color: rgba(255, 255, 255, .74);
    font-size: 12px;
    line-height: 1.5;
}

.record-age-card em {
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.record-age-card em span {
    margin-left: 8px;
    font-size: 17px;
}

.records-hub-content {
    padding-top: 82px;
}

.records-hub-heading {
    align-items: flex-end;
    margin-bottom: 30px;
}

.records-hub-heading h2 {
    max-width: 760px;
}

.records-hub-heading p {
    max-width: 680px;
    margin: 14px 0 0;
    color: #666675;
    font-size: 13px;
    line-height: 1.55;
}

.records-hub-heading > strong {
    padding-bottom: 8px;
    color: #0b0826;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
}

.records-filter-flow {
    display: grid;
    grid-template-columns: minmax(250px, 1.45fr) minmax(250px, 1fr) minmax(210px, .85fr);
    gap: 16px;
    margin-bottom: 36px;
    padding: 24px;
    border-top: 4px solid #5265cf;
    background: #f1f2f7;
}

.records-filter-flow label,
.records-filter-flow fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.records-filter-flow label {
    display: grid;
    gap: 10px;
}

.records-filter-flow legend {
    margin-bottom: 10px;
}

.records-filter-flow select,
.record-gender-toggle button {
    min-height: 48px;
    border: 1px solid #d4d6e0;
    background: #ffffff;
    color: #0b0826;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.records-filter-flow select {
    width: 100%;
    padding: 0 14px;
}

.record-gender-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.record-gender-toggle button {
    padding: 0 12px;
    cursor: pointer;
}

.record-gender-toggle button + button {
    border-left: 0;
}

.record-gender-toggle button.active {
    border-color: #5265cf;
    background: #5265cf;
    color: #ffffff;
}

.records-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d9dbe5;
}

.records-results-heading > small {
    color: #747482;
    text-align: right;
}

.records-hub-content .record-card {
    min-height: 330px;
}

.records-hub-content .record-card > small {
    min-height: 24px;
}

.records-hub-content .record-card > a {
    margin-top: auto;
}

@media (max-width: 920px) {
    .record-age-selector {
        grid-template-columns: 1fr;
    }

    .record-age-card {
        min-height: 270px;
    }

    .record-age-card + .record-age-card {
        border-top: 1px solid rgba(255, 255, 255, .46);
        border-left: 0;
    }

    .records-filter-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .records-filter-flow > label:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .records-age-section {
        width: min(100% - 30px, 1200px);
        padding-top: 55px;
    }

    .record-age-card {
        min-height: 250px;
        padding: 30px 26px;
    }

    .record-age-card::after {
        right: 26px;
        left: 26px;
    }

    .records-hub-content {
        width: min(100% - 30px, 1200px);
        padding-top: 62px;
    }

    .records-hub-heading,
    .records-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .records-filter-flow {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .records-filter-flow > label:last-child {
        grid-column: auto;
    }

    .records-results-heading > small {
        text-align: left;
    }
}

/* Parcours Nageurs : groupe d'âge, puis genre */

.swimmer-choice-heading > p {
    max-width: 700px;
    margin: 15px auto 0;
    color: #656575;
    font-size: 13px;
    line-height: 1.6;
}

.swimmer-age-selector .record-age-card,
.swimmer-gender-selector .record-age-card {
    text-decoration: none;
}

.swimmer-gender-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swimmer-gender-selector .record-age-card {
    min-height: 410px;
}

.swimmer-gender-step .swimmers-back {
    margin-bottom: 30px;
}

@media (max-width: 920px) {
    .swimmer-gender-selector {
        grid-template-columns: 1fr;
    }
}
