/* Styles spécifiques pour la page index */
.contact-btn-index {
  padding: 1rem 2rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Suppression des fonds des conteneurs pour les pages spécifiques */
body.balade .content-container::before,
body.balade .content-container::after,
body.passage .content-container::before,
body.passage .content-container::after,
body.education .content-container::before,
body.education .content-container::after,
body.taxi .content-container::before,
body.taxi .content-container::after,
body.contact .content-container::before,
body.contact .content-container::after,
body.qui-suis-je .content-container::before,
body.qui-suis-je .content-container::after {
  display: none;
}

/* Suppression du padding de la section service sur l'index uniquement */
#index .services-section {
  padding: 0 !important;
}

/* Suppression de l'ombre du texte dans la hero section de la page contact */
.contact-hero .content-container h1,
.contact-hero .content-container p {
  text-shadow: none !important;
}

/* Conservation du pre-footer sur toutes les pages */
.pre-footer-divider {
  height: 120px;
  background: linear-gradient(
    to bottom,
    var(--primary-color-light),
    var(--primary-color)
  );
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100vw;
  max-width: 100%;
}

.pre-footer-divider:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/svg/wave-divider.svg") no-repeat bottom center;
  background-size: 100% 100px;
}

/* Styles pour les autres pages */
.content-container-pages {
  padding: 2rem 2rem;
}

/* Centre les boutons de contact sur l'index */
.hero-cta,
.cta-section .content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Cache les boutons secondaires sur l'index uniquement */
#index .cta-btn-secondary {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-btn-index {
    height: 3rem;
  }
}

@media (max-width: 480px) {
  .contact-btn-index {
    height: 2.8rem;
  }
}

/* Styles pour la section CTA de la page balade */
.balade .cta-section {
  padding: 4rem 0;
}

.balade .cta-box {
  background-color: var(--light-green);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.balade .cta-box h2 {
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.balade .cta-box p {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Styles pour la section CTA de la page passage */
.passage .cta-section {
  padding: 4rem 0;
}

.passage .cta-box {
  background-color: var(--light-green);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.passage .cta-box h2 {
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.passage .cta-box p {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Styles pour la section CTA de la page taxi */
.taxi .cta-section {
  padding: 4rem 0;
}

.taxi .cta-box {
  background-color: var(--light-green);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.taxi .cta-box h2 {
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.taxi .cta-box p {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Styles pour la section CTA de la page qui-suis-je */
.qui-suis-je .cta-section {
  padding: 4rem 0;
}

.qui-suis-je .cta-box {
  background-color: var(--light-green);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.qui-suis-je .cta-box h2 {
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.qui-suis-je .cta-box p {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Styles communs pour les boutons CTA sur toutes les pages sauf passage */
.balade .cta-box .cta-button,
.taxi .cta-box .cta-button,
.qui-suis-je .cta-box .cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.balade .cta-box .cta-button:hover,
.taxi .cta-box .cta-button:hover,
.qui-suis-je .cta-box .cta-button:hover {
  background-color: var(--primary-color-dark);
}

/* Style spécifique pour le bouton CTA de la page passage */
.passage .cta-box .cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--dark-green);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--dark-green);
}

.passage .cta-box .cta-button:hover {
  background-color: white;
  color: var(--dark-green);
}
