.sociaux img{
	background: #f19668;
	}
.sociaux {
	z-index:1;
	}

.btn { display: inline-block; padding: 10px 20px; background-color: #f19668; color: white; text-decoration: none; border-radius: 5px; font-family: sans-serif; } .btn:hover { background-color: #f19600; }

.introvideo { display: flex; gap: 20px; justify-content: center; align-items: flex-start; flex-wrap: wrap; } .video-container { width: 45%; max-width: 500px; }
.video-thumb { width: 100%; border-radius: 8px; cursor: pointer; transition: transform 0.2s ease; }
.video-thumb:hover { transform: scale(1.03); }

@media (max-width: 768px) {
.video-container {
    width: 100%;

}
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%;  -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
	  scroll-behavior: smooth; }
body {
  font-family: 'Astrup', Arial, sans-serif;
  opacity: 0;
  animation: globalFadeIn 1.2s ease-out forwards;
  background: #091b40;
  color: #fff;

}


@keyframes globalFadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.source { color:gold;}

/* ------------------------------
   COPYRIGHT
------------------------------ */
.copyright {
  font-size:0.8em;
}

/* Désactiver le scroll quand le menu overlay est ouvert */
body.menu-open { overflow: hidden; }

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: 50px;
  background: #000; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 20px; z-index: 1000;
}
.navbar .logo img { height: 40px; margin-top: 5px; }

.navbar ul { list-style: none; display: flex; }
.navbar ul li { position: relative; }
.navbar ul li a {
  color: #fff; text-decoration: none; padding: 10px 8px;
  display: flex; align-items: center; gap: 6px;
  font-family: 'Exo 2', sans-serif; text-transform: uppercase;
  font-size: 0.85rem; font-weight: 700;
  transition: 0.3s;
}
.navbar ul li a:hover { background: #f19668; }

/* Menu toggle (burger) */
.menu-toggle {
  display: none; width: 30px; height: 22px;
  flex-direction: column; justify-content: space-between;
  cursor: pointer; z-index: 1100;
  background: transparent; border: none;
}
.menu-toggle span {
  height: 4px; background: #fff; border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ------------------------------
   MENU OVERLAY MOBILE (plein écran)
------------------------------ */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .navbar ul {
    position: fixed;
    top: 50px; left: 0; right: 0; bottom: 0;
    height: 100svh;
    background: linear-gradient(180deg, rgba(0,0,0,0.96), rgba(9,27,64,0.95));
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 1050;
    padding: 80px 24px 40px;
    backdrop-filter: blur(2px);
  }
  .navbar ul.active { display: flex; }

  .navbar ul li {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .navbar ul li a {
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 520px;
    padding: 16px 12px;
    font-size: 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
  }
  .navbar ul li a:hover {
    background: rgba(241,150,104,0.25);
  }
}

/* ------------------------------
   SCROLL PROGRESS BAR (RIGHT)
------------------------------ */
#scrollProgress {
  position: fixed; top: 0; right: 0; width: 5px; height: 0%;
  background-color: #f19668; z-index: 2000; transition: height 0.1s linear;
}

/* ------------------------------
   HOME (NO PARALLAX)
------------------------------ */
#main-home {
    height: 100svh;
    background: url(../images/bg-home-desktop.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 50px;
}
@media (max-width: 768px) {
    #main-home {
        background: url(../images/bg-home-mobile.jpg) no-repeat;
        background-position: center;
        background-size: cover;
    }
}

/* Bloc bandeau logos */

.bandeau-logos {
    height: auto;
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
	justify-content: center;
}

.mybandeau-logos{
  height: auto;
  max-width:900px;
  width:100%;
  max-height:100px;
}

/* Bloc hero */
.hero {
  display: flex;
  min-height: calc(100svh - 50px);
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  gap: 18px;
}


/* Bloc Intro */
.intro {
	text-align:left;
	margin-bottom:20px;
}


/* Logo */
.hero-logo { display: flex; justify-content: center; align-items: center; }
.hero-favicon { display: flex; justify-content: center; align-items: center; }
.mylogo { max-width: 350px; width: 100%; height: auto; }


/* DEBUT HERO FAVICON */

.hero-favicon {
    display: inline-block; /* pour s’adapter au contenu */
}

/* Conteneur avec l'effet shine */
.shiny-logo {
    position: relative;
    display: inline-block;
    border-radius: 10rem;
    overflow: hidden; /* masque le reflet qui dépasse */
}

/* L'image */
.myfavicon {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 10rem;
    display: block;
}

/* Reflet */
.shiny-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(180,200,255,0.7) 50%, /* blanc bleuté */
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    animation: shine 2.5s ease-in-out infinite;
}


/* Animation */
@keyframes shine {
    0%   { left: -100%; }
    60%  { left: 120%; }
    100% { left: 120%; }
}

/* FIN HERO FAVICON */

.mytitle { max-width: 700px; width: 100%; height: auto; }

/* Badges officiels */
.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.store-badges a img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 200px;
}

/* Animation badges */
@keyframes pulseScale {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.store-badges a img {
  will-change: transform;
  transform-origin: center center;
  animation: pulseScale 1600ms ease-in-out infinite;
}
.store-badges a:nth-child(2) img { animation-delay: 300ms; }
.store-badges a:hover img,
.store-badges a:focus-visible img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .store-badges a img { animation: none !important; transform: none; }
}

/* Mobile badges & logo */
@media (max-width: 480px) {
  .store-badges a img { max-width: 150px; }
  .store-badges { gap: 12px; }
  .mylogo { max-width: 300px; width: 100%; height: auto; }
  .mytitle { max-width: 300px; width: 100%; height: auto; }
}

/* Focus accessibilité pour liens badges */
.store-badges a { outline: none; }
.store-badges a:focus-visible {
  box-shadow: 0 0 0 3px rgba(241,150,104,0.6);
  border-radius: 6px;
}

/* ------------------------------
   SECTIONS
------------------------------ */
.section-block {
  padding: 80px 20px; background-color: #0B2659; color: #ffffff;
}
.section-block:nth-child(even) { background-color: #091b40; }
.section-content { max-width: 900px; margin: auto; text-align: center; }
.section-block h2 { font-size: 2rem; margin-bottom: 20px; color: #f19668; font-family: 'Astrup', Arial, sans-serif; }
.section-block p { font-size: 1.1rem; line-height: 1.6em; }
.featured {
    background: url(../images/bg-intro.png);
    background-size: contain;
    background-repeat: repeat;
	background-attachment: fixed;
}

.stay { background: url(../images/bg-stay-desktop.jpg) bottom/cover no-repeat; }
@media (max-width: 768px) {
  .stay { background: url(../images/bg-stay-mobile.jpg) bottom/cover no-repeat; }
}
.media { background: url(../images/bg-media-desktop.jpg); background-size: cover; background-attachment: fixed;}
@media (max-width: 768px) {
  .media { background: url(../images/bg-media-mobile.webp);background-size: cover; background-attachment: fixed; }
}

/* ------------------------------
   FOOTER + FADE-IN
------------------------------ */
footer.footer {
  width: 100%; background: #000; color: #fff;
  padding: 20px 10px; display: flex; justify-content: space-between;
  align-items: center; 
  border-top: 1px solid rgba(255,255,255,0.2);

  opacity: 0;
  transform: translateY(20px);
  animation: footerFadeIn 1.2s ease-out forwards;
  animation-delay: 0.5s;
}
@keyframes footerFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.footer-col { text-align: center; padding: 10px; }
.footer-logo { height: 50px; }
.menu-footer { margin-bottom:10px;}
.footer-center a { color: #fff; font-size: 0.6em; text-decoration: none; margin: 0 5px; text-decoration: underline;}
.footer-center a:hover, .footer-right a:hover { color: #f19668; }
.footer-right { display: flex; }
.footer-right a { color: #fff; font-size: 1.2rem; margin: 0 10px; transition: 0.3s; }

@media (max-width: 768px) {
  footer.footer { flex-direction: column; }
}

/* ------------------------------
   BOUTON RETOUR EN HAUT (image taille originale)
------------------------------ */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border: none;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.3s ease;
    z-index: 1500;
    background: transparent;
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-2px); }
#backToTop img { display: block; width: auto; height: auto; max-width: none; max-height: none; }

/* ------------------------------
   CARROUSEL (fade-in + flèches + bulles sous le slider)
------------------------------ */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 24px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  background: #091b40;
}

/* ✅ Masque en surimpression du carrousel */
.carousel__mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

/* Viewport avec ratio fixe pour le cadre (modifiable) */
.carousel__viewport {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* ratio 16:9 — change si besoin */
  overflow: hidden;
  scrollbar-width: none;
}
.carousel__viewport::-webkit-scrollbar { display: none; }

@media (max-width: 480px) {
  .carousel__viewport { padding-top: 62%; }
}

/* Slides empilées (crossfade) */
.carousel__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
  will-change: opacity;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  background: #091b40;
}
.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.carousel__slide img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ conserve la proportion d’origine, sans recadrage */
  user-select: none;
  padding-left: 20px;
  padding-right: 25px;
  padding-top: 10px;
}

/* Flèches de navigation */
.carousel__control {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2; /* ✅ garanti au-dessus du masque */
}
.carousel__control:hover { background: rgba(241,150,104,0.8); transform: translateY(-50%) scale(1.05); }
.carousel__control:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(241,150,104,0.6); }
.carousel__control--prev { left: 10px; }
.carousel__control--next { right: 10px; }
.carousel__control i { font-size: 1rem; }

/* Bulles sous le carrousel */
.carousel__dots {
  margin-top: 10px;
  display: flex; gap: 8px; justify-content: center; align-items: center;
}
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.75);
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.carousel__dot[aria-current="true"] {
  background: #f19668;
  border-color: #f19668;
  transform: scale(1.15);
}
@media (prefers-reduced-motion: reduce) {
  .carousel__slide { transition: none !important; }
  .carousel__control, .carousel__dot { transition: none !important; }
}

