/* =====================================================
   RESET & BASE
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* =====================================================
   HEADER & NAV
===================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background-color: oklch(58.338% 0.13229 247.633);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
   
}

.logo img {
    height: 75px;
}

/* NAVIGATION */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    font-size: 1.1rem;
   
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
     font-weight: 300;
}

nav ul li a:hover {
    color: #bf0505;
}

/* Hamburger Menu */
/* ===== Hamburger Menu ===== */
.hamburger {
  display: none; /* caché sur desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 7px;
  transition: transform 0.3s ease;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animation quand on clique */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Rendre visible sur mobile */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }
}



/* =====================================================
   HERO SECTION
===================================================== */
/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2.7s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
}

/* Texte du hero */
.hero-text {
  position: absolute;
  top: 65%;
  left: 40%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 21x;
  border-radius: 10px;
  max-width: 100%;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 0.8rem;
}

.hero-button {
  display: inline-block;
  margin-top: 15px; /* espace entre le texte et le bouton */
  background: white;
  color: rgb(96, 0, 0);
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgb(96, 0, 0);
  border-radius: 40px;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: rgb(96, 0, 0);
  color: white;
}

@media (max-width: 600px) {
  .hero {
    height: 60vh; /* un peu plus petit que le plein écran */
  }

  .hero-text h1 {
    font-size: 2rem; /* Réduit le titre */
    margin-bottom: 4px;
  }

  .hero-text p {
    font-size: 1rem; /* Réduit le paragraphe */
    margin-bottom: 15px;
  }

  .hero-text .btn {
    padding: 10px 20px;
    font-size: 0.5rem;
  }
}

/* --- Pour les tablettes --- */
@media (min-width: 601px) and (max-width: 1024px) {
  .hero {
    height: 90vh;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text p {
    font-size: 1.4rem;
  }

  .hero-text .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}


.herop {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
}

.herop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(40%); /* assombrit un peu pour mieux lire le texte */
}

.herop-text {
    position: absolute;
    top: 70%;
    left: 17%;
    transform: translateY(-50%);
    text-align: left;
    color: hsl(0, 0%, 100%);
    
}

.herop-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 25px;
    border-radius: 8px;
}
@media (max-width: 768px) { /* mobile */
  .herop {
    height: auto;
  }

  .herop img {
    height: 180px;
    object-fit: cover;
    object-position: center;
    filter: brightness(40%);
  }

  .herop-text {
    position: static;
    transform: none;
    margin: 2px 20px; /* réduit l'espace autour du texte */
    text-align: left;
  }

  .herop-text h1 {
    background: none;
    padding: 0;
    margin: 0;       /* supprime la marge par défaut du h1 */
    font-size: 1.8rem;
    color: hsl(194, 100%, 29%);
  }
  
}



/* =====================================================
   SECTION CONTENT
===================================================== */
.section-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-content h1 {
    color: oklch(58.338% 0.13229 247.633);
    margin-bottom: 20px;
    text-align: start;
    font-size: 2.5rem;
}

.section-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.images-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.images-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
     transition: transform 0.3s ease, filter 0.3s ease; /* transition fluide */
   
     
}
.images-section img:hover {
    transform: scale(1.05); /* zoom léger */
    filter: brightness(110%); /* un peu plus lumineux au survol */}

    


/* =====================================================
   FOOTER
===================================================== */
footer {
    background-color: oklch(58.338% 0.13229 247.633);
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
}

footer .socials a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

footer .socials a:hover {
    color: #bf0505;
}

.social-icons img {
    height: 50px;
    width: 50px;
}

/* =====================================================
   DROPDOWN MENU (Desktop)
===================================================== */
.nav-links > li {
    position: relative;
}

.submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.submenu a {
    color: oklch(58.338% 0.13229 247.633);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 200;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background: oklch(58.338% 0.13229 247.633 / 0.1);
    color: #bf0505;
    border-left: 3px solid #bf0505;
    transform: translateX(3px);
}

/* Hover desktop */
.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:not(:hover) .submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

/* =====================================================
   RESPONSIVE (Mobile & Tablet)
===================================================== */
@media (max-width: 992px) {
  nav ul.nav-links {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh; /* occupe tout l’écran */
    background-color: oklch(58.338% 0.13229 247.633);
    padding: 80px 30px;
    overflow-y: auto;
    transition: transform 0.4s ease-in-out;
    transform: translateY(-100%); /* caché au départ */
    z-index: 999;
  }

  nav ul.show {
    display: flex;
    transform: translateY(0); /* descend */
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001; /* au-dessus du menu */
  }

  .menu-text {
    z-index: 1001;
  }

  .nav-links > li {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .nav-links  {
    font-size: 1rem;
    color:oklch(58.338% 0.13229 247.633);
    font-weight: 500;
  }

  /* Sous-menus visibles dès l’ouverture */
  .submenu {
    background: white;
    padding-left: 20px;
    max-height: none;
    display: block;
    opacity: 0.4;
  }

  .submenu a {
    font-size: 1.1rem;
    color: oklch(58.338% 0.13229 247.633);;
  }

  .submenu a:hover {
    color: #fff;
  }

  /* Supprimer les + */
  .dropdown-toggle {
    display: none;
  }
}


/* ======= TEXTE "MENU" SOUS LE HAMBURGER ======= */
.menu-text {
    display: none; /* caché par défaut */
}

/* Afficher uniquement sur mobile */
@media (max-width: 992px) {
    .menu-text {
        display: block;
        color: white;
        text-align: center;
        font-weight: 500;
        font-size: 0.6rem;
        margin-top: 2px;
        letter-spacing: 1px;
    
    }
}

/* Cacher sur PC */
@media (min-width: 993px) {
    .menu-text {
        display: none;
    }
}


/* ====== LOGO + TEXTE ENSEMBLE ====== */
.brand {
  display: flex;
  align-items: center;
  gap: 6px; /* ↓ Réduit l'espace entre le logo et le texte */
}

.logo img {
  height: 75px; /* ajuste si besoin */
  display: block;
}

/* ====== TITRE À CÔTÉ DU LOGO ====== */
.site-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Barre de séparation blanche */
.site-title .divider {
  width: 2px;
  height: 40px;
  background-color: white;
}

/* Texte */
.site-title span strong {
  font-weight: 700;
}

/* Adaptation mobile */
@media (max-width: 768px) {
  .site-title {
    display: flex;
    gap: 6px;
    font-size: 0.6rem;
  }
}

/* --- SECTION PARTENAIRES --- */
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.partners-logos a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partners-logos img {
  width: 260px; /* taille d’un logo standard */
  height: auto;
  filter: grayscale(30%); /* un peu désaturé, style pro */
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.partners-logos a:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Version mobile (plus petit + en colonne) --- */
@media (max-width: 768px) {
  .partners-logos {
    flex-direction: column;
    gap: 20px;
  }

  .partners-logos img {
    width: 100px;
  }
}

/* Cacher le "+" sur PC */
@media (min-width: 993px) {
  .dropdown-toggle {
    display: none !important;
  }
}

/* Afficher le "+" sur mobile */
@media (max-width: 992px) {
  .dropdown-toggle {
    display: none !important;
  }
}




.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f4f6f8; /* léger gris clair */
}

.contact-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.contact-card h1 {
    font-size: 2rem;
    color: oklch(58.338% 0.13229 247.633);
    margin-bottom: 25px;
}

.contact-card p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-card a {
    color: oklch(58.338% 0.13229 247.633);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
}

.contact-card a:hover {
    color: #bf0505;
    transform: scale(1.05);
}

