/* MUNAWIM — feuille de style du site
 * Charte : vert forêt 60 % (fonds), beige sable 30 % (textes, sections claires),
 * violet électrique 10 % (uniquement ce qui se clique et ce qui est important). */
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  /* Vert forêt — couleur principale */
  --foret: #163f2f;
  --bg: #163f2f;
  --bg-2: #0f2e22;
  --card: #1c4a38;
  --card-2: #235742;
  --fond-rgb: 22, 63, 47;
  /* Beige sable — couleur secondaire */
  --sable: #e8dcc4;
  --txt: #f3ead9;
  --mut: #c2b69c;
  --line: rgba(232, 220, 196, .13);
  --line-2: rgba(232, 220, 196, .26);
  --deco: #e8dcc4;
  /* Violet électrique — ce qui se clique et ce qui est important */
  --acc: #8b2cff;
  --acc-2: #a463ff;
  --acc-txt: #b58aff;
  --ink: #ffffff;
  --r: 22px;
  --maxw: 1180px;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--acc); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0; }
.hl { color: var(--acc-txt); }
.mut { color: var(--mut); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--mut);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--deco); box-shadow: 0 0 14px var(--deco); }

/* Boutons */
.btn {
  --b: var(--acc);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--ink); font-family: var(--body); font-weight: 800; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--acc-2); border-color: var(--acc-2); box-shadow: 0 14px 34px -10px rgba(139, 44, 255, .7); }
.btn--ghost { background: transparent; color: var(--txt); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--acc); border-color: var(--acc); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--full { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 46, 34, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: none; gap: 30px; font-size: .95rem; color: var(--mut); }
.nav__links a { text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--txt); }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__logo img { height: 26px; } }

/* Hero : titre + anneau 3D des réalisations (style « Runway » MotionSites) */
:root { --ease: cubic-bezier(.2, .8, .2, 1); }
.hero { position: relative; padding: 40px 0 34px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -10%; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(closest-side, rgba(232, 220, 196, .12), transparent 70%); pointer-events: none;
}
.hero__texte { position: relative; z-index: 3; text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 9.4vw, 4.6rem); margin: 16px 0 20px; }
.hero__lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--mut); max-width: 34em; margin: 0 auto; }
.hero__lead strong { color: var(--txt); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero__puces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px auto 0; padding: 0; list-style: none; color: var(--mut); font-size: .93rem; }
.hero__puces li { display: flex; align-items: center; gap: 8px; }
.hero__puces svg { width: 18px; height: 18px; color: var(--deco); flex: none; }

/* Titres qui montent à travers un masque (pas de fondu) */
.titre-masque .ligne { display: block; overflow: hidden; padding: .02em 0 .1em; margin-bottom: -.1em; }
.titre-masque .ligne > span { display: inline-block; transform: translateY(108%); animation: monte 1.15s var(--ease) .1s forwards; }
.titre-masque .ligne:nth-child(2) > span { animation-delay: .22s; }
.titre-masque .ligne:nth-child(3) > span { animation-delay: .34s; }
.titre-masque em { font-style: normal; }
@keyframes monte { to { transform: translateY(0); } }
.hero__texte > .eyebrow, .hero__lead, .hero__ctas, .hero__puces { animation: apparait .9s var(--ease) .45s both; }
.hero__ctas { animation-delay: .6s; }
.hero__puces { animation-delay: .75s; }
@keyframes apparait { from { transform: translateY(18px); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(-20% -5% -20% -5%); } }

.anneau { position: relative; height: 480px; margin-top: 18px; }
.anneau__scene { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.carte3d {
  position: absolute; left: 0; bottom: 0; height: var(--h, 400px); aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 22px;
  background: #111; overflow: hidden; cursor: pointer; transform-origin: 50% 100%; will-change: transform, filter; color: inherit;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1);
}
.carte3d img, .carte3d video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.carte3d video { opacity: 0; transition: opacity .5s; }
.carte3d.joue video { opacity: 1; }
.carte3d.devant { box-shadow: 0 50px 110px -30px rgba(139, 44, 255, .55), 0 0 0 2px var(--acc); }
.carte3d__reflet { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 30%); pointer-events: none; }

.anneau__pied { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.fleche {
  width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(var(--fond-rgb), .6);
  color: var(--txt); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, background .3s, color .3s;
}
.fleche:hover { border-color: var(--acc); background: var(--acc); color: var(--ink); }
.fleche svg { width: 20px; height: 12px; }
.legende { display: grid; gap: 2px; min-width: 210px; }
.legende__num { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; }
.legende__num .masque { color: var(--acc-txt); }
.legende__titre { font-weight: 700; font-size: .98rem; }
.legende--centre { justify-items: center; text-align: center; min-width: 0; flex: 1; }
.legende__grand { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2.1rem); letter-spacing: -.02em; line-height: 1.15; }
.legende__petit { color: var(--mut); font-size: .95rem; }
/* Texte qui défile dans un masque quand la vidéo change */
.masque { display: inline-grid; overflow: hidden; vertical-align: bottom; justify-items: inherit; }
.masque > span { grid-area: 1 / 1; display: block; white-space: nowrap; }
.legende__titre > span, .legende__petit > span { white-space: normal; }

/* Stickers collés (style « Sticker Type ») */
.sticker {
  position: absolute; z-index: 4; padding: 10px 14px 9px; border-radius: 16px; font-size: .78rem; font-weight: 700; line-height: 1.2;
  color: var(--ink); background: var(--acc); box-shadow: 0 0 0 3px var(--bg), 0 16px 34px -14px rgba(0, 0, 0, .9);
  transform: rotate(var(--r)); opacity: 0; animation: colle .7s cubic-bezier(.34, 1.56, .64, 1) forwards; pointer-events: none;
}
.sticker b { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.sticker--1 { --r: -8deg; left: 4%; top: 6%; animation-delay: 1.1s; }
.sticker--2 { --r: 6deg; right: 4%; top: 30%; background: var(--sable); color: var(--foret); animation-delay: 1.35s; }
.sticker--3 { --r: -4deg; left: 9%; bottom: 10%; background: #f6efe2; color: var(--foret); animation-delay: 1.6s; display: none; }
@keyframes colle {
  0% { opacity: 0; transform: scale(1.9) rotate(calc(var(--r) * 3)); }
  55% { opacity: 1; transform: scale(.92) rotate(var(--r)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--r)); }
}

@media (min-width: 1100px) {
  .hero { min-height: min(880px, calc(100svh - 68px)); padding: 0; display: grid; align-items: center; }
  .hero__texte { text-align: left; max-width: min(640px, 47vw); margin: 0; padding: 70px 0 120px 28px; }
  @media (min-width: 1236px) { .hero__texte { margin-left: calc((100vw - var(--maxw)) / 2); } }
  .hero h1 { font-size: clamp(2.6rem, 4.3vw, 4.1rem); }
  .hero__lead { margin: 0; max-width: 31em; }
  .hero__ctas, .hero__puces { justify-content: flex-start; }
  .hero__puces { margin: 26px 0 0; padding: 0; }
  .anneau { position: absolute; inset: 0; height: auto; margin: 0; z-index: 1; }
  .anneau__scene { top: 40px; bottom: 96px; }
  .anneau::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; background: linear-gradient(90deg, var(--bg) 0%, rgba(var(--fond-rgb), .93) 36%, rgba(var(--fond-rgb), .55) 48%, rgba(var(--fond-rgb), 0) 62%); }
  .anneau__pied { position: absolute; z-index: 3; bottom: 26px; right: 28px; left: 52%; margin: 0; }
  .anneau__pied .legende { flex: 1; min-width: 0; }
  .sticker--1 { left: 47%; top: 12%; }
  .sticker--2 { right: 3%; top: 22%; }
  .sticker--3 { display: block; left: auto; right: 9%; bottom: 20%; }
}

/* Vidéothèque : étagère de cassettes (style « Shelf Hero » MotionSites) */
.etagere { --H: min(105vw, 56svh); position: relative; margin-top: 10px; outline: none; }
@media (min-width: 760px) { .etagere { --H: clamp(320px, min(50vh, 33vw), 520px); } }
.etagere:focus-visible { box-shadow: inset 0 0 0 2px var(--acc); }
.etagere__scene {
  position: relative; height: calc(var(--H) + 90px); perspective: 2200px; perspective-origin: 50% 50%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden;
}
.etagere__stage { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.etagere__planche {
  position: absolute; left: 0; right: 0; top: calc(50% + var(--H) * .525); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18) 20%, rgba(255, 255, 255, .18) 80%, transparent);
}
.k7 { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; cursor: pointer; }
.k7__tranche, .k7__face {
  position: absolute; height: var(--H); top: calc(var(--H) / -2); backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 3px; overflow: hidden;
}
.k7__tranche::after, .k7__face::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--s, 0); pointer-events: none; }
.k7__tranche {
  width: var(--ws); left: calc(var(--ws) / -2); transform: translateZ(calc(var(--d) / 2));
  display: flex; flex-direction: column; align-items: center; gap: calc(var(--ws) * .14); padding: calc(var(--ws) * .1) 0 calc(var(--ws) * .16);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .45), transparent 18%, transparent 82%, rgba(0, 0, 0, .5)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 5px),
    #10261c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.k7__vignette { flex: none; width: 80%; aspect-ratio: 1; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 2px var(--c); }
.k7__vignette img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.k7__titre {
  flex: 1; min-height: 0; overflow: hidden; writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase;
  font-family: var(--display); font-weight: 800; font-size: calc(var(--ws) * .34); letter-spacing: .02em; line-height: 1; white-space: nowrap; color: var(--txt);
  display: flex; align-items: center; justify-content: center;
}
.k7__num { font-family: var(--display); font-weight: 700; font-size: calc(var(--ws) * .2); color: var(--c); }
.k7__badge { font-family: var(--display); font-weight: 700; font-size: calc(var(--ws) * .15); padding: .15em .35em; border: 1px solid rgba(255, 255, 255, .6); border-radius: 2px; letter-spacing: .04em; }
.k7__face {
  width: var(--d); left: calc(var(--d) / -2); transform: rotateY(90deg) translateZ(calc(var(--ws) / 2)); background: #0d0d0e;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .12);
}
.k7__face img, .k7__face video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.k7__face video { opacity: 0; transition: opacity .45s; }
.k7__face video.pret { opacity: 1; }
.k7__concept { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 700; background: rgba(15, 46, 34, .8); border: 1px solid var(--line-2); }
.k7.ouverte .k7__face { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 0 2px var(--acc), 0 0 60px -10px rgba(139, 44, 255, .5); }
.etagere__pied { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 720px; margin: 6px auto 0; }

/* Curseur « VOIR » (ordinateur) */
.curseur {
  position: fixed; left: 0; top: 0; z-index: 95; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none;
  display: none; place-items: center;
}
.curseur::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--txt); transform: scale(.55);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.curseur span { position: relative; font-family: var(--display); font-weight: 800; font-size: .66rem; letter-spacing: .12em; color: var(--ink); transform: scale(0); transition: transform .45s var(--ease); }
.curseur.visible { display: grid; }
.curseur.voir::before { transform: scale(1.35); background: var(--acc); border-color: var(--acc); }
.curseur.voir span { transform: scale(1); }
html.curseur-perso [data-curseur="zone"], html.curseur-perso [data-curseur="zone"] * { cursor: none; }

/* Grain de pellicule */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Titres de section : révélation par masque */
.section__tete.reveal { opacity: 1; transform: none; }
.section__tete.reveal h2 { clip-path: inset(0 -5% 100% -5%); transform: translateY(.45em); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.section__tete.reveal.vu h2 { clip-path: inset(-25% -5% -25% -5%); transform: none; }
.section__tete.reveal > .eyebrow, .section__tete.reveal > p { opacity: 0; transform: translateY(14px); transition: opacity .8s ease .25s, transform .8s var(--ease) .25s; }
.section__tete.reveal.vu > .eyebrow, .section__tete.reveal.vu > p { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .titre-masque .ligne > span, .hero__texte > .eyebrow, .hero__lead, .hero__ctas, .hero__puces { animation: none; transform: none; }
  .sticker { animation: none; opacity: 1; }
  .halos i { animation: none; }
  .section__tete.reveal h2 { clip-path: none; transform: none; transition: none; }
  .section__tete.reveal > .eyebrow, .section__tete.reveal > p { opacity: 1; transform: none; transition: none; }
}

/* Bandeau défilant */
.bandeau { background: transparent; color: var(--sable); border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.bandeau__piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.bandeau__piste span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.35rem); text-transform: uppercase; white-space: nowrap;
}
.bandeau__piste span::after { content: "✦"; color: var(--mut); font-size: .8em; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.section__tete { display: grid; gap: 16px; margin-bottom: 44px; max-width: 760px; }
.section__tete p { color: var(--mut); font-size: 1.08rem; }
.section--alt { background: transparent; }

/* Services */
.services { display: grid; gap: 14px; }
@media (min-width: 860px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.service__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--deco) 12%, transparent); color: var(--deco); }
.service__ico svg { width: 24px; height: 24px; }
.service p { color: var(--mut); font-size: .98rem; }
.inclus { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.inclus span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; color: var(--mut); }

/* Réalisations */
.note { margin-top: 18px; font-size: .85rem; color: var(--mut); }

/* Tarifs */
.offres { display: grid; gap: 16px; }
@media (min-width: 980px) { .offres { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.offre {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
}
.offre--vedette { border-color: var(--acc); }
.offre__ruban {
  position: absolute; top: -13px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--acc); color: var(--ink);
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.offre__nom { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.offre__pour { color: var(--mut); font-size: .95rem; margin-top: 4px; }
.prix { display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap; }
.prix span { white-space: nowrap; }
.prix b { font-family: var(--display); font-size: clamp(2.3rem, 4.2vw, 3.1rem); white-space: nowrap; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.prix span { color: var(--mut); font-size: .92rem; }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .96rem; }
.liste li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.liste svg { width: 20px; height: 20px; color: var(--deco); margin-top: 2px; }
.offre__pied { margin-top: auto; display: grid; gap: 10px; }
.offre__pied small { color: var(--mut); font-size: .82rem; text-align: center; }

.abo {
  margin-top: 16px; display: grid; gap: 24px; padding: 32px 26px; border-radius: var(--r);
  border: 1px solid var(--line-2);
}
@media (min-width: 980px) { .abo { grid-template-columns: .9fr 1.35fr auto; align-items: center; padding: 36px 40px; } }
.abo .liste { grid-template-columns: 1fr; }
@media (min-width: 600px) { .abo .liste { grid-template-columns: 1fr 1fr; } }
.abo__cta { display: grid; gap: 10px; justify-items: center; }
.abo__cta small { color: var(--mut); font-size: .82rem; }

.options { margin-top: 56px; display: grid; gap: 22px; }
@media (min-width: 900px) { .options { grid-template-columns: .8fr 1.2fr; gap: 50px; } }
.options__liste { display: grid; border-top: 1px solid var(--line); }
.options__liste div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.options__liste b { font-weight: 800; white-space: nowrap; }
.mentions-prix { margin-top: 28px; padding: 18px 20px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--mut); font-size: .88rem; display: grid; gap: 6px; }

/* Étapes */
.etapes { display: grid; gap: 14px; counter-reset: e; }
@media (min-width: 640px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etape { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; align-content: start; }
.etape::before {
  counter-increment: e; content: "0" counter(e);
  font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1px var(--deco); line-height: 1;
}
.etape p { color: var(--mut); font-size: .95rem; }

/* Garanties */
.garanties { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 860px) { .garanties { grid-template-columns: repeat(3, 1fr); } }
.garantie { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); }
.garantie svg { width: 26px; height: 26px; color: var(--deco); margin-top: 3px; }
.garantie p { color: var(--mut); font-size: .93rem; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--display);
  font-size: 1.4rem; color: var(--acc-txt); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 22px; color: var(--mut); }

/* Contact */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact__autres { display: grid; gap: 12px; margin-top: 30px; }
.contact__autres a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s;
}
.contact__autres a:hover { border-color: var(--acc); }
.contact__autres svg { width: 22px; height: 22px; color: var(--acc-txt); flex: none; }
.contact__autres span { display: grid; line-height: 1.3; }
.contact__autres small { color: var(--mut); }
.formulaire { display: grid; gap: 14px; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
@media (min-width: 600px) { .formulaire .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } }
.formulaire .duo { display: grid; gap: 14px; }
.champ { display: grid; gap: 6px; }
.champ label { font-size: .86rem; font-weight: 700; color: var(--mut); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg);
  color: var(--txt); font: inherit; font-size: 1rem;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--acc); }
.case { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9rem; color: var(--mut); }
.case input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--acc); }
.formulaire small { color: var(--mut); font-size: .8rem; }
.formulaire__ok { display: none; padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--acc) 12%, transparent); color: var(--acc-txt); font-size: .92rem; }
.formulaire__ok.visible { display: block; }

/* CTA final */
.final { text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(139, 44, 255, .22), transparent); }
.final .wrap { position: relative; display: grid; gap: 22px; justify-items: center; }
.final h2 { font-size: clamp(2.1rem, 6vw, 4.2rem); max-width: 14em; }

/* Pied de page */
.pied { border-top: 1px solid var(--line); padding: 44px 0 34px; color: var(--mut); font-size: .88rem; }
.pied .wrap { display: grid; gap: 22px; }
@media (min-width: 860px) { .pied .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.pied img { height: 20px; width: auto; opacity: .9; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied nav a { text-decoration: none; }
.pied nav a:hover { color: var(--txt); }
.pied__legal { grid-column: 1 / -1; font-size: .8rem; opacity: .8; }

/* Visionneuse vidéo */
.visionneuse {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .9); backdrop-filter: blur(10px);
}
.visionneuse.ouverte { display: grid; }
.visionneuse video { max-height: 88vh; max-height: 88dvh; width: auto; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; }
.visionneuse__titre { margin-top: 12px; text-align: center; font-weight: 700; }
.fermer {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--card); color: var(--txt); font-size: 1.4rem; cursor: pointer; display: grid; place-items: center;
}

/* Fenêtre « avant de payer » */
.modale { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; padding: 16px; background: rgba(0, 0, 0, .75); backdrop-filter: blur(6px); }
.modale.ouverte { display: grid; }
.modale__boite { position: relative; width: 100%; max-width: 480px; padding: 30px 26px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); display: grid; gap: 16px; }
.modale__boite h3 { font-size: 1.3rem; }
.modale__recap { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-weight: 700; }
.modale__recap b { color: var(--acc-txt); white-space: nowrap; }
.modale .btn[disabled] { opacity: .4; pointer-events: none; }
.modale small { color: var(--mut); font-size: .8rem; text-align: center; }

/* Pages légales */
.legal { padding: 56px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.25rem; margin: 44px 0 14px; color: var(--sable); }
.legal h3 { font-size: 1rem; margin: 24px 0 8px; font-family: var(--body); font-weight: 800; }
.legal p, .legal li { color: #e9dfcc; font-size: .98rem; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .maj { color: var(--mut); font-size: .9rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .93rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--card); }
.a-completer { background: #ffd60a; color: #000; padding: 1px 6px; border-radius: 4px; font-weight: 800; }

/* Page merci */
.merci { min-height: 70vh; display: grid; place-items: center; padding: 70px 0; }
.merci .wrap { max-width: 720px; display: grid; gap: 22px; }
.merci__ok { width: 64px; height: 64px; border-radius: 50%; background: var(--acc); color: var(--ink); display: grid; place-items: center; }
.merci__ok svg { width: 30px; height: 30px; }

/* Apparitions au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bandeau__piste { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Offres en verre givré + halos (style « Style Studio ») */
.section--offres { position: relative; overflow: hidden; isolation: isolate; }
.halos { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.halos i { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(110px); opacity: .32; animation: derive 22s ease-in-out infinite alternate; }
.halos i:nth-child(1) { background: var(--acc); left: -8%; top: 22%; }
.halos i:nth-child(2) { background: var(--sable); opacity: .14; right: -6%; top: 8%; animation-duration: 26s; animation-direction: alternate-reverse; }
.halos i:nth-child(3) { background: #3e9b6f; left: 38%; bottom: -12%; opacity: .18; animation-duration: 30s; }
@keyframes derive { to { transform: translate(90px, -70px) scale(1.15); } }
.offre, .abo {
  background: rgba(28, 74, 56, .5); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .8);
  transition: transform .45s var(--ease), border-color .3s;
}
.offre--vedette { background: linear-gradient(180deg, rgba(139, 44, 255, .2), rgba(28, 74, 56, .55) 45%); }
.offre::before, .abo::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 44, 255, .24), transparent 45%);
}
.offre:hover::before, .abo:hover::before { opacity: 1; }
.abo { position: relative; }
.offre > *:not(.offre__ruban), .abo > * { position: relative; }


/* Sections claires en beige sable (30 %) : on redéfinit les jetons, les composants suivent. */
.theme-sable {
  --bg: #e8dcc4; --bg-2: #dfd0b2; --card: #f2e9d8; --card-2: #f7f1e6; --fond-rgb: 232, 220, 196;
  --txt: #163f2f; --mut: #55685c; --line: rgba(22, 63, 47, .14); --line-2: rgba(22, 63, 47, .28);
  --deco: #163f2f; --acc-txt: #6a1fd6;
  --rampe: clamp(90px, 12vw, 170px);
  /* Fond en dégradé : le vert forêt se fond dans le sable, puis revient au vert. */
  background: linear-gradient(180deg, var(--foret) 0, var(--sable) var(--rampe), var(--sable) calc(100% - var(--rampe)), var(--foret) 100%);
  color: var(--txt); color-scheme: light;
}
.section.theme-sable { padding-block: calc(var(--rampe) + 44px); }
.theme-sable .champ input, .theme-sable .champ select, .theme-sable .champ textarea { background: var(--card-2); }

/* Intro « objectif ASCII » (style « Eye Loader ») */
.chargeur { display: none; }
html.intro .chargeur { display: block; position: fixed; inset: 0; z-index: 200; background: var(--bg-2); cursor: pointer; }
html.intro body { overflow: hidden; }
.chargeur canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chargeur__pied {
  position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .74rem; letter-spacing: .16em; color: var(--mut);
}
.chargeur__pied b { color: var(--acc-txt); font-weight: 700; }
html.chargement .titre-masque .ligne > span, html.chargement .hero__texte > .eyebrow, html.chargement .hero__lead,
html.chargement .hero__ctas, html.chargement .hero__puces, html.chargement .sticker { animation-play-state: paused; }
