:root {
    /* Couleurs de marque */
    --bcaub-blue:     #0b2c8d;
    --bcaub-blue-dk:  #15296B;
    --bcaub-blue-lt:  #E8EDFA;
    --bcaub-red:      #ff0000;
    --bcaub-red-dk:   #B7121F;
    --bcaub-black:    #0F172A;

    /* Neutres */
    --bcaub-white:    #FFFFFF;
    --bcaub-gray-50:  #F8FAFC;
    --bcaub-gray-100: #F1F5F9;
    --bcaub-gray-200: #E2E8F0;
    --bcaub-gray-300: #CBD5E1;
    --bcaub-gray-500: #64748B;
    --bcaub-gray-700: #334155;

    /* Typographie */
    --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-script:  'Indie Flower', cursive;

    /* Layout */
    --container-max: 1240px;
    --gutter:        clamp(1rem, 2vw, 1.5rem);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Ombres lÃ©gÃ¨res */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, .08);
}

/* ----------- Reset lÃ©ger ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--bcaub-black);
    background: var(--bcaub-white);
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--bcaub-blue); text-decoration: none; }
a:hover { color: var(--bcaub-blue-dk); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--bcaub-black);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.accent-script {
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--bcaub-blue);
}
h1.accent-script {
    font-size:6rem;
    color: white;
}
/* ----------- Layout ----------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--alt { background: var(--bcaub-gray-50); }
.section__title { margin-bottom: 1rem; }

/* ----------- Header / Nav (double-Ã©tat : initial centrÃ© sur hero + fixed compact aprÃ¨s scroll) ----------- */
.site-header {
    position: relative;
    background: var(--bcaub-white);
    border-bottom: 1px solid var(--bcaub-gray-200);
    z-index: 200;
}
.site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding-block: 1.75rem;
    min-height: auto;
}
.site-header__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--bcaub-black);
    text-decoration: none;
    letter-spacing: .02em;
}
.site-header__title:hover { color: var(--bcaub-blue); text-decoration: none; }

/* Custom logo â€” initial : grand et centrÃ© */
.site-header__brand .site-header__logo,
.site-header__brand .custom-logo-link { display: block; line-height: 0; }
.site-header__brand .custom-logo {
    max-height: 170px;
    width: auto;
    height: auto;
    transition: max-height .35s ease;
}

/* Switch entre les 2 versions du logo (selectors prÃ©fixÃ©s .site-header__brand
   pour battre la spÃ©cificitÃ© de .site-header__brand .custom-logo-link) */
.site-header__brand .site-header__logo--overlay { display: none; }

body.home .site-header:not(.is-fixed) .site-header__brand .site-header__logo--overlay,
body.has-hero-overlay .site-header:not(.is-fixed) .site-header__brand .site-header__logo--overlay { display: block; }
body.home .site-header:not(.is-fixed) .site-header__brand .site-header__logo--default,
body.has-hero-overlay .site-header:not(.is-fixed) .site-header__brand .site-header__logo--default { display: none; }

.site-nav__menu {
    list-style: none; padding: 0; margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}
.site-nav__menu a {
    color: var(--bcaub-black);
    font-weight: 500;
    text-decoration: none;
    transition: color .15s;
    position: relative;
    padding-block: .2rem;
}
.site-nav__menu a:hover { color: var(--bcaub-blue); }
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_item > a { color: var(--bcaub-blue); }
.site-nav__menu .current-menu-item > a::after,
.site-nav__menu .current_page_item > a::after {
    content: "";
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 2px;
    background: var(--bcaub-red);
    border-radius: 2px;
}

/* ---------- Accueil : header physiquement dans le hero, overlay absolu ---------- */
/* Pour les sous-pages avec hero (body.has-hero-overlay) : header reste dans header.php, mÃªme mÃ©canique. */
.block-hero > .site-header,
body.has-hero-overlay .site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .4) 0%, rgba(15, 23, 42, .1) 70%, transparent 100%);
	background:linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(15, 23, 42, .3) 70%, transparent 100%);
    border-bottom: 0;padding-bottom: 50px;
}
body.home .site-header__title,
body.has-hero-overlay .site-header__title {
    color: var(--bcaub-white);
    text-shadow: 0 2px 12px rgba(15, 23, 42, .5);
}
body.home .site-nav__menu a,
body.has-hero-overlay .site-nav__menu a {
    color: var(--bcaub-white);
    text-shadow: 0 1px 6px rgba(15, 23, 42, .5);
}
body.home .site-nav__menu a:hover,
body.has-hero-overlay .site-nav__menu a:hover { color: var(--bcaub-blue-lt); }
body.home .site-nav__menu .current-menu-item > a,
body.home .site-nav__menu .current_page_item > a,
body.has-hero-overlay .site-nav__menu .current-menu-item > a,
body.has-hero-overlay .site-nav__menu .current_page_item > a { color: var(--bcaub-white); }

/* ---------- Ã‰tat compact + fixed (aprÃ¨s scroll sous le hero) ----------
   PrÃ©fixÃ© body.home / body.has-hero-overlay pour battre le mode absolute initial. */
body.home .site-header.is-fixed,
body.has-hero-overlay .site-header.is-fixed {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10000;
    background: var(--bcaub-white);
    border-bottom: 1px solid var(--bcaub-gray-200);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
    animation: bcaub-header-down .4s cubic-bezier(.25, 1, .5, 1);
	padding-bottom:0px;
}
body.home .site-header.is-fixed .site-header__inner,
body.has-hero-overlay .site-header.is-fixed .site-header__inner {
    flex-direction: row;
    justify-content: space-between;
    padding-block: .65rem;
    gap: 2rem;
}
body.home .site-header.is-fixed .site-header__brand .custom-logo,
body.has-hero-overlay .site-header.is-fixed .site-header__brand .custom-logo { max-height: 56px; }
body.home .site-header.is-fixed .site-nav__menu,
body.has-hero-overlay .site-header.is-fixed .site-nav__menu {
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
}
/* Palette claire quand fixed (texte foncÃ© sur fond blanc) */
body.home .site-header.is-fixed .site-header__title,
body.has-hero-overlay .site-header.is-fixed .site-header__title { color: var(--bcaub-black); text-shadow: none; }
body.home .site-header.is-fixed .site-nav__menu a,
body.has-hero-overlay .site-header.is-fixed .site-nav__menu a { color: var(--bcaub-black); text-shadow: none; }
body.home .site-header.is-fixed .site-nav__menu a:hover,
body.has-hero-overlay .site-header.is-fixed .site-nav__menu a:hover { color: var(--bcaub-blue); }
body.home .site-header.is-fixed .site-nav__menu .current-menu-item > a,
body.home .site-header.is-fixed .site-nav__menu .current_page_item > a,
body.has-hero-overlay .site-header.is-fixed .site-nav__menu .current-menu-item > a,
body.has-hero-overlay .site-header.is-fixed .site-nav__menu .current_page_item > a { color: var(--bcaub-blue); }

/* Home : plein Ã©cran */
body.home .block-hero { height: 100vh; min-height: unset; }
.block-hero { z-index: 9999; }
/* HÃ©ro sous-page */
.block-hero--subpage { height: 75vh; }
/* HÃ©ro Ã©vÃ©nement */
.block-hero--event { height: 75vh; min-height: 380px; }

/* HÃ©ro Ã©vÃ©nement sans mÃ©dia : centrage vertical */
.block-hero--event:not(.block-hero--image):not(.block-hero--video) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: clamp(4rem, 10vw, 8rem);
}

/* Toutes les sous-pages sans image/vidÃ©o : dÃ©gradÃ© de marque + textes blancs */
.block-hero--subpage:not(.block-hero--image):not(.block-hero--video) {
    background: linear-gradient(135deg, var(--bcaub-blue) 0%, var(--bcaub-blue-dk) 25%, var(--bcaub-red-dk) 100%);
    background-size: auto;
    animation: none;
}
.block-hero--subpage:not(.block-hero--image):not(.block-hero--video) .block-hero__splash { display: none; }
.block-hero--subpage:not(.block-hero--image):not(.block-hero--video) .block-hero__title {
    color: var(--bcaub-white) !important;
    background: none !important;
    -webkit-text-fill-color: var(--bcaub-white) !important;
    text-shadow: 0 2px 20px rgba(15, 23, 42, .4);
}
.block-hero--subpage:not(.block-hero--image):not(.block-hero--video) .block-hero__baseline { color: rgba(255, 255, 255, .85); }
.block-hero--subpage:not(.block-hero--image):not(.block-hero--video) .block-hero__saison  { color: rgba(255, 255, 255, .7); }

@keyframes bcaub-header-down {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* Mobile : par dÃ©faut compact (logo gauche, hamburger droite) */
@media (max-width: 1024px) {
    .site-header__brand {
		max-width: 35cqh;
	}
	.block-hero--event { height: auto; min-height: none; }
	h1.accent-script {
		font-size: 4rem;
		color: white;
	}
}
@media (max-width: 768px) {
    .site-header__inner {
        flex-direction: row;
        justify-content: space-between;
        padding-block: .85rem;
        gap: 1rem;
    }
    .site-header__brand .custom-logo { max-height: 56px; }
	h1.accent-script {
		font-size: 3.4rem;
		color: white;
	}
}

/* ----------- Footer ----------- */
.site-footer {
    background: var(--bcaub-gray-50);
    border-top: 1px solid var(--bcaub-gray-200);
    margin-top: 4rem;
}
.site-footer__inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    padding-block: 3rem;
}
@media (min-width: 768px) {
    .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
}
.site-footer__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; margin: 0 0 .5rem; color: var(--bcaub-black); }
.site-footer__heading {
    font-family: var(--font-heading);
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--bcaub-blue);
    margin: 0 0 1rem;
}
.site-footer__address {
    font-style: normal;
    color: var(--bcaub-gray-700);
    margin: 0 0 1rem;
    line-height: 1.5;
}
.site-footer__maps { display: inline-block; margin-top: .25rem; font-weight: 500; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.site-footer__contact a { color: var(--bcaub-gray-700); }
.site-footer__contact a:hover { color: var(--bcaub-blue); }
.site-footer__menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer__menu a { color: var(--bcaub-gray-700); }
.site-footer__menu a:hover { color: var(--bcaub-blue); }

.site-footer__bottom {
    border-top: 1px solid var(--bcaub-gray-200);
    background: var(--bcaub-white);
}
.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-block: 1.25rem;
}
.site-footer__legal { color: var(--bcaub-gray-500); }
.site-footer__legal-text { color: var(--bcaub-gray-500); font-size: .875rem; }
.site-footer__legal-text p:last-child { margin-bottom: 0; }

/* Social icons */
.social-icons {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: .75rem; align-items: center;
}
.social-icons__link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bcaub-white);
    color: var(--bcaub-blue);
    border: 1px solid var(--bcaub-gray-200);
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.social-icons__link svg { width: 18px; height: 18px; display: block; }
.social-icons__link:hover {
    background: var(--bcaub-blue);
    color: var(--bcaub-white);
    border-color: var(--bcaub-blue);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ----------- Hero (placeholder accueil) ----------- */
.hero {
    background:
        radial-gradient(1200px 400px at 80% -10%, var(--bcaub-blue-lt), transparent 60%),
        var(--bcaub-white);
    padding-block: clamp(3rem, 8vw, 6rem);
    border-bottom: 1px solid var(--bcaub-gray-200);
}
.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--bcaub-blue);
    margin: 0 0 1rem;
}
.hero__title { margin: 0 0 1rem; }
.hero__lead { font-size: 1.125rem; color: var(--bcaub-gray-700); max-width: 56ch; }
.hero__cta { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }

/* ----------- Boutons ----------- */
.btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn--primary { background: var(--bcaub-red); color: var(--bcaub-white); }
.btn--primary:hover { background: var(--bcaub-red-dk); color: var(--bcaub-white); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--bcaub-blue); border-color: var(--bcaub-blue); }
.btn--ghost:hover { background: var(--bcaub-blue); color: var(--bcaub-white); text-decoration: none; }

/* ----------- Cards (post gÃ©nÃ©rique) ----------- */
.post-card {
    padding: 1.5rem;
    background: var(--bcaub-white);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: var(--radius-md);
    margin-block: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* ----------- AccessibilitÃ© ----------- */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--bcaub-blue); color: var(--bcaub-white);
    padding: .75rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ==========================================================================
   BLOCKS â€” page d'accueil (Flexible Content)
   ========================================================================== */

.block-section-header {
    display: flex;
    justify-content:center;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.block-section-header--center { justify-content: center; text-align: center; }
.block-section-header__title {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    color: var(--bcaub-blue);
    margin: 0;
    line-height: 1;
}
.block-section-header__link {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--bcaub-blue);
}

/* ----- Hero ----- */
.block-hero {
    position: relative;
    background: var(--bcaub-gray-50);
    padding-block: clamp(4rem, 10vw, 8rem);
    text-align: center;
    overflow: hidden;
}
.block-hero--image {
    background-size: cover;
    background-position: center;
    color: var(--bcaub-white);
}
.block-hero--image::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.55) 100%);
    pointer-events: none;
}
.block-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: calc((var( --site-header-h, 5rem ) / 2) + 10px); /* repousse le contenu sous le menu quel que soit l'Ã©cran */
}
.block-hero__title {
    font-size:clamp(2rem, 10vw, 4rem);
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: inherit;
}
.block-hero--image .block-hero__title { color: var(--bcaub-white); text-shadow: 0 2px 12px rgba(15,23,42,.4); }
.block-hero__baseline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin: 0 0 0rem;
    color: var(--bcaub-blue);
}
.block-hero--image .block-hero__baseline { color: var(--bcaub-white); }
.block-hero__saison {
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: .6rem 0 0;
    color: rgba(255, 255, 255, .7);
}
.block-hero:not(.block-hero--image) .block-hero__saison { color: var(--bcaub-blue); }

.block-hero__cta {display: flex;gap: 1rem;justify-content: center;width: 100%;max-width: 500px;}

/* ----- News ----- */
.block-news__grid {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .block-news__grid { grid-template-columns: repeat(3, 1fr); } }
.block-news__card {
    background: var(--bcaub-white);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: box-shadow .15s, transform .15s;
}
.block-news__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.block-news__media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bcaub-gray-100); }
.block-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.block-news__card:hover .block-news__media img { transform: scale(1.04); }
.block-news__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.block-news__date { color: var(--bcaub-gray-500); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.block-news__title { font-size: 1.125rem; margin: 0; }
.block-news__title a { color: var(--bcaub-black); text-decoration: none; }
.block-news__title a:hover { color: var(--bcaub-blue); }
.block-news__excerpt { color: var(--bcaub-gray-700); margin: 0; flex: 1; }
.block-news__more { font-weight: 600; color: var(--bcaub-red); }

/* ----- Image + texte ----- */
.block-image-texte__inner {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .block-image-texte__inner { grid-template-columns: 1fr 1fr; }
    .block-image-texte--droite .block-image-texte__media { order: 2; }
}
.block-image-texte__media img {
    width: 100%; height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.block-image-texte__eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--bcaub-red);
    margin: 0 0 1rem;
}
.block-image-texte__title {
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--bcaub-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 1rem;
    line-height: 1;
}
.block-image-texte__content { color: var(--bcaub-gray-700); }
.block-image-texte__cta { margin-top: 1.5rem; }

/* ----- Ã‰quipes (carrousel scroll-snap) ----- */
/* Sous-titre saison dans le header */
.block-equipes .block-section-header {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
}
.block-equipes__saison {
    font-family: var(--font-heading);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bcaub-gray-500);
    margin: 0;
}

/* ----- Slider homepage gÃ©nÃ©rique (Ã©quipes + Ã©vÃ©nements) -------------- */

/* Structure commune via data-attributes */
[data-slider]       { position: relative; padding: 0 3.5rem; }
[data-slider-track] {
    overflow: hidden;
    padding: 0 var(--gutter);
    max-width: var(--container-max);  /* Ã©vite les cards trop larges sur grands Ã©crans */
    margin-inline: auto;
}
[data-slider-reel]  {
    display: flex; gap: 1.25rem;
    transition: transform .42s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
    justify-content: center;
}
[data-slider-slide] { flex: 0 0 auto; min-width: 0; }

@media (max-width: 540px) { [data-slider] { padding: 0 2.5rem; } }

/* FlÃ¨ches (partagÃ©es) */
.block-equipes__arrow,
.block-evenements__arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 2;
    background: var(--bcaub-white);
    border: 1.5px solid var(--bcaub-blue);
    color: var(--bcaub-blue);
    width: 2.75rem; height: 2.75rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; padding: 0;
    box-shadow: 0 2px 8px rgba(15,23,42,.1);
    transition: background .15s, color .15s;
}
.block-equipes__arrow:hover,
.block-evenements__arrow:hover   { background: var(--bcaub-blue); color: var(--bcaub-white); }
.block-equipes__arrow:disabled,
.block-evenements__arrow:disabled { opacity: .25; cursor: default; pointer-events: none; }
.block-equipes__arrow.is-prev,
.block-evenements__arrow.is-prev  { left: .25rem; }
.block-equipes__arrow.is-next,
.block-evenements__arrow.is-next  { right: .25rem; }

/* Dots (partagÃ©s) */
.block-equipes__dots,
.block-evenements__dots {
    display: flex; justify-content: center; gap: .5rem;
    margin-top: 1.25rem; min-height: 1rem;
}
.block-equipes__dot,
.block-evenements__dot {
    width: .5rem; height: .5rem;
    border-radius: 50%; border: none;
    background: var(--bcaub-gray-200);
    cursor: pointer; padding: 0;
    transition: background .15s, transform .15s;
}
.block-equipes__dot.is-active,
.block-evenements__dot.is-active {
    background: var(--bcaub-blue);
    transform: scale(1.35);
}

/* Slide Ã©quipes : styles visuels de la card */
.block-equipes__slide {
    background: var(--bcaub-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--bcaub-gray-200);
}


/* Ã‰vÃ©nements slider : reset list-style sur le reel */
.block-evenements__reel { list-style: none; padding: 0; margin: 0; }

/* Bouton "Voir toutes les saisons" */
.block-equipes__footer {
    text-align: center;
    margin-top: 2rem;
}
.block-equipes__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bcaub-gray-100); position: relative; }
.block-equipes__media img { width: 100%; height: 100%; object-fit: cover; }
.block-equipes__title { font-size: 1rem; margin: 0; padding: .85rem 1rem 1rem; }
.block-equipes__title a { color: var(--bcaub-black); text-decoration: none; }
.block-equipes__title a:hover { color: var(--bcaub-blue); }

/* ----- Ã‰vÃ©nements ----- */
.block-evenements__grid {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .block-evenements__grid { grid-template-columns: repeat(3, 1fr); } }
.block-evenements__card {
    background: var(--bcaub-white);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.block-evenements__media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bcaub-gray-100); }
.block-evenements__media img { width: 100%; height: 100%; object-fit: cover; }
.block-evenements__type {
    position: absolute; top: .75rem; left: .75rem;
    background: var(--bcaub-red);
    color: var(--bcaub-white);
    padding: .25rem .75rem;
    border-radius: var(--radius-sm);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}
.block-evenements__body { padding: 1.25rem 1.5rem 1.5rem; }
.block-evenements__title { margin: 0 0 .5rem; font-size: 1.125rem; }
.block-evenements__title a { color: var(--bcaub-black); text-decoration: none; }
.block-evenements__title a:hover { color: var(--bcaub-blue); }
.block-evenements__meta { color: var(--bcaub-gray-500); margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; font-size: .9rem; }

/* ----- CrÃ©neaux ----- */
.block-creneaux__week {
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .block-creneaux__week { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); justify-content: center; } }
.block-creneaux__day {
    background: var(--bcaub-white);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem 1.5rem;
}
.block-creneaux__day-title { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--bcaub-blue); margin: 0 0 .75rem; }
.block-creneaux__day ul, .block-creneaux__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.block-creneaux__day li, .block-creneaux__list li {
    display: flex; gap: .5rem; align-items: baseline;
    flex-wrap: wrap;
    padding-block: .25rem;
    border-bottom: 1px dashed var(--bcaub-gray-200);
}
.block-creneaux__day li:last-child, .block-creneaux__list li:last-child { border-bottom: 0; }
.block-creneaux__day strong { color: var(--bcaub-blue); white-space: nowrap; }

/* ----- Partenaires (marquee) ----- */
.block-partenaires__viewport { overflow: hidden; padding-block: .5rem 1.5rem; }
.block-partenaires__viewport--marquee .block-partenaires__track {
    --gap: 3rem;
    --speed: 35s;
    /* --marquee-offset est calculÃ© en JS (px exact) ; fallback CSS si JS absent */
    --marquee-offset: calc(-50% - var(--gap) / 2);
    width: max-content;
    animation: bcaub-marquee var(--speed) linear infinite;
    gap: var(--gap);
}
.block-partenaires__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    padding: 0; margin: 0;
}
.block-partenaires__item {
    flex: 0 0 auto;
    max-width: 180px;
    opacity: .7;
    transition: opacity .2s, transform .2s;
}
.block-partenaires__item:hover { opacity: 1; transform: translateY(-2px); }
.block-partenaires__item img { max-height: 80px; width: auto; object-fit: contain; }
.block-partenaires__name { font-weight: 600; color: var(--bcaub-gray-700); }
.block-partenaires__viewport--marquee:hover .block-partenaires__track { animation-play-state: paused; }
@keyframes bcaub-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(var(--marquee-offset)); }
}
@media (prefers-reduced-motion: reduce) {
    .block-partenaires__viewport--marquee .block-partenaires__track { animation: none; }
}

/* ----- RÃ©seaux ----- */
.block-reseaux {
    text-align: center;
    background: var(--bcaub-blue);
    color: var(--bcaub-white);
    padding-block: clamp(3rem, 6vw, 5rem);
    position: relative;
}
.block-reseaux--image {
    background-size: cover;
    background-position: center;
}
.block-reseaux--image::before {
    content: "";
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, .55);
}
.block-reseaux__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.block-reseaux__title { color: var(--bcaub-white); font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.block-reseaux .social-icons__link {
    width: 56px; height: 56px;
    background: var(--bcaub-white);
    color: var(--bcaub-blue);
    border-color: transparent;
}
.block-reseaux .social-icons__link svg { width: 24px; height: 24px; }
.block-reseaux .social-icons__link:hover {
    background: var(--bcaub-red);
    color: var(--bcaub-white);
}
.block-reseaux__email a { color: var(--bcaub-white); }
.block-reseaux__email a:hover { color: var(--bcaub-white); text-decoration: underline; }

/* ----- Map + contact ----- */
.block-map { position: relative; }
.block-map__title { text-align: center; padding-top: clamp(2rem, 4vw, 3rem); }
.block-map__wrap { position: relative; }
.block-map__iframe { display: block; width: 100%; height: 480px; border: 0; }
.block-map__placeholder {
    height: 200px; display: flex; align-items: center; justify-content: center;
    background: var(--bcaub-gray-100); color: var(--bcaub-gray-500);
}
.block-map__card {
    position: relative;
    margin: -120px auto 2rem;
    max-width: 380px;
    background: var(--bcaub-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    z-index: 2;
}
@media (min-width: 992px) {
    .block-map__card {
        position: absolute;
        top: 50%; right: 5%; transform: translateY(-50%);
        margin: 0;
    }
}
.block-map__address { font-style: normal; line-height: 1.6; margin: 0 0 .75rem; color: var(--bcaub-gray-700); }
.block-map__phone { font-weight: 700; font-size: 1.125rem; margin: 0 0 1.25rem; }
.block-map__phone a { color: var(--bcaub-black); }

/* ==========================================================================
   DESIGN v2 â€” splashes, animations, Instagram, refinements
   ========================================================================== */

/* ----- Hero splashes dÃ©coratifs ----- */
.block-hero { isolation: isolate; }
.block-hero__splash {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
}
.block-hero__splash--blue {
    color: var(--bcaub-blue);
    width: clamp(400px, 50vw, 720px);
    height: clamp(400px, 50vw, 720px);
    top: -15%;
    left: -10%;
    animation: bcaub-float 18s ease-in-out infinite;
}
.block-hero__splash--red {
    color: var(--bcaub-red);
    width: clamp(320px, 40vw, 560px);
    height: clamp(320px, 40vw, 560px);
    bottom: -20%;
    right: -8%;
    animation: bcaub-float 22s ease-in-out infinite reverse;
}
.block-hero--image .block-hero__splash { display: none; }

@keyframes bcaub-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(20px, -15px) rotate(8deg); }
    66%      { transform: translate(-10px, 20px) rotate(-5deg); }
}
@media (prefers-reduced-motion: reduce) {
    .block-hero__splash { animation: none; }
}

/* Titre hero â€” lÃ©ger gradient pour les versions sans image */
.block-hero:not(.block-hero--image) .block-hero__title {
    background: linear-gradient(135deg, var(--bcaub-black) 0%, var(--bcaub-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ----- Fix btn--ghost en contexte hero image (texte clair) ----- */
.block-hero--image .btn--ghost {
    color: var(--bcaub-white);
    border-color: var(--bcaub-white);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.block-hero--image .btn--ghost:hover {
    background: var(--bcaub-white);
    color: var(--bcaub-blue);
    border-color: var(--bcaub-white);
}

/* ----- Animations scroll-in ----- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ----- Card hover refinements ----- */
.block-evenements__card,
.block-equipes__slide {
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.block-evenements__card:hover,
.block-equipes__slide:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--bcaub-blue-lt);
}
.block-evenements__media img,
.block-equipes__media img {
    transition: transform .4s ease;
}
.block-evenements__card:hover .block-evenements__media img,
.block-equipes__slide:hover .block-equipes__media img {
    transform: scale(1.05);
}

/* ----- Block Instagram ----- */
.block-instagram {
	background: linear-gradient(135deg, var(--bcaub-blue) 0%, var(--bcaub-blue-dk) 55%, var(--bcaub-red-dk) 100%);
    color: var(--bcaub-white);
}
.block-instagram .block-section-header__title {
    color:white;
}
.block-instagram__handle a {
    color: var(--bcaub-red);
    font-weight: 600;
    text-decoration: none;
}
.block-instagram__handle a:hover { text-decoration: underline; }

.block-instagram__feed {
    max-width: 90%;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.block-instagram__feed iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.block-instagram__placeholder {
    background: linear-gradient(135deg, #FDF2F8 0%, #FEF3C7 50%, #FCE7F3 100%);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: var(--radius-md);
    padding: 3rem 1.5rem;
    max-width: 620px;
    margin: 0 auto;
}
.block-instagram__icon {
    width: 64px; height: 64px;
    padding: 14px;
    border-radius: 16px;
    margin: 0 auto 1rem;
    display: block;
    background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
    color: var(--bcaub-white);
    box-shadow: 0 8px 20px rgba(220, 39, 67, .2);
}
.block-instagram__placeholder-text {
    font-size: 1.125rem;
    color: var(--bcaub-gray-700);
    margin: 0 0 .5rem;
}
.block-instagram__admin-hint {
    color: var(--bcaub-gray-500);
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--bcaub-gray-300);
    font-size: .9rem;
}
.block-instagram__cta { text-align: center; margin-top: 2.5rem; }

/* Bouton Instagram (gradient brand) */
.btn--instagram {
    background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
    color: var(--bcaub-white);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    box-shadow: 0 4px 12px rgba(220, 39, 67, .25);
}
.btn--instagram:hover {
    color: var(--bcaub-white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(220, 39, 67, .35);
}
.btn--instagram svg { flex: 0 0 auto; }

/* ----- Polish typographique global ----- */
.block-hero__title {
    letter-spacing: -.02em;
}
.block-section-header__title {
    transform: rotate(-2deg);
    display: inline-block;
}
.block-section-header--center .block-section-header__title { transform: rotate(-1.5deg); }

/* ----- Hero â€” composition plus aÃ©rÃ©e ----- */
.block-hero .btn {padding: .95rem 2rem;font-size: 1rem;flex: 1;display: unset;width: auto;}

/* ==========================================================================
   v3 â€” Hero parallax (image non coupÃ©e) + Inscriptions v2 + CrÃ©neaux v2
   ========================================================================== */

/* ---------- HERO v3 : <img> natif, jamais coupÃ©, parallax lÃ©ger ---------- */
.block-hero--image {
    /* Reset des styles bg-image hÃ©ritÃ©s */
    background:linear-gradient(135deg, var(--bcaub-blue) 0%, var(--bcaub-blue-dk) 25%, var(--bcaub-red-dk) 100%);
    padding-block: 0;
    text-align: center;
    color: var(--bcaub-white);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}
.block-hero--image::before { display: none; } /* annule l'ancien overlay :before */

.block-hero__media {
    position: relative;
    z-index: 0;
    width: 100%;
    line-height: 0;
    height: 100vh;
}
.block-hero__image {
            /* ratio naturel â€” jamais coupÃ© */
            will-change: transform;
            object-fit: cover;
            object-position: center 15vh;
            position: absolute;
            width: 100%;
            bottom: 0;
}
.block-hero__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
/* En mode vidÃ©o le wrapper media prend toute la hauteur de la section */
.block-hero--video .block-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
/* DÃ©gradÃ© noir â†’ transparent de haut en bas sur la vidÃ©o */
.block-hero--video .block-hero__overlay {
    background:linear-gradient(to bottom, rgb(9 30 81 / 65%) 0%, rgba(15, 23, 42, .40) 35%, rgba(15, 23, 42, 0) 100%);
	background:linear-gradient(to bottom, rgb(14 43 132 / 0%) 0%, rgb(14 43 132 / 20%) 60%, rgb(255 255 255 / 0%) 100%);
}
.block-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(15,23,42,0) 0%, rgba(15,23,42,.25) 60%, rgba(15,23,42,.55) 100%);
    pointer-events: none;
}
.block-hero--image .block-hero__inner {
    position: relative;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    top: calc((var( --site-header-h, 5rem ) / -2) + 0px);
    gap: 0px;
}
body.home .block-hero--image .block-hero__inner{
	position: absolute;
	top:calc((var( --site-header-h, 5rem ) / -2) + 0px);
}
.single .block-hero--image .block-hero__inner {
    top: calc((var( --site-header-h, 5rem ) / -2) + 40px);

}
.block-hero--image.block-hero--subpage .block-hero__inner{
	position: absolute;
}
/* Spacer supÃ©rieur : grandit pour centrer, mais NE RÃ‰TRÃ‰CIT JAMAIS sous la hauteur du header.
   Garantit que le contenu reste toujours sous le menu, mÃªme sur petit viewport. */
.block-hero--image .block-hero__inner::before {
    content: '';
    flex: 1 0 calc( var( --site-header-h, 5rem ) + 2rem );
}
/* Spacer infÃ©rieur : grandit autant que le supÃ©rieur (centrage), peut se rÃ©duire Ã  0. */
.block-hero--image .block-hero__inner::after {
    content: '';
    flex: 1 1 0;
}
.block-hero--image .block-hero__title {
    color: var(--bcaub-white);
    text-shadow: 0 2px 24px rgba(15,23,42,.5), 0 0 1px rgba(15,23,42,.3);
    background: none !important;        /* annule le gradient text du hero sans image */
    -webkit-text-fill-color: currentColor;
}
.block-hero--image .block-hero__baseline { color: var(--bcaub-white); }


/* Animations d'entrÃ©e du hero */
@media (prefers-reduced-motion: no-preference) {
    .block-hero__title {
        opacity: 0;
        animation: bcaub-hero-fade-in 1s cubic-bezier(.2, .8, .2, 1) .15s forwards;
    }
    .block-hero__saison {
        opacity: 0;
        animation: bcaub-hero-fade-in .8s cubic-bezier(.2, .8, .2, 1) .3s forwards;
    }
    .block-hero__baseline {
        opacity: 0;
        animation: bcaub-hero-stamp 1s cubic-bezier(.2, .8, .2, 1) .45s forwards;
    }
    .block-hero__cta {
        opacity: 0;
        animation: bcaub-hero-fade-in 1s cubic-bezier(.2, .8, .2, 1) .7s forwards;
    }
}
@keyframes bcaub-hero-fade-in {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bcaub-hero-stamp {
    from { opacity: 0; transform: translateY(30px) rotate(-8deg) scale(.85); }
    to   { opacity: 1; transform: translateY(0) rotate(-1deg) scale(1); }
}

/* ---------- INSCRIPTIONS v2 â€” grille de points forts ---------- */
.block-inscriptions { text-align: center; }
.block-inscriptions__header {
    max-width: 720px;
    margin: 0 auto 3.5rem;
}
.block-inscriptions__eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--bcaub-red);
    margin: 0 0 .75rem;
	font-family:'Plus Jakarta Sans';
}
.block-inscriptions__title {
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--bcaub-blue);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 1.25rem;
    line-height: 1;
    transform: rotate(-2deg);
    display: inline-block;
}
.block-inscriptions__intro {
    font-size: 1.0625rem;
    color: var(--bcaub-gray-700);
    margin: 0;
    line-height: 1.65;
}
.block-inscriptions__grid {
    list-style: none; padding: 0; margin: 0 0 3rem;
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 600px) { .block-inscriptions__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .block-inscriptions__grid { grid-template-columns: repeat(3, 1fr); } }

.block-inscriptions__card {
    background: var(--bcaub-white);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem 1.75rem;
    text-align: left;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}
.block-inscriptions__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--bcaub-blue), var(--bcaub-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.block-inscriptions__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--bcaub-blue-lt);
}
.block-inscriptions__card:hover::before { transform: scaleX(1); }

.block-inscriptions__icon {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bcaub-blue-lt);
    color: var(--bcaub-blue);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    transition: background .3s, color .3s, transform .3s;
}
.block-inscriptions__icon svg { width: 28px; height: 28px; }
.block-inscriptions__card:hover .block-inscriptions__icon {
    background: var(--bcaub-blue);
    color: var(--bcaub-white);
    transform: scale(1.08) rotate(-3deg);
}
.block-inscriptions__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .5rem;
    color: var(--bcaub-black);
}
.block-inscriptions__card-desc {
    color: var(--bcaub-gray-700);
    margin: 0;
    font-size: .95rem;
    line-height: 1.55;
}
.block-inscriptions__cta { text-align: center; margin-top: 1rem; }
.block-inscriptions__placeholder {
    background: var(--bcaub-gray-50);
    border: 2px dashed var(--bcaub-gray-300);
    padding: 2rem;
    border-radius: var(--radius-md);
    color: var(--bcaub-gray-500);
    margin: 0 0 2rem;
}

.btn--lg { padding: 1.1rem 2.5rem; font-size: 1.0625rem; font-weight: 700; }

/* Stagger animation cards inscriptions */
.block-inscriptions.is-visible .block-inscriptions__card {
    animation: bcaub-card-in .65s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: calc(0.08s * var(--i, 0));
}
@keyframes bcaub-card-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- CRÃ‰NEAUX v2 â€” cartes par jour + backgrounds ---------- */
.block-creneaux {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: calc(clamp(2.5rem, 4vw, 3rem) + 72px);
}

/* Bord diagonal haut â€” triangle blanc en bas Ã  gauche (\) */
.block-creneaux::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 72px;
    background: var(--bcaub-white);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 2;
    clip-path: polygon(100% 100%,100% 0%,0% 0);
}

/* Bord diagonal bas â€” triangle blanc en bas Ã  droite (/) */
.block-creneaux::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: -5%;
    right: 0;
    height: 80px;
    background: #eef3ff;
    clip-path: polygon(0 100%, 110% 0, 100% 100%);
    z-index: 2;
}

.block-creneaux--bg-none {}
.block-creneaux--bg-gradient_blue {
    background: linear-gradient(135deg, var(--bcaub-blue) 0%, var(--bcaub-blue-dk) 100%);
    color: var(--bcaub-white);
}
.block-creneaux--bg-gradient_diag {
    background: linear-gradient(135deg, var(--bcaub-blue) 0%, var(--bcaub-blue-dk) 25%, var(--bcaub-red-dk) 100%);
    color: var(--bcaub-white);
}
.block-creneaux--has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bcaub-white);
}
.block-creneaux__overlay {
    position: absolute; inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(15,23,42,.65) 0%, rgba(15,23,42,.55) 100%);
    pointer-events: none;
}
.block-creneaux--bg-gradient_blue .block-creneaux__overlay,
.block-creneaux--bg-gradient_diag .block-creneaux__overlay {
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.2) 100%);
}
.block-creneaux > .container { position: relative; z-index: 1; }

.block-creneaux--bg-gradient_blue .block-section-header__title,
.block-creneaux--bg-gradient_diag .block-section-header__title,
.block-creneaux--has-image .block-section-header__title {
    color: var(--bcaub-white);
}

/* auto-fit + max fixe : les colonnes ne s'Ã©tirent pas â†’ justify-content: center fonctionne */
.block-creneaux__cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    justify-content: center;
}
@media (min-width: 1200px) {
    .block-creneaux__cards.gymnase { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); }
}
.block-creneaux__slot.le_charrel .block-creneaux__slot-time,.block-creneaux__slot.le_charrel .block-creneaux__slot-venue,.le_charrel .block-creneaux__card-day {
    color:#2196F3
}
li.block-creneaux__slot.nathalie_sarraute .block-creneaux__slot-time,li.block-creneaux__slot.nathalie_sarraute .block-creneaux__slot-venue,.nathalie_sarraute .block-creneaux__card-day {
    color:#FF5722
}
li.block-creneaux__slot.mesones .block-creneaux__slot-time,li.block-creneaux__slot.mesones .block-creneaux__slot-venue,.mesones .block-creneaux__card-day {
    color:#4CAF50
}
li.block-creneaux__slot.le_charrel .block-creneaux__slot-jour {
    background-color:#2196F3
}
li.block-creneaux__slot.nathalie_sarraute .block-creneaux__slot-jour {
    background-color:#FF5722
}
li.block-creneaux__slot.mesones .block-creneaux__slot-jour {
    background-color:#4CAF50
}

.block-creneaux__card {
    background: var(--bcaub-white);
    border-radius: var(--radius-md);
    padding: 1.25rem 4px 10px 2px;
    border: 1px solid var(--bcaub-gray-200);
    transition: box-shadow .25s, transform .25s, border-color .25s;
    color: var(--bcaub-black);
}
.block-creneaux--has-image .block-creneaux__card,
.block-creneaux--bg-gradient_blue .block-creneaux__card,
.block-creneaux--bg-gradient_diag .block-creneaux__card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}
.block-creneaux__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--bcaub-blue-lt);
}
.block-creneaux__card--empty { opacity: .65; }
.block-creneaux--has-image .block-creneaux__card--empty,
.block-creneaux--bg-gradient_blue .block-creneaux__card--empty,
.block-creneaux--bg-gradient_diag .block-creneaux__card--empty { opacity: .4; }

.block-creneaux__card-day {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 1.65rem;
    color: var(--bcaub-blue);
    margin: 0 0 1rem;
    line-height: 1;
    text-align: center;
    transform: rotate(-2deg);
}
.block-creneaux__card-empty {
    text-align: center;
    color: var(--bcaub-gray-500);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}
.block-creneaux__slots {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: .75rem;
}
.block-creneaux__slot {
    background: var(--bcaub-gray-50);
    border-radius: var(--radius-sm);
    padding: .65rem .75rem;
    border-left: 3px solid var(--bcaub-blue);
}
.block-creneaux__slot-time {
    font-weight: 700;
    color: var(--bcaub-blue);
    font-size: .9rem;
    font-feature-settings: "tnum" 1;
}
.block-creneaux__slot-time span { color:#ffffff; font-weight: 400; margin: 0 .15rem; }
.block-creneaux__slot-title {
    font-weight: 500;
    margin-top: .15rem;
    font-size: .9rem;
    color: var(--bcaub-black);
}
.block-creneaux__slot-venue {
    font-size: .8rem;
    color: var(--bcaub-gray-500);
    margin-top: .15rem;
}
.block-creneaux__slot-tags {
    display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .4rem;
}
.block-creneaux__tag {
    font-size: .68rem;
    padding: .12rem .45rem;
    background: var(--bcaub-white);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: 6px;
    color: var(--bcaub-gray-700);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    display: none;
}

/* Stagger cards crÃ©neaux */
.block-creneaux.is-visible .block-creneaux__card {
    animation: bcaub-card-in .55s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: calc(0.06s * var(--i, 0));
}

/* ==========================================================================
   CPT Ã‰quipe â€” herozone + joueurs
   ========================================================================== */

.equipe-hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bcaub-blue-dk);
}
.equipe-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.equipe-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.65) 100%);
    pointer-events: none;
}
.equipe-hero__title {
    position: relative;
    z-index: 2;
    color: var(--bcaub-white);
    text-align: center;
    text-shadow: 0 2px 20px rgba(15,23,42,.5), 0 0 1px rgba(15,23,42,.3);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding-inline: var(--gutter);
    margin: 0;
}

.equipe-content__title {
    margin-bottom: 1.25rem;
}
.equipe-content__body {
    max-width: 72ch;
    color: var(--bcaub-gray-700);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.equipe-saisons__filter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2.5rem;
}
.equipe-saisons__btn {
    appearance: none;
    border: 2px solid var(--bcaub-gray-200);
    background: var(--bcaub-white);
    padding: .55rem 1.25rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 600;
    color: var(--bcaub-gray-700);
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}
.equipe-saisons__btn:hover { border-color: var(--bcaub-blue); color: var(--bcaub-blue); }
.equipe-saisons__btn.is-active {
    background: var(--bcaub-blue);
    border-color: var(--bcaub-blue);
    color: var(--bcaub-white);
}

.equipe-saison-panel[hidden] { display: none !important; }

.equipe-joueurs__grid {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
@media (min-width: 768px) {
    .equipe-joueurs__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

.equipe-joueur {
    background: var(--bcaub-white);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s, border-color .2s;
    text-align: center;
}
.equipe-joueur:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--bcaub-blue-lt);
}
.equipe-joueur__photo {
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bcaub-gray-100);
}
.equipe-joueur__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.equipe-joueur:hover .equipe-joueur__photo img { transform: scale(1.05); }
.equipe-joueur__photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}
.equipe-joueur__photo--empty svg {
    width: 52px;
    height: 52px;
    color: var(--bcaub-gray-300);
}
.equipe-joueur__body { padding: .875rem .75rem 1.125rem; }
.equipe-joueur__name {
    font-size: .9375rem;
    font-weight: 700;
    margin: 0 0 .5rem;
    color: var(--bcaub-black);
    line-height: 1.3;
}
.equipe-joueur__prenom {
    font-weight: 400;
    color: var(--bcaub-gray-500);
    font-size: .875rem;
}
.equipe-joueur__niveaux {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .3rem;
}
.equipe-joueur__niveau {
    font-size: .7rem;
    padding: .15rem .4rem;
    background: var(--bcaub-blue-lt);
    color: var(--bcaub-blue);
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-feature-settings: "tnum" 1;
}
.equipe-joueur__niveau-label {
    font-weight: 500;
    color: var(--bcaub-gray-500);
}

/* ---------- Galerie portraits dans le bloc Inscriptions ---------- */
.block-inscriptions__gallery {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(.6rem, 1.5vw, 1.1rem);
    margin: 0 auto 3rem;
    padding-block: .75rem; /* espace pour les rotations */
    overflow: visible;
}

/* Chaque photo â€” portrait tiltÃ©, opacity 0 avant animation */
.block-inscriptions__gallery-item {
    --rot:   -2.5deg;
    --slide: -90px;
    flex: 0 0 clamp(110px, 15%, 175px);
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0;
    position: relative;
    opacity: 0;
    transform: rotate(var(--rot));
    transform-origin: center bottom;
    box-shadow: var(--shadow-md);
    transition: transform .4s ease, box-shadow .4s ease;
    cursor: pointer;
}
.block-inscriptions__gallery-item:nth-child(even) {
    --rot:   1.8deg;
    --slide: 90px;
    margin-top: clamp(.8rem, 2.5vw, 1.5rem); /* dÃ©calage vertical sur les pairs */
}
.block-inscriptions__gallery-item:hover {
    transform: rotate(0) scale(1.07);
    box-shadow: 0 10px 28px rgba(11, 44, 141, .18);
    z-index: 2;
}
.block-inscriptions__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
}

/* Animations d'entrÃ©e â€” alternance gauche â†” droite via var(--slide) */
.block-inscriptions.is-visible .block-inscriptions__gallery-item {
    animation: bcaub-gallery-in .45s cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: calc(0.1s * var(--i, 0));
}

@keyframes bcaub-gallery-in {
    from { opacity: 0; transform: translateX(var(--slide)) rotate(var(--rot)); }
    to   { opacity: 1; transform: translateX(0)            rotate(var(--rot)); }
}

/* Reduced motion : skip animation, afficher direct */
@media (prefers-reduced-motion: reduce) {
    .block-inscriptions__gallery-item {
        opacity: 1;
        transform: rotate(var(--rot));
        animation: none !important;
    }
}

/* RÃ©duit le margin du header quand la galerie suit */
.block-inscriptions__header:has(+ .block-inscriptions__gallery) { margin-bottom: 2rem; }


/* Mobile â€” scroll horizontal si galerie large */
@media (max-width: 600px) {
	.block-creneaux__cards {
		grid-template-columns: repeat(auto-fit, minmax(180px, 400px));
	}
	.block-hero--image .block-hero__inner{
		height: 100%;
	}
	.equipe-joueur__photo {
		aspect-ratio: 1;
	}
	.block-hero .btn {
	    width: stretch;
	    max-width: 70%;
	    flex: 1;
	}
	.block-hero__cta{
		flex-direction: column;
		align-items: center;
	}
	.block-hero--subpage {
	    height: 100vh;
	}
	.block-hero__media{
		transform: unset!important;
	}
	img.block-hero__image {
	    object-position: top;
	    position: relative;
	    height: 100%;
	}
	
    .block-inscriptions__gallery {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-inline: var(--gutter);
        padding-block: 1.5rem;
    }
    .block-inscriptions__gallery::-webkit-scrollbar { display: none; }
    .block-inscriptions__gallery-item {
        flex: 0 0 clamp(120px, 38vw, 150px);
        scroll-snap-align: start;
    }
    .block-inscriptions__gallery-item:nth-child(even) { margin-top: 0; }
}

/* ---------- Toggle filtre (crÃ©neaux + tarifs) ---------- */
.block-creneaux__toggle,
.block-tarifs__toggle {
    display: flex;
    justify-content: center;
    width: max-content;
    margin: 0 auto 2.5rem;
    background: var(--bcaub-white);
    border: 1px solid var(--bcaub-gray-200);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    box-shadow: var(--shadow-sm);
}
.block-creneaux__toggle-btn,
.block-tarifs__toggle-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: .65rem 1.25rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 600;
    color: var(--bcaub-gray-700);
    cursor: pointer;
    transition: background .2s, color .2s, transform .15s;
}
.block-creneaux__toggle-btn:hover,
.block-tarifs__toggle-btn:hover { color: var(--bcaub-blue); }
.block-creneaux__toggle-btn.is-active,
.block-tarifs__toggle-btn.is-active {
    background: var(--bcaub-blue);
    color: var(--bcaub-white);
    box-shadow: 0 2px 8px rgba(11, 44, 141, .3);
}

/* ---------- Slot avec badge jour (vue par gymnase) ---------- */
.block-creneaux__slot-jour {
    display: inline-block;
    background: var(--bcaub-blue);
    color: var(--bcaub-white);
    font-size: .65rem;
    font-weight: 800;
    padding:.30rem .45rem;
    border-radius: 4px;
    letter-spacing: .06em;
    margin-right: .4rem;
    vertical-align: middle;
    line-height: 1;
}

/* ---------- View panels (hidden via attribute) ---------- */
[data-view-content][hidden] { display: none !important; }

/* ---------- Ancres de section (offset header sticky) ---------- */
.bcaub-anchor {
    display: block;
    position: relative;
    height: 0;
    scroll-margin-top: 90px;
    pointer-events: none;
    visibility: hidden;
}

/* ---------- Encart admin : ancres disponibles ---------- */
.bcaub-admin-anchors {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background: #0F172A;
    color: #fff;
    padding: .75rem 2rem .75rem 1rem;
    border-radius: 8px;
    font-size: .75rem;
    font-family: monospace;
    z-index: 9999;
    max-width: 320px;
    opacity: .9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.bcaub-admin-anchors strong {
    display: block;
    margin-bottom: .35rem;
    color: #FCD34D;
    font-family: var(--font-heading);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.bcaub-admin-anchors__list { line-height: 1.6; word-break: break-all; }
.bcaub-admin-anchors__close {
    position: absolute;
    top: .25rem;
    right: .4rem;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: .25rem .35rem;
    opacity: .7;
}
.bcaub-admin-anchors__close:hover { opacity: 1; }

/* Re-dÃ©clenche l'anim quand on switch de vue */
[data-view-content]:not([hidden]) .block-creneaux__card {
    animation: bcaub-card-in .45s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: calc(0.05s * var(--i, 0));
}

/* ==========================================================================
   BLOC TARIFS â€” section inscription avec grille de cards
   ========================================================================== */

/* Section â€” fond dÃ©gradÃ© diagonal bleu â†’ rouge (mÃªme que block-creneaux--bg-gradient_diag) */
.block-tarifs {
    position: relative;
    isolation: isolate;
    background: linear-gradient(135deg, var(--bcaub-blue) 0%, var(--bcaub-blue-dk) 25%, var(--bcaub-red-dk) 100%);
    color: var(--bcaub-white);
    padding-bottom: calc(clamp(2.5rem, 6vw, 5rem) + 72px);
}
.block-tarifs > .container { position: relative; z-index: 1; }

/* Bord diagonal bas â€” triangle blanc en bas Ã  droite */
.block-tarifs::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 72px;
    background: var(--bcaub-white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 2;
}
.block-tarifs__intro a{color:var(--bcaub-red);}
/* Header */
.block-tarifs__header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.block-tarifs__header .block-section-header__title {
    display: inline-block;
    color: var(--bcaub-white);
}
.block-tarifs__intro {
    max-width: 680px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1.0625rem;
    line-height: 1.65;
}
.block-tarifs__intro p { margin: 0 0 .75rem; }
.block-tarifs__intro p:last-child { margin-bottom: 0; }

/* Grille â€” flex + justify-content: center pour centrer la derniÃ¨re ligne incomplÃ¨te */
.block-tarifs__grid {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
    align-items: start;
}

/* Card : flex-basis fixÃ© par breakpoint pour garantir N par ligne */
.block-tarifs__card {
    flex: 0 0 100%; /* mobile : 1 par ligne */
}
@media (min-width: 640px) {
    /* tablet : 2 par ligne â€” (100% - 1 gap) / 2 */
    .block-tarifs__card { flex: 0 0 calc((100% - 1.75rem) / 2); }
}
@media (min-width: 960px) {
    /* desktop : 4 par ligne â€” (100% - 3 gaps) / 4 */
    .block-tarifs__card { flex: 0 0 calc((100% - 3 * 1.75rem) / 4); }
    .block-tarifs__grid { align-items: stretch; }
}

/* Card â€” verre dÃ©poli sur gradient (mÃªme approche que block-creneaux) */
.block-tarifs__card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--bcaub-black);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.block-tarifs__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--bcaub-blue), var(--bcaub-red));
}
.block-tarifs__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .2);
    border-color: var(--bcaub-blue-lt);
}

/* Card mise en avant â€” blanc solide, plus proÃ©minente */
.block-tarifs__card--featured {
    background: var(--bcaub-white);
    border-color: transparent;
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .28);
}
.block-tarifs__card--featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 20px 52px rgba(15, 23, 42, .32);
}

/* Badge */
.block-tarifs__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bcaub-red);
    color: var(--bcaub-white);
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* Contenu card (texte sombre sur fond blanc/semi-blanc) */
.block-tarifs__card-titre {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .75rem;
    color: var(--bcaub-black);
}
.block-tarifs__prix {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--bcaub-blue);
    margin: 0 0 .3rem;
    line-height: 1;
}
.block-tarifs__sous-titre {
    font-size: .875rem;
    color: var(--bcaub-gray-500);
    font-style: italic;
    margin: 0 0 1.25rem;
}
.block-tarifs__desc {
    font-size: .9375rem;
    color: var(--bcaub-gray-700);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* CTA unique sous la grille */
.block-tarifs__footer-cta {
    text-align: center;
    margin: 0;
}

/* Stagger animation */
.block-tarifs.is-visible .block-tarifs__card {
    animation: bcaub-card-in .65s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: calc(0.1s * var(--i, 0));
}

/* ==========================================================================
   SINGLE Ã‰VÃ‰NEMENT
   ========================================================================== */

/* Conteneur principal */
.evt-container {
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

/* Badge type */
.evt-type-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 999px;
    margin-bottom: 2rem;
    background: var(--bcaub-blue);
    color: var(--bcaub-white);
}
.evt-type-badge--stage       { background: #0d9488; }
.evt-type-badge--championnat { background: var(--bcaub-red); }
.evt-type-badge--vie_club    { background: #7c3aed; }
.evt-type-badge--autre       { background: var(--bcaub-gray-700); }

/* Layout 2 colonnes sur desktop */
.evt-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}
@media (min-width: 900px) {
    .evt-layout { grid-template-columns: 1fr 300px; }
}

/* Corps â€” description */
.evt-body {}

.evt-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--bcaub-gray-700);
}
.evt-description p  { margin: 0 0 1.25rem; }
.evt-description h2,
.evt-description h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 2rem 0 .75rem;
    color: var(--bcaub-blue-dk);
}
.evt-description ul,
.evt-description ol {
    padding-left: 1.5rem;
    margin: 0 0 1.25rem;
}

/* CTA mobile (cachÃ© sur desktop oÃ¹ il est dans la sidebar) */
.evt-cta-mobile {
    margin-top: 2rem;
}
@media (min-width: 900px) {
    .evt-cta-mobile { display: none; }
}

/* Sidebar â€” carte infos */
.evt-aside {}

.evt-info-card {
    background: var(--bcaub-gray-100, #f8fafc);
    border: 1px solid var(--bcaub-gray-200, #e2e8f0);
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--header-h, 72px) + 1.5rem);
}

.evt-info-item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-block: .85rem;
    border-bottom: 1px solid var(--bcaub-gray-200, #e2e8f0);
}
.evt-info-item:first-child { padding-top: 0; }
.evt-info-item:last-of-type { border-bottom: none; }

.evt-info-item__label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--bcaub-gray-700, #64748b);
}
.evt-info-item__label svg {
    flex-shrink: 0;
    opacity: .7;
}
.evt-info-item__value {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--bcaub-blue-dk);
    padding-left: calc(16px + .4rem);
}

.evt-info-item--deadline .evt-info-item__label { color: var(--bcaub-red); }
.evt-info-item--deadline .evt-info-item__label svg { opacity: 1; }
.evt-info-item--deadline .evt-info-item__value  { color: var(--bcaub-red); }

.evt-info-card__cta {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    width: 100%;
}

/* Galerie pleine largeur */
.evt-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 640px)  { .evt-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .evt-gallery { grid-template-columns: repeat(4, 1fr); } }

.evt-gallery__item {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--bcaub-gray-100);
    margin: 0;
}

/* Image lÃ©gÃ¨rement oversizÃ©e pour avoir de la marge au parallax */
.evt-gallery__img {
    width: 100%;
    height: 115%;
    margin-top: -7.5%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

/* Scroll-in par stagger */
.evt-gallery__item {
    opacity: 0;
    transform: scale(.97);
    transition: opacity .5s ease, transform .5s ease;
    transition-delay: calc(0.04s * var(--i, 0));
}
.evt-gallery.is-visible .evt-gallery__item {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   FORMULAIRE DE CONTACT
   ========================================================================== */

.block-contact-form__header {
    text-align: center;
    margin-bottom: 3rem;
}
.block-contact-form__eyebrow {
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--bcaub-red);
    margin: 0 0 .5rem;
}
.block-contact-form__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin: 0;
}

/* =========================================================
   MENU MOBILE â€” hamburger + drawer + icÃ´ne contact
   ========================================================= */

/* --- Bouton hamburger (cachÃ© sur desktop) --- */
.site-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 210;
}
/* IcÃ´ne volant â€” sauvegarder dans assets/img/volant.png */
.site-nav__toggle-icon {
    display: block;
    width: 30px; height: 30px;
    transition: transform .4s cubic-bezier(.25, 1, .5, 1), filter .3s ease;
    pointer-events: none;
    user-select: none;
}
/* Open state : rotation 180Â° + passe blanc */
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon {
    transform: rotate(180deg);
    filter: brightness(0) invert(1);
}
/* IcÃ´ne blanche sur hero overlay (fond sombre) */
body.home .site-header:not(.is-fixed) .site-nav__toggle .site-nav__toggle-icon,
body.has-hero-overlay .site-header:not(.is-fixed) .site-nav__toggle .site-nav__toggle-icon {
    filter: brightness(0) invert(1);
}

/* --- Lien Contact (icÃ´ne enveloppe) --- */
.site-nav__contact-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--bcaub-black);
    text-decoration: none;
    font-weight: 500;
    padding-block: .2rem;
    transition: color .15s;
}
.site-nav__contact-link svg {
    width: 1.15em; height: 1.15em;
    flex-shrink: 0;
}
.site-nav__contact-link:hover { color: var(--bcaub-blue); }
/* Label texte masquÃ© sur desktop (icÃ´ne seule) */
.site-nav__contact-label {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Contact â€” Ã©tats overlay hero */
body.home .site-header:not(.is-fixed) .site-nav__contact-link,
body.has-hero-overlay .site-header:not(.is-fixed) .site-nav__contact-link {
    color: var(--bcaub-white);
    text-shadow: 0 1px 6px rgba(15, 23, 42, .5);    vertical-align: middle;
}
body.home .site-header:not(.is-fixed) .site-nav__contact-link:hover,
body.has-hero-overlay .site-header:not(.is-fixed) .site-nav__contact-link:hover { color: var(--bcaub-blue-lt); }
body.home .site-header.is-fixed .site-nav__contact-link,
body.has-hero-overlay .site-header.is-fixed .site-nav__contact-link { color: var(--bcaub-black); text-shadow: none; }
body.home .site-header.is-fixed .site-nav__contact-link:hover,
body.has-hero-overlay .site-header.is-fixed .site-nav__contact-link:hover { color: var(--bcaub-blue); }

/* --- Overlay backdrop (injectÃ© par JS) --- */
.site-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    z-index: 150;
    cursor: pointer;
}
.site-nav-overlay.is-active { display: none; }

.block-hero__scroll-hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgb(255 255 255);
    border-radius: 14px;
    opacity: 0.55;
    transition: opacity .2s;
    color: #ffffff;
    margin-top: 20px;
}
.block-hero--image .block-hero__scroll-hint{
	position: relative;
    left: initial;
    transform: none;
}
.block-hero--image .block-hero__scroll-hint { color: var(--bcaub-white); }
.block-hero__scroll-hint:hover { opacity: 1; }
.block-hero__scroll-hint span {
    display: block;
    width: 3px; height: 8px;
    margin: 6px auto 0;
    background: currentColor;
    border-radius: 4px;
    animation: bcaub-scroll-hint 1.8s ease-in-out infinite;
}
@keyframes bcaub-scroll-hint {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(10px); opacity: 0.2; }
}
@media (max-width: 600px) { .block-hero__scroll-hint {/* display: none; */} }
@media (prefers-reduced-motion: reduce) { .block-hero__scroll-hint span { animation: none; } }
/* --- Drawer mobile â‰¤ 768 px --- */
@media (max-width: 768px) {
    /* Header sticky sur mobile (le JS double-Ã©tat ne tourne qu'Ã  â‰¥769 px) */
    .site-header {
        position: fixed !important;
        top: 0;
        z-index: 200;
		padding-bottom: 0px!important;
		width: 100%;
    }
    /* Home / hero-overlay : fond blanc compact sur mobile (pas d'overlay hero) */
    body.home .site-header,
    body.has-hero-overlay .site-header {
        background: var(--bcaub-white) !important;
        border-bottom: 1px solid var(--bcaub-gray-200) !important;
    }
    /* Forcer logo par dÃ©faut (l'overlay logo est masquÃ©) */
    body.home .site-header .site-header__logo--overlay,
    body.has-hero-overlay .site-header .site-header__logo--overlay { display: none !important; }
    body.home .site-header .site-header__logo--default,
    body.has-hero-overlay .site-header .site-header__logo--default { display: block !important; }
    /* Liens menu sombres â€” SEULEMENT quand le drawer est fermÃ© */
    body.home:not(.nav-is-open) .site-nav__menu a,
    body.has-hero-overlay:not(.nav-is-open) .site-nav__menu a { color: var(--bcaub-black) !important; text-shadow: none !important; }
    /* IcÃ´ne volant noire â€” SEULEMENT quand le drawer est fermÃ© */
    body.home:not(.nav-is-open) .site-nav__toggle .site-nav__toggle-icon,
    body.has-hero-overlay:not(.nav-is-open) .site-nav__toggle .site-nav__toggle-icon { filter: none !important; }

    /* Afficher le bouton hamburger */
    .site-nav__toggle { display: flex; }

    /* Drawer plein-Ã©cran, fond sombre, slide depuis la droite */
    .site-nav {
        position: fixed;
        inset: 0;
        background: var(--bcaub-black);
        padding: 5rem 2rem 3rem;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(.25, 1, .5, 1);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    .site-nav.is-open { transform: translateX(0); z-index: 10;opacity: 1;}

    /* Items menu en colonne â€” texte blanc sur fond sombre */
    .site-nav__menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        font-size: 1.1rem;
        flex-wrap: nowrap;
    }
    .site-nav__menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    .site-nav__menu a {
        display: flex;
        padding: .85rem 0;
        color: var(--bcaub-white) !important;
        text-shadow: none !important;
    }
    .site-nav__menu a:hover { color: var(--bcaub-blue-lt) !important; }
    .site-nav__menu .current-menu-item > a,
    .site-nav__menu .current_page_item > a { color: var(--bcaub-blue-lt) !important; }
    .site-nav__menu .current-menu-item > a::after,
    .site-nav__menu .current_page_item > a::after { background: var(--bcaub-blue-lt); }

    /* Lien contact dans le drawer â€” label visible */
    .site-nav__contact-link {
        display: flex;
        padding: .85rem 0;
        color: var(--bcaub-white) !important;
        text-shadow: none !important;
    }
    .site-nav__contact-link:hover { color: var(--bcaub-blue-lt) !important; }
    .site-nav__contact-label {
        position: static;
        width: auto; height: auto;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
}

/* Formulaire */
.contact-form {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form__row--2col {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 540px) {
    .contact-form__row--2col { grid-template-columns: 1fr; }
}

.contact-form__label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bcaub-gray-700);
    margin-bottom: .4rem;
}
.contact-form__label abbr {
    color: var(--bcaub-red);
    text-decoration: none;
    margin-left: .15em;
}

.contact-form__input {
    display: block;
    width: 100%;
    padding: .7rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--bcaub-black);
    background: var(--bcaub-white);
    border: 1.5px solid var(--bcaub-gray-300);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}
.contact-form__input:focus {
    border-color: var(--bcaub-blue);
    box-shadow: 0 0 0 3px rgba(11, 44, 141, .12);
}
.contact-form__input:invalid:not(:placeholder-shown) {
    border-color: var(--bcaub-red);
}

.contact-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.65;
}

/* Champ sujet libre â€” animation d'apparition */
.contact-form__field--sujet-libre {
    animation: cf-slide-in .2s ease;
}
@keyframes cf-slide-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* reCAPTCHA */
.contact-form__recaptcha {
    display: flex;
    justify-content: flex-start;
}

/* Feedback success / error */
.contact-form__feedback {
    padding: .85rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: .9375rem;
    line-height: 1.55;
}
.contact-form__feedback--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.contact-form__feedback--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Bouton submit */
.contact-form__actions {
    margin-top: .25rem;
}
.contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    transition: opacity .2s;
}
.contact-form__submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}
.contact-form__submit-spinner svg {
    animation: cf-spin .8s linear infinite;
}
@keyframes cf-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Ã‰VÃ‰NEMENTS â€” Archive + bloc homepage
   ========================================================================== */

/* ----- Badge "PassÃ©" (overlay coin bas-droit) ----- */
.evts-past-label {
    position: absolute;
    bottom: .6rem;
    right: .6rem;
    background: var(--bcaub-gray-700);
    color: var(--bcaub-white);
    font-size: .7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .2rem .55rem;
    border-radius: var(--radius-sm);
    pointer-events: none;
}

/* LÃ©gÃ¨re dÃ©saturation pour les Ã©vÃ©nements passÃ©s */
.block-evenements__card--past .block-evenements__media img {
    filter: saturate(.6);
    transition: filter .3s ease, transform .4s ease;
}
.block-evenements__card--past:hover .block-evenements__media img {
    filter: saturate(1);
}

/* ----- Footer CTA du bloc homepage ----- */
.block-evenements__footer {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-top: .25rem;
}

/* ----- Archive grid â€” 4 colonnes sur les grandes largeurs ----- */
@media (min-width: 1024px) {
    .evts-archive-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Cards Ã©quipes â€” placeholder dÃ©gradÃ© + logo */
.equipes-card__placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bcaub-blue) 0%, var(--bcaub-blue-dk) 25%, var(--bcaub-red-dk) 100%);
}
.equipes-card__logo {
    /* Annule la rÃ¨gle globale .block-evenements__media img */
    width: auto !important; height: auto !important;
    max-width: 55%; max-height: 55%;
    object-fit: contain;
    opacity: .9;
}
/* Overlay image saison (activÃ© par JS) */
.equipes-card__season-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
/* ----- Toggle pÃ©riode dans la barre de filtres (reset centrage crÃ©neaux) ----- */
.evts-periode-toggle {
    margin: 0;
    width: auto;
    justify-content: flex-start;
}

/* ----- Barre de filtres (selects) ----- */
.evts-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 2.5rem;
}
.evts-filters__group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.evts-filters__label {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--bcaub-gray-500);
}
.evts-filters__select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bcaub-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E3A8A' stroke-width='1.75' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    border: 1.5px solid var(--bcaub-blue);
    border-radius: var(--radius-md);
    padding: .7rem 2.75rem .7rem 1rem;
    font-family: var(--font-heading);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--bcaub-black);
    min-width: 200px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}
.evts-filters__select:hover {
    border-color: var(--bcaub-red);
}
.evts-filters__select:focus {
    outline: none;
    border-color: var(--bcaub-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, .15);
}

/* ----- Message vide ----- */
.evts-empty {
    text-align: center;
    padding: 3rem 0;
    color: var(--bcaub-gray-500);
    font-size: 1.0625rem;
}

/* ----- Pagination archive ----- */
.evts-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 3rem;
}
.evts-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 .75rem;
    border: 1px solid var(--bcaub-gray-200);
    border-radius: var(--radius-sm);
    font-size: .9375rem;
    color: var(--bcaub-black);
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}
.evts-pagination .page-numbers:hover {
    background: var(--bcaub-gray-100);
    border-color: var(--bcaub-blue);
    color: var(--bcaub-blue);
}
.evts-pagination .page-numbers.current {
    background: var(--bcaub-blue);
    border-color: var(--bcaub-blue);
    color: var(--bcaub-white);
    font-weight: 700;
    pointer-events: none;
}
.evts-pagination .page-numbers.dots {
    border-color: transparent;
    background: none;
    pointer-events: none;
}
