/* =========================================================================
   INSTITUT — Épilation laser
   Feuille de style principale
   Ambiance : épuré, blanc & vieux rose (inspiration Apple : clair, aéré, pro)
   ========================================================================= */

/* ---------- 1. Variables (couleurs, polices) ---------- */
:root {
  /* Couleurs — pour changer l'ambiance, modifie surtout --rose et --rose-600 */
  --blanc:      #ffffff;
  --creme:      #fbf6f5;   /* fond très doux, légèrement rosé */
  --rose-50:    #f8edf0;
  --rose-100:   #f1dde3;
  --rose-200:   #e6c6cf;
  --rose-300:   #d8aab7;
  --rose:       #c2879a;   /* vieux rose principal (boutons, accents) */
  --rose-600:   #a96c7d;   /* survol / plus foncé */
  --rose-700:   #8c556699;

  --encre:      #37303a;   /* titres */
  --texte:      #514954;   /* texte courant */
  --gris:       #8b808a;   /* texte secondaire */
  --ligne:      #efe4e7;   /* filets, bordures */

  --ombre:      0 10px 40px rgba(140, 90, 105, .10);
  --ombre-forte:0 18px 60px rgba(140, 90, 105, .16);
  --rayon:      18px;
  --max:        1160px;
}

/* ---------- 2. Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--encre);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .2px;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

p { margin-bottom: 1rem; }
a { color: var(--rose-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-700); }
img { max-width: 100%; display: block; }

.conteneur { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.centre { text-align: center; }
.etroit { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Petit label au-dessus des titres */
.suptitre {
  display: inline-block;
  font-family: "Nunito Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 14px;
}

/* ---------- 3. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700; font-size: .98rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s, color .2s;
  text-align: center;
}
.btn-plein {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 22px rgba(194, 135, 154, .35);
}
.btn-plein:hover { background: var(--rose-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(169, 108, 125, .4); }
.btn-ligne {
  background: transparent;
  color: var(--rose-600);
  border-color: var(--rose-200);
}
.btn-ligne:hover { border-color: var(--rose); background: var(--rose-50); color: var(--rose-600); transform: translateY(-2px); }
.btn-clair { background:#fff; color: var(--rose-600); }
.btn-clair:hover { background: var(--rose-50); }

/* ---------- 4. En-tête / navigation ---------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ligne);
}
.entete .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo .mot {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem; font-weight: 600; color: var(--encre);
  letter-spacing: 1px; line-height: 1;
}
.logo .mot b { color: var(--rose); font-weight: 600; }
.logo svg { flex: 0 0 auto; }
.logo-img { height: 46px; width: auto; display: block; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu a {
  white-space: nowrap;
  color: var(--texte);
  font-weight: 600; font-size: .92rem;
  padding: 9px 10px; border-radius: 10px;
  transition: background .2s, color .2s;
}
.menu a:hover { background: var(--rose-50); color: var(--rose-600); }
.menu a.actif { color: var(--rose-600); }
.menu .cta-nav a {
  background: var(--rose); color: #fff; padding: 10px 20px;
  box-shadow: 0 6px 16px rgba(194,135,154,.35);
}
.menu .cta-nav a:hover { background: var(--rose-600); color:#fff; }

/* Bouton hamburger (mobile) */
.burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
}
.burger span { display:block; height: 2px; background: var(--encre); border-radius: 2px; margin: 5px 0; transition: .3s; }
.burger.ouvert span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.ouvert span:nth-child(2){ opacity: 0; }
.burger.ouvert span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Bouton RDV flottant (sur toutes les pages) ---------- */
.rdv-flottant {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  background: var(--rose); color: #fff;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-family: "Nunito Sans", sans-serif;
  box-shadow: 0 12px 34px rgba(169,108,125,.45);
  display: inline-flex; align-items: center; gap: 9px;
  animation: apparition .5s ease;
  transition: transform .18s, box-shadow .18s, background .2s;
}
.rdv-flottant:hover { background: var(--rose-600); color:#fff; transform: translateY(-3px) scale(1.02); }
@keyframes apparition { from { opacity: 0; transform: translateY(20px);} to {opacity:1; transform: none;} }

/* ---------- 5bis. Sceau rond flottant (haut à droite, sur toutes les pages) ---------- */
.sceau-flottant {
  position: fixed; top: 90px; right: 20px; z-index: 95;
  width: 76px; height: 76px; border-radius: 50%;
  overflow: hidden; background: #fff;
  box-shadow: var(--ombre-forte);
  display: block;
  animation: apparition .5s ease;
  transition: transform .18s ease, box-shadow .18s ease;
}
.sceau-flottant img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sceau-flottant:hover { transform: scale(1.05); box-shadow: 0 20px 50px rgba(140,90,105,.28); }
@media (max-width: 680px) {
  .sceau-flottant { width: 58px; height: 58px; top: 80px; right: 14px; }
}

/* ---------- 6. Sections génériques ---------- */
section { padding: 84px 0; }
.section-douce { background: var(--creme); }
.section-rose { background: var(--rose-50); }

.entete-section { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.entete-section p { color: var(--gris); font-size: 1.08rem; }

/* ---------- 7. Hero (haut de l'accueil) ---------- */
.hero { padding: 70px 0 64px; }
.hero .grille {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .accroche { font-size: 1.2rem; color: var(--texte); margin-bottom: 14px; }
.hero .sous { color: var(--gris); margin-bottom: 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 8. Images / placeholders photo ---------- */
.photo {
  border-radius: var(--rayon); overflow: hidden;
  box-shadow: var(--ombre); background: var(--rose-50);
}
.photo img, .photo svg { width: 100%; height: 100%; object-fit: cover; display:block; }
.photo-legende {
  font-size: .82rem; color: var(--gris); text-align:center;
  margin-top: 10px; font-style: italic;
}

/* ---------- 9. Cartes ---------- */
.grille-cartes { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.carte {
  background: #fff; border: 1px solid var(--ligne);
  border-radius: var(--rayon); padding: 32px 28px;
  box-shadow: var(--ombre); transition: transform .22s, box-shadow .22s;
}
.carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-forte); }
.carte .ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--rose-50); color: var(--rose-600);
  display: grid; place-items: center; margin-bottom: 18px;
}
.carte h3 { font-size: 1.35rem; margin-bottom: 8px; }
.carte p { color: var(--gris); font-size: .98rem; margin: 0; }

/* Étapes numérotées */
.etape .num {
  font-family: "Cormorant Garamond", serif; font-size: 2.6rem;
  color: var(--rose-200); font-weight: 700; line-height: 1;
  margin-bottom: 10px;
}
.etape:hover .num { color: var(--rose); }

/* Cartes zones */
.zone {
  background:#fff; border:1px solid var(--ligne); border-radius: 14px;
  padding: 22px 16px; text-align:center; transition: .22s;
  box-shadow: 0 4px 18px rgba(140,90,105,.06);
}
.zone:hover { transform: translateY(-4px); border-color: var(--rose-200); box-shadow: var(--ombre); }
.zone .ico { color: var(--rose); margin-bottom: 10px; display:flex; justify-content:center; }
.zone span { display:block; font-weight: 700; color: var(--encre); font-size: .98rem; }

/* ---------- 10. Listes à puces "check" ---------- */
.liste-check { list-style: none; display: grid; gap: 12px; }
.liste-check li { position: relative; padding-left: 34px; color: var(--texte); }
.liste-check li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--rose-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a96c7d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---------- 11. Bandeau CTA ---------- */
.cta-bloc {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-600) 100%);
  border-radius: 26px; color: #fff; text-align: center;
  padding: 64px 32px; box-shadow: var(--ombre-forte);
}
.cta-bloc h2 { color: #fff; margin-bottom: 14px; }
.cta-bloc p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 26px; }

/* ---------- 12. FAQ (accordéon) ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--ligne); border-radius: 14px; background:#fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: "Nunito Sans", sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--encre); padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q:hover { color: var(--rose-600); }
.faq-q .plus { flex:0 0 auto; color: var(--rose); font-size: 1.5rem; transition: transform .3s; line-height: 1; }
.faq-item.ouvert .faq-q .plus { transform: rotate(45deg); }
.faq-r { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-r .interieur { padding: 0 24px 22px; color: var(--gris); }

/* ---------- 13. Encadrés d'info / avertissement ---------- */
.encadre {
  border-radius: 16px; padding: 24px 26px; border: 1px solid var(--ligne);
  background: var(--rose-50);
}
.encadre.attention { background: #fff7f2; border-color: #f4d9c8; }
.encadre h3 { font-size: 1.25rem; margin-bottom: 6px; }
.encadre p:last-child { margin-bottom: 0; }

/* ---------- 14. Tarifs ---------- */
.tarif-groupe { margin-bottom: 46px; }
.tarif-groupe h3 { margin-bottom: 18px; color: var(--rose-600); }
.tableau-tarifs {
  width: 100%; border-collapse: collapse; background:#fff;
  border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre);
}
.tableau-tarifs th, .tableau-tarifs td { padding: 16px 22px; text-align: left; }
.tableau-tarifs thead th { background: var(--rose); color:#fff; font-family:"Nunito Sans"; font-weight:700; }
.tableau-tarifs tbody tr { border-top: 1px solid var(--ligne); }
.tableau-tarifs tbody tr:nth-child(even) { background: var(--creme); }
.tableau-tarifs td:last-child { text-align: right; font-weight: 700; color: var(--rose-600); white-space: nowrap; }
.tarif-note { font-size: .9rem; color: var(--gris); margin-top: 14px; }

/* ---------- 15. Formulaire ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.champ { display: grid; gap: 7px; }
.champ label { font-weight: 700; color: var(--encre); font-size: .95rem; }
.champ input, .champ select, .champ textarea {
  font-family: inherit; font-size: 1rem; color: var(--texte);
  padding: 13px 16px; border: 1.5px solid var(--ligne); border-radius: 12px;
  background: #fff; transition: border .2s, box-shadow .2s;
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-50);
}
.champ textarea { min-height: 130px; resize: vertical; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Coordonnées (contact) */
.coord { display: grid; gap: 18px; }
.coord .ligne { display: flex; gap: 16px; align-items: flex-start; }
.coord .ligne .ico {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px;
  background: var(--rose-50); color: var(--rose-600); display: grid; place-items: center;
}
.coord .ligne b { color: var(--encre); display:block; }

/* ---------- 16. Avis ---------- */
.avis { background:#fff; border:1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); }
.avis .etoiles { color: #e6b800; letter-spacing: 2px; margin-bottom: 10px; }
.avis p { font-style: italic; color: var(--texte); }
.avis .nom { font-weight: 700; color: var(--rose-600); font-style: normal; margin-top: 10px; }

/* ---------- 17. Pied de page ---------- */
.pied { background: var(--encre); color: #d9cfd6; padding: 60px 0 26px; }
.pied a { color: #e7dbe1; }
.pied a:hover { color: #fff; }
.pied .haut { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.pied h4 { color: #fff; font-family:"Nunito Sans"; font-size: .82rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.pied ul { list-style: none; display: grid; gap: 9px; }
.pied .marque .mot { font-family:"Cormorant Garamond", serif; font-size: 1.6rem; color:#fff; }
.pied .marque p { color:#b6a9b2; font-size: .95rem; margin-top: 10px; }
.pied .coord-pied li { display:flex; gap:10px; align-items:flex-start; color:#cfc3cb; }
.pied .bas { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display:flex; flex-wrap:wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color:#a99ca5; }

/* ---------- 18. Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.vu { opacity: 1; transform: none; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 980px) {
  .hero .grille { grid-template-columns: 1fr; gap: 34px; }
  .hero .photo { order: -1; }
  .pied .haut { grid-template-columns: 1fr 1fr; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1320px) {
  .burger { display: block; }
  .menu {
    position: fixed; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px 20px 26px; gap: 4px;
    border-bottom: 1px solid var(--ligne);
    box-shadow: var(--ombre);
    transform: translateY(-140%); transition: transform .35s ease;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .menu.ouvert { transform: translateY(0); }
  .menu a { padding: 13px 14px; font-size: 1rem; }
  .menu .cta-nav a { text-align: center; margin-top: 8px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .form-2 { grid-template-columns: 1fr; }
  .pied .haut { grid-template-columns: 1fr; }
  .cta-bloc { padding: 48px 22px; }
  .rdv-flottant { right: 14px; bottom: 14px; padding: 13px 20px; }
  .tableau-tarifs th, .tableau-tarifs td { padding: 13px 14px; }
}
