/**
 * Revêtements de Tennis Sud-Ouest Inc. — Styles Modernes & Gradient Actif
 * Conforme aux standards de l'écosystème Fast4u (v001.000.002)
 */

/* ==========================================================================
   1. FOND DÉGRADÉ FLUIDE ACTIF & EN-TÊTE DYNAMIQUE FAST4U (JOOMLA J5)
   Inspiré du moteur dynamique fast4u.co (Electric Cyan #00c4ff, Royal Blue #1463ff,
   Deep Midnight Navy #020718 & Vivid Azure #0ea5e9)
   ========================================================================== */

/* 1A. Mouvements clés : Dérive fluide 3D & Translation de gradient multi-axes */
@keyframes fast4uActiveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fast4uFluidDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate3d(4%, -3%, 0) scale(1.10) rotate(2.5deg);
    }
    66% {
        transform: translate3d(-3%, 4%, 0) scale(1.06) rotate(-2deg);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
}

@keyframes fast4uHeaderGlow {
    0% {
        opacity: 0.65;
        transform: scaleY(0.95);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.15);
    }
    100% {
        opacity: 0.65;
        transform: scaleY(0.95);
    }
}

@keyframes fast4uNavbarBarFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* 1B. Fond de base animé actif sur HTML et BODY (Vibrant, vivant et visible) */
html {
    background-color: #020718 !important;
}

body {
    background: linear-gradient(135deg, 
        #020718 0%, 
        #051338 22%, 
        #0a2868 42%, 
        #0284c7 60%, 
        #00c4ff 72%, 
        #1463ff 86%, 
        #020718 100%
    ) !important;
    background-size: 300% 300% !important;
    background-attachment: fixed !important;
    animation: fast4uActiveGradient 14s ease-in-out infinite alternate !important;
    color: #f1f5f9 !important;
    min-height: 100vh !important;
    position: relative !important;
    overflow-x: clip !important;
}

/* 1C. Couche d'orbes fluides lumineuses Fast4u (Effet Drift 3D actif) */
body::before {
    content: "" !important;
    position: fixed !important;
    top: -25% !important;
    left: -25% !important;
    width: 150% !important;
    height: 150% !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(42% 34% at 20% 25%, rgba(0, 196, 255, 0.45) 0%, transparent 68%),
        radial-gradient(40% 40% at 82% 28%, rgba(20, 99, 255, 0.50) 0%, transparent 72%),
        radial-gradient(52% 48% at 50% 60%, rgba(14, 165, 233, 0.38) 0%, transparent 75%),
        radial-gradient(36% 36% at 80% 82%, rgba(0, 229, 255, 0.38) 0%, transparent 65%),
        radial-gradient(32% 32% at 18% 78%, rgba(59, 130, 246, 0.40) 0%, transparent 62%) !important;
    animation: fast4uFluidDrift 12s ease-in-out infinite alternate !important;
    will-change: transform !important;
}

/* 1D. Transparence des sections de structure pour révéler le fond fluide continu */
.tm-page {
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Seules les grandes sections d'habillage sans photo deviennent transparentes */
.uk-section-secondary:not([uk-img]):not([data-src]),
.uk-section-primary:not([uk-img]):not([data-src]),
.uk-section-overlap:not([uk-img]):not([data-src]) {
    background-color: transparent !important;
}

/* 1E. Préservation stricte & Restauration des fonds d'origine (Logos & Réalisations) */
/* Section 1 : Carte des Logos partenaires — Restauration du fond blanc d'origine */
.uk-card-default:not(.uk-flex) {
    background: #ffffff !important;
    color: #333333 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
}

/* Section 2 : Cartes de Réalisations — Préservation des photos de terrains d'origine */
.uk-card-default.uk-flex {
    background: transparent !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Préservation intégrale des images d'arrière-plan et photos UIKit */
[uk-img],
[data-src],
.uk-background-norepeat,
.uk-background-center-center,
.uk-background-cover,
.uk-background-top-center {
    background-color: transparent;
}

/* Verre dépoli uniquement sur les tuiles et cartes secondaires désignées */
.uk-card-secondary,
.uk-tile-secondary {
    background: rgba(3, 10, 32, 0.72) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45) !important;
}

/* 1F. En-tête supérieure et barre de menu : 100% transparentes et claires (Clear) au repos */
.tm-header,
.tm-header-mobile,
.tm-headerbar,
.tm-headerbar-top,
.tm-header-overlay,
.uk-navbar-container:not(.uk-navbar-sticky),
.uk-navbar-transparent {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Suppression définitive de toute aura ou voile opaque pour transparence cristalline */
.tm-header::before,
.tm-header-mobile::before {
    display: none !important;
    content: none !important;
}

/* 1G. En-tête Sticky active au défilement (fixée directement dès que top+menu sont masqués) */
.uk-sticky-fixed,
.uk-sticky-fixed .uk-navbar-container,
.uk-navbar-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(2, 7, 24, 0.92) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border-bottom: 1.5px solid rgba(0, 196, 255, 0.40) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 196, 255, 0.25) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.uk-navbar-sticky::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #020718 0%, #00c4ff 35%, #1463ff 65%, #020718 100%) !important;
    background-size: 200% 100% !important;
    animation: fast4uNavbarBarFlow 6s linear infinite !important;
    pointer-events: none !important;
}

/* Lisibilité haute visibilité du menu (Sticky & Standard) sur fond dégradé sombre */
.uk-navbar-nav > li > a,
.uk-navbar-item,
.uk-navbar-toggle,
.tm-header .uk-navbar-nav > li > a,
.uk-navbar-sticky .uk-navbar-nav > li > a,
.uk-navbar-container .uk-navbar-nav > li > a {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.015em !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
    transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease !important;
}

/* Icônes du menu de navigation */
.uk-navbar-nav > li > a [uk-icon],
.uk-navbar-nav > li > a svg,
.tm-header .uk-navbar-nav > li > a [uk-icon],
.uk-navbar-sticky .uk-navbar-nav > li > a [uk-icon],
.uk-navbar-container .uk-navbar-nav > li > a [uk-icon] {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
    filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.4)) !important;
    transition: color 0.2s ease, stroke 0.2s ease, filter 0.2s ease !important;
}

/* Survol des liens du menu inactifs */
.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li > a[aria-expanded="true"],
.tm-header .uk-navbar-nav > li:hover > a,
.uk-navbar-sticky .uk-navbar-nav > li:hover > a {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6) !important;
}

.uk-navbar-nav > li:hover > a [uk-icon],
.uk-navbar-nav > li:hover > a svg,
.tm-header .uk-navbar-nav > li:hover > a [uk-icon],
.uk-navbar-sticky .uk-navbar-nav > li:hover > a [uk-icon] {
    color: #67e8f9 !important;
    stroke: #67e8f9 !important;
    filter: drop-shadow(0 0 8px rgba(103, 232, 249, 0.7)) !important;
}

/* Élément actif du menu (page courante) */
.uk-navbar-nav > li.uk-active > a,
.tm-header .uk-navbar-nav > li.uk-active > a,
.uk-navbar-sticky .uk-navbar-nav > li.uk-active > a {
    color: #ff5722 !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.5) !important;
}

.uk-navbar-nav > li.uk-active > a [uk-icon],
.uk-navbar-nav > li.uk-active > a svg,
.tm-header .uk-navbar-nav > li.uk-active > a [uk-icon],
.uk-navbar-sticky .uk-navbar-nav > li.uk-active > a [uk-icon] {
    color: #ff5722 !important;
    stroke: #ff5722 !important;
    filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.6)) !important;
}

/* Ligne supérieure active / au survol */
.uk-navbar-nav > li.uk-active > a::before,
.uk-navbar-nav > li:hover > a::before {
    opacity: 1 !important;
    background-image: linear-gradient(90deg, #fe3a6a 0%, #ff4a39 40%, #fe8c45 100%) !important;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.6) !important;
}

/* Liens d'en-tête auxiliaires et sélecteur de langue */
.tm-header .mod-languages a,
.tm-header .uk-link-muted,
.tm-header a:not(.uk-logo):not(.fast4u-signature-pill) {
    color: #cbd5e1 !important;
}
.tm-header .mod-languages a:hover,
.tm-header a:not(.uk-logo):not(.fast4u-signature-pill):hover {
    color: #38bdf8 !important;
}

/* ==========================================================================
   2. PUBLICITÉ INTÉGRÉE — LE HANGAR PICKLEBALL
   ========================================================================== */
.hangar-promo-section {
    position: relative;
    margin: 28px auto 16px auto !important;
    padding: 0 15px;
    max-width: 1200px;
    box-sizing: border-box;
}

.hangar-promo-card {
    background: linear-gradient(140deg, rgba(8, 18, 48, 0.85) 0%, rgba(11, 29, 74, 0.82) 50%, rgba(6, 14, 38, 0.9) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.hangar-promo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 40px rgba(14, 165, 233, 0.35);
}

.hangar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 9999px;
    color: #34d399;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.hangar-promo-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #ffffff;
    line-height: 1.25;
}

.hangar-promo-title span {
    color: #38bdf8;
}

.hangar-promo-desc {
    color: #cbd5e1;
    font-size: 0.96rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
    max-width: 720px;
}

.hangar-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hangar-features-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 500;
}

.hangar-features-list li svg {
    color: #38bdf8;
    flex-shrink: 0;
}

.hangar-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.hangar-btn-action:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 10px 28px rgba(14, 165, 233, 0.6);
    transform: scale(1.03);
    color: #ffffff !important;
}

/* ==========================================================================
   2B. RESTRUCTURATION & COMPACITÉ BAS DE PAGE / CONTACT
   ========================================================================== */

/* Neutraliser les paddings et marges géants de YOOtheme (210px -> 36px) */
#module-90 .uk-section,
#module-90 .uk-section-xlarge,
footer.builder .uk-section,
footer.builder .uk-section-xlarge {
    padding-top: 36px !important;
    padding-bottom: 20px !important;
}

#module-90 .uk-grid-margin-large,
#module-90 .uk-margin-large,
footer.builder .uk-margin-large,
footer.builder .uk-grid-margin-large {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}

#module-90 .uk-margin-medium,
footer.builder .uk-margin-medium {
    margin-bottom: 12px !important;
}

/* Titres de colonnes et séparateurs */
#module-90 .uk-heading-divider,
footer.builder .uk-heading-divider {
    border-bottom: 1px solid rgba(56, 189, 248, 0.22) !important;
    padding-bottom: 6px !important;
    color: #f8fafc !important;
}

/* Typographie des coordonnées */
#module-90 .uk-text-large,
footer.builder .uk-text-large {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
}

#module-90 a,
footer.builder a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

#module-90 a:hover,
footer.builder a:hover {
    color: #38bdf8 !important;
}

#module-90 .uk-text-emphasis,
footer.builder .uk-text-emphasis {
    color: #94a3b8 !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
}

#module-90 .el-image,
footer.builder .el-image {
    border-radius: 8px !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    max-height: 52px !important;
    width: auto !important;
}

/* ==========================================================================
   2C. BANNIÈRE PARTENAIRE VOILÀ (728x90 LEADERBOARD RESPONSIVE)
   ========================================================================== */
.voila-partner-banner-wrap {
    text-align: center;
    margin: 16px auto 14px auto !important;
    padding: 0 12px;
    max-width: 728px;
    box-sizing: border-box;
}

.voila-partner-banner-wrap a {
    display: block;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.voila-partner-banner-wrap a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(56, 189, 248, 0.28);
}

.voila-partner-banner-wrap img {
    display: block;
    width: 100%;
    max-width: 728px;
    height: auto;
    border-radius: 10px;
}

/* ==========================================================================
   3. PIED DE PAGE & LIENS LÉGAUX (CONFORME LOI 25 QUÉBEC)
   ========================================================================== */
.tennis-legal-footer {
    border-top: 1px solid rgba(56, 189, 248, 0.16) !important;
    padding: 18px 15px 24px 15px !important;
    background: rgba(3, 7, 24, 0.88) !important;
    backdrop-filter: blur(10px);
    color: #94a3b8;
    font-size: 0.82rem;
    text-align: center;
    margin-top: 16px !important;
}

.tennis-legal-footer a {
    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 8px;
}

.tennis-legal-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.tennis-footer-links {
    margin: 4px 0 10px 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 14px;
}

.tennis-single-copyright {
    color: #94a3b8;
    font-size: 0.79rem;
    margin: 6px 0 !important;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   3B. SIGNATURE FAST4U RETHINKED (BAS DE PAGE)
   ========================================================================== */
.fast4u-signature-wrap {
    margin-top: 10px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fast4u-signature-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(10, 18, 42, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 9999px;
    color: #94a3b8;
    font-size: 0.79rem;
    text-decoration: none !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fast4u-signature-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.65);
    background: linear-gradient(135deg, rgba(8, 20, 52, 0.95) 0%, rgba(14, 42, 102, 0.85) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.32);
    color: #ffffff;
    text-decoration: none !important;
}

.f4-sig-label {
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.3s ease;
}

.fast4u-signature-pill:hover .f4-sig-label {
    color: #e2e8f0;
}

.f4-sig-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.f4-sig-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #00D084 0%, #0284c7 100%);
    color: #030e21;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    box-shadow: 0 2px 6px rgba(0, 208, 132, 0.3);
}

.f4-sig-name {
    color: #38bdf8;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.fast4u-signature-pill:hover .f4-sig-name {
    color: #67e8f9;
}

.f4-external-icon {
    opacity: 0.55;
    color: #38bdf8;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.fast4u-signature-pill:hover .f4-external-icon {
    opacity: 1;
    transform: translate(2px, -2px);
    color: #67e8f9;
}

/* ==========================================================================
   3C. BADGE D'ACCRÉDITATION VILLE D'OTTAWA (ANCIEN EMPLACEMENT COPYRIGHT)
   ========================================================================== */
.ottawa-accreditation-wrap {
    margin: 14px auto 0 auto !important;
    text-align: center;
    padding: 0 10px;
}

.ottawa-accreditation-card {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(8, 22, 60, 0.8) 0%, rgba(14, 38, 92, 0.7) 100%);
    border: 1px solid rgba(56, 189, 248, 0.38);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
    transition: all 0.25s ease;
    max-width: 728px;
    width: 100%;
    box-sizing: border-box;
}

.ottawa-accreditation-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.75);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.25);
}

.ottawa-seal-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.15);
}

.ottawa-badge-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 9999px;
    padding: 2px 9px;
    margin-bottom: 4px;
}

.ottawa-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.25;
}

.ottawa-sub {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.35;
    margin-top: 3px;
}

@media (max-width: 640px) {
    .ottawa-accreditation-card {
        flex-direction: column;
        text-align: center;
        padding: 16px 18px;
        gap: 12px;
    }
    .ottawa-text-block {
        text-align: center;
    }
}

/* ==========================================================================
   4. MODALE LÉGALE INTERACTIVE (LOI 25 & CONDITIONS)
   ========================================================================== */
.tennis-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2147483640;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.tennis-modal-backdrop.is-active {
    display: flex;
}

.tennis-modal-window {
    background: #09122c;
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 16px;
    max-width: 820px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.25);
    overflow: hidden;
    color: #e2e8f0;
}

.tennis-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(14, 26, 60, 0.6);
}

.tennis-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
}

.tennis-modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.tennis-modal-close:hover {
    color: #ffffff;
}

.tennis-modal-content {
    padding: 24px;
    overflow-y: auto;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #cbd5e1;
}

.tennis-modal-content h4 {
    color: #38bdf8;
    font-size: 1.05rem;
    margin: 18px 0 8px 0;
    font-weight: 700;
}

.tennis-modal-content p,
.tennis-modal-content ul {
    margin: 0 0 12px 0;
}

.tennis-modal-content ul {
    padding-left: 20px;
}

.tennis-modal-footer {
    padding: 14px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    background: rgba(14, 26, 60, 0.6);
}

.tennis-btn-close-modal {
    padding: 9px 20px;
    background: #0284c7;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.tennis-btn-close-modal:hover {
    background: #0369a1;
}

/* ==========================================================================
   5. BULLE FLOTTANTE GESTIONNAIRE DES TÉMOINS (LOI 25)
   ========================================================================== */
#tennis-cookie-bubble {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 2147483600;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #091740 0%, #0369a1 100%);
    border: 1.5px solid #38bdf8;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#tennis-cookie-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.6);
}

#tennis-cookie-bubble svg {
    width: 22px;
    height: 22px;
    fill: #38bdf8;
}

/* ==========================================================================
   6. BANNIÈRE DE CONSENTEMENT AUX TÉMOINS (LOI 25 QUÉBEC)
   ========================================================================== */
#tennis-cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background: rgba(9, 18, 44, 0.95);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 2147483620;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

#tennis-cookie-banner.is-active {
    display: block;
}

.tennis-cookie-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tennis-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    align-items: center;
}

.tennis-cookie-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.tennis-cookie-btn-accept {
    background: #0284c7;
    color: #ffffff;
}
.tennis-cookie-btn-accept:hover {
    background: #0369a1;
}

.tennis-cookie-btn-reject {
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.tennis-cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.tennis-cookie-btn-info {
    background: transparent;
    color: #7dd3fc;
    text-decoration: underline;
    padding: 8px 10px;
}
.tennis-cookie-btn-info:hover {
    color: #ffffff;
}

/* ==========================================================================
   5. MENU MOBILE PREMIUM IMMERSIF (#tm-dialog-mobile)
   ========================================================================== */
#tm-dialog-mobile {
    z-index: 100050 !important;
}

#tm-dialog-mobile .uk-modal-dialog {
    background: linear-gradient(150deg, #020718 0%, #051336 30%, #092558 65%, #030c26 100%) !important;
    background-size: 250% 250% !important;
    animation: tennisActiveGradient 20s ease-in-out infinite !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    color: #f8fafc !important;
    min-height: 100vh !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}

#tm-dialog-mobile .uk-modal-body {
    background: transparent !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 35px 22px 30px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Bouton Fermer circulaire moderne haute visibilité */
#tm-dialog-mobile .uk-modal-close-full,
#tm-dialog-mobile .uk-close-large,
#tm-dialog-mobile button[uk-close] {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 42px !important;
    height: 42px !important;
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #38bdf8 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    z-index: 100060 !important;
}

#tm-dialog-mobile .uk-modal-close-full:hover,
#tm-dialog-mobile .uk-close-large:hover,
#tm-dialog-mobile button[uk-close]:hover {
    background: rgba(56, 189, 248, 0.25) !important;
    border-color: rgba(56, 189, 248, 0.7) !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.06) !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.45) !important;
}

#tm-dialog-mobile .uk-modal-close-full svg,
#tm-dialog-mobile button[uk-close] svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
}

#tm-dialog-mobile .uk-modal-close-full:hover svg,
#tm-dialog-mobile button[uk-close]:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* En-tête de marque immersif */
#tm-dialog-mobile .uk-margin-auto-vertical::before {
    content: "REVÊTEMENTS DE TENNIS SUD-OUEST";
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #38bdf8;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
    margin-bottom: 4px;
    text-align: center;
}

#tm-dialog-mobile .uk-margin-auto-vertical::after {
    content: "Surfaces sportives de haute performance • Depuis 1991";
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Liste des éléments de navigation : cartes tactiles en verre */
#module-menu-dialog-mobile .uk-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

#module-menu-dialog-mobile .uk-nav > li {
    width: 100% !important;
}

#module-menu-dialog-mobile .uk-nav > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding: 13px 20px !important;
    background: linear-gradient(135deg, rgba(8, 20, 52, 0.75) 0%, rgba(14, 38, 92, 0.6) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    border-radius: 12px !important;
    color: #f1f5f9 !important;
    font-size: 1.12rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.015em !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Icônes des liens mobiles */
#module-menu-dialog-mobile .uk-nav > li > a [uk-icon],
#module-menu-dialog-mobile .uk-nav > li > a svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4)) !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
    width: 22px !important;
    height: 22px !important;
}

/* Survol / Interaction tactile */
#module-menu-dialog-mobile .uk-nav > li:hover > a,
#module-menu-dialog-mobile .uk-nav > li > a:active {
    background: linear-gradient(135deg, rgba(14, 38, 96, 0.9) 0%, rgba(20, 54, 130, 0.78) 100%) !important;
    border-color: rgba(56, 189, 248, 0.65) !important;
    color: #ffffff !important;
    transform: translateX(4px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(56, 189, 248, 0.25) !important;
}

#module-menu-dialog-mobile .uk-nav > li:hover > a [uk-icon],
#module-menu-dialog-mobile .uk-nav > li:hover > a svg {
    color: #67e8f9 !important;
    stroke: #67e8f9 !important;
    filter: drop-shadow(0 0 8px rgba(103, 232, 249, 0.6)) !important;
}

/* Élément actif du menu mobile */
#module-menu-dialog-mobile .uk-nav > li.uk-active > a {
    background: linear-gradient(135deg, rgba(255, 69, 10, 0.28) 0%, rgba(254, 140, 69, 0.16) 100%) !important;
    border-color: rgba(255, 69, 10, 0.75) !important;
    color: #ff5722 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(255, 69, 10, 0.35), inset 0 0 10px rgba(255, 69, 10, 0.12) !important;
}

#module-menu-dialog-mobile .uk-nav > li.uk-active > a [uk-icon],
#module-menu-dialog-mobile .uk-nav > li.uk-active > a svg {
    color: #ff5722 !important;
    stroke: #ff5722 !important;
    filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.7)) !important;
}

/* Section CTA et coordonnées en bas du menu mobile */
.mobile-menu-cta-wrap {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu-call-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.45);
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.mobile-menu-call-btn:hover,
.mobile-menu-call-btn:active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
    color: #ffffff !important;
}

.mobile-menu-sub-info {
    font-size: 0.76rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Masquer les bulles flottantes (Cookies / Bouclier SaaS) quand le menu mobile est ouvert */
.uk-modal-page .tennis-cookie-toggle,
.uk-modal-page #fast4u-shield-container,
.uk-modal-page [id*="shield"],
.uk-modal-page #fast4u-shield-floating-pill,
#tm-dialog-mobile.uk-open ~ .tennis-cookie-toggle,
#tm-dialog-mobile.uk-open ~ #fast4u-shield-container {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease !important;
}
