/* --- VARIABLES ET RESET --- */

:root {
    --primary-color: #1b4332;   /* Vert forêt foncé */
    --secondary-color: #2d6a4f; /* Vert moyen */
    --bg-light: #f4f7f6;        /* Gris-vert très clair */
    --text-dark: #2d3436;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body { background-color: #f9f9f9; color: #333; line-height: 1.6; }

body::-webkit-scrollbar {
    display: none;
  }
  /* scrolbar */
  
    /* Pour Chrome, Edge, Safari */
    ::-webkit-scrollbar {
      width: 0px; /* largeur de la barre */
    }
    
    ::-webkit-scrollbar-track {
      background: #fff; /* couleur de l'arrière-plan */
    }
    
    ::-webkit-scrollbar-thumb {
      background: var(--secondary-color); /* couleur de la barre */
      border-radius: 6px; /* coins arrondis */
    }
    
    ::-webkit-scrollbar-thumb:hover {
       background: var(--primary-color); /* couleur au survol */
    }
    
    /* Pour Firefox */

    html {
      scrollbar-width: thin;
      scrollbar-color: var(--secondary-color) white; /* premier = barre, second = arrière-plan */
    }
    
    ::-webkit-scrollbar-y{
      display: none;
    }

/* Navigation */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #1b4332;
    color: white;
    position: fixed;
    width: 100vw;
}

.navbar ul {
   display: flex; 
   list-style: none; 
  }

.navbar ul li { 
  margin-left: 20px;
 }

.navbar a {
   color: white; 
   text-decoration: none; 
   font-weight: 500; }

/*.navbar a:hover,*/ 

.navbar a.active { color: #95d5b2; }

/* Header avec Image de Fond */

.hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('images/fond-header.jpg') no-repeat center center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

@media (max-width:950px) {
  /*.hero {
    height: 100vh;
  }*/
}

/*.hero h1 { font-size: 1rem; max-width: 800px; }*/

@media (max-width: 950px) {
  .hero h1 {
    font-size: 1rem;
    margin-top: 50px;
  }
}

/* Section Contenu */

.content-section { 
   padding: 60px 10%;
   text-align: center; 
  }

@media (max-width:950px) {
  .content-section{
    padding: 30px 1%;
  }
}

.container { 
  max-width:900px; 
  margin: auto; 
  background: white;
  padding: 40px; 
  border-radius: 8px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}

@media (max-width:820px) {
  .container{
    width: 100%;
    padding: 0px;
    margin-left: 0px;
    margin-right: 0px;
  }
}

.intro-text { 
  font-size: 1.2rem; 
  font-weight: bold; 
  margin-bottom: 20px; 
  color: #2d6a4f; 
}

@media (max-width:820px) {
  .intro-text {
    font-size: 1 rem;
    font-weight: 500;
  }
}

.cta-container {
  margin-top: 30px;
  text-align: center; /* Centre le bouton */
}

.btn-continue {
  display: inline-block;
  padding: 12px 30px;
  background-color:var(--primary-color); /* Un vert forêt profond */
  color: white;
  text-decoration: none;
  border-radius: 50px; /* Bord arrondi pour un aspect moderne */
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-continue:hover {
  background-color: #1b5e20;
  transform: translateY(-2px); /* Petit effet de levier au survol */
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-continue span {
  margin-left: 8px;
  transition: margin 0.3s ease;
}

.btn-continue:hover span {
  margin-left: 15px; /* La flèche s'anime au survol */
}

/* Footer */

footer {
    background: #1b4332;
    color: white;
    text-align: center;
    padding: 30px;
}
