/* Importation de la police Poppins */
body {
  margin: 0;
  padding: 0 0 70px 0; /* padding-bottom pour mobile-contact-bar */
  font-family: "Poppins", sans-serif;
  background-color: #f8f8f8;
  color: #333;
}

/* Focus accessibility */
a:focus,
button:focus {
  outline: 3px solid #34a853;
  outline-offset: 2px;
}

/* Header */
header {
  background-color: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Lien actif dans nav */
nav ul li a[aria-current="page"] {
  text-decoration: underline;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #34a853;
}

/* Section accueil */
#accueil {
  text-align: center;
  padding: 80px 20px;
  background-color: #fff;
}

#accueil h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

#accueil p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}

.btn {
  background-color: #000;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: #444;
  outline: none;
}

/* Section À propos */
#apropos {
  background-color: #f0f0f0;
  padding: 60px 20px;
  text-align: center;
}

#apropos h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

#apropos p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
}

/* Section Services */
#services {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

#services h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
}

.services-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #444;
  line-height: 2;
}

.services-list li {
  margin-bottom: 10px;
}

/* Section Tarifs */
#tarifs {
  background-color: #f0f0f0;
  padding: 60px 20px;
  text-align: center;
}

#tarifs h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

#tarifs p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #444;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Liens de navigation - ajout d'un effet hover déjà intégré dans nav ul li a */

/* Styles globaux pour liens */
a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #444;
}

/* Responsive - pour écrans petits */
@media screen and (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  #accueil {
    padding: 60px 10px;
  }

  #apropos,
  #services,
  #tarifs {
    padding: 40px 10px;
  }
}

/* Barre contact mobile */
.mobile-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f7f7f8;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  height: 60px;
}

.btn-contact {
  color: #333;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 30px;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-contact:hover,
.btn-contact:focus {
  background: #e0e0e0;
  outline: none;
}

.phone-btn {
  background: #34a853;
  color: white;
}

.phone-btn:hover,
.phone-btn:focus {
  background: #2c8c44;
}

.whatsapp-btn {
  background: #25d366;
  color: white;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
  background: #12eb41;
}

/* Affichage uniquement sur petits écrans */
@media screen and (min-width: 768px) {
  .mobile-contact-bar {
    display: none;
  }
}

#localisation h2 {
  text-align: center;
}
