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

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.8;
  font-size: 16px;
  background: linear-gradient(to bottom, #e6f0eb, #cfe8de); /* fond immersif vert doux */
}

/* -----------------------------
   TYPOGRAPHIE
------------------------------ */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  color: #3b3b3b;
  margin-bottom: 1.5rem;
}

/* -----------------------------
   HEADER & NAVIGATION
------------------------------ */
header {
  background: linear-gradient(135deg, #006B5F, #BFA76A); /* vert foncé → doré */
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

header h1 {
  font-size: 3rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 10px;
}

nav a {
  color: #F5E0A1; /* doré clair */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #ffffff;
}

/* -----------------------------
   HERO
------------------------------ */
.hero {
  background: linear-gradient(rgba(0,107,95,0.45), rgba(191,167,106,0.45)),
              url('images/spa-hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: fadeIn 1s ease-in;
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  color: #fdfbf6;
}

/* -----------------------------
   BOUTONS LUXE
------------------------------ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background-color: #BFA76A;
  color: #fff;
}

.btn:hover {
  background-color: #A88F5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* -----------------------------
   SECTIONS
------------------------------ */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 40px auto;
  background-color: rgba(245,244,239,0.95); /* blanc chaud transparent */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  animation: fadeIn 1s ease-in;
}

section.alt {
  background-color: rgba(231,238,232,0.95); /* vert sauge clair transparent */
}

.prestations-list li {
  padding: 15px 0;
  border-bottom: 1px solid #e6e6e6;
  transition: transform 0.3s, color 0.3s;
  border-radius: 6px;
}

.prestations-list li:hover {
  color: #006B5F;
  transform: translateX(5px);
}

/* -----------------------------
   CARTE CADEAU
------------------------------ */
.gift-card {
  background-color: rgba(247,246,242,0.95);
  text-align: center;
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* -----------------------------
   FOOTER LUXE DÉGRADÉ
------------------------------ */
footer {
  background: linear-gradient(135deg, #006B5F, #BFA76A); /* harmonisé avec le header */
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #fdfbf6; /* texte blanc cassé */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,107,95,0.4), rgba(191,167,106,0.4));
  pointer-events: none;
}

footer p,
footer a,
footer .footer-contact {
  position: relative;
  z-index: 1;
}

footer p {
  margin-bottom: 10px;
}

footer a {
  color: #F5E0A1; /* doré clair */
  margin: 0 10px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #ffffff;
}

footer .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 14px;
}

@media (min-width: 768px) {
  footer .footer-contact {
    flex-direction: row;
    justify-content: center;
  }
}

/* -----------------------------
   COOKIE BANNER
------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(245,244,239,0.95);
  padding: 20px;
  text-align: center;
  font-size: 15px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  font-family: 'Open Sans', sans-serif;
}

.cookie-banner a {
  color: #006B5F;
  text-decoration: underline;
  font-weight: bold;
}

.cookie-buttons button {
  margin: 0 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.cookie-buttons button:first-child {
  background-color: #006B5F;
  color: white;
}

.cookie-buttons button:last-child {
  background-color: #f44336;
  color: white;
}

/* -----------------------------
   ANIMATIONS
------------------------------ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}
.avis-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 40px auto;
  text-align: center;
  background: rgba(245, 244, 239, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.avis-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #006B5F;
  font-family: 'Playfair Display', serif;
}

.avis-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.avis-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.avis-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.avis-stars {
  color: #D4AF37; /* doré pour les étoiles */
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.avis-card p {
  font-style: italic;
  color: #333;
  margin: 10px 0 15px;
}

.avis-card span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}
.avis-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  background: rgba(245, 244, 239, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
}

.avis-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #006B5F;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
}

.avis-slider {
  display: flex;
  gap: 20px;
  animation: slideAvis 20s infinite linear;
}

.avis-card {
  min-width: 100%;
  background: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.avis-stars {
  color: #D4AF37;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.avis-card p {
  font-style: italic;
  margin: 10px 0 15px;
  color: #333;
}

.avis-card span {
  display: block;
  font-size: 14px;
  color: #666;
}

/* Animation du slider */
@keyframes slideAvis {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(0); }
  25%  { transform: translateX(-100%); }
  45%  { transform: translateX(-100%); }
  50%  { transform: translateX(-200%); }
  70%  { transform: translateX(-200%); }
  75%  { transform: translateX(-300%); }
  95%  { transform: translateX(-300%); }
  100% { transform: translateX(0); }
}
/* Section conteneur (garde ton style luxe existant si tu l'as déjà) */
.avis-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  background: rgba(245, 244, 239, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Titre */
.avis-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #006B5F;
  font-family: 'Playfair Display', serif;
}

/* Fenêtre d'affichage (masque le débordement) */
.avis-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Piste des slides (sans gap !) */
.avis-track {
  display: flex;
  /* Important: pas de gap ici pour éviter tout décalage */
  will-change: transform;
}

/* Chaque slide occupe 100% de la largeur visible */
.avis-card {
  flex: 0 0 100%;
  padding: 25px 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin: 0; /* aucun margin externe pour ne pas fausser la largeur */
}

/* Contenu des avis */
.avis-stars {
  color: #D4AF37; /* étoiles dorées */
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.avis-card p {
  font-style: italic;
  margin: 10px 0 15px;
  color: #333;
}

.avis-card span {
  display: block;
  font-size: 14px;
  color: #666;
}

/* Optionnel : petite ombre au focus clavier (accessibilité) */
.avis-card:focus-within {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
