/* =========================
   RESET & VARIABLES
========================= */
:root{
  --bg: #f6f8f5;
  --white: #ffffff;
  --green: #4d7c5a;
  --green-dark: #35533e;
  --green-light: #6ea07d;

  --text: #2c2c2c;
  --text-light: #6e6e6e;

  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 22px;

  --transition: 0.4s ease;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family: "Inter", "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
  line-height:1.7;
}

/* =========================
   HEADER / NAVBAR
========================= */
.bandeau{
  position:fixed;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  width:92%;
  max-width:1400px;
  height:85px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);

  border:1px solid rgba(255,255,255,0.4);
  border-radius:24px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 28px;
  z-index:1000;

  box-shadow: var(--shadow);
}

/* Logo + gauche */
.bandeau-gauche{
  display:flex;
  align-items:center;
  gap:16px;
}

.bandeau-gauche img{
  height:58px;
  width:58px;
  object-fit:cover;
  border-radius:50%;
  border:2px solid rgba(77,124,90,0.2);
}

.bandeau-gauche span{
  font-size:1rem;
  font-weight:600;
  color:var(--green-dark);
  letter-spacing:0.5px;
}

/* Centre */
.bandeau-centre{
  text-align:center;
}

.bandeau-centre h2{
  font-size:1.2rem;
  color:var(--green-dark);
  font-weight:700;
}

.bandeau-centre p{
  font-size:0.92rem;
  color:var(--text-light);
  margin-top:4px;
}




/* =========================
   HERO SECTION
========================= */
.hero{
  height:100vh;
  position:relative;
  overflow:hidden;
}

/*.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.45)
  );
  z-index:2;
}
*/
.hero-inner{
  width:100%;
  height:100%;
}

/* Slider */
.hero-slider{
  display:flex;
  width:100%;
  height:100%;
  transition:transform 1s ease;
}

/* Slide */
.slide{
  min-width:100%;
  height:100%;
  position:relative;
  overflow:hidden;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;

  transform:scale(1);
  transition:transform 7s ease;

}

.slide.active img{
  transform:scale(1.1);
}





/* =========================
   CONTENU GLOBAL
========================= */
.contenu{
  width:min(1200px, 92%);
  margin:auto;
  padding:120px 0;
}

/* =========================
   ANIMATIONS
========================= */
.reveal{
  opacity:0;
  transform:translateY(70px);
  transition:all 1s ease;
}

.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   ARTICLES
========================= */
.article{
  display:flex;
  align-items:center;
  gap:70px;
  margin-bottom:120px;
}

.article:nth-child(even){
  flex-direction:row-reverse;
}

/* Image */
.article img{
  width:45%;
  border-radius:var(--radius);
  object-fit:cover;

  box-shadow:var(--shadow);
  transition:var(--transition);
}

.article img:hover{
  transform:scale(1.03);
}

/* Texte */
.article-content{
  flex:1;
}

.article-content h3{
  font-size:2rem;
  margin-bottom:20px;
  color:var(--green-dark);
}

.article-content p{
  font-size:1.05rem;
  color:var(--text-light);
}

/* =========================
   SECTION SPLIT
========================= */
.contenu2{
  display:grid;
  grid-template-columns:1fr 1fr;
  background:var(--white);
  overflow:hidden;
  box-shadow:var(--shadow);
  width:66%;
  margin:0 auto 140px auto;
  border-radius:32px;
}

/* Image */
.contenu2 img{
  width:51%;
  object-fit:cover;
}

/* Texte */
.article2{
  display:flex;
  flex-direction:column;
  justify-content:center;



}

.article2 h2{
  font-size:2.5rem;
  color:var(--green-dark);
  margin-bottom:2%;
}

.article2 p{
  font-size:1.05rem;
  color:var(--text-light);
  margin-bottom:2%;
  margin-right:50%;
}

/* =========================
   FOOTER
========================= */
footer{
  background:var(--green-dark);
  color:white;

  padding:50px 20px;
  text-align:center;
}

footer h3{
  font-size:1.5rem;
  margin-bottom:10px;
}

footer p{
  opacity:0.8;
  font-size:0.95rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1000px){

  .article{
    flex-direction:column;
    text-align:center;
  }

  .article:nth-child(even){
    flex-direction:column;
  }

  .article img{
    width:100%;
  }

  .contenu2{
    grid-template-columns:1fr;
  }

  .article2{
    padding:50px 30px;
  }
}

@media (max-width:768px){

  .bandeau{
    height:auto;
    padding:18px;
    flex-direction:column;
    gap:15px;
  }

  .hero{
    height:85vh;
  }


