: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);
}

.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);
}

main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

h1 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-bottom: 30px;
  text-align: center;
}

/* Image massage */
.image-massage {
  text-align: center;
  margin: 40px auto;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  padding-top: 5px;
  margin-left: 50px;
  margin-right: 50px;
}

.image-massage img {
  width: 90%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-massage {
  position: relative;
  text-align: center;
  margin: 40px auto;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  padding: 10px 0;
  margin-left: 50px;
  margin-right: 50px;
}

.image-massage .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 3rem;
  padding: 5px 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  z-index: 2;
}

.image-massage .arrow.left {
  left: 60px; /* à l’extérieur de l’image mais dans l’encadré */
}

.image-massage .arrow.right {
  right: 60px;
}

.image-massage .arrow:hover {
  background-color: var(--secondary-color);
  color: #fff;
}


.intro-lien {
  text-align: center;
  margin: 20px 0;
}

.intro-lien a {
  font-family: var(--font-link);
  color: var(--dark-color);
  font-style: italic;
  text-decoration: underline;
}

.avantages {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.portrait img {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}
.portrait{
    text-align: center;
}
.portrait p {
  margin-top: 10px;
  text-align: justify;
  padding: 0 10px;
}
.ambiance {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
}
.ambiance img {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  margin-left: 25px;
}
.texte h2 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-align: center;
}



/* Responsive Design */
@media (min-width: 768px) {
    
  .avantages {
    flex-direction: row;
    justify-content: space-between;
  }

  .portrait,
  .texte,
  .ambiance {
    flex: 1;
  }
/* Version mobile : centrer portrait et ambiance */
@media (max-width: 767px) {
  .portrait,
  .ambiance {
    margin: 0 auto;
    text-align: center;
  }
}

  .texte {
    padding-left: 40px;
  }
}

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