
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
  transition: top 0.4s ease-in-out;

  
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  

}
.header.hidden {
  top: -120px; /* cache la navbar en dehors de l’écran */
  position: relative;
}
.header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
    width: 100%; /* 🔥 s'étend sur tout l’écran */
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: 120px;

}
.nav-left,
.nav-right {
  display: flex;
  gap: 30px;
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #000000;
  font-size: 16px;
  transition: color 0.3s ease;
  line-height: 130px;
}

.nav-left a::before,
.nav-right a::before {
  content: "";
  right: auto;
  bottom: auto;
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 12px;
  background-color: #8b4513;
  top: 50%;
  margin-top: 16px;
  transform: translate(-50%, 10px); /* commence plus bas */
  opacity: 0;
  transition: all 300ms linear 0ms;
}

.nav-left a:hover::before,
.nav-right a:hover::before {
  opacity: 1;
  transform: translate(-50%, 0); /* remonte en place */
}

.logo {
  text-align: center;
}

.logo img {
  max-height: 100px;
}
body.has-fixed-navbar {
  padding-top: 120px; /* correspond à la hauteur approx. de la navbar */
}
/* Hero section */

/* HERO SECTION */
.hero {
  width: 100%;
  height: 80vh;
  margin-top: 8px;

}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex !important; /* écrase le display:block de Swiper */
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

/* Image côté gauche */
.slide-image {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Texte côté droit */
.slide-content {
  flex: 1;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10%;
  top: 100px;
  max-width: 50%;
}

.slide-content h2 {
    font-family: 'Roboto', sans-serif;

  font-weight: 800;
  font-size: 30px;
  color: #c48352; /* couleur texte */
}

/* Forcer la pagination */
.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: #999999 !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
  background: #666666 !important; /* marron actif */
}

/* À propos de la section */
.about {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.about h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.about-block {
  display: flex;
  align-items: flex-start; /* 🔥 Aligne le texte en haut, au même niveau que l’image */
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
}

.about-block.reverse {
  flex-direction: row-reverse;
  
}

.about-text {
  flex: 1;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
}

.about-img {
  flex: 1;
}

.about-img img {
  width: 100%;

  display: block;
}

/* Les realisationq */

.realisations {
  padding: 100px 20px;
  background-color: #60351c;
}

.realisations h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  color: #ffffff;
}

.grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.item {
  color: #333;
  text-align: center;
}

.item img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  display: block;
}

.caption {
  padding: 10px 15px;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.8;
}

/* Swiper dans .item (réalisations) */
.item .real-swiper {
  width: 100%;
  height: 370px;
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 10px;
  overflow: hidden;
}
.item .real-swiper .swiper-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #fff;
}
.item .real-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.item .real-swiper .swiper-button-next,
.item .real-swiper .swiper-button-prev {
  color: #c98c5c;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
  top: 50%;
  transform: translateY(-50%);
}
.item .real-swiper .swiper-button-next {
  right: 8px;
}
.item .real-swiper .swiper-button-prev {
  left: 8px;
}
.item .real-swiper .swiper-button-next:after,
.item .real-swiper .swiper-button-prev:after {
  font-size: 20px;
}
@media (max-width: 900px) {
  .item .real-swiper {
    height: 220px;
  }
}



/* Les medias */

.medias {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.medias h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: 'Roboto', sans-serif;

}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
  align-items: start;
}

.media-item {
  text-align: center;
}

.media-item p {
 margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.media-item img {
  max-width: 100%;
  box-shadow: none;
  height: auto;
}
.media-item a {
  display: inline-block;
  
  margin-bottom: 30px;
  text-decoration: none;
  color: #22ced7;
  transition: color 0.3s ease;
}

.media-item a:hover {
  color: #0000ff;
}

.media-item .download-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 24px;
  background-color: #22ced7;
  color: #ffffff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.media-item .download-btn:hover {
  background-color: #1ab3bb;
  color: #ffffff;
}

/* Partenaires */
.partenaire {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

.partenaire h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: 'Roboto', sans-serif;

}
.partenaire-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.partenaire-container p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
  color: #383838;
}
.partenaire-container a {
  color: #22ced7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.partenaire-container a:hover {
  color: #0000ff;
}

/* Nous rejoindre */
.join {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

.join h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;

}

.join strong {
  display: block;
  margin-bottom: 50px;
  font-size: 32px;
  color: #8b4513;
  text-align: center;
  font-weight: 500;
}

.join img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.join p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
  color: #383838;
  text-align: left;
}

.join-1 a {
  color: #22ced7;
  text-decoration: none;
  transition: color 0.3s ease;
}
.join-1 a:hover {
  color: #0000ff;
}
.join .join-1 {
  border-bottom: 2px solid #000000;
}
.join-picture {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin: 32px 0;
}
.join-picture img {
  width: 380px;
  height: 400px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: rgb(0 0 0 / 5%) 0px 6px 24px 0px, rgb(0 0 0 / 8%) 0px 0px 0px 1px;
  background: #ffffff;
  margin: 10px;
  transition: transform 0.2s;
  padding: 35px 40px 49px;
}
.join-3 {
  border-bottom: 2px solid #000000;

}

.join-2 span {
  font-weight: bold;
}
.join-3 span {
  font-weight: bold;
}
.join-3 p {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  font-family: 'roboto', sans-serif;
}

.join .join-4 h2{
  margin-top: 50px;
  font-family: 'Roboto', sans-serif;

}

.join-4 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
}

.join-4 h2 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 40px;
  font-size: 1.8rem;
  color: #222;
}

.don-grid {
    display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
  grid-template-rows: repeat(2, auto); /* 2 lignes automatiques */
  gap: 25px;
}

.don-item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
  
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s;
      padding: 35px 40px 49px;
}

.don-item:hover {
  transform: translateY(-5px);
}

.don-item img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  background-repeat: no-repeat;
}

.don-item p {
 
  font-size: 20px;
  color: #444;
  flex-grow: 1;
  margin-top: 0;
  line-height: 1.4;
  font-weight: 400;
}
footer{
  background-color: #8B4513;
  width: 100%;
  display: flex;
  align-content:flex-start ;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 90px 90px 90px 15px;
  margin: 0 auto;
}

footer span {
  margin:0 50px ;
  font-size: 22px;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  text-align: center;
}

/* RESPONSIVITE */
/* Structure de base */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0px;
 
}

/* Logo à gauche */
.logo img {
  max-height: 100px;
}

/* Menus desktop (gauche et droite) visibles par défaut */
.nav-left, .nav-right {
  display: flex;
  gap: 30px;
}

.nav-left a, .nav-right a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #000000;
  font-size: 16px;
  position: relative;
  line-height: 100px; /* alignement vertical */
}

/* Burger toggle caché sur desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1100;
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  display: block;
  width: 25px;
  height: 3px;
  background-color: #000000;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  position: absolute;
}

.nav-toggle .hamburger::before {
  top: -8px;
}

.nav-toggle .hamburger::after {
  top: 8px;
}

/* Menu mobile caché à gauche */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: #fefefe;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
  transition: left 0.35s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  padding: 60px 20px 20px;
  gap: 20px;
}

.mobile-link {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #000000;
  text-decoration: none;
  padding-bottom: 8px;
}

.mobile-link:hover {
  color: #c48352;
  border-bottom-color: #c48352;
  transition: all 0.3s ease;
}
.nav-toggle.open .hamburger {
  background-color: transparent;
}
.nav-toggle.open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav-toggle.open .hamburger::before,
.nav-toggle.open .hamburger::after {
  background-color: #000000;
}
.mobile-menu  .logo{
  padding: 20px;
  text-align: center;
}
/* -------- Responsivité --------- */

/* < 768px : cacher menus desktop, afficher toggle hamburger */
@media (max-width: 767px) {
  .nav-left,
  .nav-right {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  /* Logo réduit sur mobile */
  .logo img {
    max-height: 60px;
  }
  .join {
    display: flex;
    flex-direction: column;
  }
  .don-grid {
    display: flex;
    flex-direction: column;
  }
}

/* Entre 768px et 900px: afficher logo et nav gauche uniquement, toggle visible */
@media (min-width: 768px) and (max-width: 900px) {
  .nav-right {
    display: none;
  }
  .nav-left {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .logo img {
    max-height: 75px;
  }

}

/* Entre 900px et 1180px: afficher logo, nav gauche et droite, caché toggle */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav-left,
  .nav-right,
  .logo {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .logo img {
    max-height: 85px;
  }
}

/* > 1180px: affichage full desktop normal */
@media (min-width: 1181px) {
  .nav-left,
  .nav-right,
  .logo {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .logo img {
    max-height: 100px;
  }
}

@media (max-width: 767px) {

  .slide-content {
    max-width: 80%;
    padding: 20px;
    right: 5%;
    top: 200px;
    position: absolute;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .about-block {
    flex-direction: column !important;
    margin-top: 20px !important;
  }

  .about-text, .about-img {
    width: 100%;
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    max-width: 90vw;
    margin: 0 auto;
  }

  .item img {
    height: auto !important;
    max-height: 200px;
    object-fit: cover;
  }

  .caption {
    font-size: 14px !important;
  }

  .media-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .partenaire-container {
    flex-direction: column !important;
    gap: 15px;
  }

  .join-picture {
    flex-direction: column;
    gap: 20px;
  }

  .join-picture img {
    width: 100%;
    height: auto;
  }

  .join h2,
  .partenaire h2,
  .medias h2 {
    font-size: 22px;
  }
footer {
    width: 100%;
    padding: 20px;
  }
  footer span {
    font-size: 16px;
    margin: 15px;
    text-align: center;
  }
}


@media (min-width: 768px) and (max-width: 900px) {
  .slide-content{
    max-width: 80%;
    padding: 20px;
    right: 5%;
    top: 200px;
    position: absolute;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .about-block {
    flex-direction: row !important;
    gap: 25px;
    margin-top: 60px !important;
  }

  .about-text {
    font-size: 16px;
  }

  .about-img img {
    max-height: 300px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 95%;
    margin: 30px auto;
  }

  .item img {
    height: 300px;
  }

  .caption {
    font-size: 15px;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
.partenaire p {
    font-size: 18px;
  }
  .partenaire-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    
  }

  .join-picture {
    flex-direction: column;
    gap: 30px;
  }
   .join-picture img {
    width: 100%;
    height: auto;
  }
footer {
    width: 100%;
    padding: 20px;
  }
  footer span {
    font-size: 18px;
    margin: 20px 40px;
  }
}


@media (min-width: 901px) and (max-width: 1180px) {
 .slide-content{
    max-width: 60%;
    padding: 30px;
    right: 5%;
    top: 150px;
    position: absolute;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .about-block {
    flex-direction: row !important;
    gap: 35px;
    margin-top: 80px !important;
  }

  .about-text {
    font-size: 17px;
  }

  .about-img img {
    max-height: 400px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 50px auto;
  }

  .item img {
    height: 350px;
  }

  .caption {
    font-size: 16px;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
.partenaire p {
    font-size: 18px;
  }
  .partenaire-container {
    flex-direction: column;
  }

  .join-picture {
    flex-direction: row;
    gap: 5px;
    
  }
  footer {
    width: 100%;
    padding: 20px;
  }
  footer span {
    font-size: 20px;
    margin: 20px 60px;
  }
}

