/* Styles du footer "Esthétique Flora" (approximation fidèle du visuel fourni) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

.flora-footer {
  --text: #2a2726;
  --muted: #6a6663;
  --line: #1c1b1a;
  --beige: #fde0ef; /* rose claire pour l'élément actif (ACCUEIL) */
    /* fond de l’élément actif du menu */
    --bg: #ffffff;
    --container: 1120px;
    /* largeur max de la grille */
}

.flora-footer {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    position: relative;
    padding: 56px 0 88px;
    /* air bas pour le bouton flottant */
}

.footer-container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

/* Logo éventuel (non affiché par défaut tant que vous n’ajoutez pas l’image) */
.footer-logo {
    display: block;
    text-align: center;
    margin: 0 auto 28px auto;
}

.footer-logo img {
    display: inline-block;
    height: auto;
    max-width: 520px;
}

/* Grille à 3 colonnes */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Colonnes en blocs "carrés" alignés */
.footer-nav,
.footer-contact,
.footer-hours {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* Navigation gauche */
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-nav a {
    display: block;
    padding: 14px 14px;
    color: var(--text);
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    transition: background .25s ease, color .25s ease;
}

.footer-nav li:not(.is-active) {
  border-bottom: 1px solid var(--line);
}

.footer-nav li.is-active a {
    background: var(--beige);
    border-bottom: 1px solid var(--line);
  }

  /* Footer navigation hover/active background highlight */
  .footer-nav a:hover,
  .footer-links a:hover {
    background: linear-gradient(45deg, #e9319620, #9414b920, #ff740320);
  }

  /* Stronger focus/keyboard accessibility */
  .footer-nav a:focus-visible,
  .footer-links a:focus-visible {
    outline: 2px solid #9414b9;
    outline-offset: 2px;
    background: linear-gradient(45deg, #e9319630, #9414b930, #ff740330);
  }

  /* Active page indicator (when link has .is-active) */
  .footer-nav a.is-active,
  .footer-links a.is-active {
    background: linear-gradient(45deg, #e9319640, #9414b940, #ff740340);
    color: inherit;
}

/* Colonne Contact */
.footer-contact h3,
.footer-hours h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px 0;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #e93196;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    margin: 12px 0;
}

.footer-contact a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.footer-contact a:hover {
    border-bottom-color: currentColor;
}

/* Colonne Horaires */
.hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
  font-variant-numeric: tabular-nums; /* aligne les chiffres des heures */
}

.hours-list li {
  margin: 8px 0 10px 0;
  line-height: 1.6;
  display: flex; /* aligne jour et horaire sur une ligne */
  align-items: baseline;
  gap: 12px;
}

.hours-list span {
    display: inline-block;
  min-width: 190px;
    /* aligne les libellés “Lundi”, etc. */
    color: var(--muted);
    font-weight: 500;
}

/* Alignement renforcé sur desktop */
@media (min-width: 1000px){
  .hours-list span{ min-width: 220px; }
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
  color: #1f2937; /* flèche foncée sur fond blanc */
  background: #ffffff; /* bouton blanc demandé */
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
    text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  z-index: 1000;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
  stroke: currentColor; /* assure la flèche de la bonne couleur */
}

.back-to-top:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.back-to-top:active { transform: translateY(0); opacity: .9; }

/* Responsive */
@media (max-width: 1000px) {
    .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    }
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #fff;
  color: #4a4542;
}

.esthetique-section {
  text-align: center;
  padding: 100px 20px 200px; /* ajusté: une seule vague, moins d'espace nécessaire */
  background-color: #ffffff; /* demandé : fond blanc */
  position: relative;
  overflow: hidden; /* pour contenir les vagues décoratives */
}

.esthetique-section .icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.esthetique-section h1 {
  font-size: 3.5rem; /* 0.5x plus petit qu'avant */
  font-weight: 500;
  line-height: 1.2;
  color: #e93196; /* couleur demandée */
}

.esthetique-section p {
  max-width: 700px;
  margin: 20px auto;
  line-height: 1.6;
  font-size: 1rem;
  color: #4a4a4a;
}

/* Assure que le contenu reste au-dessus des vagues */
.esthetique-section > * { position: relative; z-index: 2; }

/* Vague en bas (une seule couche) */
.esthetique-section::before,
.esthetique-section::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 1200px 100%;
  pointer-events: none;
  z-index: 1;
}

/* Désactive la seconde vague pour éviter l'effet doublé */
.esthetique-section::before{ content: none; }

/* Vague visible */
.esthetique-section::after{
  height: 180px;
  opacity: .92;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'><path d='M0,86 C260,26 520,26 780,86 C1040,146 1300,146 1440,86 L1440,0 L0,0 Z' fill='%23ffffff'/></svg>");
}

/* Section Services */
.services {
  background-color: #d8cec5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 80px 10%;
  gap: 80px;
}

.services-title {
  flex: 1;
}

.services-title h2 {
  font-size: 3rem;
  color: #222;
  line-height: 1.1;
  font-weight: 400;
}

.services-list {
  flex: 2;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.services-list p {
  margin-bottom: 25px;
  font-size: 1rem;
  color: #444;
  max-width: 400px;
  line-height: 1.6;
}

.left, .right {
  flex: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .services {
    flex-direction: column;
    text-align: center;
  }

  .services-list {
    flex-direction: column;
    align-items: center;
  }

  .services-title {
    text-align: center;
  }
}
