/* ==========================================================================
   JojoJuju Studio · Pack Vitrine · styles.css
   Direction : Confettis (identité du logo) + précision « mise au point ».
   Règle de couleur : une couleur = un type de contenu.
     anis   = photos      rose = portraits / personnes
     violet = reels       orange = options, logistique
   L'encre (noir chaud) porte tout le texte. Les couleurs ne servent jamais de texte.
   ========================================================================== */


:root {
  --ink: #231F20;
  --paper: #ffffff;
  --lime: #CBE371;
  --pink: #E27BE3;
  --violet: #C27BFF;
  --orange: #FBA900;
  --soft: #F6F5F3;
  --line: rgba(35, 31, 32, .22);
  --muted: #5B5557;               /* contraste 7:1 sur blanc */

  --f-title: 'ABC Bingo', 'Arial', sans-serif;
  --f-display: 'ABC Bingo', 'Arial', sans-serif; /* toujours ABC Bingo Regular, jamais Condensed */
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-body: 'Fustat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --dock-h: 68px;
  --pad: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }

/* ---------- Type ---------- */
.h2 { font: 700 clamp(2rem, 4.6vw, 3.7rem)/1.02 var(--f-display); letter-spacing: -.012em; margin: 0 0 .5em; max-width: 20ch; text-wrap: balance; }
.h3 { font: 700 1.3rem/1.15 var(--f-display); margin: 2.4rem 0 .9rem; }
.lede { font: 400 clamp(1.1rem, 1.7vw, 1.3rem)/1.45 var(--f-body); max-width: 52ch; margin: 0 0 1.6rem; text-wrap: pretty; }
.note { color: var(--muted); font-size: .92rem; max-width: 62ch; margin: 1rem 0 0; }
h1, h2, h3, [tabindex="-1"] { outline: none; }
[tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }

/* ---------- Mise en page ---------- */
.proto { background: var(--ink); color: #fff; text-align: center; font-size: .82rem; padding: 6px var(--pad); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--pad); }
.top-logo img { width: clamp(120px, 15vw, 170px); }
.top-cta { font-weight: 500; font-size: .95rem; border-bottom: 2px solid var(--ink); padding-bottom: 1px; text-decoration: none; }
.top-cta:hover { background: var(--lime); }

.scene { min-height: calc(100svh - 120px); padding: 1.5rem var(--pad) 3rem; position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; }
.narrow { max-width: 820px; }

/* ---------- Tuiles (le confetti) ---------- */
.tile { display: inline-block; width: 18px; height: 18px; flex: none; transform: rotate(45deg); }
.t-lime { background: var(--lime); } .t-pink { background: var(--pink); }
.t-violet { background: var(--violet); } .t-orange { background: var(--orange); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 0;
  padding: .85rem 1.5rem; font-weight: 700; text-decoration: none; position: relative; overflow: hidden;
  min-height: 48px; transition: background .2s, color .2s;
}
.btn::before { /* une tuile traverse le bouton au survol */
  content: ''; position: absolute; left: -30px; top: 50%; width: 22px; height: 22px; background: var(--lime);
  transform: translateY(-50%) rotate(45deg) scale(0); transition: transform .35s var(--ease), left .35s var(--ease);
}
.btn:hover::before { left: calc(100% - 30px); transform: translateY(-50%) rotate(45deg) scale(1); }
.btn > * { position: relative; }
.btn-alt { background: #fff; color: var(--ink); }
.btn-alt:hover { background: var(--soft); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: .5rem .25rem; font-weight: 500; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; min-height: 44px; }
.link:hover { background: var(--lime); }

/* ---------- 1. Couverture ---------- */
.scene-cover { display: grid; place-items: center; text-align: center; overflow: hidden; min-height: calc(100svh - 110px); }
.cover-inner { position: relative; z-index: 1; max-width: 1000px; }
.cover-logo { width: min(86vw, 880px); margin: 0 auto 1.2rem; }
.cover-title { font: 400 clamp(2.2rem, 5.6vw, 4.4rem)/1 var(--f-serif); margin: 0 0 1rem; text-wrap: balance; }
.cover-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 54ch; margin: 0 auto 1.8rem; text-wrap: pretty; }
.cover-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: center; align-items: center; }
.floaters { position: absolute; inset: 0; pointer-events: none; }
.floaters .tile {
  position: absolute; left: var(--x0); top: var(--y0); width: var(--s); height: var(--s);
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--r));
  transition: transform .5s var(--ease);
}
.floaters .tile.drop { animation: drop .9s var(--ease) both; animation-delay: var(--delay, 0s); }
@keyframes drop { from { opacity: 0; transform: translate(0, -40px) rotate(calc(var(--r) - 40deg)) scale(.6); } }

/* ---------- 2. Concept ---------- */
.concept { display: grid; gap: 2rem; }
.concept-48 { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.big48 { font: 700 clamp(4.5rem, 14vw, 10rem)/.85 var(--f-display); letter-spacing: -.03em; }
.concept-48 p { max-width: 28ch; margin: 0; font-size: 1.15rem; }
.pledges { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.pledges li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.pledges .tile { margin: .5rem 0 0 4px; }
.pledges h3 { margin: 0; font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--f-display); }
.pledges p { grid-column: 2; margin: .4rem 0 0; max-width: 62ch; color: var(--muted); }
@media (min-width: 900px) {
  .pledges li { grid-template-columns: 28px 1fr 1.2fr; align-items: baseline; }
  .pledges p { grid-column: 3; margin: 0; }
}

/* ---------- Chips (filtres, profil) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1rem;
  border: 2px solid var(--ink); background: #fff; font-weight: 500; transition: background .15s;
}
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.chip .tile { width: 12px; height: 12px; }
button.chip-btn { all: unset; }
.fs { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.fs legend { font: 600 1.05rem/1.2 var(--f-body); padding: 0; margin-bottom: .7rem; }
.suggest { min-height: 1.6em; font: 400 1.15rem/1.45 var(--f-body); margin: .5rem 0 1.4rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }

/* ---------- 3. Galerie ---------- */
.gallery { columns: 3 230px; column-gap: 14px; }
.g-item { break-inside: avoid; margin: 0 0 14px; position: relative; }
.g-item > button, .g-item > .slot-static { display: block; width: 100%; padding: 0; border: 0; background: none; position: relative; }
.g-media { position: relative; overflow: hidden; background: var(--soft); width: 100%; }
.g-media img, .g-media video { width: 100%; height: 100%; object-fit: cover; }
.g-item > button:hover .g-media img { transform: scale(1.02); }
.g-media img { transition: transform .5s var(--ease); }
.slot { /* emplacement à compléter */
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem;
  background: var(--c); color: var(--ink); overflow: hidden;
}
.slot::before { content: ''; position: absolute; width: 58%; aspect-ratio: 1; border: 2px solid rgba(35,31,32,.55); transform: rotate(45deg); }
.slot span { position: relative; font: 500 .9rem/1.3 var(--f-body); max-width: 16ch; }
.slot small { display: block; font-size: .75rem; opacity: .8; margin-top: .3rem; word-break: break-all; }
.play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); background: #fff; border-radius: 50%; display: grid; place-items: center; }
.play::after { content: ''; width: 0; height: 0; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.g-cap { font-size: .85rem; color: var(--muted); padding: .35rem 0 0; text-align: left; }

dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog#lightbox::backdrop { background: rgba(35,31,32,.88); }
dialog#lightbox[open] { display: grid; place-items: center; }
#lb-fig { margin: 0; max-width: min(92vw, 1200px); max-height: 86vh; display: grid; justify-items: center; gap: .6rem; }
#lb-fig img, #lb-fig video { max-height: 78vh; max-width: 100%; width: auto; height: auto; background: #000; }
#lb-fig figcaption { color: #fff; font-size: .9rem; }
.lb-close { position: absolute; top: 14px; right: 14px; background: #fff; border: 2px solid var(--ink); min-height: 44px; padding: 0 1rem; font-weight: 700; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; background: #fff; border: 2px solid var(--ink); font-size: 2rem; line-height: 1; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }

/* ---------- 5. Composer ---------- */
.composer { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .composer { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; } }
.composer-main .h3:first-child { margin-top: 0; }
.paliers { display: grid; gap: 12px; }
@media (min-width: 720px) { .paliers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.palier { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.1rem 1.2rem; border: 2px solid var(--ink); background: #fff; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.palier input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.palier:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.palier:hover { transform: translateY(-2px); }
.palier .p-name { font: 700 1.5rem/1 var(--f-display); display: flex; align-items: center; gap: .6rem; }
.palier .p-tag { font-size: .8rem; font-weight: 700; background: var(--lime); color: var(--ink); padding: 2px 8px; align-self: flex-start; }
.palier .p-sugg { font-size: .8rem; font-weight: 700; background: var(--pink); color: var(--ink); padding: 2px 8px; align-self: flex-start; }
.palier .p-tagline { font: 400 1.15rem/1.2 var(--f-serif); margin: 0; }
.palier .p-price { font: 400 3rem/1 var(--f-serif); margin: .2rem 0; }
.palier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.palier li { display: grid; grid-template-columns: 14px 1fr; gap: .6rem; align-items: start; }
.palier li .tile { width: 9px; height: 9px; margin: .5rem 0 0 2px; }
.palier .p-note { font-size: .85rem; color: var(--muted); margin: 0; }
.palier:has(input:checked) { background: var(--ink); color: #fff; }
.palier:has(input:checked) .p-note { color: #d8d4d5; }
.palier:has(input:checked) .p-name .tile { box-shadow: 0 0 0 3px var(--ink); }
.common { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .3rem; font-size: .95rem; color: var(--muted); }
.common li::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); margin-right: .7rem; }

.opt-group { margin: 0 0 1.4rem; }
.opt-group h4 { margin: 0 0 .2rem; font: 600 1rem/1.2 var(--f-body); }
.opt { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: .2rem 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.opt .tile { margin-left: 3px; }
.opt .o-label { font-weight: 500; }
.opt .o-unit { display: block; font-size: .88rem; color: var(--muted); font-weight: 400; }
.opt .o-price { font: 400 1.5rem/1 var(--f-serif); white-space: nowrap; }
.opt .o-why { grid-column: 2 / -1; font-size: .85rem; color: var(--muted); margin: 0; }
.opt.is-off .o-label, .opt.is-off .o-price { opacity: .55; }
.opt .o-incl { font-weight: 700; font-size: .85rem; }

.sw { appearance: none; -webkit-appearance: none; width: 54px; height: 30px; border: 2px solid var(--ink); background: #fff; margin: 0; position: relative; cursor: pointer; transition: background .2s; }
.sw::after { content: ''; position: absolute; left: 4px; top: 50%; width: 14px; height: 14px; background: var(--c, var(--orange)); border: 2px solid var(--ink); transform: translateY(-50%) rotate(45deg); transition: left .25s var(--ease); }
.sw:checked { background: var(--ink); }
.sw:checked::after { left: calc(100% - 22px); }
.sw:disabled { opacity: .4; cursor: not-allowed; }
.step { display: inline-flex; align-items: center; border: 2px solid var(--ink); }
.step button { width: 40px; height: 36px; border: 0; background: #fff; font-size: 1.3rem; line-height: 1; }
.step button:hover:not(:disabled) { background: var(--lime); }
.step button:disabled { opacity: .3; cursor: not-allowed; }
.step output { min-width: 2.2ch; text-align: center; font: 400 1.4rem/1 var(--f-serif); }

.zones { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.zone { display: grid; grid-template-columns: 24px 1fr auto; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.zone input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.zone .z-fee { font: 400 1.3rem/1 var(--f-serif); }

.estimate { border: 2px solid var(--ink); padding: 1.3rem; background: #fff; }
@media (min-width: 1000px) { .estimate { position: sticky; top: 16px; } }
.estimate h3 { margin: 0 0 .8rem; font: 700 1.2rem/1.2 var(--f-display); }
.est-empty { font: 400 1.05rem/1.45 var(--f-body); margin: 0; }
.est-lines { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.est-lines li { display: grid; grid-template-columns: 14px 1fr auto; gap: .6rem; align-items: baseline; }
.est-lines .tile { width: 9px; height: 9px; margin-left: 2px; }
.est-lines li.enter { animation: lineIn .45s var(--ease); }
.est-lines li.enter .tile { animation: tileIn .6s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes tileIn { from { transform: rotate(405deg) scale(2.2); } }
.est-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: .8rem; }
.est-total .lbl { font-weight: 700; }
.est-total .val { font: 400 3.4rem/1 var(--f-serif); letter-spacing: -.01em; }
.est-sub { display: flex; justify-content: space-between; font-size: .95rem; margin-top: .35rem; }
.est-minimum { font-size: .9rem; margin-top: .4rem; }
.est-tc { margin: 1rem 0 0; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); display: grid; gap: .3rem; }
.est-tc li::before { content: '+'; margin-right: .5rem; font-weight: 700; color: var(--ink); }
.est-legal { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.est-prov { background: var(--orange); color: var(--ink); font-size: .85rem; padding: .45rem .6rem; margin: 0 0 1rem; font-weight: 500; }
.est-err { background: var(--soft); border-left: 6px solid var(--orange); padding: .7rem .9rem; font-size: .95rem; margin: 0 0 1rem; }

/* ---------- 6. Déroulé ---------- */
.timeline { list-style: none; margin: 1.4rem 0 2rem; padding: 0; counter-reset: s; display: grid; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 13px; top: 20px; bottom: 20px; width: 2px; background: var(--ink); }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 1.2rem; padding: 0 0 1.8rem; position: relative; counter-increment: s; }
.timeline .tile { margin: .45rem 0 0 4px; width: 20px; height: 20px; position: relative; z-index: 1; box-shadow: 0 0 0 5px #fff; }
.timeline h3 { margin: 0; font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--f-display); }
.timeline h3::before { content: counter(s) '. '; font-family: var(--f-display); font-weight: 700; font-size: .7em; margin-right: .3rem; }
.timeline p { margin: .35rem 0 0; color: var(--muted); max-width: 56ch; }
.policy { border: 2px solid var(--ink); padding: 0; }
.policy summary { cursor: pointer; padding: .9rem 1.1rem; font: 700 1.1rem/1.2 var(--f-display); min-height: 48px; list-style-position: inside; }
.policy .pol-body { padding: 0 1.1rem 1.1rem; font-size: .96rem; }
.policy ul { margin: .6rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.badge { display: inline-block; background: var(--orange); font-size: .78rem; font-weight: 700; padding: 1px 8px; margin-left: .5rem; vertical-align: middle; }

/* ---------- 7. Nous ---------- */
.about { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.about-text p:not(.lede) { max-width: 52ch; color: var(--muted); }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 32px); }
.portrait { position: relative; margin: 0; }
.portrait:nth-child(2) { margin-top: 2.4rem; }
.portrait .tile-back { position: absolute; width: 46%; aspect-ratio: 1; transform: rotate(45deg); z-index: 0; right: -10%; top: -8%; }
.portrait:nth-child(2) .tile-back { right: auto; left: -10%; top: auto; bottom: 14%; }
.portrait img {
  position: relative; z-index: 1; width: 100%; height: auto; background: var(--soft);
  --cut: clamp(14px, 3vw, 28px);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.portrait figcaption { position: relative; z-index: 1; margin-top: .7rem; }
.portrait .nm { font: 400 1.6rem/1.1 var(--f-serif); display: block; }
.portrait .rl { font-size: .9rem; color: var(--muted); }

/* ---------- 8. Récap ---------- */
.recap-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .recap-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 3.5rem; } }
.contact { display: grid; gap: 1rem; }
.contact .h3 { margin: 0 0 .2rem; }
.contact label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .5rem; font-weight: 500; }
.contact .optional { font-weight: 400; color: var(--muted); font-size: .9rem; }
.contact input, .contact textarea { flex: 1 1 100%; border: 2px solid var(--ink); border-radius: 0; padding: .65rem .8rem; background: #fff; width: 100%; min-height: 46px; font-weight: 400; }
.contact [aria-invalid="true"] { border-color: var(--ink); box-shadow: inset 6px 0 0 var(--orange); }
.sheet { border: 2px solid var(--ink); padding: clamp(1.1rem, 3vw, 1.8rem); }
.sheet h3 { margin: 0 0 .7rem; font: 700 1.2rem/1.2 var(--f-display); }
.sheet h4 { margin: 1.4rem 0 .4rem; font: 600 1rem/1.2 var(--f-body); }
.sheet dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; font-size: .96rem; }
.sheet dt { color: var(--muted); } .sheet dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }
.howto { margin-top: 1.4rem; max-width: 74ch; font-size: .95rem; color: var(--muted); }
.howto p { margin: 0 0 .6rem; }
.howto strong { color: var(--ink); }

/* ---------- Dock (navigation) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(var(--dock-h) + env(safe-area-inset-bottom));
  padding: 0 var(--pad) env(safe-area-inset-bottom); background: #fff; border-top: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.dock-btn { background: none; border: 0; font-weight: 700; min-height: 48px; padding: 0 .4rem; }
.dock-btn[disabled] { visibility: hidden; }
.dock-next { background: var(--ink); color: #fff; padding: 0 1.3rem; border: 2px solid var(--ink); }
.dock-next:hover { background: #fff; color: var(--ink); }
.dots { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(2px, 1vw, 8px); align-items: center; }
.dots button { width: 32px; height: 40px; background: none; border: 0; display: grid; place-items: center; padding: 0; }
.dots i { display: block; width: 10px; height: 10px; border: 2px solid var(--ink); background: #fff; transform: rotate(45deg); transition: transform .3s var(--ease), background .2s; }
.dots .seen i { background: var(--c); }
.dots [aria-current="step"] i { background: var(--c); transform: rotate(45deg) scale(1.7); }
.dock-est { background: none; border: 0; font: 400 1.3rem/1 var(--f-serif); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; padding: 0 .4rem; min-height: 44px; }
.dock-est small { font: 500 .78rem var(--f-body); margin-right: .4rem; }
@media (max-width: 719px) {
  .dock-est small { display: none; }
  .dots { display: none; }
  .dock-est { flex: 1; text-align: center; }
  .dock-btn { font-size: .95rem; }
}
@media (min-width: 720px) and (max-width: 959px) { .dock-est small { display: none; } }

/* ---------- Transition en tuiles ---------- */
#wipe { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
#wipe i { position: absolute; display: block; transform: rotate(45deg) scale(0); will-change: transform; }

.confetti { position: fixed; width: 12px; height: 12px; z-index: 55; pointer-events: none; transform: rotate(45deg); }

.noscript { padding: 2rem var(--pad); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .floaters .tile { transform: rotate(var(--r)); }
}

/* Portrait manquant : emplacement coloré, même découpe que l'image */
.p-slot { position: relative; z-index: 1; display: grid; place-items: center; text-align: center; padding: 1rem; background: var(--c); width: 100%;
  --cut: clamp(14px, 3vw, 28px);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.p-slot span { font: 500 .9rem/1.3 var(--f-body); max-width: 18ch; }
.p-slot small { display: block; font-size: .72rem; opacity: .8; margin-top: .3rem; word-break: break-all; }

/* ===== Refonte DA : épuré, Fustat en base, contour rose, serif en contraste ===== */
.h2, .h3, .palier .p-name, .opt-group h4, .estimate h3, .sheet h3 { font-family: var(--f-body); font-weight: 700; letter-spacing: -.02em; }
.h2 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; max-width: 16ch; }
.big48 { font-family: var(--f-display); font-weight: 400; }
.btn, .dock-next { background: #fff; color: var(--ink); border: 2px solid var(--pink); font-weight: 600; transition: background .25s, color .25s; }
.btn:hover, .dock-next:hover { background: var(--pink); color: var(--ink); }
.btn::before { display: none; }
.btn-alt { border-color: var(--ink); }
.top-cta { border: 2px solid var(--pink); padding: .45rem 1rem; text-decoration: none; }
.top-cta:hover { background: var(--pink); }
.dock { border-top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); transition: transform .45s var(--ease), opacity .45s; }
.dock.is-hidden { transform: translateY(100%); opacity: 0; }
.palier { border-width: 1.5px; }
.palier:has(input:checked) { background: #fff; color: var(--ink); border: 2px solid var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.palier:has(input:checked) .p-note { color: var(--muted); }
body[data-step="2"] { overflow: hidden; }

/* ===== 3. Ce que vous recevez : écran blanc, titre, visuels qui flottent ===== */
.scene-proof { padding: 0; height: calc(100svh - 118px); min-height: 480px; overflow: hidden; display: grid; place-items: center; }
.proof-title { position: relative; z-index: 2; margin: 0; text-align: center; max-width: 12ch; font: 400 clamp(3rem, 9vw, 8rem)/.95 var(--f-serif); letter-spacing: -.02em; animation: fadeIn 1.6s ease both; text-wrap: balance; }
.stage { position: absolute; inset: 0; z-index: 1; }
.proof-title { pointer-events: none; }
.stage .g-item { position: absolute; left: 0; top: 0; margin: 0; opacity: 0; animation: fadeIn 1.2s ease forwards; will-change: transform; }
.stage .g-media { background: none; }
.stage .g-item > button { cursor: zoom-in; } .stage .g-item { touch-action: none; }
.stage .slot { opacity: .92; }
.stage .slot::before { display: none; }
.proof-next { position: absolute; z-index: 3; right: var(--pad); bottom: 1.4rem; opacity: 0; animation: fadeIn 1s 2.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.p-note-proof { position: absolute; left: var(--pad); bottom: 1.4rem; z-index: 3; margin: 0; }
@media (prefers-reduced-motion: reduce) { .stage .g-item, .proof-next, .proof-title { opacity: 1; } }
@media (max-width: 719px) {
  .stage .slot span { font-size: .62rem; } .stage .slot small { display: none; }
  .proof-next { bottom: calc(var(--dock-h) + 14px); }
  .p-note-proof { display: none; }
}

/* ===== Recomposition éditoriale : une intention par page ===== */
.cap { font: 500 .8rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 2rem; }
.scene-ed { padding-top: 2rem; }

/* 1. Couverture : le titre est l'image */
.scene-cover { display: block; text-align: left; padding: 5vh var(--pad) 3rem; }
.cover-inner { max-width: none; }
.cover-title { font: 400 clamp(3.6rem, 12.5vw, 12rem)/.88 var(--f-serif); letter-spacing: -.03em; margin: 0 0 3vh; max-width: none; }
.cover-title em { font-style: normal; color: transparent; -webkit-text-stroke: 3px var(--pink); }
.cover-sub { margin: 0 0 1.6rem; max-width: 30ch; font-size: 1.15rem; }
.cover-actions { justify-content: flex-start; }

/* 2. Le chiffre est la page */
.ed-48 { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr auto; gap: 0 4vw; align-items: center; position: relative; }
.ed-48 .big48 { grid-row: 1 / 3; font: 400 clamp(9rem, 34vw, 34rem)/.78 var(--f-display); letter-spacing: -.04em; margin-left: -.04em; }
.ed-lead { font: 400 clamp(2rem, 3.8vw, 3.6rem)/1.08 var(--f-serif); margin: 0; max-width: 17ch; letter-spacing: -.01em; }
.ed-lead span { display: block; margin-top: 1rem; font: 400 clamp(1rem, 1.4vw, 1.25rem)/1.4 var(--f-body); max-width: 34ch; }
.ed-note { margin: 0; font-size: .95rem; color: var(--muted); grid-column: 2; }
.ed-note.n1 { padding-top: 2rem; } 
.ed-note::before { content: ''; display: inline-block; width: 22px; border-top: 2px solid var(--pink); vertical-align: middle; margin-right: .7rem; }

/* 6. Déroulé : un escalier de mots */
.stairs { list-style: none; margin: 0 0 2rem; padding: 0; }
.stairs li { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem 2rem; }
.stairs li:nth-child(2) { margin-left: clamp(0px, 14vw, 240px); } .stairs li:nth-child(3) { margin-left: clamp(0px, 28vw, 480px); }
.stairs b { font: 400 clamp(3.4rem, 9.5vw, 9rem)/1 var(--f-serif); letter-spacing: -.03em; }
.stairs span { max-width: 26ch; color: var(--muted); }
.ed-flow .policy { border: 0; margin-top: 1rem; max-width: 60ch; }
.ed-flow .policy summary { font: 500 .9rem var(--f-body); padding: .4rem 0; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: .3em; }

/* 7. Duo : portraits sans cadre qui se chevauchent */
.ed-us { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; gap: 1rem 3vw; align-items: start; }
.us-title { font: 400 clamp(4rem, 11vw, 11rem)/.86 var(--f-serif); letter-spacing: -.03em; margin: 0; grid-column: 1; }
.us-title i { font-style: normal; -webkit-text-stroke: 2px var(--pink); color: transparent; }
.us-text { grid-column: 1; align-self: end; max-width: 34ch; margin: 0; }
.ed-us .portraits { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: flex-end; justify-content: flex-end; gap: 0; }
.ed-us .portrait { margin: 0; flex: none; }
.ed-us .portrait:nth-child(1) { width: 54%; }
.ed-us .portrait:nth-child(2) { width: 44%; margin: 0 0 0 -10%; z-index: 2; }
.ed-us .tile-back { display: none; }
.ed-us .portrait img, .ed-us .p-slot { clip-path: none; }
.ed-us .portrait figcaption { display: flex; gap: .6rem; align-items: baseline; margin-top: .5rem; }
.ed-us .portrait .nm { font: 600 .95rem var(--f-body); } .ed-us .portrait .rl { font-size: .85rem; }

/* 5. Grille de prix : des lignes, pas des cartes */
.paliers { display: block; border-top: 1.5px solid var(--ink); }
.palier { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) auto; grid-template-areas: "n u p" "t u p" "x u p"; gap: .2rem 2rem; align-items: center; border: 0; border-bottom: 1.5px solid var(--ink); padding: 1.1rem .8rem; transform: none !important; }
.palier .p-name { grid-area: n; font: 400 2.6rem/1 var(--f-display); } .palier .p-tagline { grid-area: t; } .palier ul { grid-area: u; } .palier .p-price { grid-area: p; font-size: 4rem; }
.palier .p-tag, .palier .p-sugg { grid-area: x; }
.palier .p-note { display: none; }
@media (max-width: 899px) { .palier { grid-template-columns: 1fr auto; grid-template-areas: "n p" "t p" "u u" "x x"; } .palier .p-price { font-size: 3rem; } }
.palier:has(input:checked) { box-shadow: inset 0 0 0 3px var(--pink); }

/* Écrans larges : une page = un écran */
@media (min-width: 900px) and (min-height: 700px) { body[data-step="1"], body[data-step="5"], body[data-step="6"] { overflow: hidden; } .scene-ed { height: calc(100svh - 118px); } .ed-us .portraits { height: 100%; } .ed-us .portrait:nth-child(1) img { max-height: calc(100svh - 190px); width: auto; margin-left: auto; } .ed-us .portrait:nth-child(2) img { max-height: calc(100svh - 280px); width: auto; } }
@media (max-width: 899px) { .ed-48, .ed-us { display: block; } .ed-48 .big48 { font-size: 36vw; margin-bottom: 1rem; } .ed-note { margin-top: 1rem; } .ed-us .portraits { margin-top: 2rem; } .stairs li { margin-left: 0 !important; } }
.ed-us .portrait figcaption { flex-direction: column; gap: 0; }

/* ===== Titres en ABC Bingo, interlignage serré ===== */
.h2, .cover-title, .proof-title, .ed-lead, .us-title, .stairs b { font-family: var(--f-title); font-weight: 400; letter-spacing: -.02em; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: .92; max-width: 18ch; }
.cover-title { font-size: clamp(3rem, 8.6vw, 8.6rem); line-height: .86; }
.proof-title { font-size: clamp(2.6rem, 7.4vw, 7rem); line-height: .84; }
.ed-lead { font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: .98; max-width: 16ch; }
.ed-lead span { font-family: var(--f-body); letter-spacing: 0; line-height: 1.4; }
.us-title { font-size: clamp(3rem, 8vw, 8rem); line-height: .84; }
.stairs b { font-size: clamp(2.6rem, 6.6vw, 6.5rem); line-height: .9; }
.stairs li { flex-direction: column; gap: .3rem; margin-bottom: 1.2rem; }
.stairs li:nth-child(2) { margin-left: clamp(0px, 10vw, 180px); } .stairs li:nth-child(3) { margin-left: clamp(0px, 20vw, 360px); }
.stairs span { max-width: none; white-space: nowrap; font-size: 1.05rem; }
@media (max-width: 719px) { .stairs span { white-space: normal; } }

/* ===== Composer : minimal ===== */
.composer .h3 { font: 500 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin: 2.2rem 0 .8rem; }
.palier { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; grid-template-areas: "n u p"; padding: 1.3rem .8rem; }
.palier .p-tagline, .palier .p-tag, .palier .p-note { display: none; }
.palier .p-sugg { grid-area: n; align-self: end; background: none; padding: 0; font-weight: 500; font-size: .8rem; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 1px; }
.palier ul { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; color: var(--muted); }
.palier li { display: block; } .palier li .tile { display: none; }
@media (max-width: 899px) { .palier { grid-template-columns: 1fr auto; grid-template-areas: "n p" "u u"; } }
details.more { margin-top: 1.6rem; }
details.more > summary { cursor: pointer; font: 500 1rem var(--f-body); min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: .3em; }
.opt .o-unit { display: none; } .opt { padding: .6rem 0; border: 0; } .opt .tile { display: none; } .opt { grid-template-columns: minmax(0, 1fr) auto auto; }
.opt-group h4 { margin-top: 1rem; }
.zones { display: flex; flex-wrap: wrap; gap: .6rem; border: 0; }
.zone { display: flex; gap: .6rem; padding: .5rem 1rem; border: 1.5px solid var(--ink); border-bottom-width: 1.5px; }
.zone:has(input:checked) { border-color: var(--pink); box-shadow: inset 0 0 0 1.5px var(--pink); }
.zone input { position: absolute; opacity: 0; } .zone { position: relative; }
.estimate { border: 0; padding: 0; } .est-prov { background: none; padding: 0; font-size: .78rem; color: var(--muted); }
.est-tc { display: none; } .est-lines .tile, .estimate h3 { display: none; }
.est-lines li { grid-template-columns: 1fr auto; }
.common { margin-top: .6rem; }

/* Accueil : bloc aligné en bas, toujours au-dessus du bandeau de navigation */
body { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }
main > .scene-cover:not([hidden]) { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 1.6rem; }
.cover-inner { margin-top: auto; }
.cover-title { margin-bottom: 2.2vh; }
.stairs strong { color: var(--ink); font-weight: 700; }
main > .scene-cover:not([hidden]) { align-items: stretch; justify-items: start; place-items: stretch start; }
.cover-inner { width: 100%; text-align: left; }

/* ==========================================================================
   Révision : prix, formules, boutons roses, séparateurs, « Ce que vous recevez »
   ========================================================================== */

/* ---- Prix : jamais en Instrument Serif, uniquement ABC Bingo ou Fustat ---- */
.palier .p-price, .est-total .val { font-family: var(--f-title); font-weight: 400; letter-spacing: -.02em; }
.palier .p-price { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.est-total .val { font-size: 2.8rem; }
.opt .o-price, .zone .z-fee, .step output, .dock-est { font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
.opt .o-price { font-size: 1.1rem; } .zone .z-fee { font-size: 1rem; } .step output { font-size: 1.1rem; } .dock-est { font-size: 1.05rem; }

/* ---- Formules : une couleur par formule, prévisualisée au survol ---- */
.palier[data-id="essentiel"] { --pc: var(--lime); }
.palier[data-id="vitrine"]   { --pc: var(--violet); }
.palier[data-id="signature"] { --pc: var(--orange); }
.paliers { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; border-top: 0; }
.palier { border: 0; border-bottom: 0; background: var(--soft); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.palier:hover { background: var(--pc, var(--soft)); }
.palier:has(input:checked) { background: var(--pc, var(--soft)); border: 0; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.palier:hover ul, .palier:has(input:checked) ul, .palier:hover .p-note, .palier:has(input:checked) .p-note { color: var(--ink); }

/* ---- Boutons : fond transparent, texte et contour roses ; au survol le rose glisse et le texte passe au blanc ---- */
.btn, .btn-alt, .dock-next, .top-cta {
  background: linear-gradient(var(--pink), var(--pink)) no-repeat 0 0 / 0% 100% transparent;
  color: var(--pink); border: 2px solid var(--pink);
  transition: background-size .4s var(--ease), color .25s ease;
}
.btn:hover, .btn-alt:hover, .dock-next:hover, .top-cta:hover,
.btn:focus-visible, .dock-next:focus-visible {
  background: linear-gradient(var(--pink), var(--pink)) no-repeat 0 0 / 100% 100% transparent;
  color: #fff;
}
.btn[disabled]:hover, .btn[aria-disabled="true"]:hover { background-size: 0% 100%; color: var(--pink); }

/* ---- Séparateurs longs supprimés : espace blanc, ou confetti ---- */
.pledges { border-top: 0; }
.pledges li, .opt, .zone:not(:has(input)) { border-bottom: 0; }
.pledges li { padding: .9rem 0; }
.zones { border-top: 0; }
.palier, .paliers { border-bottom: 0; border-top: 0; }
.est-total { border-top: 0; position: relative; margin-top: 1.4rem; padding-top: 2rem; }
.est-total::before { content: ''; position: absolute; top: .5rem; left: 4px; width: 9px; height: 9px; background: var(--lime); transform: rotate(45deg); box-shadow: 26px 5px 0 -1px var(--pink), 52px -2px 0 -2px var(--violet); }
.est-lines li { border: 0; }

/* ---- « Ce que vous recevez » : fond dégradé, foncé au centre, clair vers l'extérieur ---- */
.scene-proof { background: none; }
.proof-head { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; pointer-events: none; }
.proof-title { color: var(--lime); }
.proof-reset {
  pointer-events: auto; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%;
  background: transparent; color: var(--pink); border: 2px solid var(--pink);
  transition: background .25s, color .25s, transform .6s var(--ease); animation: fadeIn 1s 1.6s ease both;
}
.proof-reset:hover, .proof-reset:focus-visible { background: var(--pink); color: #fff; transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .proof-reset { animation: none; transition: background .25s, color .25s; } .proof-reset:hover { transform: none; } }

/* ---- Composer : « Suggéré pour vous » sous le nom de la formule, sans chevauchement ---- */
.palier { grid-template-areas: "n u p" "x u p"; row-gap: 0; }
.palier .p-name { align-self: center; }
.palier .p-sugg { grid-area: x; align-self: start; margin-top: .35rem; }
@media (max-width: 899px) { .palier { grid-template-areas: "n p" "x p" "u u"; row-gap: .2rem; } }

/* ==========================================================================
   Révision 3 : titre violet, composer lumineux, déroulé flottant, indice de navigation
   ========================================================================== */

/* « Ce que vous recevez » : titre violet */
.proof-title { color: var(--violet); }

/* Étapes de la navigation : plus de contour noir, forme plus légère */
.dots i { border: 0; width: 11px; height: 11px; background: rgba(35,31,32,.14); }
.dots .seen i, .dots [aria-current="step"] i { background: var(--c); }

/* Indice : ligne rose au bas de l'écran + petit carré à flèche, visible quand la navigation est masquée */
.dock-hint {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 29; height: 26px; padding: 0; border: 0; background: none;
  display: grid; place-items: end center; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.dock-hint::before { content: ''; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; border-top: 2px solid var(--pink); }
.dock-hint span {
  position: relative; width: 26px; height: 26px; display: grid; place-items: center; background: #fff;
  border: 2px solid var(--pink); border-bottom: 0; color: var(--pink); transition: background .2s, color .2s;
}
.dock-hint:hover span, .dock-hint:focus-visible span { background: var(--pink); color: #fff; }
.dock.is-hidden ~ .dock-hint { opacity: 1; pointer-events: auto; }

/* Le déroulé : les trois étapes flottent de quelques pixels, uniquement sur l'axe horizontal */
@keyframes driftX { 0%, 100% { translate: -7px 0; } 50% { translate: 7px 0; } }
.stairs li { animation: driftX 5.5s ease-in-out infinite; will-change: translate; }
.stairs li:nth-child(2) { animation-duration: 6.4s; animation-delay: -2s; }
.stairs li:nth-child(3) { animation-duration: 7.2s; animation-delay: -4s; }
@media (prefers-reduced-motion: reduce) { .stairs li { animation: none !important; } }

/* Composer : style lumineux, sans noir ; le fond glisse de gauche à droite, plus vite */
#scene-4 .btn, #scene-4 .btn-alt { transition: background-size .2s var(--ease), color .15s ease; }
.palier {
  background: linear-gradient(var(--pc, var(--soft)), var(--pc, var(--soft))) no-repeat 0 0 / 0% 100% #fff;
  box-shadow: inset 0 0 0 1.5px rgba(35,31,32,.1);
  transition: background-size .2s var(--ease), box-shadow .2s var(--ease);
}
.palier:hover, .palier:has(input:checked) {
  background: linear-gradient(var(--pc, var(--soft)), var(--pc, var(--soft))) no-repeat 0 0 / 100% 100% #fff;
  box-shadow: inset 0 0 0 1.5px rgba(35,31,32,.1);
}
.palier:has(input:checked) { box-shadow: none; }
.palier:has(input:checked) .p-name::after { content: ''; width: 10px; height: 10px; background: #fff; transform: rotate(45deg); flex: none; }
.palier:hover ul, .palier:has(input:checked) ul { color: var(--ink); }

.zone {
  border: 0; box-shadow: inset 0 0 0 1.5px rgba(35,31,32,.12);
  background: linear-gradient(var(--pink), var(--pink)) no-repeat 0 0 / 0% 100% #fff; transition: background-size .2s var(--ease), box-shadow .2s;
}
.zone:hover, .zone:has(input:checked) { background-size: 100% 100%; box-shadow: none; }
.zone:has(input:checked) { border: 0; }

.sw { border: 0; background: rgba(35,31,32,.12); transition: background .2s; }
.sw::after { border: 0; width: 16px; height: 16px; }
.sw:checked { background: var(--pink); }
.step { border: 0; box-shadow: inset 0 0 0 1.5px rgba(35,31,32,.12); }
.step button { background: transparent; }
.step button:hover:not(:disabled) { background: rgba(226,123,227,.25); }
.est-total .val, .est-lines strong { color: var(--ink); }

/* ==========================================================================
   Révision 4 : « Accéder au site », indice de navigation, logo = accueil
   ========================================================================== */

/* Accéder au site : pastille arrondie, losange confetti qui traverse au survol */
.site-link {
  position: relative; display: inline-flex; align-items: center; gap: .7rem; min-height: 48px;
  padding: .55rem 1.1rem .55rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--lime);
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 0% 100% transparent;
  transition: background-size .35s var(--ease);
}
.site-link .tile { width: 14px; height: 14px; background: var(--lime); transition: transform .45s var(--ease), background .3s; }
.site-link svg { transition: transform .35s var(--ease); }
.site-link:hover, .site-link:focus-visible { background-size: 100% 100%; }
.site-link:hover .tile { transform: rotate(225deg) scale(.8); background: #fff; }
.site-link:hover svg { transform: translate(3px, -3px); }

/* Indice de navigation : un peu plus présent, se lève avec le menu, reste visible en plus discret */
.dock-hint { height: 30px; bottom: 0; opacity: 1; pointer-events: auto; transition: bottom .45s var(--ease), opacity .45s var(--ease); }
.dock-hint::before { border-top-width: 3px; }
.dock-hint span { width: 30px; height: 28px; border-width: 3px; border-bottom: 0; box-shadow: 0 -4px 14px rgba(226,123,227,.28); }
.dock-hint svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.dock:not(.is-hidden) ~ .dock-hint { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); opacity: .4; }
.dock:not(.is-hidden) ~ .dock-hint svg { transform: rotate(180deg); }
.dock:not(.is-hidden) ~ .dock-hint:hover { opacity: .8; }
.dock.is-hidden ~ .dock-hint { opacity: 1; pointer-events: auto; }


/* ==========================================================================
   Curseur carré (souris) et tap carré (tactile)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor *:not(input):not(textarea) { cursor: none !important; }
  html.has-cursor dialog, html.has-cursor dialog * { cursor: auto !important; }
}
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cursor.on { opacity: 1; }
.cursor.hide { opacity: 0; }
.cursor i {
  display: block; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; background: var(--violet);
  transition: transform .26s cubic-bezier(.3, .9, .3, 1), background .12s linear;
}
/* Survol : le carré fait un tour complet très vite, grossit et change de couleur */
.cursor.hover i { transform: rotate(405deg) scale(1.9); }
.cursor.down i { transform: rotate(405deg) scale(.9); }
.cursor.down:not(.hover) i { transform: scale(.7); }
.tap { position: fixed; z-index: 100; width: 16px; height: 16px; pointer-events: none; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) { .cursor i { transition: background .12s linear; } .cursor.hover i { transform: scale(1.6); } }


/* ==========================================================================
   Révision 5
   ========================================================================== */

/* ---- Contours des boutons : 1 px de moins (2 px -> 1 px) ---- */
.btn, .btn-alt, .dock-next, .top-cta, .proof-reset, .chip span, .lb-close, .lb-nav { border-width: 1px; }
.btn-alt { border-color: var(--pink); }
.dock-hint::before { border-top-width: 2px; }
.dock-hint span { border-width: 2px; border-bottom: 0; }
.dock-hint { cursor: pointer; }

/* ---- Accéder au site : ton sur ton vert, rectangle, même gabarit que les autres boutons ---- */
.site-link {
  border-radius: 0; gap: .6rem; min-height: 48px; padding: .85rem 1.5rem;
  color: #4C6412; border: 1px solid var(--lime); box-shadow: none;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 0% 100% rgba(203, 227, 113, .32);
}
.site-link .tile { background: #8DAA2B; }
.site-link:hover, .site-link:focus-visible { color: #3B4F0C; }
.site-link:hover .tile { background: #fff; }

/* ---- Rappel d'Instrument Serif sur le mot d'emphase des titres de section ---- */
.h2 em, .cover-title em, .proof-title em, .us-title i {
  font-family: var(--f-serif); font-style: normal; font-weight: 400; letter-spacing: -.01em;
}
.cover-title em { color: var(--pink); -webkit-text-stroke: 0; }
.us-title i { color: var(--pink); -webkit-text-stroke: 0; }
.proof-title { color: var(--ink); }

/* ---- Formules : le fond glisse plus lentement, plus doucement ---- */
.palier { transition: background-size .6s cubic-bezier(.45, .05, .25, 1), box-shadow .4s var(--ease); }

/* ---- Lieu du shooting : mêmes boutons que « Parlez-nous de votre activité » ---- */
.zones { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.6rem; }
.zone {
  position: relative; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1rem;
  border: 1px solid var(--ink); box-shadow: none; background: #fff; font-weight: 500; cursor: pointer;
  transition: background .15s, color .15s;
}
.zone:hover { background: #fff; box-shadow: none; }
.zone:has(input:checked) { background: var(--ink); color: #fff; border: 1px solid var(--ink); box-shadow: none; }
.zone:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.zone .z-fee { font: 500 1rem/1 var(--f-body); color: inherit; }

/* ---- Le déroulé : trois colonnes ---- */
.ed-flow { display: flex; flex-direction: column; }
.flow-title { max-width: none; margin: 0 0 clamp(1.5rem, 5vh, 3.5rem); }
.stairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4.5rem); margin: 0 0 2rem; counter-reset: st; }
.stairs li, .stairs li:nth-child(2), .stairs li:nth-child(3) { margin: 0 !important; display: flex; flex-direction: column; gap: 1rem; counter-increment: st; }
.stairs li::before { content: '0' counter(st); font: 500 .9rem/1 var(--f-body); letter-spacing: .14em; color: var(--pink); }
.stairs b { font-size: clamp(2.4rem, 5.6vw, 5.6rem); line-height: .92; }
.stairs span { white-space: normal; max-width: 24ch; color: var(--ink); font-size: clamp(1.15rem, 1.7vw, 1.65rem); line-height: 1.35; }
@media (max-width: 899px) { .stairs { grid-template-columns: 1fr; gap: 1.8rem; } .stairs li::before { display: none; } }

/* ---- Marges basses : plus d'air entre le contenu et la barre de navigation ---- */
body { padding-bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom)); }
.scene { padding-bottom: 5.5rem; }
main > .scene-cover:not([hidden]) { padding-bottom: 3rem; }
.scene-proof { padding-bottom: 0; }
@media (min-width: 900px) and (min-height: 700px) {
  .scene-ed { padding-bottom: 5.5rem; }
  .ed-us .portrait:nth-child(1) img { max-height: calc(100svh - 270px); }
  .ed-us .portrait:nth-child(2) img { max-height: calc(100svh - 360px); }
}


/* ==========================================================================
   Révision 6
   ========================================================================== */

/* Déroulé : plus de flottement, les étapes grossissent un peu au survol */
.stairs li, .stairs li:nth-child(2), .stairs li:nth-child(3) { animation: none !important; transform-origin: left center; transition: transform .4s var(--ease); }
.stairs li:hover { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .stairs li:hover { transform: none; } }

/* Reset discret, logotype sur la page d'accueil */
.reset-logo { position: absolute; z-index: 3; right: var(--pad); bottom: 1.2rem; width: 28px; height: 28px; padding: 0; border: 0; background: none; opacity: .22; transition: opacity .3s, transform .6s var(--ease); }
.reset-logo img { width: 100%; height: 100%; object-fit: contain; }
.reset-logo:hover, .reset-logo:focus-visible { opacity: .75; transform: rotate(-90deg); }

/* Page de remerciement */
.thanks { position: fixed; inset: 0; z-index: 70; background: #fff; overflow: auto; display: grid; place-items: center; padding: 2rem var(--pad); }
.thanks-in { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; }
.thanks-logo { width: min(60vw, 260px); }
.thanks .h2 { max-width: none; margin: .6rem 0 0; }
.thanks-sub { margin: 0; max-width: 40ch; font-size: 1.15rem; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; justify-content: center; align-items: center; }
.thanks-contact { margin: .8rem 0 0; font-size: 1rem; line-height: 1.8; color: var(--muted); }
.thanks-contact a { text-decoration: none; }
.thanks-contact a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
