@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');

:root {
    --swin-red: #FF3B3F;
    --foot-blue: #2980b9;
    --mini-red: #c0392b;
    --bg: #0A0A0A;
    --text-white: #FFFFFF;
    --text-muted: #A0AEC0;
    --transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-white);
    line-height: 1.4;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
}

/* --- Optimisations Performance --- */
img {
    max-width: 100%;
    height: auto;
    font-style: italic;
    /* Style pour les images alt */
    aspect-ratio: auto;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s ease;
}

header.scrolled {
    background: rgba(8, 8, 8, 0.98);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(255, 59, 63, 0.2));
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(255, 59, 63, 0.6));
}

header.scrolled .logo img {
    height: 65px;
}

.logo-tagline {
    font-size: 0.5rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: -5px;
    opacity: 0.7;
}

.btn-book-nav {
    background: rgba(255, 59, 63, 0.1);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    border: 1.5px solid var(--swin-red);
    cursor: pointer;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(255, 59, 63, 0.1);
    outline: none;
    text-decoration: none;
}

.btn-book-nav:hover {
    background: var(--swin-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 59, 63, 0.4);
    border-color: transparent;
}

header.scrolled .btn-book-nav {
    padding: 10px 24px;
    font-size: 0.65rem;
}

/* --- Hero Ultra Impact --- */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 4rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

@media (max-width: 1100px) {
    .hero {
        min-height: 70vh;
    }
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: -4px;
    margin-bottom: 2rem;
}

.hero h1 span {
    display: block;
    color: #fff;
}

/* --- Scroll Animations (CLS Optimized) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Forcer la visibilité immédiate pour éviter le shift si déjà en vue */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Common Section Elements --- */
.section-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.section-intro h3 {
    font-size: 2.8rem;
    letter-spacing: -1px;
}

.section-intro p {
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* --- Gallery Section --- */
.gallery {
    padding: 150px 4rem;
    background: #000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 5rem auto 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 4 / 3;
    /* Réserve la place pour éviter le CLS */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
}

/* --- Map Section --- */
.map-section {
    padding: 100px 4rem;
    background: #0A0A0A;
    text-align: center;
}

.map-section h3 {
    font-size: 2rem;
}

.map-section p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.map-container {
    max-width: 1400px;
    margin: 4rem auto 0;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    opacity: 0.9;
    transition: var(--transition);
}

.map-container:hover {
    opacity: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Hub Section : Look & Feel Premium --- */
.hub {
    display: flex;
    height: 100vh;
    width: 100%;
    background: #000;
}

.hub-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    background: #000;
    contain: layout;
}

.hub-item:hover {
    flex: 2.5;
}

.hub-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hub-item .hub-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background 0.8s ease;
    z-index: 1;
}

/* Teintes spécifiques par sport - Version Gradient Organic & Deep */
.hub-swin .hub-img::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(39, 174, 96, 0.5) 40%, rgba(10, 10, 10, 0.8) 100%);
}

.hub-foot .hub-img::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(41, 128, 185, 0.5) 40%, rgba(10, 10, 10, 0.8) 100%);
}

.hub-mini .hub-img::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(192, 57, 43, 0.5) 40%, rgba(10, 10, 10, 0.8) 100%);
}

/* État survol : Plus de clarté sur l'image mais garde la teinte */
.hub-swin:hover .hub-img::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(39, 174, 96, 0.2) 40%, rgba(10, 10, 10, 0.6) 100%);
}

.hub-foot:hover .hub-img::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(41, 128, 185, 0.2) 40%, rgba(10, 10, 10, 0.6) 100%);
}

.hub-mini:hover .hub-img::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(192, 57, 43, 0.2) 40%, rgba(10, 10, 10, 0.6) 100%);
}

.hub-item:hover .hub-img {
    transform: scale(1.03);
}

.hub-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.hub-content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 0.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    transform: translateY(10px);
    transition: var(--transition);
}

.hub-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    transform: translateY(10px);
    transition: var(--transition);
}

.hub-badges span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    padding: 5px 10px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
}

.hub-item:hover h2,
.hub-item:hover .hub-badges {
    transform: translateY(0);
}

.hub-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 350px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    font-weight: 400;
}

.hub-item:hover .hub-desc {
    opacity: 1;
    transform: translateY(0);
}

.btn-explore {
    margin-top: 2rem;
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 5px;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition);
}

.hub-item:hover .btn-explore {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}

/* --- Section Flash (CTA Client) --- */
.quick-info {
    padding: 150px 4rem;
    background: #000;
}

.seo-content {
    padding: 150px 4rem;
    background: #050505;
}

.seo-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.seo-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.seo-content h4 {
    font-size: 1.2rem;
    color: var(--swin-red);
    margin-bottom: 1.5rem;
    font-family: 'Unbounded';
}

.info-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    transition: var(--transition);
    will-change: transform, background;
    /* Optimization hint */
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: var(--swin-red);
}

.info-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: brightness(1);
    transform: translateZ(0);
    will-change: transform;
}

.info-item:hover .info-img img {
    transform: scale(1.1) translateZ(0);
    filter: brightness(1.1);
}

.info-text {
    padding: 2.5rem;
}

.info-item h4 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--swin-red);
}

.info-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Footer --- */
footer {
    padding: 80px 4rem;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--swin-red);
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--swin-red);
    border-color: var(--swin-red);
    transform: translateY(-3px);
}

.footer-logo {
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 59, 63, 0.2));
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 60px 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Mobile & Tablette Optimizations */
@media (max-width: 1100px) {
    header {
        padding: 1rem 0;
    }

    nav {
        padding: 0 1.5rem;
    }

    .logo img {
        height: 50px;
    }

    header.scrolled .logo img {
        height: 40px;
    }

    .btn-book-nav {
        padding: 10px 16px;
        font-size: 0.6rem;
    }

    header.scrolled .btn-book-nav {
        padding: 8px 14px;
        font-size: 0.55rem;
    }

    .hero {
        padding: 100px 1.5rem 0;
        text-align: center;
        align-items: center;
        justify-content: center;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
        letter-spacing: -2px;
        line-height: 1.1;
    }

    h2,
    h3 {
        font-size: clamp(1.5rem, 6vw, 2.5rem) !important;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }

}

/* Fin Media Tablettes */

@media (max-width: 768px) {
    .hub {
        flex-direction: column;
        height: auto;
    }

    .hub-item {
        height: auto;
        min-height: 500px;
        display: flex;
        align-items: flex-end;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hub-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        background: linear-gradient(to top, #000, transparent);
        z-index: 1;
        pointer-events: none;
    }

    .hub-content {
        position: relative;
        padding: 4rem 1.5rem 3rem;
        z-index: 3;
        transform: none !important;
        opacity: 1 !important;
    }

    .hub-content h2 {
        margin-bottom: 0.5rem;
    }

    .hub-desc {
        display: block;
        opacity: 1;
        transform: none;
        margin-bottom: 1.5rem;
    }

    .btn-explore {
        opacity: 1;
        transform: none;
        display: block;
        text-align: center;
    }

    .quick-info,
    .gallery,
    .map-section,
    .seo-content {
        padding: 80px 1.5rem !important;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

/* Fin Media 1100px */

/* --- PREMIUM UI/UX ADDITIONAL STYLES --- */
#spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle 500px at var(--x) var(--y), rgba(255, 59, 63, 0.04), transparent 80%);
    z-index: 1;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, #FF3B3F, #ff6b6d, #FF3B3F);
    z-index: 10000;
    box-shadow: 0 0 10px rgba(255, 59, 63, 0.5);
}

.fab {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicators */
.scroll-indicator-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scroll-flow 2s infinite ease-in-out;
}

@keyframes scroll-flow {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* Custom transitions for glass-panels */
.glass-panel {
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 59, 63, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 59, 63, 0.05);
}

















