﻿/* =========================================================
   CLUB CANIN AUTUNOIS
   Content/site.css

   Version consolidée
   - Bootstrap 5 local
   - Responsive ordinateur / tablette / téléphone
   - En-tête compact
   - Coordonnées compactes
   - Titres de pages compacts
   - Carrousel 16:9
   - Images principales 16:9
   - Animations légères
   - Galerie / Lightbox
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --cca-primary: #155a9c;
    --cca-primary-dark: #104978;
    --cca-primary-light: #2d74b5;
    --cca-primary-soft: #eaf3fb;
    --cca-text: #252525;
    --cca-muted: #667085;
    --cca-surface: rgba(255, 255, 255, 0.94);
    --cca-surface-soft: rgba(255, 255, 255, 0.82);
    --cca-border: rgba(0, 0, 0, 0.09);
    --cca-radius-sm: 10px;
    --cca-radius: 16px;
    --cca-radius-lg: 22px;
    --cca-shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.07);
    --cca-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    --cca-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.14);
    --cca-page-width: 1180px;
    --cca-transition: 180ms ease;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

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

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-width: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--cca-text);
    background-color: #e8e8e8;
    background-image: linear-gradient( rgba(245, 247, 249, 0.70), rgba(245, 247, 249, 0.70) ), url('../images/Fond.jpg');
    background-repeat: repeat, repeat;
    background-position: top left, top left;
    background-attachment: fixed, fixed;
    overflow-x: hidden;
}

main {
    display: block;
    min-width: 0;
}

img {
    max-width: 100%;
    height: auto;
}

video {
    max-width: 100%;
}

iframe {
    max-width: 100%;
}

a {
    color: var(--cca-primary);
    text-decoration: none;
    transition: color var(--cca-transition);
}

    a:hover,
    a:focus {
        color: var(--cca-primary-dark);
        text-decoration: none;
    }

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   LARGEUR GÉNÉRALE
   ========================================================= */

.shell {
    width: min( var(--cca-page-width), calc(100% - 30px) );
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   BARRE DE PROGRESSION
   ========================================================= */

.cca-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 0;
    height: 3px;
    background: linear-gradient( 90deg, var(--cca-primary), #65a9df );
    pointer-events: none;
}


/* =========================================================
   ENTÊTE
   ========================================================= */

.site-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--cca-border);
    backdrop-filter: blur(5px);
}

.header-surface {
    padding: 14px 0 10px;
}


/* =========================================================
   PREMIÈRE LIGNE ENTÊTE
   4 ÉLÉMENTS
   ========================================================= */

.original-masthead {
    display: grid;
    grid-template-columns: minmax(0, 0.80fr) minmax(0, 1.20fr) minmax(0, 1.50fr) minmax(0, 0.80fr);
    gap: 16px;
    align-items: center;
}

.original-logo-block,
.original-motto-block,
.cca-title-block,
.cca-image-block {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   LOGO VIDÉO ENTÊTE
   ========================================================= */

.original-logo-block {
    text-align: center;
}

    .original-logo-block a {
        display: inline-block;
        max-width: 100%;
    }

.master-logo-video {
    display: block;
    width: min(150px, 100%);
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    background: #000;
    box-shadow: var(--cca-shadow-sm);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

    .master-logo-video:hover {
        transform: scale(1.025);
        box-shadow: var(--cca-shadow);
    }


/* =========================================================
   DEVISE / ADHÉSION
   ========================================================= */

.original-motto-block {
    text-align: center;
}

.original-motto {
    margin: 0 0 9px;
    color: var(--cca-text);
    font-size: clamp(0.88rem, 1.35vw, 1.20rem);
    line-height: 1.30;
}

.membership-link {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid rgba(21, 90, 156, 0.12);
    border-radius: 10px;
    background: var(--cca-primary-soft);
    font-size: 0.82rem;
    line-height: 1.25;
    box-shadow: 0 2px 8px rgba(21, 90, 156, 0.06);
    transition: transform var(--cca-transition), box-shadow var(--cca-transition);
}

    .membership-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(21, 90, 156, 0.11);
    }

    .membership-link a {
        font-weight: 700;
    }

    .membership-link small {
        color: var(--cca-muted);
    }


/* =========================================================
   TITRE CLUB
   ========================================================= */

.cca-title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.club-name-header {
    width: 100%;
    margin: 0;
    color: #4d5660;
    font-size: clamp(1.7rem, 3vw, 3.2rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-align: center;
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 #dadde0, 3px 3px 0 #b6bbc0, 5px 5px 9px rgba(0, 0, 0, 0.16);
}

.club-location-header {
    margin-top: 6px;
    color: var(--cca-primary);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   IMAGE CCA
   ========================================================= */

.cca-image-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cca-mark {
    display: block;
    width: min(170px, 100%);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 250ms ease;
}

    .cca-mark:hover {
        transform: scale(1.025);
    }


/* =========================================================
   COORDONNÉES COMPACTES
   ========================================================= */

.coordinates-shell {
    margin-top: 9px;
}

.coordinates-panel {
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--cca-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--cca-shadow-sm);
}

.coordinates-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 4px 12px;
    background: rgba(21, 90, 156, 0.07);
    color: #344054;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.coordinates-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--cca-primary);
    box-shadow: 0 0 0 3px rgba(21, 90, 156, 0.10);
}

.coordinates-body {
    width: 100%;
    padding: 5px 12px;
    font-size: 0.82rem;
    line-height: 1.15;
}

.coordinates-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.coordinates-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.coordinate-line {
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
}

.coordinate-label {
    display: inline-block;
    flex: 0 0 auto;
    margin: 0;
    color: var(--cca-muted);
    font-size: 0.60rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.coordinate-line a {
    min-width: 0;
    font-weight: 600;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.coordinates-address {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
    padding-left: 14px;
    border-left: 1px solid var(--cca-border);
}

    .coordinates-address address {
        margin: 0;
        font-style: normal;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }


/* =========================================================
   NAVIGATION BOOTSTRAP
   ========================================================= */

.cca-navbar {
    position: relative;
    z-index: 500;
    width: 100%;
    padding: 0;
    background: linear-gradient( 180deg, #68727b, #505962 );
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 2px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 4px 13px rgba(0, 0, 0, 0.14);
    transition: box-shadow 200ms ease, background 200ms ease;
}

    .cca-navbar.is-scrolled {
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    }

.navbar-shell {
    min-height: 49px;
}

.cca-navbar .navbar-nav {
    width: 100%;
    justify-content: center;
    gap: 0;
}

.cca-navbar .nav-item {
    min-width: 0;
}

.cca-navbar .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px clamp(5px, 0.8vw, 13px);
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(0.69rem, 0.90vw, 0.88rem);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    transition: color var(--cca-transition), background var(--cca-transition);
}

    .cca-navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 5px;
        width: 0;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transform: translateX(-50%);
        transition: width 200ms ease;
    }

    .cca-navbar .nav-link:hover,
    .cca-navbar .nav-link:focus,
    .cca-navbar .nav-link.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

        .cca-navbar .nav-link:hover::after,
        .cca-navbar .nav-link:focus::after,
        .cca-navbar .nav-link.active::after {
            width: calc(100% - 18px);
        }

.cca-navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: #fff;
}

    .cca-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
    }

.cca-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.cca-navbar .navbar-brand {
    color: #fff;
    font-weight: 800;
}


/* =========================================================
   BANDEAU DE 4 PHOTOS
   ========================================================= */

.historic-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(3px, 0.7vw, 9px);
    width: min( var(--cca-page-width), calc(100% - 30px) );
    margin: 9px auto;
    padding: 0;
    overflow: hidden;
}

    .historic-strip figure {
        margin: 0;
        overflow: hidden;
        border-radius: 9px;
        background: #fff;
        box-shadow: var(--cca-shadow-sm);
    }

    .historic-strip img {
        display: block;
        width: 100%;
        height: clamp(55px, 8vw, 110px);
        object-fit: cover;
        object-position: center;
        transition: transform 300ms ease;
    }

    .historic-strip figure:hover img {
        transform: scale(1.04);
    }


/* =========================================================
   TITRES DES PAGES - VERSION COMPACTE
   ========================================================= */

.page-hero {
    min-height: 0 !important;
    padding: 10px 0 8px !important;
    background: linear-gradient( 120deg, rgba(255, 255, 255, 0.84), rgba(235, 243, 249, 0.77) );
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid var(--cca-border);
}

    .page-hero .shell {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        text-align: center;
    }

    .page-hero h1 {
        display: block;
        width: 100%;
        margin: 0 !important;
        color: #344054;
        font-size: clamp(1.30rem, 2.3vw, 2rem) !important;
        font-weight: 850;
        line-height: 1.02 !important;
        text-align: center;
    }

        .page-hero h1::after {
            content: "";
            display: block;
            width: 38px !important;
            height: 2px !important;
            margin: 4px auto 0 !important;
            border-radius: 2px;
            background: linear-gradient( 90deg, var(--cca-primary), #75b5e2 );
        }

    .page-hero p {
        margin: 4px 0 0 !important;
        color: var(--cca-muted);
        font-size: 0.82rem !important;
        line-height: 1.2 !important;
        text-align: center;
    }

.hero-eyebrow {
    margin: 0 0 3px !important;
    color: var(--cca-primary);
    font-size: 0.62rem !important;
    font-weight: 800;
    line-height: 1.1 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 6px !important;
}


/* =========================================================
   CONTENU
   ========================================================= */

.content-section {
    padding: 24px 0 34px;
}

.content-card {
    position: relative;
    min-width: 0;
    padding: 21px;
    overflow: hidden;
    border: 1px solid var(--cca-border);
    border-radius: var(--cca-radius);
    background: var(--cca-surface);
    box-shadow: var(--cca-shadow-sm);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

    .content-card:hover {
        transform: translateY(-3px);
        border-color: rgba(21, 90, 156, 0.15);
        box-shadow: var(--cca-shadow);
    }

    .content-card h1,
    .content-card h2,
    .content-card h3 {
        color: #344054;
    }

    .content-card h1,
    .content-card h2 {
        margin-top: 0;
    }

    .content-card h2 {
        margin-bottom: 14px;
        font-size: 1.35rem;
        line-height: 1.20;
    }

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


/* =========================================================
   CARTES
   ========================================================= */

.card-kicker {
    margin-bottom: 8px;
    color: var(--cca-primary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: var(--cca-primary-soft);
    font-size: 1.2rem;
}


/* =========================================================
   GRILLES
   ========================================================= */

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
    gap: 24px;
    align-items: start;
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

    .two-col > *,
    .three-col > * {
        min-width: 0;
    }


/* =========================================================
   ACCUEIL - SHOWCASE
   ========================================================= */

.home-showcase-section {
    padding: 14px 0 8px;
}

.home-scroll-cue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 10px auto 0;
    color: var(--cca-muted);
    font-size: 0.72rem;
}


/* =========================================================
   CARROUSEL ACCUEIL
   FORMAT 16:9
   ========================================================= */

.cca-carousel {
    position: relative;
    width: min(100%, 720px);
    aspect-ratio: 16 / 9;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: var(--cca-radius-lg);
    background: #111;
    box-shadow: var(--cca-shadow);
}

.cca-carousel-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.cca-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
    transition: transform 600ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.cca-carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
}

    .cca-carousel-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 180deg, transparent 45%, rgba(0, 0, 0, 0.65) 100% );
    }

    .cca-carousel-slide img {
        display: block;
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
        transform: scale(1.005);
        transition: transform 6s ease;
    }

    .cca-carousel-slide.is-active img {
        transform: scale(1.05);
    }

    .cca-carousel-slide figcaption {
        position: absolute;
        left: 24px;
        right: 24px;
        bottom: 31px;
        z-index: 2;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
    }

        .cca-carousel-slide figcaption strong {
            display: block;
            margin-bottom: 5px;
            font-size: clamp(1.35rem, 3vw, 2.25rem);
            line-height: 1.05;
        }

        .cca-carousel-slide figcaption span {
            display: block;
            font-size: 0.90rem;
            line-height: 1.35;
        }

.cca-carousel-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.30);
    font-size: 1.65rem;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(3px);
    transition: background 180ms ease, transform 180ms ease;
}

    .cca-carousel-control:hover {
        background: rgba(0, 0, 0, 0.55);
    }

.cca-carousel-prev {
    left: 11px;
}

.cca-carousel-next {
    right: 11px;
}

.cca-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 11px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
}

.cca-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.60);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

    .cca-carousel-dot.is-active {
        width: 27px;
        background: #fff;
    }

.cca-carousel-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 4;
    width: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   ACCUEIL - ACTIVITÉS
   ========================================================= */

.home-activity-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

    .home-activity-ribbon span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 10px;
        border: 1px solid rgba(21, 90, 156, 0.10);
        border-radius: 10px;
        background: var(--cca-primary-soft);
        color: var(--cca-primary-dark);
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
        transition: transform var(--cca-transition), background var(--cca-transition);
    }

        .home-activity-ribbon span:hover {
            transform: translateY(-2px);
            background: #dcecf9;
        }


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

.animated-home-video-wrap {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 14px auto 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: var(--cca-shadow-sm);
}

.animated-home-video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    background: #000;
}


/* =========================================================
   ACCUEIL - HORAIRES / PHOTOS 16:9
   ========================================================= */

.home-schedule {
    margin-top: 22px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.schedule-time {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: var(--cca-primary);
    font-size: 0.80rem;
    font-weight: 800;
}

.schedule-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

    .schedule-photo-grid img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
        box-shadow: var(--cca-shadow-sm);
        transition: transform 220ms ease, box-shadow 220ms ease;
    }

        .schedule-photo-grid img:hover {
            transform: translateY(-2px) scale(1.015);
            box-shadow: var(--cca-shadow);
        }


/* =========================================================
   ACTUALITÉS / TIMELINE
   ========================================================= */

.news-wrap {
    width: 100%;
}

.news-timeline {
    position: relative;
    display: grid;
    gap: 0;
    margin-top: 12px;
}

    .news-timeline::before {
        content: "";
        position: absolute;
        top: 4px;
        bottom: 4px;
        left: 8px;
        width: 2px;
        background: rgba(21, 90, 156, 0.15);
    }

.news-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 12px;
    padding: 0 0 18px 30px;
}

.news-timeline-marker {
    position: absolute;
    top: 3px;
    left: 1px;
    width: 16px;
    height: 16px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--cca-primary);
    box-shadow: 0 0 0 2px rgba(21, 90, 156, 0.13);
}

.news-timeline-date {
    color: var(--cca-primary);
    font-size: 0.74rem;
    font-weight: 800;
}

.news-timeline-content {
    min-width: 0;
    font-size: 0.92rem;
    line-height: 1.42;
}


/* =========================================================
   ANCIEN TABLEAU NEWS
   ========================================================= */

.news-table {
    width: 100%;
    border-collapse: collapse;
}

    .news-table th,
    .news-table td {
        padding: 9px 10px;
        border: 1px solid #d8dde2;
        text-align: left;
        vertical-align: top;
    }

    .news-table th {
        background: #edf2f6;
    }


/* =========================================================
   PRÉSENTATION / VIE DU CLUB / LOCALISATION
   ========================================================= */

.media-aside {
    min-width: 0;
}

.side-photo-stack {
    display: grid;
    gap: 13px;
    min-width: 0;
}

    .side-photo-stack figure {
        margin: 0;
        overflow: hidden;
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--cca-shadow-sm);
    }


    /* =========================================================
   IMAGES LATÉRALES EN 16:9
   Lavieduclub.aspx / NousLocaliser.aspx
   ========================================================= */

    .side-photo-stack img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
        transition: transform 240ms ease;
    }

        .side-photo-stack img:hover {
            transform: scale(1.025);
        }


/* =========================================================
   VIDÉOS INTERNES
   ========================================================= */

.presentation-video,
.club-life-video,
.location-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background: #000;
    box-shadow: var(--cca-shadow-sm);
}


/* =========================================================
   HORAIRES PRÉSENTATION
   ========================================================= */

.schedule-levels {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.schedule-level {
    padding: 12px 14px;
    border-left: 4px solid var(--cca-primary);
    border-radius: 0 10px 10px 0;
    background: var(--cca-primary-soft);
}


/* =========================================================
   MONITEURS / BUREAU
   ========================================================= */

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.person-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cca-border);
    border-radius: var(--cca-radius);
    background: var(--cca-surface);
    box-shadow: var(--cca-shadow-sm);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

    .person-card::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 3px;
        background: var(--cca-primary);
        transform: translateX(-50%);
        transition: width 220ms ease;
    }

    .person-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--cca-shadow-hover);
    }

        .person-card:hover::after {
            width: 100%;
        }


    /* =========================================================
   PHOTOS MONITEURS / BUREAU 16:9
   ========================================================= */

    .person-card img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
        transition: transform 300ms ease;
    }

    .person-card:hover img {
        transform: scale(1.035);
    }

.person-body {
    padding: 13px 12px 15px;
    text-align: center;
}

.person-card h2 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.22;
}

.person-role {
    display: inline-block;
    margin-top: 7px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--cca-primary-soft);
    color: var(--cca-primary);
    font-size: 0.68rem;
    font-weight: 700;
}


/* =========================================================
   NOS INSTALLATIONS
   PHOTOS 16:9 - SANS LÉGENDE
   ========================================================= */

.photo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

    .photo-wall figure {
        margin: 0;
        overflow: hidden;
        border: 1px solid var(--cca-border);
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--cca-shadow-sm);
        transition: transform 220ms ease, box-shadow 220ms ease;
    }

        .photo-wall figure:hover {
            transform: translateY(-3px);
            box-shadow: var(--cca-shadow);
        }

    .photo-wall img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
        transition: transform 300ms ease;
    }

    .photo-wall figure:hover img {
        transform: scale(1.04);
    }

    /* Aucune légende visible sur NosInstalations.aspx */

    .photo-wall figcaption {
        display: none;
    }



/* =========================================================
   v1.24 - VIDEOS DANS NOS INSTALLATIONS
   ========================================================= */

.installation-video-card {
    width: min(100%, 920px);
    margin: 0 auto 18px;
    overflow: hidden;
    border: 1px solid var(--cca-border);
    border-radius: 14px;
    background: #000;
    box-shadow: var(--cca-shadow-sm);
}

.installation-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: #000;
}

@media (max-width: 760px) {
    .installation-video-card {
        margin-bottom: 14px;
        border-radius: 11px;
    }
}

/* =========================================================
   DOCUMENTS
   ========================================================= */

.docs-list {
    display: grid;
    gap: 9px;
}

.doc-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid var(--cca-border);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.76);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

    .doc-row:hover {
        transform: translateX(3px);
        background: #fff;
        box-shadow: var(--cca-shadow-sm);
    }

.doc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--cca-primary-soft);
    color: var(--cca-primary);
    font-size: 1.15rem;
}

.doc-row a {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}


/* =========================================================
   VIDÉOS YOUTUBE
   ========================================================= */

.video-grid {
    display: grid;
    gap: 18px;
}

.video-card,
.video-list-card {
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden;
    border: 1px solid var(--cca-border);
    border-radius: var(--cca-radius);
    background: #fff;
    box-shadow: var(--cca-shadow-sm);
    transform: none;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

    .video-card:hover,
    .video-list-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--cca-shadow);
    }

.video-frame {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

    .video-frame iframe {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
        border: 0;
    }

.video-card-body {
    padding: 13px 14px 15px;
}

    .video-card-body h2 {
        margin: 0 0 7px;
        font-size: 1.12rem;
        line-height: 1.22;
    }


/* =========================================================
   GALERIE - TITRES DE SECTION
   ========================================================= */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

    .section-heading h2 {
        margin: 0;
        font-size: 1.28rem;
    }

.section-note {
    color: var(--cca-muted);
    font-size: 0.78rem;
}


/* =========================================================
   GALERIE - ALBUMS
   ========================================================= */

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 17px;
}

.album-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--cca-border);
    border-radius: var(--cca-radius);
    background: var(--cca-surface);
    color: inherit;
    box-shadow: var(--cca-shadow-sm);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

    .album-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--cca-shadow);
        color: inherit;
    }

.album-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8edf1;
}

    .album-cover img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 300ms ease;
    }

.album-card:hover .album-cover img {
    transform: scale(1.035);
}

.folder-icon {
    font-size: 3.5rem;
}

.album-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 13px;
}

    .album-meta strong {
        line-height: 1.25;
    }

    .album-meta span {
        color: var(--cca-muted);
        font-size: 0.76rem;
    }


/* =========================================================
   GALERIE - PHOTOS
   ========================================================= */

.album-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
    padding: 10px 12px;
    border: 1px solid var(--cca-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
}

.back-link {
    font-weight: 700;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 11px;
}

.photo-thumb {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--cca-border);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    box-shadow: var(--cca-shadow-sm);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

    .photo-thumb:hover {
        transform: translateY(-3px);
        box-shadow: var(--cca-shadow);
    }

    .photo-thumb img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        transition: transform 260ms ease;
    }

    .photo-thumb:hover img {
        transform: scale(1.04);
    }


/* =========================================================
   LIGHTBOX
   ========================================================= */

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 10, 16, 0.92);
    opacity: 0;
    transition: opacity 200ms ease;
}

    .photo-lightbox.open {
        display: flex;
        opacity: 1;
    }

.lightbox-inner {
    position: relative;
    max-width: 96vw;
    max-height: 94vh;
    text-align: center;
}

    .lightbox-inner img {
        display: block;
        max-width: 94vw;
        max-height: 82vh;
        width: auto;
        height: auto;
        margin: auto;
        border-radius: 9px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
        transform: scale(0.97);
        transition: transform 220ms ease;
    }

.photo-lightbox.open .lightbox-inner img {
    transform: scale(1);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.52);
    cursor: pointer;
}

.lightbox-close {
    top: -15px;
    right: -12px;
    font-size: 1.7rem;
}

.lightbox-nav {
    top: 50%;
    font-size: 1.8rem;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: -56px;
}

.lightbox-next {
    right: -56px;
}

.lightbox-caption {
    padding-top: 9px;
    color: #fff;
    font-size: 0.86rem;
}

.lightbox-zoom {
    margin-top: 8px;
    min-height: 38px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    color: #fff;
    background: rgba(0, 0, 0, 0.44);
    cursor: pointer;
}


/* =========================================================
   LOCALISATION
   ========================================================= */

.location-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.location-detail {
    padding: 12px 13px;
    border: 1px solid var(--cca-border);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.78);
}

.map {
    display: block;
    width: 100%;
    min-height: 410px;
    border: 0;
    border-radius: var(--cca-radius);
    box-shadow: var(--cca-shadow-sm);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(230px, 0.80fr) minmax(0, 1.45fr);
    gap: 22px;
    align-items: start;
}

.contact-box {
    margin-bottom: 12px;
    padding: 12px 13px;
    border: 1px solid var(--cca-border);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.76);
}

.mail-form {
    display: grid;
    gap: 8px;
}

    .mail-form label {
        margin-top: 3px;
        color: #344054;
        font-weight: 700;
    }

.field {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #bec6ce;
    border-radius: 9px;
    color: var(--cca-text);
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

    .field:focus {
        outline: 0;
        border-color: var(--cca-primary);
        box-shadow: 0 0 0 3px rgba(21, 90, 156, 0.12);
        transform: translateY(-1px);
    }

textarea.field {
    min-height: 130px;
    resize: vertical;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 8px;
    padding: 10px 20px;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient( 135deg, var(--cca-primary), var(--cca-primary-dark) );
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(21, 90, 156, 0.20);
    transition: transform 170ms ease, box-shadow 170ms ease;
}

    .button:hover,
    .button:focus {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 9px 20px rgba(21, 90, 156, 0.27);
    }

    .button:active {
        transform: translateY(0);
    }

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.status-ok,
.status-error {
    margin: 0 0 15px;
    padding: 11px 13px;
    border-radius: 9px;
}

.status-ok {
    color: #245c31;
    border: 1px solid #90c99b;
    background: #e5f5e8;
}

.status-error {
    color: #802929;
    border: 1px solid #dd9a9a;
    background: #fce9e9;
}


/* =========================================================
   MESSAGE VIDE
   ========================================================= */

.empty {
    margin: 14px 0;
    padding: 13px;
    border: 1px solid var(--cca-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--cca-muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    margin-top: 10px;
    color: #344054;
    background: rgba(255, 255, 255, 0.80);
    border-top: 1px solid var(--cca-border);
    font-size: 0.78rem;
    line-height: 1.28;
    backdrop-filter: blur(4px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 10px;
    padding-bottom: 8px;
}

.site-footer h2 {
    margin: 0 0 4px;
    font-size: 0.95rem;
}

.site-footer p {
    margin: 2px 0;
}

.footer-contact {
    text-align: right;
}

.copyright {
    padding: 6px 10px;
    border-top: 1px solid var(--cca-border);
    background: rgba(255, 255, 255, 0.30);
    color: var(--cca-muted);
    font-size: 0.68rem;
    text-align: center;
}


/* =========================================================
   RETOUR EN HAUT
   ========================================================= */

.cca-back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--cca-primary);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.20);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

    .cca-back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .cca-back-to-top:hover {
        background: var(--cca-primary-dark);
    }


/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

    .js .reveal.reveal-left {
        transform: translateX(-18px);
    }

    .js .reveal.reveal-right {
        transform: translateX(18px);
    }

    .js .reveal.reveal-zoom {
        transform: scale(0.975);
    }

    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }


/* Les vidéos ne doivent jamais être masquées */

.video-grid,
.video-card,
.video-list-card,
.video-frame,
.video-frame iframe {
    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   EFFET REFLET CARTES
   ========================================================= */

.dynamic-card {
    position: relative;
}

    .dynamic-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        border-radius: inherit;
        background: radial-gradient( circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(21, 90, 156, 0.08), transparent 38% );
        opacity: 0;
        transition: opacity 200ms ease;
    }

    .dynamic-card:hover::before {
        opacity: 1;
    }

    .dynamic-card > * {
        position: relative;
        z-index: 1;
    }


/* =========================================================
   EFFET RIPPLE
   ========================================================= */

.cca-ripple {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: cca-ripple-animation 550ms ease-out;
}

@keyframes cca-ripple-animation {

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(18);
    }
}


/* =========================================================
   RESPONSIVE 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .original-masthead {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.15fr) minmax(0, 1.40fr) minmax(0, 0.75fr);
        gap: 12px;
    }

    .master-logo-video {
        width: min(135px, 100%);
    }

    .cca-mark {
        width: min(155px, 100%);
    }

    .main-nav a {
        font-size: 0.78rem;
    }
}


/* =========================================================
   RESPONSIVE 991px / 950px
   ========================================================= */

@media (max-width: 991.98px) {

    .original-masthead {
        grid-template-columns: minmax(0, 0.70fr) minmax(0, 1.10fr) minmax(0, 1.35fr) minmax(0, 0.70fr);
        gap: 10px;
    }

    .master-logo-video {
        width: min(120px, 100%);
    }

    .cca-mark {
        width: min(135px, 100%);
    }

    .club-name-header {
        font-size: clamp(1.50rem, 3.4vw, 2.50rem);
    }

    .original-motto {
        font-size: 0.84rem;
    }

    .membership-link {
        font-size: 0.73rem;
    }

    .coordinates-shell {
        margin-top: 8px;
    }

    .coordinates-title {
        padding: 4px 10px;
        font-size: 0.70rem;
    }

    .coordinates-body {
        padding: 5px 10px;
        font-size: 0.76rem;
    }

    .coordinates-grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(180px, 0.85fr);
        gap: 12px;
    }

    .coordinates-contact {
        gap: 8px;
    }

    .coordinates-address {
        padding-left: 12px;
    }

    .three-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .three-col > :last-child {
            grid-column: 1 / -1;
        }

    .animated-home-video-wrap {
        max-width: 330px;
    }
}


/* =========================================================
   RESPONSIVE 760px
   ========================================================= */

@media (max-width: 760px) {

    .shell {
        width: calc(100% - 20px);
    }

    .original-masthead {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.20fr) minmax(0, 1.35fr) minmax(0, 0.75fr);
        gap: 7px;
    }

    .master-logo-video {
        width: min(96px, 100%);
    }

    .cca-mark {
        width: min(105px, 100%);
    }

    .club-name-header {
        font-size: clamp(1.20rem, 4vw, 1.85rem);
    }

    .original-motto {
        margin-bottom: 6px;
        font-size: 0.70rem;
    }

    .membership-link {
        padding: 5px 6px;
        font-size: 0.62rem;
    }

    .coordinates-shell {
        margin-top: 7px;
    }

    .coordinates-title {
        padding: 3px 8px;
        font-size: 0.66rem;
    }

    .coordinates-body {
        padding: 5px 8px;
        font-size: 0.70rem;
    }

    .coordinates-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
        gap: 8px;
    }

    .coordinates-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 7px;
    }

    .coordinate-line:last-child {
        grid-column: 1 / -1;
    }

    .coordinate-label {
        font-size: 0.54rem;
    }

    .coordinates-address {
        padding-left: 8px;
    }

    .historic-strip {
        gap: 4px;
        width: calc(100% - 20px);
    }

        .historic-strip img {
            height: clamp(50px, 12vw, 82px);
        }

    .page-hero {
        padding: 8px 0 6px !important;
    }

        .page-hero h1 {
            font-size: clamp(1.22rem, 4vw, 1.65rem) !important;
        }

            .page-hero h1::after {
                width: 34px !important;
                margin-top: 3px !important;
            }

        .page-hero p {
            margin-top: 3px !important;
            font-size: 0.76rem !important;
        }

    .content-section {
        padding: 19px 0 27px;
    }

    .two-col,
    .three-col,
    .contact-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }

        .three-col > :last-child {
            grid-column: auto;
        }

    .cca-carousel {
        width: min(100%, 680px);
        aspect-ratio: 16 / 9;
    }

    .map {
        min-height: 330px;
    }
}


/* =========================================================
   TÉLÉPHONE
   600px ET MOINS
   ========================================================= */

@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    a,
    button,
    input,
    textarea,
    select {
        touch-action: manipulation;
    }

    .shell {
        width: calc(100% - 16px);
        max-width: 100%;
    }


    /* -----------------------------------------------------
       ENTÊTE
       ----------------------------------------------------- */

    .header-surface {
        padding: 8px 0 7px;
    }

    .original-masthead {
        grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.18fr) minmax(0, 1.30fr) minmax(0, 0.72fr);
        gap: 4px;
        align-items: center;
    }

    .original-logo-block,
    .original-motto-block,
    .cca-title-block,
    .cca-image-block {
        min-width: 0;
    }

    .master-logo-video {
        width: min(68px, 100%);
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(18, 49, 76, 0.10);
    }

    .cca-mark {
        width: min(72px, 100%);
        border-radius: 9px;
        box-shadow: none;
    }

    .original-motto {
        margin: 0 0 4px;
        font-size: clamp(0.48rem, 2.25vw, 0.62rem);
        line-height: 1.10;
    }

    .membership-link {
        max-width: 100%;
        gap: 2px;
        padding: 4px 5px;
        border-radius: 7px;
        font-size: clamp(0.42rem, 1.85vw, 0.54rem);
        line-height: 1.08;
        white-space: normal;
    }

        .membership-link-icon,
        .membership-link small {
            display: none;
        }

    .club-name-header {
        font-size: clamp(0.88rem, 4.6vw, 1.30rem);
        line-height: 1.02;
        letter-spacing: -0.025em;
        overflow-wrap: anywhere;
    }

    .club-location-header {
        margin-top: 2px;
        font-size: clamp(0.34rem, 1.55vw, 0.46rem);
        line-height: 1.08;
        letter-spacing: 0.03em;
    }


    /* -----------------------------------------------------
       COORDONNÉES
       ----------------------------------------------------- */

    .coordinates-shell {
        margin-top: 6px;
    }

    .coordinates-panel {
        border-radius: 9px;
    }

    .coordinates-title {
        gap: 5px;
        padding: 3px 7px;
        font-size: 0.64rem;
        line-height: 1;
    }

    .coordinates-dot {
        width: 5px;
        height: 5px;
    }

    .coordinates-body {
        padding: 5px 7px;
        font-size: 0.66rem;
        line-height: 1.16;
    }

    .coordinates-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .coordinates-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 7px;
    }

    .coordinate-line {
        gap: 3px;
        flex-wrap: wrap;
    }

        .coordinate-line:last-child {
            grid-column: 1 / -1;
        }

        .coordinate-line a,
        .coordinates-address address {
            overflow-wrap: anywhere;
            word-break: break-word;
        }

    .coordinate-label {
        font-size: 0.50rem;
    }

    .coordinates-address {
        display: flex;
        align-items: baseline;
        gap: 5px;
        padding: 5px 0 0;
        border-top: 1px solid var(--cca-border);
        border-left: 0;
    }


    /* -----------------------------------------------------
       MENU
       ----------------------------------------------------- */

    .cca-navbar,
    .navbar-shell {
        min-height: 48px;
    }

        .cca-navbar .navbar-brand {
            max-width: calc(100% - 58px);
            margin-right: 8px;
            overflow: hidden;
            font-size: 0.88rem;
            line-height: 1.1;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .cca-navbar .navbar-toggler {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 40px;
            padding: 5px 7px;
            flex: 0 0 auto;
        }

        .cca-navbar .navbar-collapse {
            width: 100%;
            padding: 6px 0 9px;
        }

        .cca-navbar .navbar-nav {
            gap: 2px;
        }

        .cca-navbar .nav-link {
            display: flex;
            align-items: center;
            min-height: 44px;
            margin: 0;
            padding: 9px 12px;
            border-radius: 8px;
            font-size: 0.84rem;
            line-height: 1.15;
            white-space: normal;
            justify-content: flex-start;
        }


    /* -----------------------------------------------------
       BANDEAU PHOTOS
       ----------------------------------------------------- */

    .historic-strip {
        gap: 3px;
        margin-top: 6px;
        margin-bottom: 6px;
    }

        .historic-strip figure {
            border-radius: 6px;
            box-shadow: 0 2px 7px rgba(18, 49, 76, 0.08);
        }

        .historic-strip img {
            height: clamp(43px, 14.5vw, 66px);
        }


    /* -----------------------------------------------------
       TITRES PAGES
       ----------------------------------------------------- */

    .page-hero {
        padding: 6px 0 5px !important;
    }

        .page-hero h1 {
            font-size: clamp(1.08rem, 5.7vw, 1.30rem) !important;
            line-height: 1.03 !important;
        }

            .page-hero h1::after {
                width: 28px !important;
                margin-top: 3px !important;
            }

        .page-hero p {
            margin-top: 3px !important;
            font-size: 0.72rem !important;
            line-height: 1.18 !important;
        }

        .page-hero .hero-eyebrow {
            margin-bottom: 2px !important;
            font-size: 0.55rem !important;
        }

        .page-hero .hero-actions {
            gap: 6px;
            margin-top: 5px !important;
        }


    /* -----------------------------------------------------
       CONTENU
       ----------------------------------------------------- */

    .content-section {
        padding: 14px 0 22px;
    }

    .content-card {
        padding: 13px;
        border-radius: 14px;
    }

        .content-card h2 {
            margin-bottom: 10px;
            font-size: 1.10rem;
            line-height: 1.18;
        }

        .content-card h3 {
            font-size: 1rem;
        }

        .content-card p {
            margin-bottom: 0.75rem;
        }

    .card-kicker {
        margin-bottom: 7px;
        font-size: 0.62rem;
    }

    .card-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 8px;
        border-radius: 10px;
        font-size: 1.05rem;
    }

    .two-col,
    .three-col,
    .contact-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

        .three-col > :last-child {
            grid-column: auto;
        }


    /* -----------------------------------------------------
       ACCUEIL
       ----------------------------------------------------- */

    .home-showcase-section {
        padding: 8px 0 4px;
    }

    .home-scroll-cue {
        display: none;
    }

    .home-schedule {
        margin-top: 14px;
    }

    .schedule-time {
        margin-bottom: 8px;
        padding: 6px 9px;
        font-size: 0.72rem;
    }

    .schedule-photo-grid {
        gap: 6px;
    }

        .schedule-photo-grid img {
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
            border-radius: 10px;
            object-fit: cover;
        }

    .animated-home-video-wrap {
        width: min(100%, 250px);
        margin-top: 10px;
        border-radius: 12px;
    }

    .home-activity-ribbon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 8px;
    }

        .home-activity-ribbon span {
            min-height: 36px;
            padding: 6px 7px;
            font-size: 0.69rem;
            line-height: 1.12;
        }


    /* -----------------------------------------------------
       ACTUALITÉS
       ----------------------------------------------------- */

    .news-timeline {
        margin-top: 8px;
    }

    .news-timeline-item {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 0 0 13px 22px;
    }

    .news-timeline::before {
        left: 6px;
    }

    .news-timeline-marker {
        left: 0;
        width: 14px;
        height: 14px;
    }

    .news-timeline-date {
        font-size: 0.68rem;
    }

    .news-timeline-content {
        font-size: 0.88rem;
        line-height: 1.35;
    }


    /* -----------------------------------------------------
       CARROUSEL
       ----------------------------------------------------- */

    .cca-carousel {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }

    .cca-carousel-slide {
        height: 100%;
        aspect-ratio: 16 / 9;
    }

    .cca-carousel-control {
        width: 34px;
        height: 34px;
        font-size: 1.35rem;
    }

    .cca-carousel-prev {
        left: 6px;
    }

    .cca-carousel-next {
        right: 6px;
    }

    .cca-carousel-slide figcaption {
        left: 12px;
        right: 12px;
        bottom: 20px;
    }

        .cca-carousel-slide figcaption strong {
            margin-bottom: 3px;
            font-size: clamp(1rem, 5.4vw, 1.28rem);
        }

        .cca-carousel-slide figcaption span {
            font-size: 0.70rem;
            line-height: 1.18;
        }

    .cca-carousel-dots {
        bottom: 8px;
        gap: 5px;
    }

    .cca-carousel-dot {
        width: 7px;
        height: 7px;
    }

        .cca-carousel-dot.is-active {
            width: 22px;
        }


    /* -----------------------------------------------------
       PRÉSENTATION / VIE DU CLUB / LOCALISATION
       ----------------------------------------------------- */

    .media-aside {
        position: static;
    }

    .side-photo-stack {
        gap: 9px;
    }

        .side-photo-stack img,
        .presentation-video,
        .club-life-video,
        .location-video {
            border-radius: 12px;
        }

        .side-photo-stack img {
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
            object-fit: cover;
        }

    .schedule-levels {
        gap: 8px;
        margin: 14px 0;
    }

    .schedule-level {
        padding: 10px 11px;
        border-left-width: 3px;
    }


    /* -----------------------------------------------------
       PERSONNES / INSTALLATIONS / ALBUMS / PHOTOS
       ----------------------------------------------------- */

    .people-grid,
    .photo-wall,
    .photo-grid,
    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

        .person-card,
        .album-card,
        .photo-thumb,
        .photo-wall figure {
            border-radius: 11px;
        }

            .person-card img,
            .photo-wall img {
                width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
                object-fit: cover;
            }

    .person-body {
        padding: 9px 7px 10px;
    }

    .person-card h2 {
        font-size: 0.82rem;
        line-height: 1.18;
    }

    .person-role {
        margin-top: 4px;
        padding: 3px 6px;
        font-size: 0.56rem;
    }

    .album-meta {
        padding: 8px 9px;
    }

        .album-meta strong {
            font-size: 0.80rem;
            line-height: 1.18;
        }

        .album-meta span {
            font-size: 0.68rem;
        }

    .section-heading {
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 10px;
    }

        .section-heading h2 {
            font-size: 1.05rem;
        }

        .section-heading .section-note {
            font-size: 0.68rem;
        }

    .album-toolbar {
        gap: 6px;
        margin-bottom: 10px;
        padding: 8px 9px;
    }


    /* -----------------------------------------------------
       DOCUMENTS
       ----------------------------------------------------- */

    .docs-list {
        gap: 7px;
    }

    .doc-row {
        gap: 8px;
        padding: 9px 10px;
        border-radius: 10px;
    }

    .doc-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 0.95rem;
    }

    .doc-row a {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 0.82rem;
        line-height: 1.25;
    }


    /* -----------------------------------------------------
       VIDÉOS
       ----------------------------------------------------- */

    .video-grid {
        gap: 11px;
    }

    .video-card {
        border-radius: 12px;
    }

    .video-frame,
    .video-list-card .video-frame {
        width: 100%;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        border-radius: 11px 11px 0 0;
    }

        .video-frame iframe,
        .video-list-card .video-frame iframe {
            width: 100% !important;
            height: 100% !important;
            min-height: 0 !important;
            aspect-ratio: 16 / 9;
        }

    .video-card-body {
        padding: 10px 11px 12px;
    }

        .video-card-body h2 {
            margin-bottom: 5px;
            font-size: 0.96rem;
            line-height: 1.2;
        }

        .video-card-body a {
            font-size: 0.76rem;
            overflow-wrap: anywhere;
        }


    /* -----------------------------------------------------
       LOCALISATION / CONTACT
       ----------------------------------------------------- */

    .location-details {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .location-detail,
    .contact-box {
        padding: 9px 10px;
        border-radius: 10px;
    }

    .map {
        min-height: 250px;
        border-radius: 12px;
    }

    .mail-form {
        gap: 6px;
    }

        .mail-form label {
            margin-top: 3px;
            font-size: 0.80rem;
        }

    .field {
        min-height: 46px;
        padding: 10px 11px;
        border-radius: 10px;
        /*
           16px évite le zoom automatique
           d'iOS sur les champs.
        */
        font-size: 16px;
    }

    textarea.field {
        min-height: 105px;
    }

    .button {
        width: 100%;
        min-height: 46px;
        margin-top: 6px;
    }


    /* -----------------------------------------------------
       LIGHTBOX
       ----------------------------------------------------- */

    .photo-lightbox {
        padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
    }

    .lightbox-inner {
        width: 100%;
        max-width: 100%;
        max-height: 92dvh;
    }

        .lightbox-inner img {
            max-width: 100%;
            max-height: 76dvh;
            border-radius: 9px;
        }

    .lightbox-close,
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-close {
        top: 0;
        right: 0;
    }

    .lightbox-prev {
        left: 0;
    }

    .lightbox-next {
        right: 0;
    }

    .lightbox-zoom {
        bottom: -42px;
        min-height: 40px;
    }


    /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 7px;
        padding-top: 12px;
        padding-bottom: 10px;
        text-align: center;
    }

    .footer-contact {
        display: grid;
        justify-content: center;
        justify-items: center;
        gap: 4px;
        font-size: 0.72rem;
        line-height: 1.25;
        text-align: center;
    }

        .footer-contact > span[aria-hidden="true"] {
            display: none;
        }

    .copyright {
        padding: 6px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        font-size: 0.62rem;
    }

    .cca-back-to-top {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
    }
}


/* =========================================================
   TÉLÉPHONE 480px
   ========================================================= */

@media (max-width: 480px) {

    .page-hero {
        padding: 6px 0 5px !important;
    }

        .page-hero h1 {
            font-size: 1.20rem !important;
            line-height: 1 !important;
        }

            .page-hero h1::after {
                width: 30px !important;
                margin-top: 3px !important;
            }

        .page-hero p {
            margin-top: 2px !important;
            font-size: 0.72rem !important;
            line-height: 1.15 !important;
        }

        .page-hero .hero-eyebrow {
            margin-bottom: 2px !important;
            font-size: 0.56rem !important;
        }

        .page-hero .hero-actions {
            margin-top: 5px !important;
        }

    .cca-carousel {
        width: min(100%, 400px);
        aspect-ratio: 16 / 9;
    }

    .cca-carousel-slide {
        aspect-ratio: 16 / 9;
    }

    .people-grid,
    .photo-wall,
    .photo-grid,
    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   TÉLÉPHONES ÉTROITS 360px
   ========================================================= */

@media (max-width: 360px) {

    .shell {
        width: calc(100% - 12px);
    }

    .original-masthead {
        grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.20fr) minmax(0, 1.30fr) minmax(0, 0.68fr);
        gap: 3px;
    }

    .master-logo-video {
        width: min(56px, 100%);
        border-radius: 8px;
    }

    .cca-mark {
        width: min(58px, 100%);
        border-radius: 7px;
    }

    .original-motto {
        font-size: 0.44rem;
    }

    .membership-link {
        padding: 3px 4px;
        font-size: 0.38rem;
    }

    .club-name-header {
        font-size: clamp(0.78rem, 4.3vw, 0.94rem);
    }

    .club-location-header {
        font-size: 0.32rem;
    }

    .coordinates-contact {
        grid-template-columns: 1fr;
    }

    .coordinate-line:last-child {
        grid-column: auto;
    }

    .coordinates-address {
        display: block;
    }

        .coordinates-address .coordinate-label {
            display: block;
            margin-bottom: 2px;
        }

    .cca-navbar .navbar-brand {
        font-size: 0.80rem;
    }

    .historic-strip img {
        height: 42px;
    }

    .content-card {
        padding: 12px;
    }

    .people-grid,
    .photo-wall,
    .photo-grid,
    .album-grid {
        grid-template-columns: 1fr;
    }

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

    .cca-carousel-slide figcaption span {
        display: none;
    }

    .cca-carousel-slide figcaption {
        bottom: 17px;
    }

        .cca-carousel-slide figcaption strong {
            font-size: 0.96rem;
        }
}


/* =========================================================
   TRÈS PETITS ÉCRANS 350px
   ========================================================= */

@media (max-width: 350px) {

    .page-hero {
        padding: 5px 0 4px !important;
    }

        .page-hero h1 {
            font-size: 1.08rem !important;
        }

        .page-hero p {
            font-size: 0.68rem !important;
        }

    .cca-carousel {
        width: min(100%, 320px);
    }
}


/* =========================================================
   TÉLÉPHONE EN MODE PAYSAGE
   ========================================================= */

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {

    .header-surface {
        padding-top: 6px;
        padding-bottom: 5px;
    }

    .master-logo-video {
        width: min(54px, 100%);
    }

    .cca-mark {
        width: min(58px, 100%);
    }

    .coordinates-shell {
        margin-top: 4px;
    }

    .coordinates-title {
        padding-block: 2px;
    }

    .coordinates-body {
        padding-block: 4px;
    }

    .historic-strip {
        margin-block: 4px;
    }

        .historic-strip img {
            height: 42px;
        }

    .page-hero {
        padding: 4px 0 !important;
    }

    .content-section {
        padding-top: 10px;
    }
}


/* =========================================================
   ACCESSIBILITÉ
   RÉDUCTION DES ANIMATIONS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .js .reveal,
    .js .reveal.reveal-left,
    .js .reveal.reveal-right,
    .js .reveal.reveal-zoom {
        opacity: 1 !important;
        transform: none !important;
    }

    .cca-carousel-slide img {
        transform: none !important;
    }
}


/* =========================================================
   IMPRESSION
   ========================================================= */

@media print {

    body {
        color: #000;
        background: #fff;
    }

    .cca-navbar,
    .historic-strip,
    .cca-back-to-top,
    .cca-scroll-progress,
    .cca-carousel-control,
    .cca-carousel-dots,
    .cca-carousel-progress {
        display: none !important;
    }

    .content-card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}


/* =========================================================
   v1.15 - MONITEURS / BUREAU : AGRANDISSEMENT DES PHOTOS
   ========================================================= */

.person-photo-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.person-photo-button {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    text-align: inherit;
}

.person-photo-button img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition: transform 280ms ease, filter 280ms ease;
}

.person-photo-button::after {
    content: "⌕";
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    color: #fff;
    background: rgba(0,0,0,.55);
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0;
    transform: scale(.82);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.person-photo-button:hover img,
.person-photo-button:focus-visible img {
    transform: scale(1.04);
    filter: brightness(.86);
}

.person-photo-button:hover::after,
.person-photo-button:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

.person-photo-button:focus-visible {
    outline: 3px solid rgba(21,90,156,.40);
    outline-offset: -3px;
}

@media (hover: none) {
    .person-photo-button::after {
        width: 34px;
        height: 34px;
        right: 7px;
        bottom: 7px;
        font-size: 1rem;
        opacity: .88;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .person-photo-button img,
    .person-photo-button::after {
        transition: none !important;
    }
}

/* =========================================================
   v1.16 - NOS INSTALLATIONS : PHOTOS CLIQUABLES
   ========================================================= */

.installation-photo-button {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    text-align: inherit;
}

.installation-photo-button img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition:
        transform 280ms ease,
        filter 280ms ease;
}

.installation-photo-button::after {
    content: "⌕";
    position: absolute;
    right: 10px;
    bottom: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    color: #fff;
    background: rgba(0, 0, 0, 0.55);

    font-size: 1.25rem;
    line-height: 1;

    opacity: 0;
    transform: scale(0.82);

    transition:
        opacity 180ms ease,
        transform 180ms ease;

    pointer-events: none;
}

.installation-photo-button:hover img,
.installation-photo-button:focus-visible img {
    transform: scale(1.04);
    filter: brightness(0.86);
}

.installation-photo-button:hover::after,
.installation-photo-button:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

.installation-photo-button:focus-visible {
    outline: 3px solid rgba(21, 90, 156, 0.35);
    outline-offset: -3px;
}

@media (hover: none) {
    .installation-photo-button::after {
        width: 32px;
        height: 32px;
        right: 7px;
        bottom: 7px;
        font-size: 0.95rem;
        opacity: 0.82;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .installation-photo-button img,
    .installation-photo-button::after {
        transition: none !important;
    }
}

/* =========================================================
   v1.21 - CHIEN REALISTE : DEPLACEMENT ULTRA-FLUIDE
   - déplacement subpixel avec translate3d
   - aucune transition CSS sur la position
   - sprite de course uniquement, sans animation de marge
   ========================================================= */

.cca-dog-runner {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2480;

    width: 210px;
    height: 145px;

    opacity: 0;
    pointer-events: none;
    user-select: none;

    transform: translate3d(-320px, 70vh, 0);
    transform-origin: center center;

    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transition: opacity 260ms ease;
}

.cca-dog-runner.is-visible {
    opacity: 1;
}

.cca-dog-sprite {
    display: block;
    width: 100%;
    height: 100%;

    background-image: url('../images/ui/dog-run-strip.png');
    background-repeat: no-repeat;
    background-size: 800% 100%;
    background-position: 0 0;

    transform: translateZ(0);
    transform-origin: center center;

    will-change: background-position, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.18));

    /*
       8 poses en 0,48 s : la foulée paraît plus continue.
       Le mouvement de translation est indépendant et reste à 60/120 Hz
       selon le navigateur et l'écran.
    */
    animation: cca-dog-run-frames 0.48s steps(8, end) infinite;
}

.cca-dog-runner.is-left .cca-dog-sprite {
    transform: scaleX(-1) translateZ(0);
}

@keyframes cca-dog-run-frames {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 114.285714% 0;
    }
}

/* Tablettes */
@media (max-width: 900px) {
    .cca-dog-runner {
        width: 185px;
        height: 127px;
    }
}

/* Téléphones */
@media (max-width: 600px) {
    .cca-dog-runner {
        width: 150px;
        height: 103px;
    }
}

/* Respect du réglage d'accessibilité du système */
@media (prefers-reduced-motion: reduce) {
    .cca-dog-runner {
        display: none !important;
    }
}

/* =========================================================
   v1.20 - BULLETIN D'ADHESION EN LIGNE
   ========================================================= */

.membership-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.membership-intro h2 {
    margin-bottom: 8px;
}

.membership-form {
    padding: 0;
    overflow: hidden;
}

.membership-section {
    padding: 24px;
    border-bottom: 1px solid rgba(21, 90, 156, 0.13);
}

.membership-section:last-child {
    border-bottom: 0;
}

.membership-section > h2 {
    margin: 0 0 18px;
    font-size: 1.28rem;
}

.membership-section > h3 {
    margin-top: 18px;
    font-size: 1.08rem;
}

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

.membership-field {
    display: grid;
    gap: 6px;
}

.membership-field label,
.membership-send-section > label {
    font-weight: 700;
    color: #243447;
}

.membership-field small {
    color: #667085;
    line-height: 1.45;
}

.membership-span-2 {
    grid-column: 1 / -1;
}

.membership-optional {
    color: #667085;
    font-size: .82em;
    font-weight: 500;
}

.membership-check {
    padding: 12px 14px;
    border: 1px solid #d8e2ec;
    border-radius: 10px;
    background: #f7fbff;
}

.membership-owner-fields {
    display: none;
    margin-top: 18px;
}

.membership-owner-fields.is-visible {
    display: block;
}

.membership-consents {
    display: grid;
    gap: 13px;
}

.membership-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #d8e2ec;
    border-radius: 10px;
    background: #fbfdff;
    line-height: 1.5;
}

.membership-consent input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.membership-choice {
    padding: 13px 14px;
    border: 1px solid #d8e2ec;
    border-radius: 10px;
    background: #fbfdff;
}

.membership-radio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 9px;
}

.membership-radio-list input {
    margin-right: 5px;
}

.membership-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.membership-send-section hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid #d8e2ec;
}

.membership-captcha {
    width: min(220px, 100%);
    margin-top: 8px;
}

.membership-note {
    color: #5f6b77;
    line-height: 1.55;
}

.membership-status {
    margin-bottom: 18px;
}

.membership-documents-note ul {
    margin-bottom: 0;
}

.membership-documents-note li + li {
    margin-top: 7px;
}

@media (max-width: 760px) {
    .membership-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .membership-grid {
        grid-template-columns: 1fr;
    }

    .membership-span-2 {
        grid-column: auto;
    }

    .membership-section {
        padding: 18px 14px;
    }

    .membership-actions .button,
    .membership-actions .btn {
        width: 100%;
        min-height: 46px;
    }

    .membership-radio-list {
        display: grid;
        gap: 8px;
    }
}


/* =========================================================
   v1.25 - ACCUEIL INTERACTIF
   Alertes importantes, prochain cours, météo du terrain
   ========================================================= */

.home-alerts-section {
    padding: 14px 0 0;
}

.important-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding: 13px 15px;
    border: 1px solid var(--cca-border);
    border-left-width: 5px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--cca-shadow-sm);
}

.important-alert:last-child {
    margin-bottom: 0;
}

.important-alert-icon {
    flex: 0 0 auto;
    font-size: 1.35rem;
    line-height: 1;
}

.important-alert-body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.important-alert-body strong {
    font-size: 0.96rem;
}

.important-alert-body span {
    color: #475467;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.important-alert-info {
    border-left-color: var(--cca-primary);
    background: linear-gradient(135deg, #f5faff, #ffffff);
}

.important-alert-attention {
    border-left-color: #d48a19;
    background: linear-gradient(135deg, #fff9ec, #ffffff);
}

.important-alert-urgent {
    border-left-color: #b83232;
    background: linear-gradient(135deg, #fff0f0, #ffffff);
}

.home-live-section {
    padding: 22px 0 4px;
}

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

.home-next-course-card,
.home-weather-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.home-next-course-card::before,
.home-weather-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--cca-primary), #67a9df);
}

.home-live-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.home-live-heading h2 {
    margin: 2px 0 0;
}

.home-live-icon,
.home-weather-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--cca-primary-soft);
    font-size: 1.55rem;
}

.next-course-date {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 11px 13px;
    border-radius: 12px;
    background: var(--cca-primary-soft);
}

.next-course-day {
    color: var(--cca-primary-dark);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 800;
    text-transform: capitalize;
}

.next-course-time {
    color: var(--cca-primary);
    font-size: 1.35rem;
    font-weight: 900;
}

.home-next-course-card h3 {
    margin: 0 0 7px;
    font-size: 1.05rem;
}

.next-course-location {
    color: #475467;
    font-size: 0.9rem;
}

.next-course-note {
    margin: 10px 0 0;
    padding: 9px 11px;
    border-left: 3px solid rgba(21, 90, 156, 0.35);
    background: rgba(21, 90, 156, 0.05);
    font-size: 0.88rem;
}

.next-course-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-top: 14px;
}

.course-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.course-status-prevu {
    color: #205b38;
    background: #e5f5e9;
}

.course-status-reporte {
    color: #845a14;
    background: #fff1cf;
}

.course-status-annule {
    color: #8a2f2f;
    background: #fde7e7;
}

.next-course-countdown {
    color: var(--cca-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.weather-loading,
.weather-error {
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 12px;
    background: rgba(21, 90, 156, 0.05);
    color: var(--cca-muted);
    text-align: center;
}

.weather-error {
    color: #8a2f2f;
    background: #fff0f0;
}

.weather-current {
    display: grid;
    grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.4fr);
    gap: 14px;
    align-items: center;
    padding: 10px 0 15px;
}

.weather-current > div:first-child {
    display: grid;
    gap: 2px;
}

.weather-temperature {
    color: var(--cca-primary-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.weather-current-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.weather-current-details span {
    display: grid;
    gap: 2px;
    padding: 8px 9px;
    border: 1px solid var(--cca-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--cca-muted);
    font-size: 0.72rem;
}

.weather-current-details strong {
    color: var(--cca-text);
    font-size: 0.82rem;
}

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

.weather-forecast-day {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 9px 6px;
    border: 1px solid var(--cca-border);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.weather-forecast-day strong {
    font-size: 0.78rem;
    text-transform: capitalize;
}

.weather-forecast-day span {
    font-size: 0.78rem;
}

.weather-forecast-day small {
    color: var(--cca-muted);
    font-size: 0.67rem;
}

.weather-forecast-icon {
    font-size: 1.4rem !important;
}

.weather-footer,
.weather-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    color: var(--cca-muted);
    font-size: 0.72rem;
}

.weather-refresh {
    padding: 5px 8px;
    border: 1px solid rgba(21, 90, 156, 0.2);
    border-radius: 8px;
    color: var(--cca-primary);
    background: var(--cca-primary-soft);
    font-weight: 700;
    cursor: pointer;
}

.weather-refresh:hover,
.weather-refresh:focus {
    color: #fff;
    background: var(--cca-primary);
}

.weather-links {
    justify-content: flex-start;
}

.weather-links a {
    font-size: 0.72rem;
    font-weight: 700;
}

/* =========================================================
   v1.25 - DIAPORAMA AUTOMATIQUE DES ALBUMS
   ========================================================= */

.album-slideshow-start {
    white-space: nowrap;
}

.lightbox-slideshow-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 9px;
}

.lightbox-slideshow-toggle {
    min-height: 38px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    color: #fff;
    background: rgba(0, 0, 0, 0.44);
    font-weight: 700;
    cursor: pointer;
}

.lightbox-slideshow-toggle:hover,
.lightbox-slideshow-toggle:focus {
    background: rgba(21, 90, 156, 0.78);
}

.lightbox-photo-counter {
    min-width: 58px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.8rem;
    font-weight: 700;
}

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

    .weather-current {
        grid-template-columns: 1fr;
    }

    .weather-current-details {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .album-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .album-slideshow-start {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .weather-current-details {
        grid-template-columns: 1fr;
    }

    .weather-forecast {
        gap: 5px;
    }

    .weather-forecast-day {
        padding: 8px 3px;
    }

    .next-course-date {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   v1.25.2 - ACCUEIL PLUS COMPACT
   Agenda, météo et carrousel principal
   ========================================================= */

/* Agenda + météo : ensemble plus étroit et moins haut */
.home-live-section {
    padding: 14px 0 2px;
}

.home-live-grid {
    width: min(100%, 980px);
    margin-left: auto;
    margin-right: auto;
    gap: 14px;
}

.home-next-course-card,
.home-weather-card {
    min-height: auto;
    padding: 15px 16px;
    border-radius: 13px;
}

.home-live-heading {
    gap: 8px;
    margin-bottom: 9px;
}

.home-live-heading h2 {
    margin: 1px 0 0;
    font-size: 1.12rem;
}

.home-live-grid .card-kicker {
    margin-bottom: 4px;
    font-size: 0.60rem;
}

.home-live-icon,
.home-weather-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.15rem;
}

/* Agenda du club */
.next-course-date {
    gap: 9px;
    margin-bottom: 7px;
    padding: 8px 10px;
    border-radius: 9px;
}

.next-course-day {
    font-size: clamp(0.90rem, 1.6vw, 1.02rem);
}

.next-course-time {
    font-size: 1.08rem;
}

.home-next-course-card h3 {
    margin-bottom: 5px;
    font-size: 0.94rem;
}

.next-course-location {
    font-size: 0.80rem;
}

.next-course-note {
    margin-top: 7px;
    padding: 6px 8px;
    font-size: 0.78rem;
}

.next-course-footer {
    gap: 6px;
    margin-top: 9px;
}

.course-status {
    min-height: 25px;
    padding: 3px 7px;
    font-size: 0.68rem;
}

.next-course-countdown {
    font-size: 0.72rem;
}

/* Météo du terrain */
.weather-loading,
.weather-error {
    min-height: 82px;
    padding: 9px;
    border-radius: 9px;
    font-size: 0.80rem;
}

.weather-current {
    grid-template-columns: minmax(105px, 0.80fr) minmax(0, 1.5fr);
    gap: 10px;
    padding: 4px 0 8px;
}

.weather-temperature {
    font-size: clamp(1.70rem, 3vw, 2.15rem);
}

#weatherDescription {
    font-size: 0.78rem;
}

.weather-current-details {
    gap: 5px;
}

.weather-current-details span {
    gap: 1px;
    padding: 5px 6px;
    border-radius: 8px;
    font-size: 0.64rem;
}

.weather-current-details strong {
    font-size: 0.72rem;
}

.weather-forecast {
    gap: 5px;
}

.weather-forecast-day {
    gap: 2px;
    padding: 6px 4px;
    border-radius: 8px;
}

.weather-forecast-day strong,
.weather-forecast-day span {
    font-size: 0.69rem;
}

.weather-forecast-day small {
    font-size: 0.60rem;
}

.weather-forecast-icon {
    font-size: 1.08rem !important;
}

.weather-footer,
.weather-links {
    gap: 6px;
    margin-top: 6px;
    font-size: 0.64rem;
}

.weather-refresh {
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.68rem;
}

.weather-links a {
    font-size: 0.64rem;
}

/* Section "Le Club Canin Autunois en images" */
.home-showcase-section {
    padding: 8px 0 4px;
}

.cca-carousel {
    width: min(100%, 600px);
    border-radius: 14px;
}

.cca-carousel-slide figcaption {
    left: 18px;
    right: 18px;
    bottom: 25px;
}

.cca-carousel-slide figcaption strong {
    margin-bottom: 3px;
    font-size: clamp(1.05rem, 2.2vw, 1.65rem);
}

.cca-carousel-slide figcaption span {
    font-size: 0.78rem;
}

.cca-carousel-control {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
}

.cca-carousel-dots {
    bottom: 8px;
    gap: 5px;
}

.cca-carousel-dot {
    width: 7px;
    height: 7px;
}

.cca-carousel-dot.is-active {
    width: 22px;
}

.home-scroll-cue {
    gap: 4px;
    margin-top: 5px;
    font-size: 0.66rem;
}

@media (max-width: 760px) {
    .home-live-grid {
        width: min(100%, 620px);
        gap: 11px;
    }

    .home-next-course-card,
    .home-weather-card {
        padding: 14px;
    }

    .cca-carousel {
        width: min(100%, 560px);
    }
}

@media (max-width: 480px) {
    .weather-current {
        gap: 7px;
    }

    .home-live-heading h2 {
        font-size: 1.05rem;
    }

    .cca-carousel-slide figcaption span {
        display: none;
    }
}
