/* ========================= */
/* RESET */
/* ========================= */
@font-face {
    font-family: 'adelphe';
    src: url('FONT/Adelphe-FructidorRegular.otf') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'herthey';
    src: url('FONT/BBB-Herthey-Futural-40.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: adelphe, sans-serif;
    overflow-x: hidden;
    background: transparent;   
}

/* Curseurs personnalisés par direction */
/* .my-cursor{
    cursor: url(./IMG/vis.png) 34 0, pointer;
} */
    .my-cursor-nord-ouest {
    cursor: url(./IMG/vis_nord_ouest.png) 100 100, pointer;
} /*
.my-cursor-nord-est {
    cursor: url(./IMG/vis_nord_est.png) 10 100, pointer;
 }
.my-cursor-sud-est {
    cursor: url(./IMG/vis_sud_est.png) 0 0, pointer;
}

.my-cursor-sud-ouest {
    cursor: url(./IMG/vis_sud_ouest.png) 100 10, pointer;
} */

/* ========================= */
/* IMAGES QUI DEFILENT */
/* ========================= */
.scene {
    position: relative;
}

.scroll-container {
    position: relative;
    z-index: 0;
    width: 100%;
}

.scroll-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================= */
/* CALQUE FIXE AU DESSUS */
/* ========================= */
.fixed-layer {
    position: fixed;
    inset: 0;
    pointer-events: auto;
    z-index: 100;
}

/* ========================= */
/* BOITES MENU webp */
/* ========================= */
.text-blocks {
    width: 100%;
    height: 100%;
    position: relative;
}

.bloc {
    position: fixed;
    padding: 0;
    pointer-events: auto;
}

/* Positions des 3 coins */
.bloc:nth-child(1) { top: 20px;    left: 20px;  }
.bloc:nth-child(2) { top: 20px;    right: 20px; }
.bloc:nth-child(3) { bottom: 20px; left: 20px;  }
.bloc:nth-child(4) { bottom: 80px; right: 20px;  }
.bloc:nth-child(5) { bottom: 20px; right: 20px;  }


/* ========================= */
/* BOUTONS PNG AVEC HOVER */
/* ========================= */
.svg-btn {
    position: relative;
    display: inline-block;
    width: 500px;
}

.svg-btn img {
    width: 100%;
    display: block;
}

/* Image hover cachée par défaut */
.svg-btn .svg-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.1s ease;
}

/* Au hover : swap */
.svg-btn:hover .svg-hover {
    opacity: 1;
}

.svg-btn:hover .svg-default {
    opacity: 0;
}

/* ========================= */
/* CENTRE SVG */
/* ========================= */
.center {
    z-index: 2;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.svg-rotate {
    width: 55vmin;
    height: 55vmin;
    position: relative;
    z-index: 5;
    overflow: visible;
}

.svg-rotate path {
    fill: none;
    stroke: whitesmoke;
    animation: pulseStroke 16s ease-in-out infinite;
}

@keyframes pulseStroke {
    0%   { stroke-width: 0;   opacity: 1; }
    50%  { stroke-width: 100; opacity: 1; }
    100% { stroke-width: 0;   opacity: 1; }
}
/* ========================= */
/* BANDEAU NOMS DÉFILANTS */
/* ========================= */
.marquee-spacer {
    height: 45vh;
    background: #000;
}

.name-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: #000;
    pointer-events: none;
}

.name-marquee:last-of-type {
    padding-bottom: 47.5vh;
}

.name-marquee-track {
    display: inline-block;
    animation: marquee-scroll 70s linear infinite;
    font-family:'adelphe', 'herthey', sans-serif;
    letter-spacing: 0.08em;
    color: #fff;
}

.name-marquee-track--large {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.name-marquee-track--small {
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
}

.name-marquee-track span {
    padding: 0 0.6em;
}

.name-marquee-track .sep {
    padding: 0;
    opacity: 0.5;
}

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

/* ========================= */
/* RESPONSIVE MOBILE */
/* ========================= */
@media (max-width: 768px) {
    .svg-btn {
        width: 200px;
    }
    .svg-rotate {
        width: 160px;
    }
    /* Positions des 3 coins */
    .bloc:nth-child(1) { top: 12px;    left: 12px;  }
    .bloc:nth-child(2) { top: 12px;    right: 12px; }
    .bloc:nth-child(3) { bottom: 12px; left: 12px;  }
    .bloc:nth-child(4) { bottom: 37px; right: 12px;  }
    .bloc:nth-child(5) { bottom: 12px; right: 12px;  }
}

/* Telephone en paysage */
@media (max-height: 500px) {
    .svg-btn {
        width: 200px;
    }
    .svg-rotate {
        width: 120px;
    }
    .bloc:nth-child(1) { top: 8px;    left: 8px;  }
    .bloc:nth-child(2) { top: 8px;    right: 8px; }
    .bloc:nth-child(3) { bottom: 8px; left: 8px;  }
    .bloc:nth-child(4) { bottom: 28px; right: 8px; }
    .bloc:nth-child(5) { bottom: 8px;  right: 8px; }
}

.gallery-single img {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}