/* ==========================================================================
   Ysabelle Delmas — Cabinet d'hypnose, méthode MHMI
   Direction « La respiration » : de la nuit vers la lumière.
   Titres Onest 500 · texte Hanken Grotesk · doré réservé à l'action.
   Échelle d'espacement 8 px · grille 12 colonnes · mobile first.
   ========================================================================== */

/* ---------- Jetons ---------- */
:root {
  --night: #0b1327; --night-2: #141f3d; --night-3: #2a3a63; --night-4: #3d4f7c;
  --paper: #eef1f6; --paper-2: #e4e9f2; --white: #ffffff;
  --gold: #d4b26a; --gold-text: #7f621c;

  /* encres sur fond sombre */
  --on-dark: #eef1f6; --on-dark-2: #c3cadb; --on-dark-3: #8f9ab5; --line-dark: rgba(255,255,255,.12);
  /* encres sur fond clair */
  --on-light: #101a33; --on-light-2: #3a4560; --on-light-3: #5f6a85; --line-light: #d3d9e6;

  --font-title: "Onest", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --t-hero: clamp(2.2rem, 5vw, 4.6rem);
  --t-h2: clamp(2rem, 4.2vw, 4.2rem);
  --t-item: clamp(1.6rem, 3.4vw, 3.4rem);
  --t-sub: clamp(1.4rem, 2.2vw, 2rem);
  --t-lead: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --t-body: 1.125rem; --t-small: 1rem; --t-xs: .85rem;

  --s1: .25rem; --s2: .5rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem; --s7: 4rem; --s8: 6rem; --s9: 8rem; --s10: 12rem;
  --container: 92rem; --gutter: clamp(1.25rem, 2vw, 2rem);
  --ease: cubic-bezier(.22, 1, .36, 1); --slow: 1.2s; --breath: 9s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--on-dark); font-family: var(--font-body); font-size: var(--t-body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, ul, figure, dl, dd, blockquote, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
h1, h2, .item, .q { font-family: var(--font-title); font-weight: 500; letter-spacing: -.015em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: var(--t-h2); max-width: 16ch; margin-top: var(--s5); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 52rem); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s4); row-gap: var(--s6); align-items: start; }
.g-full { grid-column: 1 / -1; }
.g-left { grid-column: 1 / 7; }
.g-right { grid-column: 8 / 13; }
#voies .g-right, #methode .g-right { grid-column: 3 / 11; }
#voies h2, #methode h2 { grid-column: 1 / -1; text-align: center; max-width: none; }
#voies .over, #methode .kicker, #methode .over { text-align: center; }
#methode .over { margin-top: var(--s2); font-size: var(--t-small); color: var(--on-dark-2); font-style: normal; }
#voies .voie, #methode .voie { text-align: center; }
#voies .voie p, #methode .voie p { margin-inline: auto; }
#methode h2 em { font-style: normal; font-weight: 600; color: var(--gold); }
.center { text-align: center; }
@media (max-width: 820px) { .g-left, .g-right { grid-column: 1 / -1; } .grid { row-gap: var(--s5); } }

.kicker { font-size: var(--t-xs); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 2rem; border-radius: 999px; background: var(--gold); color: var(--night); text-decoration: none; font-weight: 600; font-size: var(--t-small); transition: transform .25s var(--ease), background-color .25s; }
.cta:hover { transform: translateY(-2px); background: #e2c37c; }
.lnk { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); font-weight: 500; transition: text-decoration-color .25s; }
.lnk:hover { text-decoration-color: currentColor; }
.small { font-size: var(--t-small); }

/* ---------- Séquence d'ouverture ---------- */
.veil { position: fixed; inset: 0; z-index: 100; background: var(--night); display: grid; place-items: center; cursor: pointer; animation: veil-out .6s var(--ease) 1.5s forwards; }
.veil i { width: 12vmin; height: 12vmin; border-radius: 50%; background: radial-gradient(circle, rgba(212,178,106,.9), rgba(212,178,106,0) 70%); animation: veil-breathe 1.6s var(--ease) forwards; }
@keyframes veil-breathe { 0% { transform: scale(.4); opacity: 0; } 50% { opacity: 1; } 100% { transform: scale(9); opacity: 0; } }
@keyframes veil-out { to { opacity: 0; visibility: hidden; } }
.veil.skip { animation: veil-out .3s var(--ease) forwards; }
html.seen .veil { display: none; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background-color .4s, box-shadow .4s; }
.nav.is-scrolled { background: var(--night); box-shadow: 0 1px 0 var(--line-dark); }
.nav__bar { display: flex; align-items: center; gap: var(--s5); padding-block: var(--s3); }
@media (min-width: 1000px) { .nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; } .cta--nav { justify-self: end; } }
.brand { display: block; text-decoration: none; color: var(--white); }
.brand__mark { width: clamp(11rem, 16vw, 14rem); height: auto; display: block; }
.nav__links { display: none; gap: var(--s5); justify-content: center; font-size: var(--t-small); }
.nav__links a { text-decoration: none; color: var(--on-dark-2); transition: color .25s; }
.nav__links a:hover { color: var(--gold); }
.cta--nav { display: none; min-height: 2.75rem; padding: 0 1.4rem; }
.menu-btn { margin-left: auto; appearance: none; background: transparent; border: 1px solid var(--line-dark); color: inherit; border-radius: 999px; padding: .55rem 1rem; font: inherit; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
@media (min-width: 1000px) { .nav__links { display: flex; } .cta--nav { display: inline-flex; } .menu-btn { display: none; } }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; gap: var(--s6); padding: var(--gutter); transform: translateY(-100%); transition: transform .5s var(--ease); }
.menu[data-open="true"] { transform: none; }
.menu__close { position: absolute; top: var(--s3); right: var(--gutter); appearance: none; background: transparent; border: 1px solid var(--line-dark); color: inherit; border-radius: 999px; padding: .55rem 1rem; font: inherit; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.menu__list { display: grid; gap: var(--s3); }
.menu__list a { font-family: var(--font-title); font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 500; text-decoration: none; }
.menu__list a:hover { color: var(--gold); }
.menu .cta { align-self: start; }

/* ---------- 01 Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s4); padding: 8rem 0 var(--s7) max(var(--gutter), calc((100% - var(--container)) / 2)); overflow: hidden; isolation: isolate; }
.halo { position: absolute; z-index: -1; width: min(80vw, 1000px); aspect-ratio: 1; left: 28%; top: -22%; border-radius: 50%; background: radial-gradient(circle, rgba(212,178,106,.26) 0%, rgba(212,178,106,.06) 42%, transparent 66%); animation: breathe var(--breath) ease-in-out infinite; will-change: transform; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.hero__body { grid-column: 1 / 9; align-self: center; display: grid; gap: var(--s5); padding-right: var(--s5); }
.hero h1 { font-size: var(--t-hero); max-width: none; }
@media (min-width: 900px) { .hero h1 .l span { white-space: nowrap; } }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero h1 .l { display: block; overflow: hidden; padding-bottom: .18em; margin-bottom: -.18em; } /* place pour les descendantes (y, p) sans modifier l’interligne */
.hero h1 .l span { display: block; transform: translateY(110%); animation: rise var(--slow) var(--ease) forwards; animation-delay: calc(1.7s + var(--i) * .14s); }
@keyframes rise { to { transform: none; } }
.hero__sub { font-size: var(--t-lead); color: var(--on-dark); line-height: 1.5; }
.hero__sub-l { display: block; }
@media (min-width: 900px) { .hero__sub-l { white-space: nowrap; } }
.hero__meta { font-size: var(--t-small); color: var(--on-dark-3); letter-spacing: .02em; margin-top: calc(-1 * var(--s3)); }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); }
.fade { opacity: 0; animation: fade var(--slow) var(--ease) forwards; animation-delay: calc(2.1s + var(--i) * .12s); }
@keyframes fade { to { opacity: 1; } }
.hero__pic { grid-column: 9 / 13; grid-row: 1; position: relative; margin: -2rem 0 calc(-1 * var(--s7)); clip-path: inset(0 0 100% 0); animation: unveil 1.4s var(--ease) 1.9s forwards; }
@keyframes unveil { to { clip-path: inset(0); } }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; opacity: .92; }
.scroll { position: absolute; left: max(var(--gutter), calc((100% - var(--container)) / 2)); bottom: var(--s4); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); display: flex; gap: .8rem; align-items: center; }
.scroll::after { content: ""; width: 3rem; height: 1px; background: var(--gold); transform-origin: left; animation: line 2.6s ease-in-out infinite; }
@keyframes line { 0%, 100% { transform: scaleX(1); opacity: .6; } 50% { transform: scaleX(.4); opacity: 1; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 7rem var(--gutter) var(--s7); min-height: 0; row-gap: var(--s6); }
  .hero__body { grid-column: 1; padding-right: 0; }
  .hero__pic { grid-column: 1; grid-row: auto; margin: 0; aspect-ratio: 4 / 5; max-height: 26rem; width: min(100%, 22rem); }
  .scroll { display: none; }
}

/* ---------- Preuve médias dans le hero ---------- */
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line-dark); font-size: var(--t-xs); color: var(--on-dark-2); max-width: 44rem; }
.band__label { letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.lg--fb { width: 1.75rem; height: 1.75rem; border-radius: .25rem; }
.lg--f3 { height: 1.15rem; width: auto; filter: brightness(0) invert(1); }
.about__press { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); margin-top: var(--s5); }
.lg--ici { height: 1.7rem; width: auto; }
.band__rate { text-decoration: none; }
.band__rate b { color: var(--gold); letter-spacing: .05em; font-weight: 400; }

/* ---------- Sections : la descente vers la lumière ---------- */
/* Un seul dégradé sur toute la hauteur : les repères (--g1…--g4) sont recalés par le script
   sur le début des sections, pour que le passage au clair tombe exactement sur la section Avis. */
main { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) var(--g1, 30%), var(--night-3) var(--g2, 50%), var(--night-4) var(--g3, 66%), var(--paper-2) var(--g4, 68%), var(--paper) 100%); }
.sec { padding-block: var(--s10); background: transparent; }
.sec--4, .sec--5 { color: var(--on-light); }
.sec--4 .kicker, .sec--5 .kicker { color: var(--gold-text); }
.sec--4 .lnk, .sec--5 .lnk { text-decoration-color: var(--gold-text); }
.sec--1 + .sec--1, .sec--2 + .sec--2, .sec--3 + .sec--3, .sec--4 + .sec--4, .sec--5 + .sec--5 { padding-top: 0; }
@media (max-width: 820px) { .sec { padding-block: var(--s9); } }

/* 02 situations */
#amene h2 { max-width: none; font-size: clamp(1.7rem, 2.9vw, 2.9rem); }
@media (min-width: 1000px) { #amene h2 { white-space: nowrap; } }
.items { margin-top: var(--s7); display: grid; gap: clamp(1.1rem, 2vw, 1.75rem); }
.item { font-size: clamp(1.15rem, 1.5vw, 1.5rem); font-weight: 400; display: flex; gap: var(--s3); align-items: baseline; }
.item a { text-decoration: none; transition: color .3s; }
.item a:hover { color: var(--gold); }
.item .n { display: none; }
.q { margin: 0 0 var(--s8); max-width: 22ch; font-style: italic; font-size: clamp(1.7rem, 3vw, 3rem); color: var(--gold); line-height: 1.12; }
@media (max-width: 820px) { .items { margin-top: var(--s7); } .q { margin-bottom: var(--s7); } }

/* 03 voies */
.over { font-style: italic; font-size: var(--t-lead); color: var(--gold); }
#voies h2 em { font-style: normal; color: var(--gold); }
.voies { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); padding-top: var(--s3); }
.voie { padding: var(--s5); border: 1px solid var(--line-dark); border-radius: 4px; background: rgba(255,255,255,.03); }
.voie b { display: block; font-family: var(--font-title); font-weight: 500; font-size: var(--t-sub); letter-spacing: -.01em; line-height: 1.15; margin-bottom: var(--s2); }
.voie p { color: var(--on-dark-2); max-width: 40ch; }
.voie--plain { grid-column: 1 / -1; border: 0; background: none; padding: var(--s2) 0 0; }
#methode .voies > li { display: grid; }

/* Encadrés cliquables vers les pages thématiques */
.voie--link { display: block; color: inherit; text-decoration: none; transition: border-color .35s var(--ease), background-color .35s var(--ease); }
.voie__more { display: inline-block; margin-top: var(--s3); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.voie__more::after { content: "\00a0\2192"; display: inline-block; transition: transform .35s var(--ease); }
.voie--link:active { background: rgba(255,255,255,.07); }
@media (hover: hover) and (pointer: fine) {
  .voie--link:hover { border-color: var(--gold); background: rgba(255,255,255,.06); }
  .voie--link:hover .voie__more::after { transform: translateX(.3rem); }
}

/* Avertissement sous les deux voies */
.voies__note { margin-top: var(--s5); font-size: var(--t-small); line-height: 1.6; color: var(--on-dark-3); max-width: 60ch; margin-inline: auto; text-align: center; }
.voies__note b { color: var(--on-dark-2); font-weight: 600; }
@media (max-width: 600px) { .voies { grid-template-columns: 1fr; } }


/* 05 domaines */
#domaines h2 { max-width: none; }
#domaines h2 em { font-style: normal; font-weight: 600; color: var(--gold); }
#contact h2 em { font-style: normal; color: var(--gold); }
@media (min-width: 900px) { #domaines h2 { white-space: nowrap; } }
.doms { margin-top: var(--s8); display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.dom a { display: grid; gap: var(--s1); padding: var(--s5) 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: padding-left .4s var(--ease); }
.dom a:hover { padding-left: var(--s3); }
.dom b { font-family: var(--font-title); font-weight: 500; font-size: var(--t-sub); letter-spacing: -.01em; line-height: 1.15; }
.dom span { color: var(--on-dark-2); font-size: var(--t-small); }
.note { margin-top: var(--s6); font-size: var(--t-small); color: var(--on-dark-3); max-width: 60ch; }
@media (min-width: 820px) { .doms { grid-template-columns: 1fr 1fr; column-gap: var(--s7); } }

/* 06 déroulé */
.steps { margin-top: var(--s8); display: grid; gap: var(--s6); }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: var(--s1) var(--s4); align-items: baseline; }
.step .n { font-family: var(--font-title); color: var(--gold); font-size: var(--t-sub); line-height: 1; }
.step b { font-family: var(--font-title); font-weight: 500; font-size: var(--t-sub); letter-spacing: -.01em; line-height: 1.15; }
.step p { grid-column: 2; color: var(--on-dark-2); max-width: 40ch; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } .step { grid-template-columns: 1fr; } .step p { grid-column: 1; } .step .n { margin-bottom: var(--s3); } }

/* 07 Ysabelle */
.about__pic { max-width: 26rem; }
.about__pic img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; }
.about h2 { font-style: italic; }
.facts { display: grid; gap: var(--s3); margin-top: var(--s5); color: var(--on-dark-2); }
.facts b { color: var(--on-dark); font-weight: 600; }
.about .lnk { display: inline-block; margin-top: var(--s5); }

/* 08 avis */
.avis-list { margin-top: var(--s8); display: grid; gap: var(--s6); }
.avis blockquote { font-family: var(--font-title); font-weight: 500; font-size: var(--t-lead); line-height: 1.35; max-width: 48ch; letter-spacing: -.01em; }
.avis footer { margin-top: var(--s3); font-size: var(--t-small); color: var(--on-light-3); }
.avis footer a { color: inherit; }
.sec--4 .lnk { display: inline-block; margin-top: var(--s7); }
@media (min-width: 820px) { .avis-list { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }


/* 10 FAQ */
.faq { margin-top: var(--s7); border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; font-family: var(--font-title); font-weight: 500; font-size: var(--t-lead); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--gold-text); font-size: 1.6rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s4); color: var(--on-light-2); max-width: 62ch; }

/* 11 contact */
.contact__box { display: grid; gap: var(--s6); }
@media (min-width: 821px) { #contact .g-left { grid-column: 1 / 6; } #contact .g-right { grid-column: 6 / 13; } }
.contact__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); }
@media (max-width: 700px) { .contact__cols { grid-template-columns: 1fr; } }
.contact__col { display: grid; gap: var(--s2); align-content: start; }
.contact__h { font-family: var(--font-title); font-weight: 500; font-size: var(--t-sub); letter-spacing: -.01em; line-height: 1.15; color: var(--on-light); }
.contact__col .contact__tel { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-top: var(--s1); }
.contact__wa { margin-top: var(--s3); }
.contact__cta { margin-top: var(--s2); }
.btn-wa { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: 0 1.15rem; border: 1px solid var(--line-light); border-radius: 999px; color: inherit; text-decoration: none; font-size: var(--t-small); font-weight: 600; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.btn-wa svg { width: 1.15rem; height: 1.15rem; fill: #25d366; flex: none; }
.btn-wa:active { background: rgba(37,211,102,.12); }
@media (hover: hover) and (pointer: fine) { .btn-wa:hover { border-color: #25d366; background: rgba(37,211,102,.08); } }
#contact h2 a { color: inherit; text-decoration: underline; text-underline-offset: .1em; text-decoration-thickness: .055em; text-decoration-color: rgba(212,178,106,.5); transition: text-decoration-color .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { #contact h2 a:hover { text-decoration-color: currentColor; } }
.contact__tel { font-family: var(--font-title); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.02em; text-decoration: none; line-height: 1; }
.contact__tel:hover { color: var(--gold-text); }
.contact__box address { font-size: var(--t-lead); line-height: 1.4; }
.contact__box p, .contact .small { color: var(--on-light-2); }
.disclaimer { margin-top: var(--s6); font-size: var(--t-xs); color: var(--on-light-3); max-width: 60ch; }

/* ---------- Pied ---------- */
.foot { background: var(--paper); color: var(--on-light-3); border-top: 1px solid var(--line-light); font-size: var(--t-xs); }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); padding-block: var(--s5); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-light); }
.foot__social { display: flex; align-items: center; gap: var(--s3); }
.foot__social a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: var(--on-light-3); transition: color .25s, background-color .25s; }
.foot__social a:hover { color: var(--gold-text); background: rgba(127, 98, 28, .08); }
.foot__social a:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.foot__social svg { width: 1.05rem; height: 1.05rem; display: block; }

/* ---------- Bouton fixe mobile ---------- */
.stick { display: none; }
@media (max-width: 720px) {
  .stick { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background: rgba(11,19,39,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); }
  .stick .cta { width: 100%; }
  body { padding-bottom: 5rem; }
}

/* ---------- Révélations au défilement (variées) ---------- */
.rv { opacity: 0; transform: translateY(1.5rem); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.item.rv { transform: translateX(-1.5rem); }
.item.rv.in, .dom.rv.in { transform: none; }
.dom.rv { transform: translateX(1rem); }

/* ---------- Pages secondaires (mentions légales) ---------- */
.page { padding: 9rem 0 var(--s9); background: var(--paper); color: var(--on-light); min-height: 100svh; }
.page h1 { font-size: var(--t-h2); }
.page h2 { font-size: var(--t-sub); margin-top: var(--s6); font-family: var(--font-title); font-weight: 500; }
.page p { margin-top: var(--s3); max-width: 62ch; color: var(--on-light-2); }
.page a { color: var(--gold-text); }
.nav--solid { background: var(--night); }
.page ul { margin-top: var(--s3); max-width: 62ch; color: var(--on-light-2); padding-left: 1.1rem; display: grid; gap: var(--s2); }
.page li b { color: var(--on-light); font-weight: 600; }
.page .lead { font-size: var(--t-lead); color: var(--on-light-2); max-width: 58ch; }
.page .small { font-size: var(--t-small); color: var(--on-light-3); }
.page .cta { color: var(--night); margin-top: var(--s6); display: inline-block; }
.page .kicker { color: var(--gold-text); }

/* Fiche de référence : paires libellé / valeur */
.fiche { margin-top: var(--s4); display: grid; gap: 0; max-width: 62ch; }
.fiche > div { display: grid; gap: var(--s1); padding-block: var(--s3); border-bottom: 1px solid var(--line-light); }
.fiche > div:first-child { border-top: 1px solid var(--line-light); }
.fiche dt { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.fiche dd { margin: 0; color: var(--on-light); }
.fiche--qa dt { font-size: var(--t-body); letter-spacing: 0; text-transform: none; color: var(--on-light); font-weight: 600; }
.fiche--qa dd { color: var(--on-light-2); }
@media (min-width: 720px) {
  .fiche:not(.fiche--qa) > div { grid-template-columns: 11rem 1fr; gap: var(--s4); align-items: baseline; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .veil { display: none; }
  .halo, .scroll::after { animation: none; }
  .hero h1 .l span, .fade, .hero__pic { animation: none; transform: none; opacity: 1; clip-path: none; }
  .rv { opacity: 1; transform: none; transition: none; clip-path: none; }
  .cta, .dom a, .voie--link, .voie__more::after { transition: none; }
}

/* ==========================================================================
   Pages éditoriales (hypnose, psychanalyse)
   Ouverture sombre pleine largeur · sommaire collant · corps sur papier.
   ========================================================================== */

.art { background: var(--paper); color: var(--on-light); }

/* ---------- Ouverture ---------- */
.art__hero { background: var(--night); color: var(--on-dark); padding: 8.5rem 0 var(--s7); border-bottom: 1px solid var(--line-dark); }
.art__hero .grid { align-items: center; row-gap: var(--s5); }
.art__head { grid-column: 1 / 8; display: grid; gap: var(--s4); }
.art__head h1 { font-size: var(--t-h2); max-width: 11ch; margin: 0; }
.art__head h1 em { font-style: normal; color: var(--gold); }
.art__head .lead { font-size: var(--t-lead); color: var(--on-dark-2); max-width: 52ch; }
.art__meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-dark); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.art__visual { grid-column: 8 / 13; }
.art__visual img { width: 100%; border-radius: 4px; }
@media (max-width: 900px) { .art__head, .art__visual { grid-column: 1 / -1; } .art__hero { padding-top: 7rem; } }

/* ---------- Corps : sommaire + article ---------- */
.art__body { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s8); }
@media (min-width: 1040px) { .art__body { grid-template-columns: 12.5rem minmax(0, 1fr); gap: var(--s7); align-items: start; } }

.toc { font-size: var(--t-small); }
.toc__title { font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; margin-bottom: var(--s3); }
.toc ol { display: grid; gap: 1px; }
.toc a { display: block; padding: .4rem 0 .4rem .85rem; border-left: 2px solid var(--line-light); color: var(--on-light-3); text-decoration: none; line-height: 1.3; transition: color .3s var(--ease), border-color .3s var(--ease); }
.toc a[aria-current="true"] { color: var(--on-light); border-color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--on-light); border-color: var(--night-4); } }
@media (min-width: 1040px) { .toc { position: sticky; top: 6.5rem; } }
@media (max-width: 1039px) { .toc { background: var(--white); border: 1px solid var(--line-light); border-radius: 4px; padding: var(--s4); } }

/* ---------- Article ---------- */
.art__doc { counter-reset: sec; }
.art__doc > section { padding-top: var(--s6); }
.art__doc > section + section { margin-top: var(--s6); }
.art__doc h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); max-width: 22ch; margin: 0 0 var(--s4); padding: var(--s4) 3.5rem 0 0; border-top: 1px solid var(--line-light); position: relative; }
.art__doc h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); position: absolute; top: calc(var(--s4) + .35em); right: 0; font-family: var(--font-body); font-size: var(--t-xs); font-weight: 500; letter-spacing: .14em; color: var(--gold-text); }
.art__doc h3 { font-family: var(--font-title); font-weight: 500; font-size: 1.2rem; letter-spacing: -.01em; margin: var(--s5) 0 0; color: var(--on-light); }
.art__doc p { margin-top: var(--s3); color: var(--on-light-2); }
.art__doc [id] { scroll-margin-top: 7rem; }
.art__doc .chapo { font-size: var(--t-lead); color: var(--on-light); margin-top: 0; }
.art__doc b, .art__doc strong { color: var(--on-light); font-weight: 600; }
.art__doc a:not(.cta) { color: var(--on-light); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .art__doc a:not(.cta):hover { text-decoration-color: var(--night-4); } }

.bul { margin-top: var(--s4); display: grid; gap: var(--s3); }
.bul li { position: relative; padding-left: 1.5rem; color: var(--on-light-2); }
.bul li::before { content: ""; position: absolute; left: 0; top: .72em; width: .6rem; height: 1px; background: var(--gold); }

/* ---------- Cartes en colonnes ---------- */
.cards { margin-top: var(--s5); display: grid; gap: var(--s4); }
@media (min-width: 680px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { padding: var(--s4); background: var(--white); border: 1px solid var(--line-light); border-radius: 4px; }
.card b { display: block; font-family: var(--font-title); font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: var(--s2); }
.card p { margin: 0; font-size: var(--t-small); line-height: 1.6; }

/* ---------- Repère : encart sombre dans le flux clair ---------- */
.repere { margin-top: var(--s5); padding: var(--s5); background: var(--night); color: var(--on-dark); border-radius: 4px; }
.repere p { color: var(--on-dark-2); margin-top: var(--s2); }
.repere p:first-child { margin-top: 0; }
.repere b, .repere strong { color: var(--on-dark); }
.repere a { color: var(--on-dark) !important; text-decoration-color: var(--gold) !important; }
.repere .src { display: block; margin-top: var(--s3); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }

/* ---------- Figures ---------- */
.fig { margin-top: var(--s5); }
.fig img, .fig svg { display: block; width: 100%; height: auto; border-radius: 4px; }
.fig figcaption { margin-top: var(--s2); font-size: var(--t-xs); color: var(--on-light-3); line-height: 1.5; }
.fig--dark svg { background: var(--night); }

/* ---------- Questions fréquentes ---------- */
.faq { margin-top: var(--s4); border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: var(--s4) 2.75rem var(--s4) 0; font-weight: 600; color: var(--on-light); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .5rem; top: 50%; width: .8rem; height: .8rem; margin-top: -.4rem; transition: transform .3s var(--ease); background:
  linear-gradient(var(--gold-text), var(--gold-text)) center / 100% 1.5px no-repeat,
  linear-gradient(var(--gold-text), var(--gold-text)) center / 1.5px 100% no-repeat; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer { padding-bottom: var(--s4); }
.faq .answer p { margin-top: 0; }
.faq .answer p + p { margin-top: var(--s3); }

/* ---------- Bande de fin ---------- */
.art__end { background: var(--night-2); color: var(--on-dark); padding-block: var(--s7); }
.art__end h2 { font-size: var(--t-sub); max-width: 18ch; margin: 0; }
.art__end p { margin-top: var(--s3); color: var(--on-dark-2); max-width: 52ch; }
.art__end .cta { margin-top: var(--s5); }
.art__end .also { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-dark); font-size: var(--t-small); color: var(--on-dark-3); }
.art__end .also a { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .toc a, .faq summary::after, .art__doc a:not(.cta) { transition: none; }
}

/* ---------- Chronologie ---------- */
.frise { margin-top: var(--s5); border-left: 1px solid var(--line-light); }
.frise li { position: relative; padding: var(--s3) 0 var(--s3) var(--s5); }
.frise li::before { content: ""; position: absolute; left: -4.5px; top: 1.6rem; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--paper); }
.frise .an { display: block; font-size: var(--t-xs); letter-spacing: .16em; font-weight: 500; color: var(--gold-text); }
.frise .ev { display: block; margin-top: 2px; font-family: var(--font-title); font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; color: var(--on-light); }
.frise .de { display: block; margin-top: var(--s1); font-size: var(--t-small); color: var(--on-light-2); }

.cta--nav { white-space: nowrap; }

/* ---------- Sections : titre, puis photo et texte en vis-a-vis ---------- */
.art__doc > section { border-top: 1px solid var(--line-light); }
.art__doc > section > .sec__head > h2 { border-top: none; padding-top: 0; }
.sec__media { margin-top: var(--s4); }
.sec__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--night); }
.sec__body > p:first-child { margin-top: 0; }

@media (min-width: 1000px) {
  .art__doc > section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s6);
    row-gap: var(--s5);
    align-items: start;
  }
  /* par defaut, un bloc occupe toute la largeur */
  .art__doc > section > * { grid-column: 1 / -1; }
  .art__doc > section > .sec__head { grid-column: 1 / -1; grid-row: 1; }
  .art__doc > section > .sec__media { grid-column: 1; grid-row: 2; margin-top: 0; align-self: stretch; }
  .art__doc > section > .sec__media img { position: sticky; top: 7rem; }
  /* sans photo, le texte prend toute la largeur ; avec photo, il tient sa colonne */
  .art__doc > section > .sec__media ~ .sec__body { grid-column: 2; }
  .art__doc > section > .sec__media + .sec__body { grid-row: 2; }

  /* une section sur deux inverse photo et texte, et aligne son titre a droite */
  .art__doc > section:nth-of-type(even) > .sec__media { grid-column: 2; }
  .art__doc > section:nth-of-type(even) > .sec__media ~ .sec__body { grid-column: 1; }
  .art__doc > section:nth-of-type(even) > .sec__head { text-align: right; }
  .art__doc > section:nth-of-type(even) > .sec__head > h2 { margin-left: auto; }

  .art__doc > section > .sec__head > h2 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); max-width: 22ch; padding-right: 0; margin-bottom: 0; }
  .art__doc > section > .sec__head > h2::before { position: static; display: block; margin-bottom: var(--s2); }

  .bul { display: block; columns: 2; column-gap: var(--s6); }
  .bul li { break-inside: avoid; margin-bottom: var(--s4); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .frise { max-width: 44rem; }
  .fig img, .fig svg { max-height: 24rem; object-fit: cover; }
}

@media (max-width: 1099px) {
  .art__doc > section > .sec__head > h2 { padding-right: 3.5rem; }
}

@media (max-width: 560px) { .cta--nav { min-height: 2.5rem; padding-inline: .8rem; font-size: .8rem; } }

/* ==========================================================================
   Blog : accueil, categories, etats vides
   ========================================================================== */

/* Ouverture sans visuel */
.art__hero--plain { padding-bottom: var(--s7); }
.art__hero--plain .kicker a { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(212,178,106,.5); }
.art__hero--plain h1 { font-size: var(--t-h2); max-width: 16ch; margin: var(--s4) 0 0; }
.art__hero--plain .lead { margin-top: var(--s4); font-size: var(--t-lead); color: var(--on-dark-2); max-width: 58ch; }

/* Colonne unique large (accueil du blog) */
.art__wide { padding-block: var(--s7) var(--s8); }
.art__wide > section + section { margin-top: var(--s8); }
.blog__h2 { font-size: var(--t-sub); max-width: none; margin: 0 0 var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-light); color: var(--on-light); }

/* Cartes de categorie */
.cats { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); background: var(--white); border: 1px solid var(--line-light); border-radius: 4px; text-decoration: none; color: inherit; transition: border-color .35s var(--ease), background-color .35s var(--ease); }
.cat b { font-family: var(--font-title); font-weight: 500; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; }
.cat span { color: var(--on-light-2); font-size: var(--t-small); line-height: 1.55; }
.cat em { margin-top: auto; padding-top: var(--s3); font-style: normal; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.cat em::after { content: "\00a0\2192"; display: inline-block; transition: transform .35s var(--ease); }
.cat:active { background: var(--paper-2); }
@media (hover: hover) and (pointer: fine) {
  .cat:hover { border-color: var(--gold); background: var(--paper-2); }
  .cat:hover em::after { transform: translateX(.3rem); }
}

/* Etat vide, assume */
.vide { padding: var(--s6) var(--s5); border: 1px dashed var(--line-light); border-radius: 4px; background: var(--white); max-width: 60ch; }
.vide p { margin: 0; color: var(--on-light-2); }
.vide p + p { margin-top: var(--s3); }
.vide b { color: var(--on-light); font-weight: 600; }
.vide a { color: var(--on-light); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Lien « tout le blog » sous la liste des categories */
.toc__foot { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line-light); font-size: var(--t-small); }
.toc__foot a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }

@media (prefers-reduced-motion: reduce) { .cat, .cat em::after { transition: none; } }

/* Les six domaines renvoient vers leur categorie de blog */
.dom a { position: relative; padding-right: 2.25rem; }
.dom a::after { content: "\2192"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); color: var(--gold); opacity: .4; transition: opacity .35s var(--ease), transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .dom a:hover::after { opacity: 1; transform: translateY(-50%) translateX(.3rem); }
}
@media (prefers-reduced-motion: reduce) { .dom a::after { transition: none; } }

/* Justification des corps de texte longs.
   La cesure francaise (lang="fr") evite les rivieres de blanc.
   Les listes, les textes centres et les libelles restent non justifies :
   trop courts et trop etroits, ils se creusent de blancs. */
.art__doc p,
.page .prose p,
.faq .answer p,
.faq details p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 7 4 3;
}
.art__doc .chapo { hyphens: none; -webkit-hyphens: none; }
