/* ============================
   VARIABLES & RESET
   ============================ */
:root {
  --rouge: #c82127;
  --rouge-fonce: #8a0f12;
  --rouge-velours: #7a0d10;
  --noir: #050505;
  --noir-plus: #0a0a0a;
  --blanc: #f5f5f5;
  --gris: #1a1a1a;
  --font-titre: 'Bebas Neue', sans-serif;
  --font-texte: 'Inter', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-texte);
  background: var(--noir);
  color: var(--blanc);
  overflow-x: hidden;
  line-height: 1.5;
}
/* ============================
   BORDURES VELOURS
   ============================ */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(to bottom, var(--rouge-fonce), var(--rouge), var(--rouge-fonce));
  z-index: 9999;
}
body::before { left: 0; }
body::after { right: 0; }
@media (max-width: 800px) {
  body::before,
  body::after {
    width: 6px;
  }
}
/* ============================
   RIDEAU D’OUVERTURE
   ============================ */
#rideau-gauche,
#rideau-droit {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(to bottom, var(--rouge-velours), var(--rouge), var(--rouge-velours));
  z-index: 99999;
  animation: ouvrirRideau .9s ease-out forwards;
}
#rideau-gauche { left: 0; transform-origin: left; }
#rideau-droit { right: 0; transform-origin: right; }
@keyframes ouvrirRideau {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
/* ============================
   HEADER & NAVIGATION
   ============================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1rem 2rem;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #222;
  z-index: 1000;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
header img {
  height: 140px;
  filter: none;
  transition: transform .3s ease, filter .3s ease;
}
header img:hover {
  transform: scale(1.06);
  filter: brightness(1.4) drop-shadow(0 0 18px rgba(200,33,39,0.6));
}
@media (max-width: 900px) {
  header img { height: 90px; }
}
@media (max-width: 600px) {
  header img { height: 70px; }
}
/* NAV */
nav {
  display: flex;
  justify-content: center;
  flex: 0 1 auto;
  margin-left: 2rem;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .14em;
  gap: 1.6rem;
}
nav a {
  text-decoration: none;
  color: var(--blanc);
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--rouge);
  transition: .2s;
}
nav a:hover::after {
  width: 100%;
}
/* ACTION BUTTONS HEADER */
.header-actions {
  display: flex;
  gap: 0.8rem;
  margin-left: 1.5rem;
}
.header-btn {
  background: linear-gradient(to bottom, #2a2a2a, #0f0f0f);
  color: var(--blanc);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.6),
    inset 0 1px 2px rgba(255,255,255,0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.header-btn:hover {
  background: linear-gradient(to bottom, #3a3a3a, #111);
  transform: translateY(-3px);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.75),
    inset 0 1px 3px rgba(255,255,255,0.2);
}
/* HAMBURGER & MENU MOBILE */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--blanc);
}
/* MENU MOBILE — version propre et unique */
#menu-mobile {
  position: fixed;
  top: -150%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,#3f0608,#5a0a0c,#3f0608);
  z-index: 999999;
  padding-top: 6rem;
  text-align: left;
  padding-left: 2rem;
  transition: top .6s ease, opacity .4s ease;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

#menu-mobile.open {
  top: 0;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* ============================
   BREADCRUMB
   ============================ */
#breadcrumb {
  margin-top: 90px;
  padding: .6rem 2rem;
  font-size: .85rem;
  color: #ccc;
  opacity: .8;
}
/* ============================
   SECTIONS GLOBALES
   ============================ */
section {
  padding: 2rem 2rem 5rem;
  max-width: 1100px;
  margin: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
  scroll-margin-top: 210px;
  will-change: opacity, transform;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
section:nth-of-type(even) {
  background: var(--noir-plus);
}
/* TITRES & TEXTE */
h1, h2, h3 {
  font-family: var(--font-titre);
  text-transform: uppercase;
  letter-spacing: .18em;
}
h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  margin-bottom: 1rem;
}
h1 span { color: var(--rouge); }
h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.6rem;
  margin-bottom: .5rem;
  color: var(--rouge);
}
p {
  max-width: 750px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: #d6d6d6;
  line-height: 1.6;
}
/* ============================
   HERO / ACCUEIL
   ============================ */
#accueil {
  padding-top: 16rem;
}
.hero-logo {
  height: 220px;
  margin-bottom: 0.5rem;
  filter: none;
}
/* CARDS GÉNÉRIQUES */
.card {
  background: var(--gris);
  padding: 1.5rem;
  border-radius: .75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
  margin-top: 1rem;
}
/* BOUTON PRINCIPAL */
.btn {
  display: inline-block;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  border: 2px solid var(--rouge);
  background: var(--rouge);
  color: var(--blanc);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  font-weight: 600;
  transition: .2s;
}
.btn:hover {
  background: var(--blanc);
  color: var(--noir);
}
/* BOUTONS INLINE */
.btn-inline {
  display: inline-flex;
  align-items: center;
  margin-left: .6rem;
  background: var(--rouge);
  color: white;
  border: none;
  padding: .45rem 1rem;
  border-radius: 6px;
  font-family: var(--font-texte);
  font-size: .95rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: .25s ease;
}
.btn-inline:hover {
  background: var(--rouge-fonce);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
/* ============================
   SECTION SPECTACLES
   ============================ */
.spectacle-layout {
  max-width: 900px;
  margin: auto;
}
.spectacle-block {
  padding: 2.5rem 2rem;
  background: linear-gradient(to bottom, #1a1a1a, #050505);
  border-radius: 16px;
  margin-top: 2.5rem;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}
.spectacle-block h3 {
  font-size: 2rem;
  margin-bottom: .3rem;
}
.spectacle-block .dates,
.dates {
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
  font-style: italic;
  display: block;
}
/* AFFICHE */
.affiche-wrapper {
  position: relative;
  max-width: 460px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: linear-gradient(to bottom, var(--rouge-velours), var(--noir));
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}
.affiche-temporaire {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.6),
    0 0 20px rgba(200,33,39,0.25);
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.affiche-temporaire:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(200,33,39,0.4);
}
/* TEXTE RÉSUMÉ */
.resume-piece p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}
/* INFOS SPECTACLE (LIEU / BILLETTERIE) */
.infos-spectacle {
  max-width: 800px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem;
  background: #101010;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.infos-spectacle p strong {
  color: var(--blanc);
  font-weight: 700;
  min-width: 130px;
  display: inline-block;
}
.infos-spectacle .btn-inline,
.infos-spectacle .btn-google {
  margin-left: 0;
  white-space: nowrap;
  display: inline-flex;
}
/* ============================
   MISSION
   ============================ */
.mission-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.mission-card {
  background: var(--gris);
  padding: 1.5rem;
  border-radius: .75rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.mission-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.mission-card i {
  font-size: 2.4rem;
  color: var(--rouge);
  margin-bottom: .8rem;
}
/* ============================
   PRODUCTIONS
   ============================ */
.productions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.production-item {
  background: var(--gris);
  padding: 1rem;
  border-radius: .75rem;
  text-align: center;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.production-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.production-item img {
  width: 100%;
  border-radius: .5rem;
  margin-bottom: .8rem;
}
/* ============================
   CARROUSEL
   ============================ */
.carousel-container {
  overflow: hidden;
  margin-top: 2rem;
}
.carousel-track {
  display: flex;
  gap: 1rem;
  animation: scrollCarousel 40s linear infinite;
}
.carousel-track:hover {
  animation-play-state: paused;
}
.carousel-item {
  min-width: 300px;
  height: 200px;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-3500px); }
}
/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;   /* on recentre le bloc */
  padding: 2rem 1rem;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner { 
   max-width: 90%;
   max-height: 90vh; 
   background: transparent; 
   border-radius: .5rem; 
   box-shadow: 0 0 25px rgba(0,0,0,0.8); 
   padding: 0; color: var(--blanc); 
   position: relative; 
   display: flex; 
   flex-direction: column; 
   overflow: hidden; /* 🔥 important */ }

.lightbox-inner img {
  max-width: 100%;
  max-height: 55vh;              /* laisse de la place au texte */
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 10px 10px 0 0;
}

.lightbox-content { 
   padding: 1.2rem 1.5rem;
   background: rgba(0,0,0,0.7); 
   border-radius: 0 0 .5rem .5rem; 
   flex: 1; /* 🔥 prend la place restante */ 
   min-height: 0; /* 🔥 autorise le scroll interne */ 
   overflow-y: auto; /* 👉 le scroll se fait ici */ }

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: var(--blanc);
  cursor: pointer;
  text-shadow: 0 0 10px black;
  transition: .2s;
}
.lightbox-close:hover {
  color: var(--rouge);
}
/* ============================
   PARTENAIRES
   ============================ */
#partenaires {
  text-align: center;
  margin-top: 4rem;
  padding: 60px 20px;
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 2rem;
}
.partners-grid a {
  width: 200px;
  height: 130px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
  transition: transform .3s ease, opacity .3s ease;
}
.partners-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}
.partners-grid a:hover {
  transform: scale(1.07);
  opacity: 1;
}
/* ============================
   CONSEIL
   ============================ */
.conseil-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 2rem;
}
.conseil-item {
  width: 200px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
  transition: transform .3s ease, opacity .3s ease;
}
.conseil-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center; 
  opacity: 0.95;
}
.conseil-item:hover {
  transform: scale(1.07);
  opacity: 1;
}
.conseil-item p {
  color: var(--blanc);
  text-align: center;
  padding: .8rem 0;
  font-size: 1rem;
  letter-spacing: .05em;
}
.conseil-item p span {
  color: var(--rouge);
  font-size: .9rem;
  letter-spacing: .08em;
}
/* ============================
   A PROPOS
   ============================ */
.apropos-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.apropos-block p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #d6d6d6;
}
@media (max-width: 600px) {
  .apropos-block {
    padding: 1.5rem 1rem;
  }
  .apropos-block p {
    font-size: 1rem;
  }
}
/* ============================
   ACTIONS MOBILES
   ============================ */
.mobile-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 2rem;
}
.mobile-actions .header-btn {
  width: 100%;
  text-align: center;
  font-size: 1.3rem;
  padding: 1rem;
}
/* ============================
   FOOTER
   ============================ */
footer {
  background: #000;
  padding: 3rem 2rem;
  text-align: center;
  color: #bbb;
  font-size: .9rem;
  border-top: 3px solid var(--rouge);
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.footer-logo-img {
  max-height: 120px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.footer-socials {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.social-icon:hover {
  transform: scale(1.15);
  background: var(--rouge);
  color: var(--blanc);
}
footer p.signature {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  letter-spacing: .15em;
  color: var(--blanc);
  margin-top: 1rem;
}
/* ============================
   ACCESSIBILITÉ
   ============================ */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
  outline: none;
}
/* ============================
   AJUSTEMENTS MOBILE GLOBAUX
   ============================ */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .affiche-temporaire {
    max-width: 100%;
  }
  .affiche-wrapper {
    padding: 1rem;
  }
  .header-btn {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
  .infos-spectacle {
    padding: 1.2rem 1.4rem;
  }
  .infos-spectacle p {
    flex-direction: column;
    align-items: flex-start;
  }
  .infos-spectacle p strong {
    min-width: auto;
  }
  .infos-spectacle .btn-inline,
  .infos-spectacle .btn-google {
    margin-left: 0;
  }
}
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}
@media (max-width: 768px) {
  body::before,
  body::after {
    position: absolute;
  }
}
.productions-grid {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
@media (max-width: 768px) {
  .spectacle-block,
  .affiche-wrapper,
  .card,
  .production-item,
  .carousel-item {
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
  }
}

@media (max-width: 768px) {
  .spectacle-block {
    padding: 1.5rem 1rem;
  }
  .infos-spectacle {
    padding: 1rem 1rem;
  }
}
.infos-spectacle p {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.infos-spectacle p strong {
  margin: 0;
  font-weight: 700;
  color: var(--blanc);
}
.infos-spectacle p span {
  margin: 0;
  color: #d6d6d6;
}
.infos-spectacle .btn-inline,
.infos-spectacle .btn-google {
  margin: 0;
  white-space: nowrap;
  display: inline-flex;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .desktop-only {
    display: none;
  }
}

/* Empêche le débordement du texte */
.infos-spectacle p span {
  word-break: break-word;
}

/* Mobile : une seule colonne */
@media (max-width: 768px) {
  .infos-spectacle p {
    grid-template-columns: 1fr !important;
  }
}

/* LIGHTBOX — version mobile */
@media (max-width: 768px) {

  /* Image plus petite et contenue */
  .lightbox-inner img {
    max-width: 90vw;
    max-height: 60vh;
  }

  /* Bouton X accessible */
  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 2rem;
  }

  /* Texte scrollable sans dépasser */
  .lightbox-content {
    max-height: 40vh;
    overflow-y: auto;
  }
}

/* LIGHTBOX — portraits du conseil (mobile) */
@media (max-width: 768px) {

  /* Image portrait plus petite */
  .lightbox-inner img {
    max-width: 80vw;
    max-height: 50vh;
    object-fit: cover;
  }

  /* Zone texte plus lisible */
  .lightbox-content {
    max-height: 35vh;
    overflow-y: auto;
    padding: 1rem;
    font-size: 1rem;
  }

  /* Bouton X accessible */
  .lightbox-close {
    top: 12px;
    right: 12px;
    font-size: 2rem;
  }
}
/* Le hamburger doit rester cliquable même quand le menu est ouvert */
#menu-mobile.open + header .hamburger,
.hamburger {
  z-index: 100000;
  position: relative;
}

/* Le hamburger reste cliquable même quand le menu mobile est ouvert */
.hamburger {
  position: relative;
  z-index: 100001;
}

/* COMMANDITAIRES — uniformisation des logos */
.partners-grid a {
  width: 180px;
  height: 120px;
  padding: 10px;
  background: #111;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile : cases plus petites et mieux serrées */
@media (max-width: 600px) {
  .partners-grid {
    gap: 20px;
  }

  .partners-grid a {
    width: 140px;
    height: 90px;
    padding: 8px;
  }
}

/* ÉQUIPE — uniformisation des cartes */
.conseil-item {
  width: 200px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
  transition: transform .3s ease, opacity .3s ease;
}

/* Photos uniformes */
.conseil-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  opacity: 0.95;
}

/* Nom + rôle */
.conseil-item p {
  color: var(--blanc);
  text-align: center;
  padding: .8rem 0;
  font-size: 1rem;
  letter-spacing: .05em;
  min-height: 70px;
}

/* Mobile : cartes plus petites et mieux serrées */
@media (max-width: 600px) {
  .conseil-grid {
    gap: 20px;
  }

  .conseil-item {
    width: 160px;
  }

  .conseil-item img {
    height: 200px;
  }

  .conseil-item p {
    font-size: 0.9rem;
    min-height: 60px;
  }
}

/* Optimisation du header sur mobile */
@media (max-width: 900px) {
  header {
    backdrop-filter: none;
    background: rgba(0,0,0,0.92);
  }
}

#breadcrumb {
  display: none;
}

@media (max-width: 900px) {
  .header-actions.desktop-only {
    display: none !important;
  }
}

.infos-spectacle .btn-inline {
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  max-width: 220px;
}

@media (max-width: 768px) {
  .infos-spectacle {
    gap: 1.5rem;
  }

  .infos-spectacle p {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 900px) {
  .desktop-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

.cta-commandite {
  text-align: center;
  margin-top: 3rem;
}

.bloc-commandite {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bloc-commandite .texte-commandite {
  font-family: var(--font-titre);
  font-size: 2rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blanc);
  margin: 0;
  max-width: 800px; 
  text-align: center;
}

.bloc-commandite .btn-commandite {
  display: inline-block;
  font-size: 1.2rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  background: var(--rouge);
  border: 2px solid var(--rouge);
  color: var(--blanc);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: .25s ease;
}

.bloc-commandite .btn-commandite:hover {
  background: var(--blanc);
  color: var(--noir);
}

/* Mode paysage mobile — neutralisation totale du menu desktop */
@media (max-height: 500px) {

  nav,
  nav *,
  .header-actions,
  .desktop-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .hamburger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  header img {
    height: 60px !important;
  }
}

/* Cacher complètement le menu mobile en mode paysage */
@media (max-height: 500px) {

  /* Le hamburger reste visible */
  .hamburger {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

#menu-mobile a {
  color: var(--blanc);
  text-decoration: none;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  display: block;
  margin-bottom: 1.2rem;
  transition: color 0.2s ease;
}

#menu-mobile a:hover {
  color: var(--rouge);
}

header.hide-on-scroll {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transition-delay: 0.1s;
}










