:root {
  /* déjà présent */
  --primary-bg: #E07A5F;    /* terre cotta */
  --primary-text: #3E1E14;  /* couleur du logo (brun foncé) */

  /* nouvelles variables pour la nav */
  --nav-bg: #E6D4B8
;
  --nav-link: #3E1E14;
}

/* On s’assure que html et body occupent toute la hauteur */
html,
body {
  height: 100%;
}

/* Reset et configuration Flexbox pour coller le footer en bas */
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family: sans-serif;
}

/* Main prend tout l’espace restant */
main {
  flex: 1;
}

header, main, footer {
  padding: 0.5rem;
}

h1, h2, p {
  color: var(--primary-text);
}

a {
  color: var(--primary-text);
  text-decoration: underline;
}

/* Header : logo à gauche, texte centré, liens à droite */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header-logo {
  height: 120px;
  width: auto;
  margin-right: 1rem;
}

/* Zone texte */
.header-text {
  flex: 1;
  text-align: center;
}

.header-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0;
}

.header-text p {
  font-size: 1.7rem;
  line-height: 1.4;
  margin: 0;
}

/* Zone des icônes-liens */
.header-links {
  display: flex;
  align-items: center;
}

.header-links a + a {
  margin-left: 1rem;
}

.header-links img {
  height: 60px;
  width: auto;
}

.navbar {
  background-color: var(--nav-bg);
  padding: 0.75rem 1.5rem;
}

.navbar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.navbar li + li {
  margin-left: 2rem;
}

.navbar a {
  color: var(--nav-link);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
}

.navbar a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--nav-bg);    /* même fond que la nav */
  color: var(--nav-link);             /* même couleur de texte que les liens */
  text-align: center;                 /* centre le texte */
  padding: 0.75rem 1.5rem;               /* ajustable selon ton design */
  line-height: 1;
  font-size: 1.1rem;
  font-weight: 600;
}

/* 4) supprimer la marge automatique du <p> */
footer p {
  margin: 0;
  padding: 0;
}

/* Si tu as des liens dans ton footer */
footer a {
  color: var(--nav-link);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.about-container {
  padding: 1.2rem;
  display: flex !important;
  flex-direction: row !important;
  /*flex-wrap: nowrap; */       /* interdiction formelle de passer en colonne */
  align-items: flex-start;
  gap: 1.5rem;
}

/* 2) Style de la vignette ronde */
.badge {
  flex: 0 0 300px;           /* largeur fixe */
  width: 300px;
  height: 300px;
  background-color: var(--nav-bg);
  color: var(--nav-link);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 2rem auto;
  padding: 1.2rem;
  box-sizing: border-box;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* Texte secondaire plus petit et italique */
.badge .sub {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.1;
}

/* 3) Nettoyage des marges du paragraphe de la vignette */
.badge p {
  margin: 0;
}

/* 4) Ajustements du texte « À propos » */
.about-text h2 {
  margin-top: 0;
}
.about-text p {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Carousel */
.carousel-container {
  max-width: 300px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.carousel {
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
  object-fit: cover;
  display: block;
}

/* Boutons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(62, 30, 20, 0.6); /* bruns foncés semi-transparents */
  color: var(--primary-bg);           /* terre cotta en icône */
  border: none;
  padding: 0.5rem 1rem;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1;
}

.carousel-btn.prev {
  left: 0.5rem;
}

.carousel-btn.next {
  right: 0.5rem;
}

.btn-booking {
  display: inline-block;
  background-color:#E6D4B8;  
  color:#3E1E14;                
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: opacity 0.2s ease;
}

.btn-booking:hover {
  opacity: 0.85;
}

.adult-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap; /* permet l’empilement sur petits écrans */
}

.adult-image {
  display: flex;
  flex-direction: column;  /* empile verticalement */
  gap: 1rem;               /* espace de 1rem entre chaque image */
}

.adult-image img {
  max-width: 290px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

.adult-text {
  flex: 1;
}

.adult-text h2 {
  margin-top: 0;
}

.adult-text p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.adult-text ul {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.adult-text ul {
  column-count: 5;       /* nombre de colonnes */
  column-gap: 2rem;      /* espace entre les colonnes */
  list-style-position: inside; /* puces à l’intérieur des colonnes */
  padding: 0;            /* supprime le padding par défaut si besoin */
}

.sportif-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap; /* permet l’empilement sur petits écrans */
}

.sportif-image {
  display: flex;
  flex-direction: column;  /* empile verticalement */
  gap: 1rem;               /* espace de 1rem entre chaque image */
}

.sportif-image img {
  max-width: 443.5px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

.sportif-text {
  flex: 1;
}

.sportif-text h2 {
  margin-top: 0;
}

.sportif-text p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.sportif-text ul {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.sportif-text ul {
  column-count: 1;       /* nombre de colonnes */
  column-gap: 2rem;      /* espace entre les colonnes */
  list-style-position: inside; /* puces à l’intérieur des colonnes */
  padding: 0;            /* supprime le padding par défaut si besoin */
}

.femme_enceinte-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap; /* permet l’empilement sur petits écrans */
}

.femme_enceinte-image {
  display: flex;
  flex-direction: column;  /* empile verticalement */
  gap: 1rem;               /* espace de 1rem entre chaque image */
}

.femme_enceinte-image img {
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

.femme_enceinte-text {
  flex: 1;
}

.femme_enceinte-text h2 {
  margin-top: 0;
}

.femme_enceinte-text p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.femme_enceinte-text ul {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.femme_enceinte-text ul {
  column-count: 2;       /* nombre de colonnes */
  column-gap: 2rem;      /* espace entre les colonnes */
  list-style-position: inside; /* puces à l’intérieur des colonnes */
  padding: 0;            /* supprime le padding par défaut si besoin */
}

.nourrisson-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap; /* permet l’empilement sur petits écrans */
}

.nourrisson-image {
  display: flex;
  flex-direction: column;  /* empile verticalement */
  gap: 1rem;               /* espace de 1rem entre chaque image */
}

.nourrisson-image img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

.nourrisson-text {
  flex: 1;
}

.nourrisson-text h2 {
  margin-top: 0;
}

.nourrisson-text p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.nourrisson-text ul {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.nourrisson-text ul {
  column-count: 2;       /* nombre de colonnes */
  column-gap: 2rem;      /* espace entre les colonnes */
  list-style-position: inside; /* puces à l’intérieur des colonnes */
  padding: 0;            /* supprime le padding par défaut si besoin */
}

.enfant-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap; /* permet l’empilement sur petits écrans */
}

.enfant-image {
  display: flex;
  flex-direction: column;  /* empile verticalement */
  gap: 1rem;               /* espace de 1rem entre chaque image */
}

.enfant-image img {
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

.enfant-text {
  flex: 1;
}

.enfant-text h2 {
  margin-top: 0;
}

.enfant-text p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.enfant-text ul {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.enfant-text ul {
  column-count: 2;       /* nombre de colonnes */
  column-gap: 2rem;      /* espace entre les colonnes */
  list-style-position: inside; /* puces à l’intérieur des colonnes */
  padding: 0;            /* supprime le padding par défaut si besoin */
}

.infos-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap; /* permet l’empilement sur petits écrans */
}

.infos-image {
  display: flex;
  flex-direction: column;  /* empile verticalement */
  gap: 1rem;               /* espace de 1rem entre chaque image */
}

.infos-image img {
  max-width: 466.5px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

.infos-text {
  flex: 1;
}

.infos-text h2 {
  margin-top: 0;
}

.infos-text p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.infos-text ul {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.infos-text ul {
  column-count: 2;       /* nombre de colonnes */
  column-gap: 2rem;      /* espace entre les colonnes */
  list-style-position: inside; /* puces à l’intérieur des colonnes */
  padding: 0;            /* supprime le padding par défaut si besoin */
}

.btn-container {
  text-align: center;
}

.btn-booking {
  display: inline-block;  /* permet au text-align du parent de le centrer */
  /* vos autres styles (padding, background, border…) */
}

/* 1) Cacher la checkbox */
.navbar .nav-toggle-checkbox {
  display: none;
}

/* 2) Styles du label “☰ Menu” */
.navbar .nav-toggle-label {
  display: none;         /* caché en desktop */
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--nav-link);
  user-select: none;
}

@media (max-width: 768px) {
  /* Afficher le bouton hamburger */
  .navbar .nav-toggle-label {
    display: block;
  }

  /* Passer le menu en mode colonne et le cacher */
  .navbar .nav-menu {
    display: none;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border-top: 1px solid #ddd;
  }

  /* Toggle : quand checkbox est cochée, afficher le menu */
  .navbar .nav-toggle-checkbox:checked ~ .nav-menu {
    display: flex;
  }

  /* Espacement vertical entre items */
  .navbar .nav-menu li + li {
    margin-left: 0;
    margin-top: 1rem;
  }
}

@media (min-width: 769px) {
  /* S’assurer que le menu reste visible et horizontal */
  .navbar .nav-menu {
    display: flex !important;
    flex-direction: row;
  }

  /* Restaurer l’espacement horizontal */
  .navbar .nav-menu li + li {
    margin-top: 0;
    margin-left: 2rem;
  }
}
/* Responsive: image au-dessus, texte sous l'image, texte moins large */
@media (max-width: 768px) {
  .adult-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .adult-image {
    width: 100%;
  }

  .adult-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }

  .adult-text {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0.75rem 0;
    font-size: 15px;
    line-height: 1.45;
    box-sizing: border-box;
  }

  .adult-text h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .adult-text p {
    max-width: 42ch; /* limite la longueur de ligne pour une lecture confortable */
  }

  .adult-text ul {
    padding-left: 1.05rem;
    margin-top: 0.5rem;
    column-count: 1;
  }

  .btn-container {
    padding: 0 1rem 1rem;
    text-align: center;
  }

  .btn-booking {
    display: inline-block;
    width: auto;
    padding: 0.6rem 0.9rem;
    font-size: 15px;
  }
}
