/* Dimer Afro Beauty, v3
   Couleurs de la marque uniquement : or (logo), blanc, noir.
   Police : Poppins.
   Inspirations fournies : grand titre net, personne au centre entourée de cartes flottantes,
   blocs noirs arrondis à accents dorés, boutons pilule avec flèche, réservation par étapes. */

@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --noir: #000000;
  --noir-2: #161616;
  --gris: #5C5C5C;
  --gris-clair: #F5F5F3;
  --trait: #E8E6E1;
  --blanc: #FFFFFF;
  --or: #D4A62A;
  --or-clair: #F2D16B;
  --or-fonce: #8C6A10;   /* or lisible en petit texte sur blanc */
  --or-degrade: linear-gradient(135deg, #F6D56A 0%, #D4A62A 50%, #A97C14 100%);
  --erreur: #B42318;
  --vert-wa: #1A8F4C;
  --f: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --entete: 72px;
  --ombre: 0 18px 40px -18px rgb(0 0 0 / .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanc); color: var(--noir); font: 400 1rem/1.65 var(--f); overflow-x: clip; }
body.resa-ouverte { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; background: var(--noir); color: var(--blanc); border-radius: 8px; }
.evitement:focus { top: 12px; }
.cadre { width: min(100% - 32px, 1200px); margin-inline: auto; }
.centre { text-align: center; display: grid; justify-items: center; }

h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.35; }
.intro { color: var(--gris); max-width: 34em; margin-top: 14px; }
.section { padding-block: clamp(64px, 5vw + 32px, 112px); }
.etiquette { display: inline-block; padding: 5px 14px; border: 1px solid var(--trait); border-radius: 999px; font-size: .82rem; font-weight: 500; color: var(--gris); margin-bottom: 16px; }
.etiquette-or { border-color: rgb(212 166 42 / .45); color: var(--or-clair); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 3px 4px 3px 16px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .86rem; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease); }
.btn:active { transform: scale(.97); }
.btn:not(:has(.btn-rond)) { padding-right: 16px; }
.btn-rond { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .85rem; background: var(--or-degrade); color: var(--noir); flex: none; transition: transform .25s var(--ease); }
.btn:hover .btn-rond { transform: rotate(45deg); }
.btn-noir { background: var(--noir); color: var(--blanc); }
.btn-noir:hover { background: var(--noir-2); }
.btn-or { background: var(--or-degrade); color: var(--noir); }
.btn-or .btn-rond { background: var(--noir); color: var(--or-clair); }
.btn-contour { border-color: var(--noir); }
.btn-contour:hover { background: var(--noir); color: var(--blanc); }
.btn-contour-clair { border-color: rgb(255 255 255 / .4); color: var(--blanc); padding-left: 20px; }
.btn-contour-clair:hover { border-color: var(--blanc); }
.btn-petit { min-height: 36px; padding-left: 14px; font-size: .82rem; }
.btn-petit .btn-rond { width: 26px; height: 26px; }
.rond { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--trait); background: var(--blanc); color: var(--noir); flex: none; transition: background-color .2s, color .2s; }
.rond:hover { background: var(--noir); color: var(--blanc); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / .9); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.entete.solide { border-bottom-color: var(--trait); }
.entete-ligne { height: var(--entete); display: flex; align-items: center; gap: 12px; }
.marque { margin-right: auto; }
.marque img { width: 40px; height: 40px; object-fit: contain; }
.nav-liste { display: flex; gap: 2px; padding: 5px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); }
.nav-liste a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--gris); transition: color .2s, background-color .2s; }
.nav-liste a:hover { color: var(--noir); }
.nav-liste a[aria-current="true"] { background: var(--gris-clair); color: var(--noir); }
.nav-bouton { display: none; }
@media (min-width: 1100px) { .nav { position: absolute; left: 50%; transform: translateX(-50%); } }
@media (max-width: 1099px) {
  .nav-bouton { display: grid; }
  .nav-liste { position: absolute; top: calc(var(--entete) - 4px); left: 12px; right: 12px; flex-direction: column; padding: 8px; border-radius: 20px; box-shadow: var(--ombre); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .nav-liste.ouvert { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav-liste a { padding: 14px 16px; font-size: 1rem; border-radius: 14px; }
}

/* ---------- Ouverture ---------- */
.ouverture { padding-top: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.ouverture-texte { position: relative; text-align: center; display: grid; justify-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--gris-clair); font-size: .85rem; font-weight: 500; margin-bottom: 22px; }
.badge .ico { color: var(--or); }
.ouverture h1 { max-width: 15em; font-size: clamp(2rem, 1.1rem + 3.6vw, 3.9rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.chapeau { max-width: 36em; margin-top: 18px; color: var(--gris); font-size: clamp(1rem, .95rem + .25vw, 1.1rem); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.scene { position: relative; width: min(100% - 32px, 1000px); margin: clamp(24px, 4vw, 40px) auto 0; height: clamp(360px, 60vw, 560px); }
.scene-centre { position: absolute; left: 50%; bottom: 0; width: clamp(300px, 52vw, 520px); aspect-ratio: 1; transform: translateX(-50%) translateY(18%); }
.anneau { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anneau path { animation: goutte .9s var(--ease) both; }
.anneau g:nth-child(1) path { animation-delay: .10s } .anneau g:nth-child(2) path { animation-delay: .16s } .anneau g:nth-child(3) path { animation-delay: .22s }
.anneau g:nth-child(4) path { animation-delay: .28s } .anneau g:nth-child(5) path { animation-delay: .34s } .anneau g:nth-child(6) path { animation-delay: .40s }
.anneau g:nth-child(7) path { animation-delay: .46s } .anneau g:nth-child(8) path { animation-delay: .52s } .anneau g:nth-child(9) path { animation-delay: .58s }
.anneau g:nth-child(10) path { animation-delay: .64s } .anneau g:nth-child(11) path { animation-delay: .70s } .anneau g:nth-child(12) path { animation-delay: .76s }
@keyframes goutte { from { opacity: 0; } }
.portrait { position: absolute; left: 50%; bottom: 18%; width: 74%; transform: translateX(-50%); border-radius: 999px 999px 0 0; overflow: hidden; background: var(--blanc); }
.portrait img { width: 100%; height: auto; }

.flotte { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgb(255 255 255 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgb(0 0 0 / .06); box-shadow: var(--ombre); text-align: left; animation: monte .8s var(--ease) both; }
.flotte > span:not(.flotte-ico):not(.btn-rond) { display: grid; line-height: 1.3; }
.flotte strong { font-size: .92rem; font-weight: 600; }
.flotte small { font-size: .78rem; color: var(--gris); }
.flotte-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--noir); color: var(--or-clair); flex: none; }
.flotte-a { left: 0; top: 8%; animation-delay: .5s; }
.flotte-b { right: 0; top: 2%; animation-delay: .65s; }
.flotte-c { left: 4%; bottom: 16%; animation-delay: .8s; }
.flotte-d { right: 2%; bottom: 22%; border: 0; background: var(--noir); color: var(--blanc); padding: 10px 10px 10px 18px; cursor: pointer; animation-delay: .95s; }
.flotte-d small { color: var(--or-clair); }
.point { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; display: inline-block; margin-right: 6px; vertical-align: middle; }
.point.ferme { background: var(--or); }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 759px) {
  .scene { height: auto; display: grid; gap: 10px; padding-bottom: 0; }
  .scene-centre { position: relative; left: auto; transform: none; margin: 0 auto -18%; width: 100%; max-width: 380px; order: 0; }
  .flotte, .flotte-a, .flotte-b, .flotte-c, .flotte-d { position: relative; inset: auto; width: 100%; }
  .flotte-a, .flotte-b { display: none; }
  .flotte-c { order: 1; } .flotte-d { order: 2; justify-content: space-between; }
}

.rapide { position: relative; z-index: 3; display: grid; gap: 10px; margin-top: -8px; padding: 12px; border-radius: 26px; background: var(--blanc); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .3); border: 1px solid var(--trait); max-width: 900px; margin-bottom: 0; }
.rapide-champ { display: grid; gap: 2px; padding: 8px 14px; border-radius: 16px; background: var(--gris-clair); }
.rapide-champ > span { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; color: var(--gris); }
.rapide-champ .ico { color: var(--or-fonce); width: 1em; height: 1em; }
.rapide select { border: 0; background: transparent; font-weight: 600; font-size: .98rem; padding: 2px 0; min-height: 32px; width: 100%; }
.rapide-info strong { font-size: .95rem; font-weight: 600; }
.rapide .btn { min-height: 44px; padding-right: 16px; }
@media (min-width: 760px) { .rapide { grid-template-columns: 1.3fr 1fr auto; align-items: stretch; border-radius: 999px; padding: 10px; } .rapide-champ { border-radius: 999px; padding: 8px 22px; } .rapide .btn { min-height: auto; padding-inline: 28px; } }

/* ---------- Soins (bloc noir) ---------- */
.soins { background: var(--gris-clair); padding-top: 72px; }
.bloc-noir { background: var(--noir); color: var(--blanc); border-radius: 32px; padding: clamp(28px, 4vw, 56px); }
.soins-tete { display: grid; gap: 16px; margin-bottom: 32px; }
.soins-tete p:last-child { color: rgb(255 255 255 / .68); max-width: 30em; }
.soins-tete h2 { color: var(--blanc); }
@media (min-width: 900px) { .soins-tete { grid-template-columns: 1fr 1fr; align-items: end; } .soins-tete p:last-child { justify-self: end; } }
.soins-barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.onglets { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.onglets::-webkit-scrollbar { display: none; }
.onglets [role="tab"] { flex: none; min-height: 36px; padding: 5px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); background: transparent; color: rgb(255 255 255 / .8); font-size: .9rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.onglets [role="tab"]:hover { border-color: var(--or); color: var(--blanc); }
.onglets [role="tab"][aria-selected="true"] { background: var(--or-degrade); border-color: transparent; color: var(--noir); font-weight: 600; }
.rail-nav { display: none; gap: 8px; }
.rail-nav .rond { background: transparent; border-color: rgb(255 255 255 / .25); color: var(--blanc); }
.rail-nav .rond:hover { background: var(--blanc); color: var(--noir); }
@media (min-width: 760px) { .rail-nav { display: flex; } }
.js .cat[hidden] { display: none; }
.cat + .cat { margin-top: 40px; }
.js .cat + .cat { margin-top: 0; }
.cat-titre { font-size: 1.3rem; margin-bottom: 4px; }
.js .cat-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cat-intro { color: rgb(255 255 255 / .68); margin-bottom: 20px; max-width: 46em; font-size: .95rem; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.soin { flex: 0 0 min(82%, 300px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 24px; background: var(--blanc); color: var(--noir); min-height: 300px; }
.soin-photo { padding: 0; overflow: hidden; background: var(--noir-2); }
.soin-photo picture, .soin-photo img { width: 100%; height: 100%; object-fit: cover; }
.soin-cat { align-self: flex-start; padding: 3px 12px; border: 1px solid var(--trait); border-radius: 999px; font-size: .75rem; font-weight: 500; color: var(--gris); }
.soin h4 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.soin-desc { color: var(--gris); font-size: .9rem; }
.soin-extra { font-size: .85rem; font-weight: 500; color: var(--or-fonce); }
.soin-pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--trait); }
.soin-prix { font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; display: grid; }
.soin-prix small { font-size: .72rem; font-weight: 500; color: var(--gris); letter-spacing: 0; }
.soin-cta { display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; min-height: 32px; border: 0; border-radius: 999px; background: var(--noir); color: var(--blanc); font-weight: 600; font-size: .78rem; }
.soin-cta .btn-rond { width: 24px; height: 24px; }
.soin-cta:hover .btn-rond { transform: rotate(45deg); }
.soin-note { font-size: .8rem; color: var(--gris); max-width: 14em; }

/* ---------- Diagnostic ---------- */
.diag-grille { display: grid; gap: 36px; align-items: start; }
.puces { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.puce { min-height: 38px; padding: 6px 14px; font-size: .86rem !important; border-radius: 999px; border: 1px solid var(--trait); background: var(--blanc); font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.puce:hover { border-color: var(--noir); }
.puce[aria-checked="true"] { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.diag-resultat { border-radius: 28px; background: var(--gris-clair); display: grid; min-height: 0; }
.diag-resultat:has(.diag-vide) { display: none; }
.diag-vide { display: grid; place-items: center; align-content: center; gap: 12px; padding: 40px; color: var(--gris); text-align: center; }
.diag-vide .ico { width: 36px; height: 36px; color: var(--or); }
.diag-carte { padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; align-content: start; animation: monte .45s var(--ease); }
.diag-label { font-size: .85rem; font-weight: 500; color: var(--gris); }
.diag-nom { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.diag-prix { font-size: 1.05rem; font-weight: 600; }
.diag-prix small { font-weight: 400; color: var(--gris); }
.diag-carte .actions { justify-content: flex-start; margin-top: 8px; }
.diag-avert { font-size: .82rem; color: var(--gris); }
@media (min-width: 960px) { .diag-grille { grid-template-columns: 1fr 1fr; gap: 64px; } .diag-resultat:has(.diag-vide) { display: grid; } .diag-resultat { min-height: 340px; position: sticky; top: calc(var(--entete) + 24px); } }

/* ---------- Découverte ---------- */
.decouverte { padding-top: 0; }
.decouverte-bloc { display: grid; gap: 28px; padding: clamp(20px, 3.5vw, 48px); }
.decouverte-bloc h2 { color: var(--blanc); }
.decouverte-bloc .intro { color: rgb(255 255 255 / .7); }
.coches { display: grid; gap: 12px; margin: 22px 0 26px; }
.coches li { display: flex; gap: 12px; align-items: flex-start; }
.coches .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--or-degrade); color: var(--noir); margin-top: 1px; }
.decouverte-action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .14); }
.decouverte-prix { display: grid; line-height: 1.2; }
.decouverte-prix strong { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; color: var(--or-clair); }
.decouverte-prix span { font-size: .82rem; color: rgb(255 255 255 / .65); max-width: 17em; }
.decouverte-visuel { position: relative; width: min(100%, 380px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.decouverte-visuel .anneau path { animation: none; }
.medaille { width: 64%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; background: radial-gradient(circle at 35% 30%, #1E1E1E, #050505 70%); border: 1px solid rgb(242 209 107 / .35); box-shadow: 0 0 0 10px rgb(212 166 42 / .06), 0 30px 60px -20px rgb(212 166 42 / .35); }
.medaille strong { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; background: var(--or-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.medaille span { font-size: .78rem; line-height: 1.45; color: rgb(255 255 255 / .7); }
.medaille-sur { font-size: .72rem !important; color: var(--or-clair) !important; margin-bottom: 4px; }
.decouverte-prix { display: none; }
@media (min-width: 900px) { .decouverte-bloc { grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; } .decouverte-action { border-top: 0; padding-top: 0; } }
@media (max-width: 899px) { .decouverte-visuel { order: -1; width: min(78%, 300px); } }

/* ---------- Fonctionnement ---------- */
.etapes { display: grid; gap: 32px; margin-top: 48px; counter-reset: e; }
.etapes li { position: relative; text-align: center; display: grid; justify-items: center; align-content: start; gap: 8px; }
.etape-ico { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--gris-clair); margin-bottom: 8px; }
.etape-ico .ico { width: 30px; height: 30px; }
.etape-num { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--or-degrade); font-size: .8rem; font-weight: 700; }
.etapes p { color: var(--gris); max-width: 22em; font-size: .95rem; }
@media (min-width: 860px) {
  .etapes { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .etapes li:not(:last-child)::after { content: ""; position: absolute; top: 38px; left: calc(50% + 56px); right: calc(-50% + 36px); border-top: 2px dashed var(--trait); }
}

/* ---------- Abonnements ---------- */
.abonnements { padding-top: 0; }
.abos { display: grid; gap: 18px; margin-top: 44px; }
.abo { padding: 30px 26px; border-radius: 28px; border: 1px solid var(--trait); background: var(--blanc); }
.abo-noir { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.abo h3 { font-size: 1.25rem; }
.abo-accroche { margin: 4px 0 18px; font-size: .9rem; font-weight: 500; color: var(--or-fonce); }
.abo-noir .abo-accroche { color: var(--or-clair); }
.abo-prix { display: flex; align-items: baseline; gap: 10px; font-size: 2.8rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.abo-prix del { font-size: 1.2rem; font-weight: 500; opacity: .5; letter-spacing: 0; }
.abo-precision { font-size: .85rem; opacity: .7; margin: 8px 0 20px; }
.abo-liste { display: grid; gap: 10px; font-size: .92rem; padding-top: 18px; border-top: 1px solid var(--trait); }
.abo-noir .abo-liste { border-top-color: rgb(255 255 255 / .15); }
.abo-liste li { display: flex; gap: 10px; align-items: flex-start; }
.abo-liste .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--or-degrade); color: var(--noir); margin-top: 2px; }
@media (min-width: 960px) {
  .abos { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .abo-noir { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 48px; padding: 36px 40px; }
  .abo-noir > :not(.abo-liste) { grid-column: 1; }
  .abo-noir .abo-liste { grid-column: 2; grid-row: 1 / span 6; align-self: center; grid-template-columns: 1fr 1fr; gap: 14px 28px; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid rgb(255 255 255 / .15); }
  .abo-noir .abo-exemple { margin-bottom: 0; }
}

/* ---------- Pratique ---------- */
.pratique { background: var(--gris-clair); }
.pratique-grille { display: grid; gap: 28px; align-items: center; }
.carte-blanche { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--blanc); }
.semaine { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 26px 0 16px; }
.semaine li { display: grid; gap: 8px; justify-items: center; padding: 14px 2px; border-radius: 16px; background: var(--gris-clair); text-align: center; }
.sem-nom { font-weight: 600; font-size: .92rem; }
.sem-h { display: grid; font-size: .76rem; line-height: 1.35; color: var(--gris); font-variant-numeric: tabular-nums; }
.sem-a { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sem-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.semaine li.ferme { background: transparent; border: 1px dashed #CFCBC2; }
.semaine li.aujourdhui { background: var(--noir); color: var(--blanc); }
.semaine li.aujourdhui .sem-h { color: var(--or-clair); }
.petit { font-size: .88rem; color: var(--gris); }
.regles { display: grid; gap: 14px; }
.regles div { padding: 18px 20px; border-radius: 20px; background: var(--blanc); }
.regles dt { font-weight: 600; margin-bottom: 2px; }
.regles dd { color: var(--gris); font-size: .93rem; }
@media (min-width: 960px) { .pratique-grille { grid-template-columns: 1.1fr .9fr; gap: 40px; } .semaine { gap: 10px; } .sem-h { font-size: .85rem; } }

/* ---------- Appel final et pied ---------- */
.appel-bloc { display: grid; gap: 24px; position: relative; overflow: hidden; }
.appel-bloc::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgb(212 166 42 / .35); box-shadow: 0 0 0 40px rgb(212 166 42 / .06); pointer-events: none; }
.appel h2 { color: var(--blanc); font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.appel p { color: rgb(255 255 255 / .7); margin-top: 10px; max-width: 30em; }
.appel .actions { justify-content: flex-start; margin-top: 0; }
@media (min-width: 900px) { .appel-bloc { grid-template-columns: 1.2fr auto; align-items: center; } }
.pied { padding: 40px 0 110px; border-top: 1px solid var(--trait); }
.pied-grille { display: grid; gap: 24px; }
.pied-marque { display: flex; align-items: center; gap: 16px; color: var(--gris); font-size: .92rem; }
.pied-logo { flex: none; }
.pied-logo img { width: 56px; height: 56px; object-fit: contain; }
.pied-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pied-whatsapp { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.pied-whatsapp .ico { color: var(--vert-wa); }
.reseaux { display: flex; gap: 8px; }
.reseaux a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--trait); transition: background-color .2s, color .2s; }
.reseaux a:hover { background: var(--noir); color: var(--blanc); }
.pied-bas { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--trait); font-size: .85rem; color: var(--gris); }
@media (min-width: 800px) { .pied { padding-bottom: 40px; } .pied-grille { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Bouton flottant ---------- */
.flottant { position: fixed; z-index: 50; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; padding: 4px 4px 4px 16px; min-height: 42px; font-size: .86rem; border: 0; border-radius: 999px; background: var(--noir); color: var(--blanc); font-weight: 600; white-space: nowrap; box-shadow: 0 16px 40px -10px rgb(0 0 0 / .45); transform: translate(-50%, 160%); transition: transform .4s var(--ease); }
.flottant.visible { transform: translate(-50%, 0); }

/* ---------- Panneau de réservation ---------- */
.resa { padding: 0; border: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: var(--blanc); color: var(--noir); }
.resa::backdrop { background: rgb(0 0 0 / .5); backdrop-filter: blur(4px); }
.resa[open] { animation: glisse .35s var(--ease); }
@keyframes glisse { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 760px) {
  .resa { inset: 12px 12px 12px auto; width: 460px; height: calc(100% - 24px); border-radius: 28px; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .5); }
  @keyframes glisse { from { transform: translateX(40px); opacity: 0; } }
}
.resa-form { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.resa-tete { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--trait); }
.resa-titres { text-align: center; }
.resa-tete h2 { font-size: 1.1rem; letter-spacing: -.01em; }
.resa-etape { font-size: .82rem; color: var(--gris); }
#resa-retour[disabled] { visibility: hidden; }
.resa-pas { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.resa-pas li { height: 4px; border-radius: 4px; background: var(--trait); transition: background .3s; }
.resa-pas li.fait { background: var(--or-degrade); }
.resa-corps { overflow-y: auto; padding: 20px 18px 28px; overscroll-behavior: contain; }
.pas { animation: monte .3s var(--ease); }
.pas-aide { color: var(--gris); font-size: .9rem; margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; background: var(--gris-clair); }
.sous-titre { font-weight: 600; margin-bottom: 10px; }
.liste-groupe { font-size: .82rem; font-weight: 600; color: var(--gris); margin: 18px 0 8px; }
.liste-groupe:first-child { margin-top: 0; }
.liste-prest { display: grid; gap: 8px; }
.prest { display: grid; grid-template-columns: 1fr auto 22px; gap: 12px; align-items: center; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--trait); background: var(--blanc); text-align: left; transition: border-color .2s, background-color .2s; }
.prest::after { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #CFCBC2; grid-column: 3; grid-row: 1; }
.prest[aria-checked="true"] { border-color: var(--noir); background: var(--gris-clair); }
.prest[aria-checked="true"]::after { border: 6px solid var(--noir); }
.prest-nom { font-weight: 500; font-size: .95rem; line-height: 1.3; }
.prest-prix { font-weight: 700; white-space: nowrap; }
.bloc { margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--gris-clair); }
.bloc-titre { font-weight: 600; margin-bottom: 6px; }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 12px; align-items: start; padding: 10px 0; cursor: pointer; }
.opt + .opt { border-top: 1px solid var(--trait); }
.opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--noir); }
.opt-nom { font-weight: 500; font-size: .93rem; }
.opt-prix { font-size: .9rem; font-weight: 600; white-space: nowrap; }
.opt-detail { grid-column: 2 / -1; font-size: .84rem; color: var(--gris); }
.opt-abo { margin-top: 18px; padding: 16px; border-radius: 18px; background: #FBF3DA; border: 1px solid #F0DC9C; }
.formules { display: grid; gap: 6px; }
.formules label { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: .93rem; }
.formules input { accent-color: var(--noir); width: 18px; height: 18px; }
.champ { display: grid; gap: 6px; margin-bottom: 16px; }
.champ > span { font-weight: 500; font-size: .92rem; }
.champ small { font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--trait); border-radius: 14px; background: var(--blanc); font-size: 1rem; }
.champ textarea { min-height: 84px; resize: vertical; }
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgb(212 166 42 / .35); }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.bloc .champ { margin: 10px 0 4px; }
.bloc .champ select { background-color: var(--blanc); }
.erreur { color: var(--erreur); font-weight: 500; font-size: .88rem; margin: 10px 0; }
.jours { display: flex; gap: 8px; overflow-x: auto; padding: 2px 28px 12px 2px; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.jour { flex: none; scroll-snap-align: start; width: 64px; display: grid; justify-items: center; padding: 10px 4px; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--blanc); }
.jour small { font-size: .72rem; color: var(--gris); }
.jour strong { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.jour[aria-checked="true"] { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.jour[aria-checked="true"] small { color: var(--or-clair); }
.heures { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 6px; }
.heures-titre { grid-column: 1 / -1; font-weight: 600; margin: 12px 0 4px; }
.heure { min-height: 46px; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--blanc); font-weight: 500; font-variant-numeric: tabular-nums; }
.heure[aria-checked="true"] { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.jour:hover, .heure:hover, .prest:hover { border-color: var(--noir); }
.vide { padding: 16px; border-radius: 14px; background: #FBF3DA; font-size: .93rem; }
.recap { display: grid; gap: 14px; padding: 20px; border-radius: 22px; background: var(--gris-clair); }
.recap-ligne { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; }
.recap-ligne span:first-child { color: var(--gris); }
.recap-ligne span:last-child { font-weight: 600; text-align: right; }
.recap-sep { border-top: 1px dashed #CFCBC2; }
.recap-note { font-size: .85rem; color: var(--gris); margin-top: 14px; }
.pas-fin { text-align: center; display: grid; justify-items: center; gap: 12px; padding-top: 24px; }
.fin-coche { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--or-degrade); color: var(--noir); }
.fin-coche .ico { width: 36px; height: 36px; }
.pas-fin h3 { font-size: 1.4rem; }
.pas-fin p { color: var(--gris); max-width: 24em; }
.confirmation { margin-top: 6px; font-size: .92rem; }
.confirmation a { font-weight: 600; color: var(--vert-wa); }
.resa-pied { display: flex; align-items: center; gap: 16px; padding: 14px 18px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--trait); }
.resa-total { flex: 1; display: grid; line-height: 1.25; }
.resa-total span { font-size: .8rem; color: var(--gris); }
.resa-total strong { font-size: 1.25rem; font-weight: 700; }
.resa-pied .btn { min-width: 130px; padding-right: 16px; }
.resa-pied .btn.envoyer { background: var(--vert-wa); }
.sans-js { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; padding: 14px 18px; border-radius: 16px; background: var(--noir); color: var(--blanc); }
.sans-js a { color: var(--or-clair); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Ouverture : mise en page bureau en deux colonnes ---------- */
@media (max-width: 759px) { .rapide { margin-top: 14px; } }
@media (min-width: 1000px) {
  .ouverture { display: grid; grid-template-columns: minmax(16px, 1fr) minmax(0, 560px) minmax(0, 640px) minmax(16px, 1fr); column-gap: 32px; align-items: center; padding-top: 24px; }
  .ouverture-texte { grid-column: 2; width: auto; margin: 0; text-align: left; justify-items: start; padding-bottom: 40px; }
  .ouverture h1 { font-size: clamp(2.4rem, 1.2rem + 2.2vw, 3.4rem); }
  .ouverture .actions { justify-content: flex-start; }
  .scene { grid-column: 3; width: 100%; margin: 0; height: 620px; }
  .scene-centre { width: 500px; transform: translateX(-50%) translateY(14%); }
  .flotte-a { left: -2%; top: 20%; }
  .flotte-b { right: -2%; top: 8%; }
  .flotte-c { left: -6%; bottom: 22%; }
  .flotte-d { right: -4%; bottom: 30%; }
  .rapide { grid-column: 2 / 4; width: 100%; max-width: 940px; margin: -36px auto 0; }
}

/* ---------- Ajustements téléphone ---------- */
@media (max-width: 599px) {
  .semaine { grid-template-columns: 1fr; gap: 0; margin: 20px 0 14px; }
  .semaine li { grid-template-columns: 1fr auto; justify-items: stretch; align-items: center; padding: 12px 14px; border-radius: 12px; background: transparent; text-align: left; }
  .semaine li + li { border-top: 1px solid var(--trait); }
  .semaine li.ferme { border: 0; border-top: 1px solid var(--trait); }
  .semaine li.aujourdhui { border-top-color: transparent; }
  .semaine li.aujourdhui + li { border-top-color: transparent; }
  .sem-h { display: block; font-size: .92rem; text-align: right; }
  .sem-a, .sem-long { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .sem-court { display: none; }
  .appel .actions { width: 100%; }
  .appel .btn { width: 100%; justify-content: space-between; }
  .btn-contour-clair { justify-content: center !important; }
  .carte-blanche, .regles div { padding: 20px 18px; }
  .bloc-noir { border-radius: 24px; }
  .soins-tete p:last-child { font-size: .92rem; }
  .abo { padding: 24px 20px; }
  .abo-prix { font-size: 2.3rem; }
}

/* Fondus de bord : masquent les coupes droites des photos détourées */
.portrait img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); }

/* ---------- Cartes flottantes animées (tablette et ordinateur) ---------- */
@keyframes flotter { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .flotte-a { animation: monte .8s var(--ease) .5s both, flotter 5.5s ease-in-out 1.4s infinite alternate; }
  .flotte-b { animation: monte .8s var(--ease) .65s both, flotter 6.5s ease-in-out 1.6s infinite alternate-reverse; }
  .flotte-c { animation: monte .8s var(--ease) .8s both, flotter 6s ease-in-out 1.8s infinite alternate-reverse; }
  .flotte-d { animation: monte .8s var(--ease) .95s both, flotter 5s ease-in-out 2s infinite alternate; }
  .flotte-d:hover { animation-play-state: paused; }
}

/* ---------- Réservation rapide plus compacte (tablette et ordinateur) ---------- */
@media (min-width: 760px) {
  .rapide { padding: 6px; gap: 6px; max-width: 820px; }
  .rapide-champ { padding: 5px 20px; gap: 0; }
  .rapide-champ > span { font-size: .72rem; }
  .rapide select { font-size: .9rem; min-height: 26px; padding: 0; }
  .rapide-info strong { font-size: .9rem; }
  .rapide .btn { min-height: 0; padding: 0 22px; font-size: .86rem; }
}

/* ---------- Médaille découverte sur téléphone ---------- */
@media (max-width: 899px) {
  .decouverte-visuel { width: min(88%, 320px); }
  .medaille { width: 70%; gap: 2px; }
  .medaille strong { font-size: 2.6rem; }
  .medaille span { font-size: .74rem; }
  .medaille .medaille-sur { display: none; }
}

/* ---------- Diagnostic : pas de débordement sur petit écran ---------- */
.diag-grille > * { min-width: 0; }
.diag-carte .actions { flex-wrap: wrap; }
@media (max-width: 599px) {
  .diag-carte .actions { flex-direction: column; align-items: stretch; }
  .diag-carte .btn { white-space: normal; justify-content: space-between; text-align: left; }
  .diag-carte .btn:not(:has(.btn-rond)) { justify-content: center; text-align: center; }
}

/* ---------- Mention confidentialité et page dédiée ---------- */
.mention { font-size: .82rem; color: var(--gris); margin-top: 4px; }
.mention a, .pied-liens a { color: inherit; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.page-texte { max-width: 760px; padding-block: 40px 80px; }
.page-texte h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 8px; }
.page-texte .maj { color: var(--gris); font-size: .9rem; margin-bottom: 32px; }
.page-texte h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.page-texte p, .page-texte li { color: #2A2A2A; }
.page-texte p + p { margin-top: 10px; }
.page-texte ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; margin-top: 8px; }
.retour { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .9rem; text-decoration: none; margin-bottom: 28px; }

.abo-exemple { font-size: .85rem; padding: 10px 14px; border-radius: 14px; background: rgb(255 255 255 / .08); margin: -8px 0 20px; }
.abo:not(.abo-noir) .abo-exemple { background: var(--gris-clair); }
