:root {
  --vert-foret: #4a7c59;
  --vert-sauge: #8fb592;
  --jaune-soleil: #f4d35e;
  --brun-terre: #8c6239;
  --blanc-casse: #f9fbf9;
}

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

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--blanc-casse);
  color: #333;
  line-height: 1.6;
}

/* TITRES */
h1,
h2,
h3 {
  font-family: "Fredoka One", cursive;
  color: var(--vert-foret);
}

/* NAVIGATION / EN-TÊTE */
header {
  background-color: var(--blanc-casse);
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: "Fredoka One", cursive;
  font-size: 2em;
  color: var(--vert-foret);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--vert-sauge);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--vert-foret);
  font-weight: 700;
  font-size: 1.1em;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--brun-terre);
}

/* souligner le nom de la page pour montrer à l'utilisateur sur quelle page il est */
nav a.actif {
  color: var(--brun-terre);
  border-bottom: 2px solid var(--jaune-soleil);
}

/* SECTION BANNIÈRE */
.banniere {
  background-color: var(--vert-foret);
  color: var(--blanc-casse);
  padding: 80px 20px;
  text-align: center;
  background-image: radial-gradient(var(--vert-sauge) 10%, transparent 10%);
  background-size: 20px 20px;
}

.banniere h1 {
  color: var(--jaune-soleil);
  font-size: 3.5em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.banniere p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.bouton-cta {
  display: inline-block;
  background-color: var(--jaune-soleil);
  color: var(--vert-foret);
  padding: 15px 30px;
  border-radius: 50px;
  font-family: "Fredoka One", cursive;
  text-decoration: none;
  font-size: 1.2em;
  transition: transform 0.2s, background-color 0.2s;
  border: 2px solid var(--jaune-soleil);
}

.bouton-cta:hover {
  transform: scale(1.05);
  background-color: transparent;
  color: var(--jaune-soleil);
}

.conteneur {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-concept {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.concept-texte {
  flex: 1;
  min-width: 300px;
}

.concept-texte h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.concept-texte p {
  margin-bottom: 15px;
  color: var(--brun-terre);
}

.concept-image {
  flex: 1;
  min-width: 300px;
  background-color: var(--vert-sauge);
  height: 350px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2em;
  position: relative;
  overflow: hidden;
}

.concept-image::before {
  font-size: 10em;
  opacity: 0.5;
}

.section-services {
  text-align: center;
  background-color: #eaf2eb;
  padding: 60px 20px;
}

.section-services h2 {
  margin-bottom: 50px;
  font-size: 2.5em;
}

.grille-services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.carte-service {
  background-color: white;
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  border-bottom: 5px solid var(--vert-sauge);
}

.carte-service:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--vert-foret);
}

.icone-service {
  font-size: 3em;
  color: var(--vert-foret);
  margin-bottom: 20px;
}

.carte-service h3 {
  margin-bottom: 15px;
  font-size: 1.5em;
}

.section-valeurs {
  text-align: center;
  padding: 60px 20px;
}

.badges-valeurs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.badge {
  background-color: var(--vert-foret);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
}

/* PIED DE PAGE */
footer {
  background-color: var(--brun-terre);
  color: var(--blanc-casse);
  padding: 40px 20px;
  text-align: center;
}

footer h3 {
  color: var(--jaune-soleil);
  margin-bottom: 20px;
}

.footer-contenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-col {
  margin: 10px;
}

.copyright {
  margin-top: 40px;
  font-size: 0.8em;
  opacity: 0.8;
}

/* MEDIA QUERIES (Pour le mobile) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
  }

  .banniere h1 {
    font-size: 2.5em;
  }

  .section-concept {
    flex-direction: column;
  }

  nav ul {
    gap: 15px;
    font-size: 0.9em;
  }
}

/* Modification pour que le lien prenne toute la place du conteneur image */
.concept-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.concept-image a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Supprime l'espace vide sous l'image */
}

/* Style pour la nouvelle section vidéo */
.section-video {
  text-align: center;
  padding: 0 20px 60px 20px;
}

.conteneur-video {
  max-width: 900px;
  margin: 20px auto 0 auto;
}

.conteneur-video video {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 5px solid var(--vert-sauge);
}
