:root {
    --noir: #010b0f;
    --bleu-fonce: #051c35;
    --turquoise-fonce: #1e4856;
    --turquoise-pale: #6994a1;
    --bleu-pale: #bbdee9;
    --blanc: #fafbfb;
    --ani-speed: 1.5s;
    --ani-delay: 0.5s;
}

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: "Gabarito", sans-serif;
}

body {
        background-color: var(--turquoise-pale);
}

section {
    width: 100%;
}

a {
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.5 !important;
}

body {
    margin: 0 auto;
}

.resize-no-transition * {
    transition: none !important;
}


/* -------------------- NAV -------------------- */

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(3, 5, 41, 0) !important;
    font-size: 0.95em;
}

/* Programmation page: add subtle solid background for readability */
.prog-navbar {
    --navbar-height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    background-color: rgba(3, 5, 41, 0.85) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1100;
}

.prog-navbar .navbar-brand,
.prog-navbar a.nav-link,
.prog-navbar .fa-bars,
.prog-navbar .bi {
    color: var(--blanc) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.prog-navbar .navbar-toggler {
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
}

@media (max-width: 991px) {
    .prog-navbar .navbar-collapse {
        background-color: rgba(3,5,41,0.9);
        padding: 12px;
    }
    .prog-navbar .nav-link { color: var(--blanc) !important; }
}

/* Push programmation content down so fixed navbar doesn't cover it. */
.prog-page #section-prog {
    padding-top: calc(var(--navbar-height, 64px) + env(safe-area-inset-top));
}

.active {
    color: var(--turquoise-pale) !important;
}

a.nav-link {
    color: var(--blanc) !important;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.fa-bars {
    color: var(--blanc);
}

a.nav-link.active,
.navbar-brand {
    color: var(--bleu-pale) !important;
}

.nav-item {
    margin-left: 10px;
}

.navbar-toggler {
    border: none;
}

.navbar .nav-link .bi {
    font-size: 1.2rem;
}

.navbar .nav-item {
    margin-left: 10px;
}


/* -------------------- SECTION HERO -------------------- */

#cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--blanc);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s, transform 0.15s ease, width 0.15s ease, height 0.15s ease;
}

#cursor-follower {
    position: fixed;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(187, 222, 233, 0.6);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease, top 0.1s ease, width 0.2s ease, height 0.2s ease;
}

video {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) sepia(0.9) hue-rotate(180deg) saturate(1.1);
}

#section-hero {
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--blanc);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#hero-texte {
    align-items: center;
    justify-content: center;
    height: 30vh;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
}

.hero-texte {
    height: 60%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1 {
    color: var(--blanc);
    font-size: 10em;
    text-transform: uppercase;
}

h2 {
    background-color: var(--turquoise-pale);
    color: #042a3a;
    padding: 0px 10px;
    border-radius: 25px 25px;
}

.button-hero {
    color: var(--bleu-fonce);
    background-color: var(--bleu-pale);
    padding: 10px 30px;
    border-radius: 50px 50px;
}

.hero-texte-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#mouse-scroll {
    display: block;
    position: absolute;
    margin: auto;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 9999;
}

#mouse-scroll span {
    display: block;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    margin: 0 0 5px 8px;
}
/* 
#mouse-scroll .down-arrow-1 {
    animation: mouse-scroll 2s ease-in-out infinite;
} */

#mouse-scroll div {
    width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* -------------------- SECTION À PROPOS -------------------- */

#section-apropos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: 60vh;
    background-color: var(--bleu-pale);
    box-sizing: border-box;
    gap: 0;
    text-align: justify;
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.apropos-01 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 60px 40px;
    z-index: 2;
}

.apropos-02 {
    background-image: url(./assets/medias/musee_about.png);
    background-repeat: no-repeat;
    width: 100%;
    background-size: contain;
    background-position: 50% 50%;
}

.apropos-01 b {
    color: var(--bleu-fonce);
}

#section-apropos h4 {
    margin: 0;
    padding: 0;
}

.apropos-01 h3 {
    margin-bottom: 10px;
    color: var(--bleu-fonce);
    font-weight: bolder;
    overflow-y: hidden;
}

.apropos-02 img {
    width: 100%;
    height: 140%;
    object-fit: cover;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    position: absolute;
    bottom: 0;
    z-index: 2;
}

#section-apropos p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--bleu-fonce);
    margin: 0;
}

#section-apropos i {
    font-size: 0.8rem;
    color: var(--bleu-fonce);
    opacity: 0.6;
}

#section-apropos a {
    display: inline-block;
    width: fit-content;
    padding: 10px 15px;
    border-radius: 50px;
    color: var(--bleu-pale);
    font-size: 0.9rem;
    font-weight: bolder;
    background-color: var(--bleu-fonce);
    transition: background-color 0.2s, color 0.2s;
}

#section-apropos a:hover {
    background-color: var(--bleu-fonce);
    color: var(--blanc);
    opacity: 1;
}


/* -------------------- SECTION MAP -------------------- */

#section-map {
    background-color: var(--bleu-fonce);
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding-bottom: 0;
    box-sizing: border-box;
    margin-top: 0;
}

.bottom-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}


/* -------------------- BANNIÈRE NAVETTE -------------------- */

#map-banner {
    width: 100%;
    background-color: var(--bleu-fonce);
    color: var(--bleu-pale);
    overflow: hidden;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.banner-track {
    display: flex;
    width: max-content;
    animation: scrollBanner 40s linear infinite;
    align-items: center;
}

.banner-content {
    display: inline-flex;
    align-items: center;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.banner-content strong {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-right: 8px;
}

.banner-sep {
    margin: 0 24px;
    color: var(--bleu-pale);
    font-size: 1em;
    opacity: 0.8;
    vertical-align: middle;
}

@keyframes scrollBanner {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

#map-banner:hover .banner-track {
    animation-play-state: paused;
}


/* -------------------- LÉGENDE -------------------- */

#map-legende {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: fit-content;
    z-index: 1000;
    padding: 15px 20px;
    background-color: #02101edc;
    border-radius: 8px;
    transition: bottom 0.4s ease;
}

#map-legend {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 6px;
    align-items: flex-start;
}

#section-map h3 {
    margin-bottom: 10px;
    color: var(--bleu-pale);
    font-weight: bolder;
    overflow-y: hidden;
}

#map-legend li {
    display: flex;
}

#map-legend a {
    text-decoration: none;
    white-space: nowrap;
    color: var(--blanc);
    cursor: pointer;
    text-transform: capitalize;
    font-weight: normal;
    font-size: 0.8rem;
}

#map-legend .reset-link {
    color: var(--blanc);
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 3px 4px;
    border: none;
    background: none;
    font-weight: 800;
}


/* -------------------- MAP -------------------- */

#map {
    filter: saturate(2);
    flex: 1;
    width: 100%;
    position: relative;
    min-height: 0;
}

#map * {
    overflow: visible;
}


/* -------------------- MAP INFO -------------------- */

#map-info {
    position: absolute;
    top: 56px;  /* hauteur de la bannière */
    right: 0;
    width: 50%;
    height: calc(100% - 56px);  /* compense le décalage */
    padding: 36px;
    overflow: visible;
    font-size: clamp(0.6rem, 1.2vw, 1rem);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 5;
    box-sizing: border-box;
    background-color: var(--bleu-fonce);
}

.bottom-row.info-visible #map-info {
    transform: translateX(0);
}

#map-info-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    z-index: 999;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--blanc);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    pointer-events: auto;
}

#map-info-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

#map-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(3, 17, 53, 0.4) 0%,
        rgba(3, 16, 49, 0.75) 40%,
        rgba(3, 15, 46, 0.95) 100%
    );
    z-index: 0;
    pointer-events: none;
}

#map-info > * {
    position: relative;
    z-index: 1;
}

#map-info > *:not(#map-info-close) {
    position: relative;
    z-index: 1;
}

#map-info h3 {
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--blanc);
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.map-info-meta {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 24px;
    margin-top: 8px;
    color: var(--blanc);
    font-size: clamp(0.6rem, 0.8vw, 0.85rem);
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.map-info-meta .adresse::after {
    content: '·';
    margin-left: 16px;
}

#activites-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: visible;
    color: var(--blanc);
}

.activites-horaire-global {
    display: none;
}

.activite-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.activite-block:first-child {
    padding-top: 0;
}

.activite-block:last-child {
    border-bottom: none;
}

.activite-titre {
    font-size: clamp(0.7rem, 1vw, 1rem);
    font-weight: 500;
    margin: 0;
    color: var(--blanc);
    line-height: 1.3;
}

.activite-heure {
    display: inline-block;
    width: fit-content;
    font-size: 0.75rem;
    font-weight: bolder;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bleu-pale);
    padding: 2px 8px;
    margin-right: 8px;
    vertical-align: middle;
}

.activite-details {
    font-size: clamp(0.6rem, 0.9vw, 0.85rem);
    opacity: 0.8;
    margin: 0;
    padding-left: 0;
    color: var(--blanc);
    line-height: 1.4;
}


/* -------------------- SECTION RÉSEAUX -------------------- */

#reseaux-sociaux {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    gap: 60px;
    background-color: var(--bleu-pale);
    height: auto;
    min-height: auto;
}

#réseaux-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
    flex: 1;
    max-width: 700px;
}

#réseaux-info h4 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    height: auto;
    overflow-y: hidden;
}

#réseaux-info p {
    font-size: 1.8rem;
    opacity: 0.6;
    margin: 0;
}

#reseaux-boutons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
}

.reseaux-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid currentColor;
    transition: background-color 0.2s, color 0.2s;
}

.reseaux-btn:hover {
    background-color: var(--blanc);
    color: var(--bleu-fonce);
    border-color: var(--blanc);
}

.reseaux-btn.instagram {
    background-color: var(--turquoise-fonce);
    border-color: var(--turquoise-fonce);
    color: var(--bleu-pale);
}

.reseaux-btn.facebook {
    background-color: var(--bleu-fonce);
    border-color: var(--bleu-fonce);
    color: var(--bleu-pale);
}

.reseaux-btn.tiktok {
    background-color: var(--noir);
    border-color: var(--noir);
    color: var(--bleu-pale);
}

#reseaux-insta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    max-width: 540px;
}


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

footer {
    background-color: var(--bleu-fonce);
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bleu-pale);
}

footer a {
    color: var(--bleu-pale);
    padding: 0 10px;
}


/* -------------------- SECTION PROGRAMMATION -------------------- */

#section-prog {
    background-color: var(--bleu-fonce);
    color: var(--blanc);
    min-height: 100vh;
    padding: 140px 40px 100px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

#section-prog strong {
    color: var(--blanc);
    font-size: 1.2em;
}

.prog-header {
    max-width: 1100px;
    margin: 0 auto 100px;
    position: relative;
    z-index: 1;
}

.prog-title {
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--blanc);
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
    word-break: break-word;
}

.prog-title span {
    color: var(--bleu-pale);
    font-style: italic;
    font-weight: 300;
}

.prog-subtitle {
    font-size: clamp(0.85rem, 1vw, 1rem);
    color: var(--bleu-pale);
    margin-top: 32px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 0.8;
}

.prog-meta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.prog-meta-item {
    color: var(--blanc);
    opacity: 0.7;
    font-size: 0.85rem;
}

#section-prog a {
    color: var(--blanc);
    text-decoration: underline;
}


/* -------------------- TIMELINE -------------------- */

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 140px;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 80px;
    width: 1px;
    height: calc(100% - 24px);
    background-color: rgba(187, 222, 233, 0.15);
}


/* -------------------- BLOC HORAIRE -------------------- */

.time-block {
    position: relative;
    margin-bottom: 140px;
    padding-top: 20px;
}

.time-block:first-child {
    padding-top: 0;
}

.js-enabled .time-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled .time-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.time-marker {
    position: absolute;
    left: -140px;
    top: 0;
    width: 120px;
    z-index: 2;
}

.time-marker::before {
    content: '';
    position: absolute;
    left: 76px;
    top: 18px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--bleu-pale);
    box-shadow: 0 0 0 4px var(--bleu-fonce);
    transition: transform 0.3s ease;
}

.time-block:hover .time-marker::before {
    transform: scale(1.4);
}

.lieux-list .lieu-card + .lieu-card {
    border-top: 1px solid rgba(187, 222, 233, 0.15);
    padding-top: 32px;
}

.time-hour {
    position: absolute;
    left: -20px;
    top: 5px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--bleu-pale);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.lieux-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* -------------------- CARTE ACTIVITÉ -------------------- */

.lieu-card {
    background-color: transparent;
    border: none;
    padding: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.lieu-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bleu-fonce);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 12px;
    border-radius: 25px;
    margin-bottom: 14px;
    width: fit-content;
}

.lieu-card h2.activite-titre {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--bleu-pale);
    margin: 0 0 6px 0;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.lieu-card .lieu-adresse {
    color: var(--blanc);
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.lieu-card .lieu-adresse i {
    margin-right: 4px;
}

.activite-end {
    color: var(--blanc);
    opacity: 0.85;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 14px 0;
}

.activite-end strong {
    color: var(--bleu-pale);
    font-weight: 800;
}

.activite-desc {
    font-size: 0.95rem;
    color: var(--blanc);
    opacity: 0.65;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.activite-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--bleu-pale);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 18px;
    border: 1.5px solid var(--bleu-pale);
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.activite-link:hover {
    background-color: var(--bleu-pale);
    color: var(--bleu-fonce);
    opacity: 1 !important;
}


/* -------------------- ANIMATIONS -------------------- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -------------------- RESPONSIVE TABLETTE -------------------- */

@media (max-width: 1024px) and (min-width: 769px) {

    .wrap {
        font-size: 0.6em;
    }

    #cursor,
    #cursor-follower {
        display: none;
    }

    video {
        pointer-events: none;
    }

    #section-apropos {
        grid-template-columns: 1fr;
        position: relative;
        overflow: hidden;
    }

    .apropos-02 {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        z-index: 1;
        background-size: cover;
        background-position: center;
    }

    .apropos-02 img {
        display: none;
    }

    .apropos-01 {
        grid-column: 1;
        position: relative;
        z-index: 2;
    }

    #section-map {
        height: 100vh;
    }

    #map-legende {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
        padding: 10px 14px;
    }

    #map-legend {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    #map-legend a {
        font-size: 0.7rem;
        padding: 2px 4px;
    }

    #section-map h3 {
        font-size: 1rem;
        margin-bottom: 6px;
        width: 50%;
    }

    #map-info {
        top: 40%;
        right: 0;
        left: 0;
        width: 100%;
        height: auto;
        bottom: 0;
        transform: translateY(100%);
        padding: 28px 24px;
    }

    .bottom-row.info-visible #map-info {
        transform: translateY(0);
    }

    .bottom-row.info-visible #map-legende {
        bottom: calc(60% + 16px);
    }

    #reseaux-sociaux {
        flex-direction: column;
        padding: 60px 40px;
        gap: 40px;
        height: auto;
        min-height: auto;
    }

    #réseaux-info {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    #reseaux-boutons {
        justify-content: center;
    }

    #reseaux-insta {
        max-width: 100%;
        width: 100%;
    }

    #section-prog {
        padding: 120px 32px 80px;
    }

    .prog-header {
        margin-bottom: 80px;
    }

    .timeline {
        padding-left: 110px;
    }

    .timeline::before {
        left: 60px;
    }

    .time-marker {
        left: -110px;
        width: 100px;
    }

    .time-marker::before {
        left: 56px;
    }

    .time-hour {
        font-size: 1.7rem;
    }

    .time-block {
        margin-bottom: 100px;
    }
}


/* -------------------- RESPONSIVE MOBILE -------------------- */

@media (max-width: 768px) {

    .navbar .nav-item {
        margin-left: 0;
        padding: 4px 8px;
    }

    #cursor,
    #cursor-follower {
        display: none;
    }

    #hero-texte {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }

    h1 {
        font-size: 4em;
    }

    .hero-texte {
        height: auto;
        z-index: 9999;
    }

    .button-hero {
        padding: 8px 20px;
    }

    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #section-apropos {
        grid-template-columns: 1fr;
        position: relative;
        overflow: hidden;
        padding: 0 24px;
    }

    .apropos-02 {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        z-index: 1;
        background-size: cover;
        background-position: center;
    }

    .apropos-02 img {
        display: none;
    }

    .apropos-01 {
        grid-column: 1;
        position: relative;
        z-index: 2;
        padding: 40px 24px;
    }

    .apropos-01 h3 {
        font-size: 2.5em;
    }

    #section-map {
        height: 80vh;
        padding-top: 64px;
    }

    .banner-content {
        font-size: 0.75rem;
        padding: 8px 0;
    }

    .banner-sep {
        margin: 0 16px;
    }

    .banner-track {
        animation-duration: 30s;
    }

    #map-legende {
        bottom: 12px;
        left: 12px;
        right: 12px;
        max-width: none;
        padding: 8px 12px;
        background-color: rgba(3, 17, 53, 0.92);
    }

    #map-legend {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3px 10px;
    }

    #map-legend a {
        font-size: 0.65rem;
        padding: 2px 3px;
    }

    #section-map h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
        width: 70%;
    }

    #map-info {
        top: 50%;
        right: 0;
        left: 0;
        width: 100%;
        height: auto;
        bottom: 0;
        transform: translateY(100%);
        padding: 24px 20px;
    }

    .bottom-row.info-visible #map-info {
        transform: translateY(0);
    }

    .bottom-row.info-visible #map-legende {
        bottom: calc(50% + 12px);
    }

    #map-info h3 {
        font-size: 1.4rem;
    }

    .map-info-meta {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .activite-titre {
        font-size: 0.95rem;
    }

    .activite-details {
        font-size: 0.8rem;
    }

    #reseaux-sociaux {
        flex-direction: column;
        padding: 60px 24px;
        gap: 40px;
        height: auto;
        min-height: auto;
    }

    #réseaux-info {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    #réseaux-info h4 {
        font-size: 2.5rem;
    }

    #réseaux-info p {
        font-size: 1.2rem;
    }

    #reseaux-boutons {
        justify-content: center;
    }

    #reseaux-insta {
        max-width: 100%;
        width: 100%;
        transform: scale(0.85);
        transform-origin: top center;
    }

    #section-prog {
        padding: 100px 20px 60px;
    }

    .prog-header {
        margin-bottom: 60px;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        display: none;
    }

    .time-block {
        margin-bottom: 80px;
        padding-top: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(187, 222, 233, 0.15);
    }

    .time-block:last-child {
        border-bottom: none;
    }

    .time-marker {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        margin-bottom: 32px;
    }

    .time-marker::before {
        display: none;
    }

    .time-hour {
        position: relative;
        left: 0;
        top: 0;
        font-size: 2.2rem;
    }

    .lieux-list {
        gap: 32px;
    }
}


/* -------------------- RESPONSIVE PETIT MOBILE -------------------- */

@media (max-width: 480px) {

    #cursor,
    #cursor-follower {
        display: none;
    }

    h1 {
        font-size: 2.5em;
    }

    #réseaux-info h4 {
        font-size: 2rem;
    }

    #map-legend a {
        font-size: 0.6rem;
    }

    #section-map h3 {
        font-size: 0.75rem;
    }

    .prog-title {
        font-size: 3rem;
    }

    .prog-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }

    .lieu-card h2.activite-titre {
        font-size: 1.2rem;
    }
    .footer-content {
        justify-content: center;
        text-align: center;
    }
}