/* Hypnothérapie16, Carole Smadja. Feuille de style unique, sans dépendance externe. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivoire: #faf6f0;
  --lin: #f3ece2;
  --sable: #e7dccd;
  --ligne: #e2d6c6;
  --encre: #2b2229;
  --texte: #4a3f47;
  --doux: #6f6169;
  --prune: #6e3b55;
  --prune-fonce: #4f2a3e;
  --prune-pale: #f1e6ea;
  --sauge: #5f705c;
  --sauge-pale: #e8ece4;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(43, 34, 41, .05), 0 8px 28px rgba(43, 34, 41, .07);
  --large: min(1160px, 100% - 2.5rem);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--prune); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--prune-fonce); }
:focus-visible { outline: 3px solid var(--prune); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--encre);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 50;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.05em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .45em; }
li::marker { color: var(--sauge); }

.lien-evitement {
  position: absolute; left: -999px; top: .5rem; z-index: 100;
  background: var(--encre); color: var(--ivoire); padding: .6rem 1rem; border-radius: 8px;
}
.lien-evitement:focus { left: .5rem; }

.conteneur { width: var(--large); margin-inline: auto; }
.lecture { max-width: 68ch; }
.surtitre {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sauge); font-weight: 700; margin-bottom: .9rem; display: block;
}

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.entete.defile { border-bottom-color: var(--ligne); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.marque { text-decoration: none; color: var(--encre); display: flex; flex-direction: column; line-height: 1.1; }
.marque .nm { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: -.01em; }
.marque .sous { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--doux); margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--encre); font-size: 1rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--prune); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .4em; }
.bouton-menu { display: none; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--prune); color: #fff; text-decoration: none;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid var(--prune); transition: background .2s, transform .2s;
  cursor: pointer; font-family: var(--sans); line-height: 1.2;
}
.bouton:hover { background: var(--prune-fonce); color: #fff; transform: translateY(-1px); }
.bouton.secondaire { background: transparent; color: var(--prune); }
.bouton.secondaire:hover { background: var(--prune-pale); color: var(--prune-fonce); }
.bouton svg { width: 1.1em; height: 1.1em; flex: none; }
.nav .bouton { color: #fff; padding: .65rem 1.1rem; }
.nav .bouton:hover { color: #fff; }

/* Héros */
.heros { padding: 2.2rem 0 4.5rem; }
.heros-grille { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; min-height: min(80vh, 720px); }
.heros .texte { max-width: 34rem; }
.heros h1 { margin-bottom: .45em; }
.heros .chapeau { font-size: 1.2rem; color: var(--texte); margin-bottom: 1.8rem; }
.media {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 22px;
  height: min(74vh, 660px); box-shadow: 0 2px 6px rgba(43,34,41,.06), 0 24px 60px rgba(43,34,41,.14);
  background: var(--sable);
}
.media img, .media canvas.sequence { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; }
.media canvas.sequence { z-index: 1; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.media canvas.sequence.visible { opacity: 1; }
.indice {
  position: absolute; z-index: 2; right: 1rem; bottom: 1rem; margin: 0; font-size: .85rem; letter-spacing: .02em;
  color: var(--encre); background: rgba(250,246,240,.86); padding: .45rem .85rem; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .8s ease, transform .8s ease; pointer-events: none;
}
.indice.visible { opacity: 1; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.infos-heros { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .98rem; color: var(--doux); }
.infos-heros span { display: inline-flex; align-items: center; gap: .45rem; }
.infos-heros svg { width: 1rem; height: 1rem; color: var(--sauge); }

/* En-tête de page intérieure */
.tete-page { padding: 4rem 0 2.5rem; background: var(--lin); border-bottom: 1px solid var(--ligne); }
.tete-page .chapeau { font-size: 1.2rem; max-width: 60ch; }
.fil { font-size: .92rem; color: var(--doux); margin-bottom: 1.4rem; }
.fil a { color: var(--doux); }
.tete-motif { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.tete-motif img { border-radius: var(--rayon); box-shadow: var(--ombre); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Sections */
.section { padding: 5rem 0; }
.section.teinte { background: var(--lin); }
.section.sauge { background: var(--sauge-pale); }
.intro-section { max-width: 44rem; margin-bottom: 2.6rem; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.deux-colonnes.texte-large { grid-template-columns: 1.25fr .75fr; align-items: start; }

/* Cartes motifs */
.grille-motifs { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.4rem; }
.carte {
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: var(--sable); color: inherit; }
.carte img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.carte .corps { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.carte h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.carte p { font-size: 1rem; color: var(--doux); margin: 0 0 .9rem; }
.carte .suite { margin-top: auto; color: var(--prune); font-weight: 600; font-size: .98rem; }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: etape; }
.etapes li { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.6rem 1.5rem; margin: 0; counter-increment: etape; }
.etapes li::before {
  content: counter(etape); font-family: var(--serif); font-size: 2.4rem; color: var(--prune);
  display: block; line-height: 1; margin-bottom: .8rem; font-weight: 400;
}
.etapes h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.etapes p { font-size: 1rem; margin: 0; }

/* Citation */
.citation { text-align: center; padding: 5.5rem 0; background: var(--prune-fonce); color: var(--ivoire); }
.citation blockquote { margin: 0 auto; max-width: 40rem; }
.citation p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.3; margin: 0 0 1.2rem; color: #fff; }
.citation cite { font-style: normal; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: #d9c6cf; }

/* Portrait */
.portrait { display: flex; gap: 1.6rem; align-items: center; margin-bottom: 1.6rem; }
.portrait img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--ombre); flex: none; }
.portrait .nom { font-family: var(--serif); font-size: 1.6rem; color: var(--encre); line-height: 1.15; }
.portrait .titres { color: var(--doux); font-size: 1rem; margin-top: .35rem; }
.photo-cabinet { border-radius: var(--rayon); box-shadow: var(--ombre); width: 100%; }
.legende { font-size: .9rem; color: var(--doux); margin-top: .6rem; }

/* Tarifs */
.tarif {
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 2rem;
  box-shadow: var(--ombre);
}
.tarif .prix { font-family: var(--serif); font-size: 3rem; color: var(--encre); line-height: 1; }
.tarif .prix small { font-size: 1.1rem; color: var(--doux); font-family: var(--sans); }
.tarif ul { margin: 1.2rem 0 1.4rem; }

/* Encadré */
.encadre { background: var(--sauge-pale); border-left: 4px solid var(--sauge); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 1.3rem 1.5rem; margin: 2rem 0; }
.encadre p:last-child { margin-bottom: 0; }
.encadre strong { color: var(--encre); }

/* Contenu long */
.contenu h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2.4rem; }
.contenu h2:first-child { margin-top: 0; }
.contenu h3 { margin-top: 1.8rem; }
.aside-motif { position: sticky; top: 100px; }
.aside-motif .tarif { padding: 1.6rem; }
.aside-motif h3 { font-size: 1.2rem; }
.liste-liens { list-style: none; padding: 0; margin: 0; }
.liste-liens li { border-bottom: 1px solid var(--ligne); margin: 0; }
.liste-liens a { display: block; padding: .6rem 0; text-decoration: none; color: var(--encre); }
.liste-liens a:hover { color: var(--prune); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--ligne); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; color: var(--encre); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--prune); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .8rem 0 0; }

/* Contact */
.contact-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
form .champ { margin-bottom: 1.1rem; }
form label { display: block; font-weight: 600; color: var(--encre); margin-bottom: .35rem; font-size: 1rem; }
form .aide { font-weight: 400; color: var(--doux); font-size: .9rem; }
form input, form select, form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  background: #fff; border: 1px solid var(--sable); border-radius: 10px; padding: .8rem .9rem;
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--prune); outline-offset: 1px; border-color: var(--prune); }
form textarea { min-height: 9rem; resize: vertical; }
.case { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.case input { width: auto; margin-top: .3rem; accent-color: var(--prune); }
.case label { font-weight: 400; color: var(--texte); font-size: .95rem; }
.cache { position: absolute !important; left: -9999px !important; }
.carte-info { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.6rem 1.6rem 1.2rem; }
.carte-info h3 { font-size: 1.2rem; }
.carte-info dl { margin: 0; }
.carte-info dt { font-weight: 700; color: var(--encre); font-size: .95rem; margin-top: .9rem; }
.carte-info dd { margin: .1rem 0 0; }

/* Appel à l'action */
.appel { background: var(--lin); border-top: 1px solid var(--ligne); padding: 4rem 0; }
.appel .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.appel h2 { margin: 0 0 .3rem; }
.appel p { margin: 0; }

/* Pied de page */
.pied { background: var(--encre); color: #d8ccd3; padding: 3.5rem 0 6rem; font-size: 1rem; }
.pied a { color: #f3e9ee; }
.pied .grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.pied h2 { font-size: 1.15rem; color: #fff; margin-bottom: .8rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .35rem; }
.pied .bas { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* Barre d'action mobile */
.barre-mobile { display: none; }

/* Apparition douce */
.js .revele { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .revele.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .deux-colonnes, .deux-colonnes.texte-large, .contact-grille, .tete-motif { grid-template-columns: 1fr; gap: 2.2rem; }
  .etapes { grid-template-columns: 1fr; }
  .pied .grille { grid-template-columns: 1fr 1fr; }
  .aside-motif { position: static; }
}

@media (max-width: 860px) {
  .bouton-menu {
    display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--sable);
    border-radius: 999px; padding: .55rem .95rem; font: inherit; font-size: .95rem; color: var(--encre); cursor: pointer;
  }
  .bouton-menu svg { width: 1.1rem; height: 1.1rem; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivoire); border-bottom: 1px solid var(--ligne); padding: .5rem 1.25rem 1.25rem; box-shadow: 0 12px 24px rgba(43,34,41,.08);
  }
  .nav.ouvert { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--ligne); font-size: 1.1rem; }
  .nav .bouton { margin-top: 1rem; border-bottom: 0; }
  .heros { padding: 1rem 0 3rem; }
  .heros-grille { grid-template-columns: 1fr; min-height: auto; gap: 1.8rem; }
  .media { order: -1; height: 48vh; min-height: 300px; border-radius: 18px; }
  .indice { display: none; }
  .section { padding: 3.5rem 0; }
  .tete-page { padding: 2.8rem 0 2rem; }
  body { font-size: 1.0625rem; }
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(250,246,240,.96);
    border-top: 1px solid var(--ligne); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .barre-mobile .bouton { padding: .8rem .6rem; font-size: .98rem; }
}

@media (max-width: 560px) {
  .pied .grille { grid-template-columns: 1fr; }
  .portrait { flex-direction: column; align-items: flex-start; }
  .marque .nm { font-size: 1.2rem; }
  .marque .sous { font-size: .7rem; }
}
