:root {
  --nuit: #291b2b;
  --prune: #53213e;
  --encre: #452039;
  --rose: #ff62c0;
  --rose-fonce: #3d1233;
  --mauve: #d4bbd0;
  --poudre: #fff4f8;
  --blanc: #ffffff;
  --trait: #ecd5e0;
  --doux: #7b5a70;
  --or: #b07a30;
  --titre: "Cormorant Garamond", Georgia, serif;
  --texte: Manrope, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--poudre); color: var(--encre);
  font-family: var(--texte); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.cadre { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--titre); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 7.2vw, 68px); }
h2 { font-size: clamp(31px, 5vw, 46px); }
h3 { font-size: 26px; }
h1 em, h2 em { color: var(--rose); font-style: italic; font-weight: 400; }
p { margin: 0 0 16px; }
.sur {
  font-size: 12.5px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--prune); margin: 0 0 16px;
}

/* En-tête et onglets */
.entete { background: var(--blanc); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 5; }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--titre); font-size: 21px; color: var(--prune); line-height: 1.05; }
.marque img { width: 44px; height: 44px; }
.marque small { display: block; font-family: var(--texte); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--doux); }
.onglets { display: flex; gap: 4px; background: var(--poudre); border: 1px solid var(--trait); border-radius: 999px; padding: 4px; }
.onglets a { text-decoration: none; font-size: 14.5px; font-weight: 650; padding: 8px 16px; border-radius: 999px; color: var(--prune); white-space: nowrap; }
.onglets a[aria-current="page"] { background: var(--nuit); color: var(--poudre); }
.onglets a:not([aria-current]):hover { background: var(--trait); }

/* Boutons */
.bouton {
  display: inline-block; background: var(--rose); color: var(--rose-fonce);
  font-weight: 650; font-size: 16px; text-decoration: none; text-align: center;
  border-radius: 6px; padding: 15px 24px; border: 0;
}
.bouton:hover { filter: brightness(1.06); }
.bouton.ligne { background: transparent; color: inherit; border: 1px solid currentColor; }
.bouton.attente { background: rgba(255, 98, 192, .16); color: var(--rose); border: 1px dashed var(--rose); cursor: default; }
.clair .bouton.attente { background: var(--poudre); color: var(--prune); border-color: var(--mauve); }
.lien { font-weight: 650; text-underline-offset: 4px; }

/* Ouverture */
.ouverture { background: var(--nuit); color: var(--poudre); }
.ouverture .cadre { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.ouverture .sur { color: var(--rose); }
.ouverture p.chapo { color: var(--mauve); font-size: 19px; max-width: 34em; margin: 22px 0 28px; }
.ouverture .note { color: var(--mauve); font-size: 14px; margin: 14px 0 0; }
.ouverture .image { border-radius: 220px 220px 14px 14px; overflow: hidden; border: 1px solid rgba(212,187,208,.35); max-width: 380px; justify-self: center; }
.ouverture .image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 860px) {
  .ouverture .cadre { grid-template-columns: 1.25fr .75fr; padding-top: 84px; padding-bottom: 84px; }
}

/* Sections */
section { padding: 64px 0; }
section.blanc { background: var(--blanc); }
section.sombre { background: var(--nuit); color: var(--poudre); }
section.sombre .sur { color: var(--rose); }
section.sombre p { color: var(--mauve); }
.tete { max-width: 40em; margin-bottom: 36px; }
.tete p { margin-top: 16px; }

.scenes { display: grid; gap: 16px; }
.scene { background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; padding: 26px 24px; }
.scene p:first-child { font-family: var(--titre); font-size: 25px; line-height: 1.2; color: var(--prune); margin-bottom: 10px; }
.scene p:last-child { margin: 0; color: var(--doux); }
@media (min-width: 860px) { .scenes { grid-template-columns: repeat(3, 1fr); } }

.portes { display: grid; gap: 18px; counter-reset: porte; }
.porte { background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; }
.porte::before { counter-increment: porte; content: "0" counter(porte); font-family: var(--titre); font-size: 40px; line-height: 1; color: var(--rose); margin-bottom: 14px; }
.porte .etat { font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin: 0 0 8px; }
.porte h3 { margin-bottom: 12px; color: var(--prune); }
.porte ul { margin: 0 0 20px; padding: 0; list-style: none; }
.porte li { padding: 9px 0 9px 26px; border-top: 1px solid var(--trait); position: relative; font-size: 16px; }
.porte li::before { content: "✦"; position: absolute; left: 2px; color: var(--rose); }
.porte .bouton { margin-top: auto; }
.porte.phare { background: var(--nuit); border-color: var(--nuit); color: var(--poudre); }
.porte.phare h3 { color: var(--poudre); }
.porte.phare p { color: var(--mauve); }
.porte.phare li { border-color: rgba(212,187,208,.22); }
@media (min-width: 860px) { .portes { grid-template-columns: repeat(3, 1fr); } }

.duo { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .duo { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.citation { font-family: var(--titre); font-size: clamp(26px, 4vw, 34px); line-height: 1.2; color: var(--prune); border-left: 3px solid var(--rose); padding-left: 20px; margin: 0; }
.reperes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.reperes li { border-top: 1px solid var(--trait); padding-top: 12px; font-size: 15px; color: var(--doux); }
.reperes strong { display: block; font-family: var(--titre); font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--prune); }

details { border-top: 1px solid var(--trait); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--trait); }
summary { cursor: pointer; font-family: var(--titre); font-size: 24px; line-height: 1.25; color: var(--prune); list-style: none; padding-right: 32px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; color: var(--rose); font-size: 28px; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; max-width: 42em; }

.passerelle { display: grid; gap: 24px; align-items: center; background: var(--blanc); border: 1px solid var(--trait); border-radius: 18px; padding: 28px 24px; }
.passerelle img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 760px) { .passerelle { grid-template-columns: 300px 1fr; padding: 32px; gap: 36px; } }

/* Page cacao */
.code { background: var(--poudre); border: 1px dashed var(--mauve); border-radius: 12px; padding: 20px; text-align: center; margin: 0 0 18px; }
.code strong { display: block; font-family: var(--titre); font-weight: 500; font-size: 40px; letter-spacing: .08em; color: var(--prune); line-height: 1.1; }
.code span { font-size: 14px; color: var(--doux); }
.prix { font-family: var(--titre); font-size: 28px; color: var(--prune); margin: 0 0 16px; }
.porte.phare .prix { color: var(--poudre); }
.cartes { display: grid; gap: 18px; }
@media (min-width: 760px) { .cartes { grid-template-columns: repeat(2, 1fr); } .cartes.trois { grid-template-columns: repeat(3, 1fr); } }
.cartes .porte::before { content: none; }
.petit { font-size: 14px; color: var(--doux); }

/* Pied */
.pied { background: var(--nuit); color: var(--mauve); padding: 40px 0; font-size: 14.5px; }
.pied .cadre { display: grid; gap: 18px; }
.pied a { color: var(--poudre); text-underline-offset: 3px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied p { margin: 0; }

@media (max-width: 520px) {
  .marque span { display: none; }
  .bouton { display: block; width: 100%; }
  section { padding: 48px 0; }
}

/* Portrait */
.portrait { border-radius: 200px 200px 14px 14px; overflow: hidden; border: 1px solid var(--trait); max-width: 340px; margin-bottom: 26px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }

/* ---------- Onglet Thérapeutes : crème, brun et or (la bannière) ---------- */
body.or {
  --nuit: #431c1a; --prune: #6e161e; --encre: #4a2a24; --doux: #7a5a4c;
  --rose: #b07a30; --rose-fonce: #fffaf4; --or: #b07a30;
  --mauve: #ecd9bf; --poudre: #faeede; --blanc: #fffaf4; --trait: #e8d3b6;
  --titre: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", "Cormorant Garamond", Georgia, serif;
}
body.or h1, body.or h2, body.or h3 { font-weight: 400; }
body.or h1 { font-size: clamp(36px, 6vw, 58px); color: var(--prune); }
body.or h2 { font-size: clamp(28px, 4.3vw, 40px); color: var(--prune); }
body.or h3 { font-size: 23px; }
body.or .sur { color: var(--or); }
body.or .ouverture { background: linear-gradient(#faeede, #f3dec8); color: var(--encre); border-bottom: 1px solid var(--trait); }
body.or .ouverture p.chapo { color: var(--encre); }
body.or .ouverture .note { color: var(--doux); }
body.or .ouverture .image { border-color: var(--or); }
body.or .bouton { background: var(--prune); color: #fffaf4; }
body.or .bouton.ligne { background: transparent; color: var(--prune); border-color: var(--prune); }
body.or .porte.phare, body.or .pied, body.or .onglets a[aria-current="page"] { --rose: #dcae62; --or: #dcae62; }
body.or .porte.phare h3 { color: #fffaf4; }
body.or .porte.phare .bouton { background: #dcae62; color: #3a1714; }
body.or .scene p:first-child, body.or .citation, body.or summary { font-size: 22px; }
body.or .citation { font-size: clamp(23px, 3.4vw, 29px); }
body.or .reperes strong { font-weight: 400; }
body.or .marque { font-size: 19px; }
