/* ==========================================================================
   Anne-Laure Briottet-Manolios — Hypnose Ericksonienne
   Feuille de style du site.
   ⚠️  Ce fichier gère l'APPARENCE (couleurs, tailles, espacements).
       Pour modifier un TEXTE, ouvrez plutôt les fichiers .html.
   ========================================================================== */

:root {
  /* --- Couleurs (reprises du flyer) --- */
  --rose:        #A85C7A;   /* vieux rose principal */
  --rose-clair:  #C98BA6;
  --rose-pale:   #F6E9EE;
  --sauge:       #7E8F70;   /* vert sauge */
  --sauge-clair: #E6EBE0;
  --dore:        #C0A16B;
  --creme:       #FDF8F5;
  --creme-fonce: #F5EDE8;
  --texte:       #3B3835;
  --texte-doux:  #6A6560;
  --blanc:       #FFFFFF;

  --max:         1120px;
  --radius:      18px;
  --ombre:       0 2px 18px rgba(90, 60, 70, .07);
  --ombre-forte: 0 8px 34px rgba(90, 60, 70, .12);
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--texte);
  background: var(--creme);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rose); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--texte);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
p  { margin: 0 0 1.1em; }

.script {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--rose);
}

/* --- Structure ---------------------------------------------------------- */
.contenu { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.contenu-etroit { width: min(100% - 2.5rem, 780px); margin-inline: auto; }

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.fond-creme { background: var(--creme-fonce); }
.fond-rose  { background: var(--rose-pale); }
.fond-sauge { background: var(--sauge-clair); }

.centre { text-align: center; }
.surtitre {
  display: block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sauge);
  font-weight: 600;
  margin-bottom: .8rem;
}
.trait {
  width: 62px; height: 2px; border: 0;
  background: var(--dore);
  margin: 1.4rem auto 2.4rem;
}
.trait-gauche { margin-inline: 0; }

/* --- En-tête / navigation ----------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 245, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(168, 92, 122, .13);
}
.entete-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.marque { display: flex; align-items: center; gap: .75rem; }
.marque img { width: 52px; height: 52px; border-radius: 50%; }
.marque-texte strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem; font-weight: 600; line-height: 1.15; color: var(--texte);
}
.marque-texte span {
  display: block; font-size: .7rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--sauge);
}

.nav ul {
  display: flex; align-items: center; gap: 1.35rem;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  color: var(--texte); font-size: .95rem; text-decoration: none;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--rose); border-bottom-color: var(--rose-clair); text-decoration: none; }
.nav a.actif { color: var(--rose); border-bottom-color: var(--rose); }

/* Bouton hamburger (mobile) — fonctionne sans JavaScript */
#menu-toggle { display: none; }
.menu-bouton {
  display: none; cursor: pointer; padding: .55rem;
  border: 1px solid rgba(168, 92, 122, .3); border-radius: 10px;
  background: var(--blanc); line-height: 0;
}
.menu-bouton span {
  display: block; width: 22px; height: 2px; margin: 4px 0;
  background: var(--rose); border-radius: 2px;
}

/* --- Boutons ------------------------------------------------------------ */
.bouton, .bouton-clair {
  display: inline-block;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bouton { background: var(--rose); color: var(--blanc); box-shadow: var(--ombre); }
.bouton:hover { background: #96506B; color: var(--blanc); text-decoration: none; transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.bouton-clair { background: var(--blanc); color: var(--rose); border: 1px solid var(--rose-clair); }
.bouton-clair:hover { background: var(--rose-pale); text-decoration: none; transform: translateY(-2px); }
.boutons { display: flex; flex-wrap: wrap; gap: .9rem; }
.boutons.centre { justify-content: center; }

/* --- Bandeau d'accueil (hero) ------------------------------------------- */
.hero { background: linear-gradient(160deg, var(--rose-pale) 0%, var(--creme) 55%, var(--sauge-clair) 100%); }
.hero-grille {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { margin-bottom: .3rem; }
.hero .role {
  font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rose); font-weight: 600; margin-bottom: .2rem;
}
.hero .diplome { font-size: .95rem; color: var(--texte-doux); margin-bottom: 1.4rem; }
.hero .accroche {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-style: italic; line-height: 1.5; color: var(--texte); margin-bottom: 1.8rem;
}
.hero-photo { position: relative; }
.hero-photo img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--ombre-forte); }

/* --- Cartes ------------------------------------------------------------- */
.grille { display: grid; gap: 1.5rem; }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }

.carte {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--ombre);
  border: 1px solid rgba(168, 92, 122, .08);
}
.carte h3 { color: var(--rose); margin-bottom: .5rem; }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.carte .icone {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rose-pale); margin-bottom: 1rem;
  font-size: 1.5rem;
}
.carte .icone.vert { background: var(--sauge-clair); }
.icone svg { color: var(--rose); }
.icone.vert svg { color: var(--sauge); }
.coord .puce svg { width: 20px; height: 20px; color: var(--rose); }

.liste-puces { list-style: none; padding: 0; margin: 0; }
.liste-puces li {
  position: relative; padding-left: 1.6rem; margin-bottom: .55rem;
}
.liste-puces li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: var(--dore); font-size: .9rem;
}
.liste-check li::before { content: "✓"; color: var(--sauge); font-weight: 700; }

/* --- Étapes numérotées -------------------------------------------------- */
.etapes { counter-reset: etape; display: grid; gap: 1.4rem; }
.etape {
  display: grid; grid-template-columns: 62px 1fr; gap: 1.3rem; align-items: start;
  background: var(--blanc); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--ombre);
}
.etape::before {
  counter-increment: etape; content: counter(etape);
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rose-pale); color: var(--rose);
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; font-weight: 600;
}
.etape h3 { margin-bottom: .3rem; }
.etape p:last-child { margin-bottom: 0; }

/* --- Citation ----------------------------------------------------------- */
.citation {
  border-left: 3px solid var(--dore);
  padding: .4rem 0 .4rem 1.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-style: italic; color: var(--texte);
}
.citation cite { display: block; font-size: .85rem; font-style: normal; color: var(--texte-doux); margin-top: .7rem; }

/* --- FAQ (accordéon natif, sans JavaScript) ----------------------------- */
.faq details {
  background: var(--blanc); border-radius: var(--radius);
  margin-bottom: 1rem; box-shadow: var(--ombre);
  border: 1px solid rgba(168, 92, 122, .08);
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 3rem 1.15rem 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem; font-weight: 600; color: var(--texte);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  color: var(--rose); font-size: 1.6rem; font-family: system-ui, sans-serif; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--rose); }
.faq .reponse { padding: 0 1.5rem 1.4rem; }
.faq .reponse p:last-child { margin-bottom: 0; }

/* --- Encadrés ----------------------------------------------------------- */
.encadre {
  background: var(--sauge-clair);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  border-left: 4px solid var(--sauge);
}
.encadre p:last-child { margin-bottom: 0; }
.encadre-rose { background: var(--rose-pale); border-left-color: var(--rose); }

/* --- Tarif -------------------------------------------------------------- */
.tarif {
  background: var(--blanc); border-radius: var(--radius);
  padding: 2.4rem; text-align: center; box-shadow: var(--ombre-forte);
  border: 1px solid rgba(168, 92, 122, .12);
}
.tarif .prix {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem; font-weight: 600; color: var(--rose); line-height: 1;
  display: block; margin: .4rem 0;
}

/* --- Contact ------------------------------------------------------------ */
.coord { list-style: none; padding: 0; margin: 0; }
.coord li { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem; }
.coord .puce {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--rose-pale); display: grid; place-items: center; font-size: 1.05rem;
}

form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .3rem; }
form input, form textarea {
  width: 100%; padding: .75rem .9rem; margin-bottom: 1.1rem;
  border: 1px solid rgba(168, 92, 122, .28); border-radius: 10px;
  font: inherit; background: var(--blanc); color: var(--texte);
}
form input:focus, form textarea:focus { outline: 2px solid var(--rose-clair); outline-offset: 1px; }
form textarea { min-height: 150px; resize: vertical; }
form button {
  border: 0; cursor: pointer;
  font-family: inherit;
}

/* --- Pied de page ------------------------------------------------------- */
.pied {
  background: var(--sauge); color: #F2F4EE;
  padding: 3rem 0 1.6rem; margin-top: 0;
}
.pied a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.pied h4 { color: var(--blanc); font-size: 1.25rem; margin-bottom: .8rem; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .5rem; }
.pied-bas {
  border-top: 1px solid rgba(255,255,255,.22);
  margin-top: 2.4rem; padding-top: 1.2rem;
  font-size: .85rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
}

/* --- Avertissement légal ------------------------------------------------ */
.avertissement {
  font-size: .92rem; color: var(--texte-doux);
  background: var(--creme-fonce); border-radius: 12px; padding: 1.1rem 1.3rem;
  border: 1px dashed rgba(168, 92, 122, .3);
}

/* --- Accessibilité ------------------------------------------------------ */
.lien-evitement {
  position: absolute; left: -9999px;
  background: var(--rose); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0; z-index: 100;
}
.lien-evitement:focus { left: 0; top: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

/* ==========================================================================
   RESPONSIVE — adaptation tablette et mobile
   ========================================================================== */
@media (max-width: 1100px) {
  .grille-4 { grid-template-columns: repeat(2, 1fr); }
  .grille-3 { grid-template-columns: repeat(2, 1fr); }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1040px) {
  .menu-bouton { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--creme);
    border-bottom: 1px solid rgba(168, 92, 122, .18);
    box-shadow: var(--ombre-forte);
    max-height: 0; overflow: hidden;
    transition: max-height .28s ease;
  }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; }
  .nav li { border-bottom: 1px solid rgba(168, 92, 122, .1); }
  .nav a { display: block; padding: .85rem .2rem; border-bottom: 0; }
  #menu-toggle:checked ~ .nav { max-height: 520px; }
  .entete-inner { position: relative; }

  .hero-grille { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { order: -1; max-width: 330px; margin-inline: auto; }
  .boutons { justify-content: center; }
  .trait { margin-inline: auto; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .grille-2, .grille-3, .grille-4 { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr; gap: 2rem; }
  .etape { grid-template-columns: 1fr; gap: .7rem; }
  .etape::before { width: 50px; height: 50px; font-size: 1.4rem; }
  .marque img { width: 44px; height: 44px; }
  .marque-texte strong { font-size: 1rem; }
  .marque-texte span { font-size: .62rem; }
  .tarif { padding: 1.8rem 1.2rem; }
  .contenu, .contenu-etroit { width: min(100% - 1.8rem, var(--max)); }
}

@media print {
  .entete, .pied, .boutons { display: none; }
}
