/* --------------------- RESET --------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f0f4f8;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --------------------- HEADER --------------------- */
header {
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: white;
  padding: 20px 40px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 2.8rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.slogan {
  font-style: italic;
  font-weight: 300;
  font-size: 1.2rem;
  opacity: 0.8;
}

.photo-profil {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: block;
  margin: 15px auto;
  object-fit: cover;
}

/* --------------------- NAVIGATION --------------------- */
nav ul.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 25px;
  font-weight: 600;
}

nav ul.menu li { position: relative; }

nav ul.menu li a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul.menu li a:hover { background-color: rgba(255,255,255,0.2); }

/* Prestations en rouge avec hover orange */
nav ul.menu li.dropdown > a {
  color: red;
  font-weight: 700;
  transition: color 0.3s ease;
}
nav ul.menu li.dropdown > a:hover { color: orange; }

/* Dropdown */
ul.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: white;
  border-radius: 6px;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

ul.submenu li a {
  color: white;
  display: block;
  padding: 8px 20px;
  font-weight: 500;
}

ul.submenu li a:hover {
  background-color: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.menu li.dropdown:hover > .submenu { display: block; }

/* --------------------- SECTIONS --------------------- */
section { 
  margin-bottom: 30px; 
  padding: 0 20px; 
}

.hero { 
  text-align: center; 
  padding: 40px 20px 10px 20px; 
  background: #f9f9f9; 
}

.hero h2 { font-size: 2rem; color: #222; margin-bottom: 10px; }
.hero .accroche { font-size: 1.3rem; font-weight: bold; color: turquoise; margin-top: 10px; }

.highlight {
  background: white;
  max-width: 700px;
  margin: 0 auto 30px auto;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  text-align: center;
  color: #2575fc;
}

/* Dernière section highlight + bouton */
.highlight:last-of-type {
  padding-bottom: 60px; /* suffisant pour le bouton */
  margin-bottom: 30px;
}

/* --------------------- BOUTONS --------------------- */
.btn-reservation {
  background-color: #2575fc;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;        /* s’adapte à la largeur du parent */
  max-width: 320px;   /* limite la largeur sur desktop */
  word-break: break-word; /* texte passe à la ligne si nécessaire */
  text-align: center;
}

.btn-reservation:hover {
  background-color: #6a11cb;
}

/* Container centré pour bouton */
.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

/* --------------------- GRIDS / PRESTATIONS --------------------- */
.prestations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.prestations-grid a {
  background-color: #2575fc;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  flex: 1 1 200px;
  text-align: center;
  max-width: 250px;
  transition: background-color 0.3s ease;
}

.prestations-grid a:nth-child(even) { background-color: #6a11cb; }
.prestations-grid a:hover { opacity: 0.8; }

/* Blocs bénéfices */
.benefit-block {
  flex: 1 1 250px;
  min-width: 250px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: white;
}

.benefit-block h4 { color: orange; margin-bottom: 10px; }
.benefit-block ul { text-align: left; padding-left: 20px; line-height: 1.6; }
.benefit-block ul li { margin-bottom: 8px; }

/* Méthodes / Avantages */
.avantages { margin-left: 20px; line-height:1.6; text-align: left; }

/* --------------------- FOOTER --------------------- */
footer {
  background: #222;
  color: #ddd;
  text-align: center;
  padding: 15px 20px;
  font-size: 0.9rem;
  font-weight: 300;
  border-top: 3px solid #2575fc;
  flex-shrink: 0;
}

/* --------------------- RESPONSIVE --------------------- */
@media (max-width: 600px) {
  nav ul.menu { flex-direction: column; gap: 15px; }
  .hero h2 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .highlight { margin: 20px; padding: 20px; }
  ul.submenu { position: relative; top:0; left:0; box-shadow:none; }
  ul.submenu li a { padding-left: 30px; }
  .prestations-grid { flex-direction: column; }
  .benefit-block { min-width: 100%; }
  .btn-reservation { max-width: 100%; }
}
