:root[data-theme="dark"] ,[data-theme="dark"]{
  --main-bg: rgb(0,8,21);
  --neon: #00ffff;
  --font: rgb(255,255,255);
  --bg-light: #1e293b; 
  --bg-v: 0,8,21;
}

:root[data-theme="light"] ,[data-theme="light"]{
  --main-bg: rgb(245,245,245);
  --neon: #7bf002;
  --font: rgb(0,9,20);
  --bg-light: #CCCCCC;
  --bg-v: 245,245,245;
}
:root{
  --shadow:
  0 0 5px  color-mix(in srgb, var(--main-logo-blob) 70%, transparent),
  0 0 10px color-mix(in srgb, var(--main-logo-blob) 50%, transparent),
  0 0 20px color-mix(in srgb, var(--main-logo-blob) 40%, transparent),
  0 0 40px color-mix(in srgb, var(--main-logo-blob) 30%, transparent),
  0 0 80px color-mix(in srgb, var(--main-logo-blob) 20%, transparent);
}
  :root[data-theme="light"]
{
  --main-logo-blob: rgb(127,255,0);
}
 :root[data-theme="dark"]
{
  --main-logo-blob: rgb(0,255,255);
}

*, ::after, ::before {
  box-sizing: border-box;
}

body, html {
  font-family: 'Montserrat', sans-serif;
  color: var(--font);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;

}
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000815;
  font-family: 'Montserrat'
}
/* BACKGROUND VIDEO */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
  to top,
  rgba(var(--bg-v), 1) 0%,
  rgba(var(--bg-v), 0) 50%
);
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONTENT WRAPPER */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* IMAGE + TEXT ROW */
.hero-logo-wrapper {
  position: relative;
  display: inline-block;
}
/* LOGO / PNG */
.hero-logo {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
}

/* DATE TEXT */
.hero-date {
  position: absolute;
  right: 0;
  bottom: -24px; /* ajuste la distance sous l’image */
  font-size: 1.4rem;
  color: #ffffff;
  opacity: 0.95;
  white-space: nowrap;
}

/* SCROLL ARROW */
.scroll-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-decoration: none;
}

.scroll-arrow span {
  display: block;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  animation: arrow-bounce 2s infinite;
  opacity: 0.85;
}

/* ARROW ANIMATION */
@keyframes arrow-bounce {
  0% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: rotate(45deg) translate(8px, 8px);
    opacity: 1;
  }
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 340px;
  }

  .hero-date {
    font-size: 1.2rem;
    bottom: -20px;
  }
}

h1 {
  text-align: center;
  font-size: clamp(2.1rem, 7vw, 5rem) !important;
  font-weight: 900;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  margin: 20px auto;
  width: 92%;
  padding: 20px; 
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45), inset 0 0 16px rgba(255,255,255,0.15);
  color: white;
}

#firstSection {
  position: relative;
  padding: 60px 10%;
  overflow: hidden;
  z-index: 1;
}

.about {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 18px;
  display: block;
}

.about-text {
  flex: 1.5;
}

#firstSection .about-text h2 {
    font-family: 'Montserrat';
    font-size: clamp(2.1rem, 7vw, 5rem) !important;
    line-height: 1.1;
    margin: 0 0 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--font);
    padding-top: 0;
    transition: color 0.5s ease;
}

.hero-title {
    white-space: nowrap;
    background: linear-gradient(90deg, #43b58b, #00ffff, #43b58b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: firstSectionGradient 5s linear infinite;
    display: inline-block;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
}

.text-accent {
  color: #43b58b;
  font-weight: 600;
}

.hotel-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 0;
  background: url("../event-image/lehavre.png") center/cover no-repeat fixed;
  overflow: hidden;
}

/* iOS/Android ne supportent pas background-attachment: fixed → zoom brutal */
@supports (-webkit-touch-callout: none) {
  .hotel-hero {
    background-attachment: scroll;
    background-size: auto 100%;
    background-position: center center;
  }
}
@media (hover: none) and (pointer: coarse) {
  .hotel-hero {
    background-attachment: scroll;
    background-size: auto 100%;
    background-position: center center;
  }
}

.hotel-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.section-shape::before,
.section-shape::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 10vw;
  max-height: 150px;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(100% 0%, 0% 0%, 0% 52.16%, 2% 47.08%, 4% 41.49%, 6% 35.85%, 8% 30.62%, 10% 26.24%, 12% 23.07%, 14% 21.37%, 16% 21.29%, 18% 22.84%, 20% 25.87%, 22% 30.15%, 24% 35.32%, 26% 40.94%, 28% 46.56%, 30% 51.70%, 32% 55.94%, 34% 58.93%, 36% 60.42%, 38% 60.28%, 40% 58.54%, 42% 55.32%, 44% 50.91%, 46% 45.66%, 48% 40.01%, 50% 34.43%, 52% 29.38%, 54% 25.28%, 56% 22.48%, 58% 21.19%, 60% 21.54%, 62% 23.49%, 64% 26.88%, 66% 31.43%, 68% 36.76%, 70% 42.43%, 72% 47.96%, 74% 52.91%, 76% 56.85%, 78% 59.47%, 80% 60.54%, 82% 59.98%, 84% 57.83%, 86% 54.27%, 88% 49.60%, 90% 44.20%, 92% 38.52%, 94% 33.04%, 96% 28.20%, 98% 24.41%, 100% 21.99%);
}

.section-shape::before {
  top: -3px;
  margin-top: -2px;
  background: var(--main-bg); 
}

.section-shape::after {
  bottom: -3px;
  margin-bottom: -2px;
  background: var(--main-bg); 
  transform: scaleY(-1);
}

.hotel-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: min(95%, 1300px);
  margin: 0 auto;
  padding: 2rem;
}

.hotel-card.small {
  position: relative;
  padding: 2rem 1.5rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
}

.hotel-card.small:hover {
  transform: translateY(-10px);
  background: rgba(0, 0, 0, 0.55);
}

.hotel-card.small::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: linear-gradient(to bottom, #00ffff, #7bf002);
  border-radius: 0 4px 4px 0;
}

.hotel-title-small {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #00ffff, #43b58b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hotel-text-small {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
}

.hotel-img-wrapper {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hotel-badge-img {
  width: 90%;
  height: 90%;
  object-fit: contain; 
}

.hotel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(101, 211, 205, 0.4);
  border-radius: 20px;
  white-space: nowrap;
  margin-bottom: 1.5rem;
}

.project-summary-section {
  background-color: var(--main-bg);
  padding: 20px 50px;
  text-align: center;
  color: var(--font);
  margin-bottom: 80px;
}

.project-title {
  font-size: 42px;
  margin-bottom: 50px;
  font-weight: 800;
}

.accent-text {
  color: #43b58b;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-box:hover {
  transform: translateY(-10px);
}

.stat-box {
  background-color: var(--bg-light);
  border: 2px solid #475569;
  border-radius: 15px;
  padding: 40px 10px;
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.counter-value {
  font-size: 64px;
  font-weight: bold;
  color: #43b58b;
  line-height: 1;
}

.number-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.unit-text {
  font-size: 40px;
  font-weight: bold;
  color: #43b58b;
}

.label-top, .label-bottom {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

.label-top { margin-bottom: 15px; }
.label-bottom { margin-top: 15px; }

@media (max-width: 992px) {
  .about {
    flex-direction: column;
    text-align: left;
  }
  .about-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hotel-card.small::before { display: none; }
  .hotel-hero { padding: 4rem 1rem; }
}

@keyframes firstSectionGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.alternated-section {
    width: 100%;
    background-color: var(--main-bg);
    padding: 80px 0;
    overflow: hidden;
}

/* On utilise .container pour matcher ton HTML */
.alternated-section .container {
    width: 92%;
    max-width: 1200px; /* On réduit un peu pour que ce soit plus élégant */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.row-alternated {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
    width: 100%;
}

/* Inversion automatique */
.row-alternated:nth-child(even) {
    flex-direction: row-reverse;
}

/* --- COLONNE IMAGE : Plus compacte --- */
.col-image {
    flex: 0 0 30%; /* L'image prend 30% de la largeur */
    min-width: 280px; /* Empêche d'être trop petit */
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 125%; /* Ratio 4:5 */
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

.image-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

/* --- COLONNE TEXTE : Correction retour à la ligne --- */
.col-text {
    flex: 1; 
    min-width: 0; /* Force le flex-item à ne pas déborder */
    display: flex;
    flex-direction: column;
}

/* Correction spécifique pour .hero-title dans cette section */
.col-text .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Un peu plus petit pour la lisibilité */
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 20px 0;
    
    /* FORÇAGE DU RETOUR À LA LIGNE */
    white-space: normal !important; 
    display: block !important;
    overflow-wrap: break-word;
    word-wrap: break-word;

    /* Ton style de dégradé existant */
    background: linear-gradient(90deg, #43b58b, #00ffff, #43b58b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: firstSectionGradient 5s linear infinite;
}

.col-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--font);
    opacity: 0.9;
    margin: 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    font-weight: 300;
}

/* --- RESPONSIVE --- */

@media (max-width: 900px) {
    .row-alternated, 
    .row-alternated:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 70px;
    }

    .col-image {
        width: 60%; /* L'image prend plus de place sur mobile */
        max-width: 320px;
        margin: 0 auto;
    }

    .col-text .hero-title {
        font-size: 2rem;
    }
}


.brandsMarquee {
  position: relative;
  width: 100%;           /* 100vw remplacé */
  margin: 10px 0 0;
  padding: 10px 0;
  overflow: hidden;
  /* left + transform supprimés pour fiabilité */
  background-color: #000914;
}

/* Fades latéraux */
.brandsMarquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.brandsMarquee__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--page-bg, #000914) 15%, transparent);
}

.brandsMarquee__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--page-bg, #000914) 15%, transparent);
}

/* viewport + mask */
.brandsMarquee__viewport {
  overflow: hidden;
  -webkit-mask-image: none;   /* désactivé pour fiabilité */
  mask-image: none;            /* désactivé pour fiabilité */
}

/* Track (animation pilotée en px par le JS) */
.brandsMarquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: none;   /* désactivé par défaut, JS lancera l'animation */
}

.brandsMarquee:hover .brandsMarquee__track {
  animation-play-state: paused;
}

@keyframes brands-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-distance, 0px))); }
}

/* Groupe (gap + padding ici, pas sur track) */
.brandsMarquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 40px;
}

/* Items */
.brandsMarquee__item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 160px;
  height: 80px;
}

.brandsMarquee__item img {
  height: 70px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.85);
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.brandsMarquee__item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 640px) {
  .brandsWall {
    padding: 16px 0 40px;
  }

  .brandsWall__title {
    padding-top: 1rem;
    font-size: clamp(1.2rem, 1rem + 2.2vw, 1.7rem);
  }

  .brandsMarquee__fade {
    width: 64px;
  }

  .brandsMarquee__group {
    gap: 18px;
    padding: 8px 24px;
  }

  .brandsMarquee__item {
    min-width: 120px;
    height: 64px;
  }

  .brandsMarquee__item img {
    height: 52px;
    max-width: 110px;
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .brandsMarquee__track {
    animation: none !important;
  }
}