/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f9f4;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  padding-top: 100px;
}

/* === NAVBAR FIXE === */
.navbar-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.navbar-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #5a9543;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #5a9543;
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  background-color: #73AC55;
  color: white;
  padding: 40px 20px 20px 20px;
  font-weight: normal;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section a,
.footer-bottom a {
  color: white;
  text-decoration: none;
}

.footer-section a:hover,
.footer-section ul li a:hover,
.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid white;
  margin-top: 30px;
  font-weight: bold;
}
/* === HERO SECTION === */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  max-width: 100%;
}

.hero .overlay {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
}

.hero .overlay h2 {
  color: white;
  font-family: 'Georgia', serif;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 95vw;
  white-space: nowrap; /* Empêche le mot de couper */
  font-size: clamp(2rem, 6vw, 5.5rem); /* S'adapte selon écran */
}

.intro-description {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-size: 1.5rem;
  line-height: 1.8;
  text-align: center;
  color: #555;
  font-weight: 400;
}

/* === CONTAINER === */
.container {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* === FADE IN === */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1.5s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === SERVICES SECTION === */
.services-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #7c0000;
  border-bottom: 4px solid #73AC55;
  display: inline-block;
  padding-bottom: 0.5rem;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-content: center;
  padding: 0 1rem;
}

.card {
  background-color: #f8f8f8;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  color: #333;
  font-weight: bold;
}

.card ul {
  list-style-type: none;
  padding: 0;
  color: #444;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-button {
  background-color: #73AC55;
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
}

.service-button:hover {
  background-color: #5a9543;
}

/* === CABINET SECTION === */
.cabinet {
  margin-top: 5rem;
  text-align: center;
}

.cabinet-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4b3b3b;
  border-bottom: 4px solid #73AC55;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.cabinet-images {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cabinet-images img {
  width: 45%;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cabinet-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #555;
  padding: 0 1rem;
}

/* === Titres services === */
.audience {
  margin-top: 5rem;
  text-align: center;
}

.audience-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4b3b3b;
  border-bottom: 4px solid #73AC55;
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* === TARIFS SECTION === */
.tarifs {
  margin-top: 5rem;
  text-align: center;
}

.tarifs-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #4b3b3b;
  border-bottom: 4px solid #73AC55;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.tarifs-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.tarif-card {
  background-color: #f8f8f8;
  padding: 2rem;
  border-radius: 20px;
  width: 300px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.tarif-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
  font-family: 'Georgia', serif;
}

.tarif-card p {
  font-size: 1.4rem;
  color: #555;
  margin: 0;
}

/* === MENU BURGER RESPONSIVE === */
.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #5a9543;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1001;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    text-decoration: none;
  }

  .nav-links a:hover {
    color: #5a9543;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
  }

  .navbar-title {
    font-size: 1.4rem;
  }

  .hero .overlay h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.2;
    padding: 1rem;
  }

  .cabinet-images {
    flex-direction: column;
    align-items: center;
  }

  .cabinet-images img {
    width: 90%;
    max-width: 450px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .card {
    width: 100%;
  }
}


