body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8f9f7;
  color: #333;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: white;
}

nav a {
  margin: 10px;
  text-decoration: none;
  color: #5a7d7c;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px;
  background-image: url('Soulagement1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

.btn {
  background: #5a7d7c;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

.btn:hover {
  background: #4a6a69;
}

/* SECTIONS (espaces réduits) */
section:not(#pba):not(#contact) {
  padding: 35px 20px;
  max-width: 800px;
  margin: auto;
}

/* BONUS : équilibre vertical */
section {
  margin-bottom: 20px;
}

h2 {
  text-align: center;
}

p {
  text-align: justify;
}

/* PBA */
#pba {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f9f6;
  padding: 40px 20px;
}

.pba-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
}

.pba-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pba-image img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.slideshow {
  position: relative;
  flex: 1;
  height: 350px;
  max-width: 450px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
}

.slide.active {
  opacity: 1;
}

/* SERVICES */
#services {
  max-width: 1200px;
  margin: auto;
}

.services-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  flex: 1 1 300px;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.4s;
}

.service-image {
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover img {
  transform: scale(1.1);
}

/******* TEMOIGNAGES *********/
.avis-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.avis-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  max-width: 300px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
}

.avis-card span {
  display: block;
  margin-top: 10px;
  font-style: italic;
  color: #5a7d7c;
}

/* ===================== */
/* CONTACT */
/* ===================== */

#contact {
  background: #e8f0ee;
  padding: 80px 20px;
}

.contact-container {
  display: flex;
  gap: 50px;
  max-width: 1000px;
  margin: auto;
  align-items: center;
}

.contact-text {
  flex: 1;
}

.contact-text h2 {
  margin-bottom: 20px;
}

.contact-text p {
  line-height: 1.6;
}

/* FORMULAIRE */
.contact-form {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-form button {
  background: #5a7d7c;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #4a6a69;
  transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pba-container {
    flex-direction: column;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
    max-width: 400px;
  }

  .contact-container {
    flex-direction: column;
  }
}

/* Sécurité images */
img {
  max-width: 100%;
  height: auto;
}