:root {
  --primary-color: #f79995;
  --secondary-color: #cd5c5c;
  --light-color: #f1caca;
  --dark-color: #802e2e;

  --font-title: 'Inknut Antiqua', serif;
  --font-text: 'Inria Sans', sans-serif;
  --font-link: 'Inria Serif', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  font-family: var(--font-text);
  background: linear-gradient(to bottom, #FFF9F4, #f1caca, #f79995);
  color: var(--dark-color);
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid var(--secondary-color);
  position: relative;
}

/* --- Bouton burger --- */
.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 80px;
}

.logo h1 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--dark-color);
}

.logo p {
  font-size: 0.8rem;
  color: var(--secondary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  font-family: var(--font-link);
  color: var(--dark-color);
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--secondary-color);
}

/*page massage*/
.page-massages {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.page-massages h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
  text-align: center;
}

.grille-massages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
  overflow: visible;
}

.grille-massages a {
  display: flex;
  overflow: visible;
}

.massage-carte {
  background-color: #ffffff;
  border: 2px solid var(--light-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.massage-carte:hover {
  transform: translateY(-5px);
}

.massage-carte h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.massage-carte p {
  font-family: var(--font-text);
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.prix-massage {
  font-weight: bold;
  color: var(--dark-color);
  margin-top: auto;
}

.massage-carte {
  background-color: #ffffff;
  border: 2px solid var(--light-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.massage-carte-nouveaute {
  background: linear-gradient(to bottom, #fffaf8, #ffeaea);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 8px 20px rgba(205, 92, 92, 0.18);
  transform: scale(1.02);
}

.massage-carte-nouveaute:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 24px rgba(205, 92, 92, 0.28);
}

.massage-carte-nouveaute::before {
  content: "Nouveauté";
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--secondary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(205, 92, 92, 0.25);
}

.prix-massage {
  font-weight: bold;
  color: var(--dark-color);
  margin-top: auto;
}

.massage-carte:hover {
  transform: translateY(-5px);
}

.massage-carte h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.massage-carte p {
  font-family: var(--font-text);
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.massage-lien {
  text-decoration: none;
  color: inherit;
}

.massage-lien .massage-carte {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: var(--secondary-color);
}

.page-detail {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.detail-massage {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid var(--light-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.detail-massage h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.detail-massage .description {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.detail-massage p {
  margin-bottom: 10px;
}

.btn {
  background-color: var(--primary-color);
  border: 2px solid var(--dark-color);
  color: var(--dark-color);
  padding: 15px 32px;
  font-size: 16px;
  border-radius: 12px;
  text-align: center;
  display: inline-block;
  position: relative;
  font-family: sans-serif;
}

.btn-retour {
  color: #fff;
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 12px;
  text-align: center;
  display: inline-block;
  font-family: sans-serif;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(205, 92, 92, 0.4);
}

.btn-retour:hover,
.btn-retour:focus {
  background-color: var(--dark-color);
  color: var(--light-color);
  box-shadow: 0 6px 10px rgba(128, 46, 46, 0.7);
  outline: none;
}

.btn::before,
.btn::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url('/Image/branch.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

.btn::before {
  top: 2px;
  left: 0px;
  transform: rotate(50deg);
}

.btn::after {
  bottom: 20px;
  right: -5px;
  transform: rotate(-30deg);
}

.image-detail {
  width: 100%;
  max-width: 5000px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.complement-massage {
  margin-top: 20px;
  font-weight: 600;
  color: var(--secondary-color);
}

ul {
  text-align: left;
}

.duree-prix {
  text-align: right;
}

.asavoir {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid var(--light-color);
  box-shadow: 5px 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 900px;   /* ajuste la largeur */
  width: 100%;
  margin: 20px auto 0; /* centre + garde ton margin-top */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.asavoir h2, h1{
  margin-bottom: 8px; /* ajuste l’espace sous le titre */
}

.asavoir ul,
.encadre ul {
  margin: 16px 0 0;
  padding-left: 20px;   /* indentation des puces */
}

.asavoir li,
.encadre li {
  margin-bottom: 12px;  /* espace entre chaque point */
  line-height: 1.6;
}

.asavoir li:last-child,
.encadre li:last-child {
  margin-bottom: 0;
}

/* Pour aérer le texte d'intro au-dessus de la liste */
.asavoir p + ul,
.encadre p + ul {
  margin-top: 14px;
}

/* Optionnel : mettre un peu plus en valeur les titres en gras */
.asavoir li strong,
.encadre li strong {
  display: inline-block;
  margin-right: 4px;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: var(--dark-color);
  border-top: 1px solid var(--secondary-color);
  margin-top: 40px;
}

/* ----------------- MENU BURGER ----------------- */
@media (max-width: 767px) {
  .burger {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 20px;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    padding: 15px;
    z-index: 10;
  }

  nav ul.show {
    display: flex;
  }
}

@media (min-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    width: auto;
    box-shadow: none;
    padding: 0;
  }

  .massage-carte-nouveaute {
    transform: none;
  }

  .massage-carte-nouveaute:hover {
    transform: translateY(-5px);
  }

  .massage-carte-nouveaute h3 {
    padding-right: 0;
    padding-top: 35px;
  }

  .massage-carte-nouveaute::before {
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    padding: 5px 10px;
  }
  
}

@media (max-width: 900px) {
  .grille-massages {
    grid-template-columns: repeat(2, 1fr);
  }
  header .logo h1,
  header .logo p {
    display: none;
  }
}

@media (max-width: 600px) {
  .grille-massages {
    grid-template-columns: 1fr;
  }
}