/* ============================================
   Vitalis Nutrition — Feuille de style
   Palette pastel rosé / vert, style mandala épuré
   ============================================ */

:root {
  --rose-pale: #FAF0F2;
  --rose-doux: #F2D7DD;
  --rose-accent: #D89AA6;
  --rose-fonce: #B37281;
  --vert-pale: #F0F5EF;
  --vert-doux: #DCE8DA;
  --vert-sauge: #9CAF88;
  --vert-fonce: #6B7F5C;
  --creme: #F7F1E7; /* lin léger */
  --lin-clair: #FBF7F0;
  --texte: #4A4442;
  --texte-doux: #7A716D;
  --font-titres: 'Cormorant Garamond', Georgia, serif;
  --font-texte: 'Nunito', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texte);
  color: var(--texte);
  background: var(--creme);
  line-height: 1.7;
  font-size: 1.05rem;
}

h1, h2, h3 {
  font-family: var(--font-titres);
  font-weight: 600;
  color: var(--rose-fonce);
  line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.1rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; color: var(--vert-fonce); margin-bottom: .5rem; }

p { margin-bottom: 1rem; }

a { color: var(--rose-fonce); }

.conteneur {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- En-tête ---------- */
header {
  background: linear-gradient(to right, var(--rose-pale), var(--vert-pale));
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.logo-nom {
  font-family: var(--font-titres);
  font-size: 1.5rem;
  color: var(--rose-fonce);
}

.nav ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav a.lien {
  text-decoration: none;
  color: var(--texte);
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color .25s, color .25s;
}

.nav a.lien:hover, .nav a.lien.actif {
  color: var(--rose-fonce);
  border-color: var(--rose-accent);
}

/* ---------- Héro ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem 5.5rem;
  background: linear-gradient(160deg, var(--rose-pale) 0%, var(--creme) 55%, var(--vert-pale) 100%);
  overflow: hidden;
}

.hero .mandala {
  position: absolute;
  opacity: .28;
  pointer-events: none;
  z-index: 0;
}

/* Le contenu du héro passe devant les mandalas */
.hero h1, .hero .sous-titre, .hero .bouton {
  position: relative;
  z-index: 1;
}

.mandala-gauche { top: -180px; left: -160px; }
.mandala-droite { bottom: -200px; right: -180px; }

/* Grand mandala fondu derrière le texte */
.mandala-centre {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .14;
}

/* ---------- Bandeaux de pages (prestations, rendez-vous) ---------- */
.bandeau {
  position: relative;
  overflow: hidden;
}

.bandeau .mandala {
  position: absolute;
  opacity: .28;
  pointer-events: none;
  z-index: 0;
}

.bandeau .conteneur {
  position: relative;
  z-index: 1;
}

.bandeau .mandala-centre {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .16;
}

.bandeau .mandala-coin-droit { top: -180px; right: -170px; }
.bandeau .mandala-coin-gauche { top: -180px; left: -170px; }

.hero h1 { margin-bottom: .6rem; }

.hero .sous-titre {
  font-size: 1.25rem;
  color: var(--texte-doux);
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
  margin: .3rem;
}

.bouton:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }

.bouton-rose { background: var(--rose-accent); color: #fff; }
.bouton-vert { background: var(--vert-sauge); color: #fff; }
.bouton-contour {
  background: transparent;
  color: var(--rose-fonce);
  border: 2px solid var(--rose-accent);
}

/* ---------- Sections ---------- */
section { padding: 4rem 0; }

.section-verte { background: var(--vert-pale); }
.section-rose { background: var(--rose-pale); }

.separateur {
  text-align: center;
  color: var(--rose-accent);
  font-size: 1.5rem;
  letter-spacing: 1rem;
  margin: 0;
  padding: 1.2rem 0;
}

/* ---------- Cartes ---------- */
.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* 4 cartes sur une seule ligne (2x2 sur tablette, 1 colonne sur mobile) */
.grille-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grille-4 { grid-template-columns: repeat(2, 1fr); }
}

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

.carte {
  background: var(--lin-clair);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  text-align: center;
}

.carte .icone { font-size: 2.2rem; margin-bottom: .8rem; }

.carte .icone svg { display: block; margin: 0 auto; }

/* ---------- Tarifs ---------- */
.carte-tarif {
  text-align: left;
  border-top: 5px solid var(--vert-doux);
}

.carte-tarif .prix {
  font-family: var(--font-titres);
  font-size: 1.8rem;
  color: var(--rose-fonce);
}

.carte-tarif .duree { color: var(--texte-doux); font-size: .95rem; }

/* ---------- Encadré info ---------- */
.encadre {
  background: var(--lin-clair);
  border-left: 5px solid var(--rose-accent);
  border-radius: 0 14px 14px 0;
  padding: 1.5rem 1.8rem;
  margin-top: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

/* ---------- Pied de page ---------- */
footer {
  background: linear-gradient(to right, var(--vert-doux), var(--rose-doux));
  padding: 2.5rem 0;
  text-align: center;
  color: var(--texte);
  font-size: .95rem;
}

footer a { color: var(--texte); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .nav ul { gap: 1rem; }
  .hero { padding: 3rem 1rem; }
}
