/* =======================================
   GLOBAL SITE VARIABLES
   This is the central control panel for your website's design.
======================================== */

:root {
  /* FONTS (MODIFIÉ AVEC LA NOUVELLE TYPO) */
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Space Grotesk", sans-serif;

  /* -- Anciennes polices pour référence --
  --font-secondary: "Plus Jakarta Sans", sans-serif;   
  --font-secondary: "Clash Display", sans-serif; /* Police de caractère forte pour les titres et éléments d'impact */

  

  /* COLORS - "CLEAR SKY" LIGHT PALETTE */
  --primary-color: #f4f8fa;
  /* A clean, slightly cool off-white, hints of sky */
  --secondary-color: #ffffff;
  /* Pure white for cards, panels, and layered elements */

  /* COLORS - ACCENT (Based on your logo) */
  --accent-color: #6ec8f2;
  /* The exact blue from your logo */
  --accent-color-light: #c5e7f8;
  /* A lighter, softer version for hovers or subtle tints */

  /* COLORS - TEXT */
  --text-light: #2d3748;
  /* A strong, cool-toned dark slate for main text */
  --text-muted: #5c6f82;
  /* A softer, legible blue-gray for secondary text */
  --text-white: #ffffff;
  /* For text on dark/colored backgrounds (e.g., buttons) */

  /* SIZING & LAYOUT */
  --navbar-height: 74px;
  --border-color: rgba(45, 55, 72, 0.1);
  /* A subtle border derived from the text color */
  --font-size-body: 0.9rem;
  --border-radius-main: 12px;
  /* A clean, modern corner radius */

   color-scheme: light;

}

/* =======================================
   GLOBAL & BODY STYLES
======================================== */
body {
  font-family: var(--font-primary);
  overflow-x: hidden;
  background: var(--primary-color);
  color: var(--text-light);
  position: relative;
}

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

body::before {
  content: "";
  position: fixed;
  top: -20vh;
  left: -30vw;
  width: 120vw;
  height: 120vh;
  background: radial-gradient(ellipse at 70% 30%,
      rgba(159, 122, 234, 0.1),
      transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: aurora-glow 20s infinite alternate ease-in-out;
}

@keyframes aurora-glow {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(20deg) scale(1.2);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =======================================
   NAVIGATION BAR (MODIFICATIONS)
======================================== */
.navbar-custom {
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
}

.navbar-custom.scrolled {
  background-color: rgba(244, 248, 250, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-bottom-color: transparent;
}


.navbar-brand img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-family: var(--font-secondary);
  color: var(--text-muted) !important;
  font-weight: 500;
  /* Légèrement plus gras pour une meilleure lisibilité */
  position: relative;
  margin: 0 0.5rem;
  /* Un peu plus d'espace */
  font-size: var(--font-size-body);
  /* MODIFIÉ : Padding ajusté et suppression du border-radius */
  padding: 0.8rem 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: transparent;
  /* Pas de fond */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0;
  /* Suppression de l'effet pilule */
}

/* MODIFIÉ : On retire le background et on change la couleur du texte au survol */
.nav-link:hover,
.dropdown.show>.nav-link {
  color: var(--accent-color) !important;
  background-color: transparent;
  /* On s'assure qu'il n'y a pas de fond */
  transform: none;
}

/* MODIFIÉ : Création de l'animation de soulignement */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0.4rem;
  /* Positionnement de la ligne */
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
}

/* MODIFIÉ : Le soulignement apparaît au survol ou quand le menu est ouvert */
.nav-link:hover::after,
.dropdown.show>.nav-link::after {
  width: 100%;
}


/* MODIFIÉ : On masque la flèche Bootstrap */
.nav-link.dropdown-toggle::after {
  display: none;
}

/* MODIFIÉ : Création de la nouvelle flèche en CSS */
.nav-link.dropdown-toggle span::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-bottom: 2px solid var(--accent-color);
  border-right: 2px solid var(--accent-color);
  margin-left: 0.5rem;
  transform: rotate(45deg);
  /* Flèche pointant vers le bas */
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* MODIFIÉ : Rotation de la flèche au survol/ouverture */
.dropdown.show .nav-link.dropdown-toggle span::after,
.nav-link:hover.dropdown-toggle span::after {
  transform: rotate(225deg);
  /* Flèche pointant vers le haut */
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(169, 222, 249, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
  background-color: var(--primary-color);
  backdrop-filter: none;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 0.5rem;
  margin-top: 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 0.25s ease-out forwards;
}

.dropdown-item {
  font-family: var(--font-secondary);
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--accent-color);
  background-color: transparent;
  /* MODIFIÉ : Pas de couleur de fond au survol */
  transform: none;
}

.nav-link:focus,
.dropdown-toggle:focus {
  box-shadow: none;
}

/* =======================================
   HERO SECTIONS (SLIDER & VIDEO)
======================================== */

.hero-section,
.hero-video-section {
  position: relative;
  overflow: hidden;
  background-color: var(--primary-color);
}

.hero-section {
  height: 70vh;
}

.hero-video-section::after,
.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-video-section::after {
  z-index: 2;
}

.hero-slider,
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; 
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.hero-video {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  color: var(--text-white);
  width: 90%;
  max-width: 800px;
  z-index: 2;
  visibility: hidden;
}

.slide-content.active {
  visibility: visible;
}

.slide-title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  color: var(--text-white);
}

.slide-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text-white);
  opacity: 0.9;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 3;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
}

.nav-dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--accent-color);
}

.progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 3;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-color);
  width: 0%;
  transition: width 0.1s linear;
}

.slide-content.center {
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slide-content.top-left {
  text-align: left;
  top: 15%;
  left: 8%;
  transform: translate(0, 0);
  max-width: 550px;
}

.slide-content.top-right {
  text-align: right;
  top: 15%;
  right: 8%;
  left: auto;
  transform: translate(0, 0);
  max-width: 550px;
}

.slide-content.bottom-left {
  text-align: left;
  bottom: 15%;
  left: 8%;
  top: auto;
  transform: translate(0, 0);
  max-width: 550px;
}

.slide-content.bottom-right {
  text-align: right;
  bottom: 15%;
  right: 8%;
  top: auto;
  left: auto;
  transform: translate(0, 0);
  max-width: 550px;
}

.top-left .slide-subtitle,
.top-left .slide-btn {
  margin-left: 0;
  margin-right: auto;
}

.top-right .slide-subtitle,
.top-right .slide-btn {
  margin-left: auto;
  margin-right: 0;
}

.bottom-left .slide-subtitle,
.bottom-left .slide-btn {
  margin-left: 0;
  margin-right: auto;
}

.bottom-right .slide-subtitle,
.bottom-right .slide-btn {
  margin-left: auto;
  margin-right: 0;
}

/* =======================================
   SECTION INTRO (ACCUEIL)
======================================== */
.intro-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70vh - var(--navbar-height));
  padding: 2rem 1rem;
}

.intro-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.7rem;
}

.intro-text {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1;
}

/* =======================================
   FEATURE SECTIONS & BUTTONS
======================================== */
.feature-section {
  padding: 120px 0;
  overflow: hidden;
}

.slide-btn,
.btn-modern {
  display: inline-block;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

/* Règle renforcée pour le bouton du slider */
.hero-section .slide-btn {
  padding: 14px 35px;
  /* On force le fond et la bordure à prendre les bonnes valeurs */
  background-color: var(--accent-color) !important;
  border: none !important;
  
  color: var(--secondary-color) !important;
  text-transform: uppercase;
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(110, 200, 242, 0.4);
  margin-top: 100px;
}

.slide-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 35px rgba(110, 200, 242, 0.6);
  color: var(--secondary-color) !important;
}

.btn-modern {
  align-self: flex-start;
  padding: 14px 35px;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
  font-weight: 500;
}

.btn-modern:hover {
  background-color: var(--accent-color); /* CHANGEMENT ICI */
  color: var(--text-white);
  border-color: var(--accent-color); /* CHANGEMENT ICI */
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(110, 200, 242, 0.2);
}

/* =======================================
   FOOTER
======================================== */
.footer-modern {
  background-color: var(--secondary-color);
  color: var(--text-muted);
  padding: 100px 0 0;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 50%;
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(110, 200, 242, 0.05), transparent 60%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.footer-top,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-logo img {
  max-height: 50px;
  margin-bottom: 1.5rem;
}

.footer-slogan {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 350px;
}

.footer-modern h5 {
  font-family: var(--font-secondary);
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-modern ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-modern ul li {
  margin-bottom: 0.8rem;
}

.footer-modern ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-modern ul li a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logofooter{
  text-decoration: none;
}

.footer-contact li i {
  color: var(--accent-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
  text-decoration: none;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(110, 200, 242, 0.2);
}

.footer-bottom {
  padding: 1.5rem 0;
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.slide-text-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.slide-text-link:hover {
  color: inherit;
}

/* =======================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
======================================== */
/* =======================================
   RESPONSIVE DESIGN (MEDIA QUERIES) - NOUVEAU MENU MOBILE MODERNE
======================================== */
@media (max-width: 991.98px) {

  /* 1. L'OVERLAY PLEIN ÉCRAN */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1020;
    background-color: rgba(20, 22, 25, 0.98);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    display: flex;
    justify-content: center; /* Centre le conteneur des liens horizontalement */
    align-items: center;   /* Centre le conteneur des liens verticalement */

    opacity: 0;
    visibility: hidden;
    transform: scale(1.05); /* Petite animation de dézoom à l'ouverture */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  /* 2. LA LISTE DES LIENS (le conteneur) */
  .navbar-nav {
    width: 90%; /* Occupe 90% de la largeur de l'écran */
    max-width: 400px; /* Mais pas plus de 400px de large */
    text-align: left; /* Aligne le texte à gauche, comme sur votre image */
    flex-direction: column; /* Assure que les éléments sont empilés */
  }

  /* 3. LES LIENS DE NAVIGATION */
  .nav-link {
    color: var(--text-white) !important;
    font-size: clamp(1.4rem, 5vw, 1.8rem); /* Police légèrement plus fine et élégante */
    font-weight: 500; /* Moins gras pour un look plus sobre */
    padding: 0.8rem 0; /* Espacement vertical entre les liens */
    margin: 0.2rem 0;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Animation d'arrivée des liens quand le menu s'ouvre */
  .navbar-collapse.show .nav-link {
    opacity: 0.9;
    transform: translateX(0);
    transition-delay: calc(0.1s * var(--bs-nav-link-index, 1)); /* Animation en cascade */
  }

  .nav-link:hover,
  .dropdown.show > .nav-link {
    color: var(--accent-color) !important; /* Couleur au survol */
    opacity: 1;
    transform: translateX(5px) !important; /* Léger décalage au survol */
  }

  /* On cache les décorations inutiles sur mobile */
  .nav-link::after,
  .nav-link.dropdown-toggle span::after {
    display: none !important;
  }

  /* 4. LE MENU DÉROULANT et SES ÉLÉMENTS */
  .dropdown-menu {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.2rem 0 0.2rem 1.5rem; /* Indentation à gauche pour les sous-liens */
    margin: 0 !important;
    text-align: left;
    animation: none;
    display: block; /* On s'assure que le sous-menu est visible */
    position: static; /* Important pour l'intégration mobile */
  }

  .dropdown-item {
    color: var(--text-muted);
    font-size: 1rem; /* Plus petit pour marquer la hiérarchie */
    font-weight: 400;
    padding: 0.4rem 0;
    transition: color 0.3s ease;
  }

  .dropdown-item:hover {
    color: var(--accent-color-light);
    background: transparent;
  }

  /* 5. LE BOUTON BURGER/CROIX (plus visible et mieux animé) */
  .navbar-toggler {
    z-index: 1021; /* Doit être AU-DESSUS de l'overlay */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  }
  
  /* Icône burger plus foncée pour un meilleur contraste sur le fond clair */
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(45, 55, 72)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* Icône croix blanche sur fond sombre, comme sur l'image */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6l18 18M24 6L6 24'/%3e%3c/svg%3e");
  }
  
  .navbar-toggler[aria-expanded="true"] {
    transform: rotate(180deg);
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 65vh;
  }

  .intro-section {
    min-height: calc(100vh - 65vh - var(--navbar-height));
  }

  .intro-title {
    font-size: 1.3rem;
  }

  .intro-text {
    font-size: 0.9rem;
  }
}

/* ===================================================================
   STYLES SPÉCIFIQUES: PAGE THEATRE A DOMICILE
====================================================================== */

.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 5;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -20px);
  }

  60% {
    transform: translate(-50%, -10px);
  }
}

/* ===================================================================
   STYLE SPÉCIFIQUE : BLOC D'APPEL À L'ACTION (CTA)
====================================================================== */
#contact-cta.feature-section {
  background-color: transparent;
  padding: 80px 0;
}

#contact-cta .feature-content {
  background-color: var(--secondary-color);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-cta .feature-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

#contact-cta h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 1rem;
}

#contact-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto;
  line-height: 1.7;
}

#contact-cta .btn-modern {
  margin-top: 1.5rem;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 700;
}

/* ===================================================================
   SECTION TITRE DE PAGE
====================================================================== */

.page-title-section {
  background-color: var(--secondary-color);
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-title-section h1 {
  font-family: var(--font-secondary);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

/* ===================================================================
   NOUVEAU STYLE : BOUTON SON VIDÉO
====================================================================== */
#unmute-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  transition: all 0.2s ease-in-out;
}

#unmute-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

/* ===================================================================
   STYLES GÉNÉRIQUES POUR LES PAGES DE CONTENU
   (S'applique aux pages comme Théâtre à domicile, Spectacles écoles, etc.)
====================================================================== */

.content-page .hero-video-section {
  height: calc(100vh - var(--navbar-height) - 138px); /* 138px est une approximation de la hauteur du titre de page */
}

.content-page .scroll-down-indicator {
  bottom: 40px;
  font-size: 1.8rem;
  animation: bounce-subtle 2.5s infinite ease-in-out;
  text-decoration: none;
  padding: 10px;
}

.content-page .scroll-down-indicator:hover {
  color: white;
}

/* On s'assure que l'animation n'est pas redéfinie si elle existe déjà */
@keyframes bounce-subtle {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -15px); }
  60% { transform: translate(-50%, -7px); }
}

.content-page .feature-section {
  padding: 100px 0;
}

.content-page .feature-content h2 {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.content-page .feature-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 550px;
  margin-bottom: 2rem;
}

/* NOUVELLE VERSION AVEC EFFET "SOULIGNEMENT CINÉTIQUE" */
.content-page .highlight {
  position: relative; /* Indispensable pour positionner le pseudo-élément */
  color: var(--accent-color);
  font-weight: 700;
  /* On s'assure qu'il n'y a pas d'autres styles de fond ou de soulignement */
  background: none;
  text-decoration: none;
  padding-bottom: 5px; /* On ajoute un peu d'espace en bas pour le trait */
  /* C'est facultatif, mais ça empêche la ligne de déborder sur les côtés */
  background-clip: padding-box; 
  -webkit-background-clip: padding-box; 
}

/* La ligne magique elle-même (le trait) */
.content-page .highlight::after {
  content: '';
  position: absolute;
  bottom: 0; /* Positionne le trait tout en bas du padding */
  left: 0;
  width: 100%;
  height: 3px; /* Une épaisseur élégante et visible */
  background-color: var(--accent-color);

  /* L'animation : le trait est invisible au départ... */
  transform: scaleX(0);
  transform-origin: left; /* ...il grandira depuis la gauche... */
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* ...avec une transition douce */
}

/* Au survol du mot, le trait apparaît */
.content-page .highlight:hover::after {
  transform: scaleX(1); /* Le trait prend toute sa largeur */
}

.content-page .feature-list {
  list-style: none;
  padding-left: 0;
}

.content-page .feature-list li {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.content-page .feature-list i {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 1.2rem;
  width: 25px;
  text-align: center;
}

.content-page .feature-image {
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  width: 100%;
  height: 500px; /* Hauteur fixe comme demandé précédemment */
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-page .feature-image:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

.content-page .unmute-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  transition: all 0.2s ease-in-out;
}

.content-page .unmute-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

/* ===================================================================
   STYLE AJOUTÉ POUR LE FOOTER
====================================================================== */

.footer-credit-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--accent-color-light);
  transition: color 0.3s ease;
}

.footer-credit-link:hover {
  color: var(--accent-color);
}

.footer-bce {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================================
   STYLE SPÉCIFIQUE : MODALE "ARNAUD MARTINY" (TRES MODERNE)
====================================================================== */

/* L'arrière-plan flouté quand la modale est ouverte */
.modal-backdrop.show {
  opacity: 0.5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* On s'assure que l'animation est fluide */
#arnaudMartinyModal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: scale(0.9) translateY(-20px);
}

#arnaudMartinyModal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Le conteneur principal de la modale */
.arnaud-martiny-modal {
  background-color: var(--primary-color);
  border-radius: 16px; /* Bords plus arrondis */
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  padding: 2rem 1.5rem;
  max-width: 450px; /* Taille fixe pour le look "20%" sur desktop */
  margin: auto;
  position: relative;
  overflow: hidden;
}

/* Le bouton de fermeture personnalisé */
.btn-close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(45, 55, 72, 0.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s ease-in-out;
}

.btn-close-modal:hover {
  background-color: var(--accent-color-light);
  color: var(--text-light);
  transform: rotate(90deg);
}

/* La photo de profil */
.modal-profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Les textes */
.modal-title-name {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.modal-subtitle-job {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.modal-presentation {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 90%;
  margin: 0 auto 2rem auto;
}

/* Les liens sociaux */
.modal-social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.modal-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid transparent;
  background-color: rgba(45, 55, 72, 0.05);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}

.footer-contact a {
  text-decoration: none;
}

.modal-social-links a:hover {
  background-color: var(--accent-color);
  color: var(--text-white);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(110, 200, 242, 0.3);
}

/* ===================================================================
   AMÉLIORATIONS RESPONSIVES & CORRECTIONS MOBILES
   (À ajouter à la fin de style.css)
====================================================================== */

/* --- Ajustements Généraux pour tablettes et mobiles --- */
@media (max-width: 767.98px) {

  /* Section Intro plus compacte */
  .intro-section {
    min-height: auto; /* Hauteur flexible */
    padding: 3rem 1rem;
  }

  /* Footer plus aéré et centré sur mobile */
  .footer-modern {
    padding-top: 60px; /* Moins d'espace en haut */
    margin-top: 60px;
    text-align: center; /* Centre le texte des colonnes */
  }

  /* Centre le logo et le slogan du footer */
  .footer-modern .col-lg-5.col-md-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-modern .social-links {
    justify-content: center; /* Centre les icônes sociales */
  }
  
  .footer-modern h5 {
    margin-top: 2rem; /* Espace avant chaque titre de liste */
    margin-bottom: 1rem;
  }

  /* Aligne le texte des listes au centre */
  .footer-modern ul {
    text-align: center;
  }
  .footer-modern ul li a:hover {
    transform: none; /* Désactive le décalage au survol sur mobile */
  }

  /* Centre les infos de contact */
  .footer-contact li {
    justify-content: center;
  }
}


/* --- Amélioration du Hero pour très petits écrans --- */
@media (max-width: 480px) {

  .hero-section {
    height: 70vh; /* Un peu plus de hauteur pour la lisibilité */
  }

  .slide-content {
    /* Moins de marge sur les côtés pour ne pas être coupé */
    padding: 0 5%; 
    width: 90%;
  }

  .slide-title {
    /* Taille de police qui s'adapte mieux aux petits écrans */
    font-size: clamp(1.8rem, 8vw, 2.2rem); 
  }

  .slide-btn {
    padding: 12px 28px; /* Bouton légèrement plus petit */
    font-size: 0.8rem;
  }

  /* Cache les points de navigation sur les très petits écrans pour gagner de la place */
  .slider-nav {
    display: none;
  }
}


/* --- Responsive pour la Modale "Arnaud Martiny" --- */
@media (max-width: 576px) {
  .arnaud-martiny-modal {
    /* La modale prend presque toute la largeur avec une petite marge */
    max-width: 92vw; 
    padding: 1.5rem 1rem;
  }

  .modal-profile-pic {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }

  .modal-title-name {
    font-size: 1.5rem;
  }

  .modal-presentation {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .modal-social-links a {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* ===================================================================
   AJOUT : STYLE POUR LE SOUS-TITRE SECONDAIRE
====================================================================== */

.page-subtitle-secondary {
  font-size: 1rem; /* Taille légèrement plus petite que le sous-titre principal (.lead) */
  color: var(--text-muted); /* Utilise la couleur de texte secondaire (gris plus doux) */
  margin-top: 0.5rem; /* Un peu d'espace entre les deux sous-titres */
  font-style: italic; /* Optionnel : pour le distinguer visuellement */
  
  /* Pour s'assurer qu'il reste centré et pas trop large */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================================
   PAGE CONTACT "WAW"
====================================================================== */

.contact-section-wow {
  padding: 80px 0;
}

.contact-wrapper {
  background-color: var(--secondary-color);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(45, 55, 72, 0.15);
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Colonne de gauche plus petite */
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* --- PARTIE GAUCHE : INFOS --- */

.contact-info {
  padding: clamp(2rem, 5vw, 4rem);
  background-color: var(--accent-color); /* CHANGEMENT ICI */
  color: var(--text-white);
}

.contact-info h2 {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-details i {
  font-size: 1.2rem;
  width: 30px;
  opacity: 0.8;
  margin-right: 15px;
}

.contact-details a, .contact-details span {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.contact-details a:hover {
  opacity: 0.8;
}

.contact-info h3 {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.social-links-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.social-links-contact a:hover {
  background-color: var(--text-white);
  color: var(--accent-color);
  transform: translateY(-3px);
}


/* --- PARTIE DROITE : FORMULAIRE --- */

.contact-form {
  padding: clamp(2rem, 5vw, 4rem);
}

.contact-form h2 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

/* La magie des labels flottants */
.form-floating-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-floating-group input,
.form-floating-group textarea {
  width: 100%;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--text-light);
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--border-color);
  outline: none;
  position: relative;
  z-index: 1;
}

.form-floating-group textarea {
  resize: vertical;
}

.form-floating-group label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s ease-in-out;
  z-index: 0;
}

.form-floating-group input:focus,
.form-floating-group textarea:focus {
  border-bottom-color: var(--accent-color);
}

.form-floating-group input:focus + label,
.form-floating-group input:not(:placeholder-shown) + label,
.form-floating-group textarea:focus + label,
.form-floating-group textarea:not(:placeholder-shown) + label {
  top: -16px;
  left: 0;
  font-size: 0.8rem;
  color: var(--accent-color);
}

.btn-modern-submit {
  display: inline-block;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  padding: 16px 40px;
  background: var(--accent-color);
  border: none;
  color: var(--secondary-color) !important;
  font-family: var(--font-secondary);
  font-size: 1rem;
  box-shadow: 0 10px 20px rgba(110, 200, 242, 0.3);
  cursor: pointer;
  width: 100%;
}

.btn-modern-submit:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(110, 200, 242, 0.4);
}


/* --- RESPONSIVE POUR LA PAGE CONTACT --- */
@media (max-width: 991.98px) {
  .contact-wrapper {
    grid-template-columns: 1fr; /* Les colonnes se superposent */
  }
}

/* ===================================================================
   NOUVEAU : STYLE FICHE LOGISTIQUE (DESIGN PROFESSIONNEL)
====================================================================== */

.logistics-section-pro {
  padding: 100px 0;
  background-color: var(--primary-color); /* Un fond légèrement différent pour faire ressortir la carte */
}

.logistics-section-pro .container {
  max-width: 960px; /* On contrôle la largeur pour un look plus maîtrisé */
}

.logistics-title-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.logistics-title-wrapper h2 {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-light);
}

.logistics-title-wrapper p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.5rem auto 0 auto;
}

.logistics-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 15px 40px rgba(45, 55, 72, 0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem 2rem; /* Plus d'espace entre les éléments */
}

.logistics-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.logistics-item .icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--accent-color-light);
  color: var(--accent-color);
  font-size: 1.5rem;
}

.logistics-item .text-wrapper h5 {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0 0 0.25rem 0;
}

.logistics-item .text-wrapper p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================================================
   NOUVEAU : STYLE POUR LA SECTION AVIS (PROFESSEURS & ÉLÈVES)
====================================================================== */

.testimonials-section {
  padding: 100px 0;
  background-color: var(--primary-color);
}

.testimonials-section .section-title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1rem;
}

.testimonials-section .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-main);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(45, 55, 72, 0.1);
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--accent-color-light);
  margin-bottom: 1rem;
}

.testimonial-card .testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Pousse l'auteur vers le bas pour un alignement parfait */
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.testimonial-author .author-info h5 {
  margin: 0;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-light);
}

.testimonial-author .author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-color);
}

/* ===================================================================
   NOUVEAU : STYLE FICHE TECHNIQUE (APPROCHE DOCUMENTAIRE)
====================================================================== */

.tech-sheet-section {
  padding: 100px 0;
  background-color: var(--primary-color);
}

.tech-sheet-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 12px; /* Bords moins arrondis pour un look plus strict */
  box-shadow: 0 10px 30px rgba(45, 55, 72, 0.07);
  overflow: hidden; /* Important pour que les bords arrondis s'appliquent */
}

.tech-sheet-header {
  padding: 1.5rem 2rem;
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
}

.tech-sheet-header h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

.tech-sheet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-sheet-item {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.tech-sheet-item:last-child {
  border-bottom: none;
}

.tech-sheet-item:hover {
  background-color: #f8fbfd; /* Légère coloration au survol pour l'interactivité */
}

.tech-sheet-label {
  display: flex;
  align-items: center;
  flex-basis: 35%; /* Largeur fixe pour la colonne de gauche */
  flex-shrink: 0;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-sheet-label i {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-right: 1rem;
  width: 20px; /* Alignement parfait des icônes */
}

.tech-sheet-details {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.tech-sheet-footer {
  padding: 1.5rem 2rem;
  background-color: var(--primary-color);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.tech-sheet-footer p {
  margin: 0;
  color: var(--text-muted);
}
.tech-sheet-footer a {
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

.team-section {
      padding: 4rem 0;
      background-color: var(--background-color);
    }

    .team-section h2 {
      text-align: center;
      margin-bottom: 3rem;
    }

    .team-card {
      background-color: var(--secondary-color);
      border-radius: 12px;
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid var(--border-color);
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .team-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .team-card-img {
      background-color: var(--primary-color-dark);
      padding: 3rem 1rem;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 180px; /* Hauteur fixe pour l'alignement */
    }

    .team-card-img .fa-user {
      font-size: 5rem;
      color: var(--accent-color);
      opacity: 0.8;
    }

    .team-card-body {
      padding: 1.5rem;
      flex-grow: 1; /* Permet au body de prendre l'espace restant */
    }

    .team-card-title {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--text-light);
      margin-bottom: 0.25rem;
    }

    .team-card-role {
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      color: var(--accent-color);
      margin-bottom: 1rem;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .team-card-text {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ===================================================================
   NOUVEAU : STYLE PAGE "SOUTENEZ-NOUS"
====================================================================== */

.support-box {
  background-color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-main);
  padding: 2.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(45, 55, 72, 0.1);
}

.support-box-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.support-box h3 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.support-box p {
  color: var(--text-muted);
  flex-grow: 1; /* Pousse le bouton ou les détails vers le bas */
}

.donation-details {
  background-color: var(--secondary-color);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
  text-align: left;
  font-family: monospace;
  font-size: 0.95rem;
  width: 100%;
  line-height: 1.6;
}

/* =======================================
   FOOTER - STYLE DE L'ICÔNE CŒUR
   (Remplace le style en ligne)
======================================== */
.footer-bottom .fa-heart {
  color: var(--accent-color-light);
}

/* ===================================================================
   SYSTÈME VIDÉO FINAL v2 (Curseur vertical stable style YouTube)
====================================================================== */

/* 1. Conteneur principal de la vidéo */
.hero-video-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85%;
  max-width: 1400px;
  margin: 3rem auto;
  max-height: 75vh;
  position: relative;
  padding: 0;
  background-color: transparent;
}

.hero-video-section::after {
  background: none !important;
}

/* 2. Style de la vidéo */
.hero-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* 3. Conteneur global du contrôle de volume (MODIFIÉ) */
.unmute-button {
  position: absolute;
  bottom: 5px; /* Ajusté pour la nouvelle zone de survol */
  right: 5px;
  z-index: 10;
  /* ASTUCE UX : Ajoute une zone invisible de 10px tout autour du bouton */
  /* pour rendre le survol beaucoup plus facile sans changer le visuel. */
  padding: 10px;
}

/* 4. L'icône du volume (partie visible) (MODIFIÉ) */
.volume-icon-wrapper {
  /* MODIFICATION COULEUR : On utilise une couleur du thème (texte principal) avec transparence */
  /*background-color: rgba(45, 55, 72, 0.8);  --text-light avec 80% d'opacité */
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background-color 0.2s ease;
}

/* 5. Conteneur de la barre de volume (MODIFIÉ) */
.volume-slider-container {
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-bottom: 10px;
  /* MODIFICATION COULEUR : Même couleur que l'icône pour un look unifié */
  background-color: rgba(45, 55, 72, 0.8);
  border-radius: 10px;
  padding: 12px 8px;
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 6. Apparition au survol (la logique reste identique) */
.unmute-button:hover .volume-slider-container {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* 7. La barre de volume verticale (MODIFIÉ) */
.volume-slider {
  width: 6px; /* Légèrement plus épais */
  height: 70px;
  /* MODIFICATION COULEUR : On utilise une couleur d'accentuation claire pour le fond */
  background-color: var(--accent-color-light);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

/* 8. La progression du volume (MODIFIÉ) */
.volume-progress {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* MODIFICATION COULEUR : La couleur principale d'accentuation pour la progression */
  background-color: var(--accent-color);
  border-radius: 3px;
  pointer-events: none;
}

/* 9. Le curseur (la boule) (MODIFIÉ) */
.volume-thumb {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
   /* MODIFICATION COULEUR : La couleur d'accentuation pour le curseur */
  background-color: var(--accent-color);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
   /* Ajout d'une ombre pour mieux le voir */
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* On cache l'indicateur de scroll */
.hero-video-section .scroll-down-indicator {
  display: none;
}

/* ===================================================================
   BOUTON SPÉCIFIQUE AU CARROUSEL (AVEC HOVER MODERNE)
====================================================================== */

.slide-btn-hero {
  display: inline-block;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 35px;
  background-color: var(--accent-color); /* Fond bleu */
  color: var(--secondary-color); /* Texte blanc */
  text-transform: uppercase;
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  margin-top: 100px;
  
  /* On prépare une bordure invisible pour éviter un saut de layout au survol */
  border: 2px solid transparent; 
  
  /* C'est ici qu'on définit la fluidité de l'animation */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

/* L'effet de survol moderne */
.slide-btn-hero:hover {
  background-color: transparent;        /* Le fond devient transparent */
  color: var(--accent-color);             /* Le texte prend la couleur bleue */
  border-color: var(--accent-color);      /* La bordure bleue apparaît */
  transform: translateY(-3px);            /* Léger mouvement vers le haut */
}

