/* ==========================================================================
   Rotter'Dev — Accueil V1.1 « carte blanche »
   Une seule famille de couleurs : nuit (#0B0B0D) → prune (#3A0830) → rose (#FF2EBE) → blush (#FFB3E6).
   L'or (#C9A86A) ne sert plus qu'aux fils de lumière : orbites, numéros, filets.
   ========================================================================== */
:root {
  --a-nuit: #0B0B0D;
  --a-prune: #3A0830;
  --a-prune-2: #1C0718;
  --a-rose: #FF2EBE;
  --a-blush: #FFB3E6;
  --a-or: #C9A86A;
  --a-or-clair: #E9D3A6;
  --a-degrade: linear-gradient(100deg, #FFB3E6 0%, #FF2EBE 45%, #E9D3A6 100%);
  --a-verre: rgba(255,255,255,.06);
  --a-trait: rgba(255,179,230,.14);
}

.page-audace { background: var(--a-nuit); }
.page-audace .entete { background: rgba(11,11,13,.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: rgba(255,179,230,.08); }

/* ---------- Lueur qui suit la souris ---------- */
.curseur-lueur { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(closest-side, rgba(255,46,190,.16), transparent 70%); mix-blend-mode: screen; opacity: 0; transition: opacity .6s; will-change: transform; }
@media (hover: hover) { .page-audace:hover .curseur-lueur { opacity: 1; } }

/* ---------- Petits éléments communs ---------- */
.a-sur { font-family: var(--f-titre); font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; color: var(--a-blush); display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.a-sur::before { content: ""; width: 28px; height: 1px; background: var(--a-or); }
.a-h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; max-width: 16ch; }
.a-gris { color: rgba(245,245,247,.42); }
.a-degrade { background: var(--a-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-section { padding: clamp(96px, 14vw, 180px) 0 0; position: relative; }
.a-tete { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Boutons ---------- */
.a-btn { position: relative; display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 30px; border-radius: 999px; font-family: var(--f-titre); font-weight: 600; font-size: 1rem; letter-spacing: .005em; white-space: nowrap; transition: box-shadow .4s var(--c-douce), background .4s; will-change: transform; }
.a-btn svg { stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .4s var(--c-douce); }
.a-btn:hover svg { transform: translateX(5px); }
.a-btn-plein { color: #fff; background: linear-gradient(180deg, #F02BB4, #C8128F); box-shadow: 0 0 0 1px rgba(255,179,230,.55) inset, 0 14px 44px -6px rgba(255,46,190,.65); overflow: hidden; }
.a-btn-plein::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%) -200% 0 / 250% 100% no-repeat; animation: a-balaye 4.5s ease-in-out infinite; }
.a-btn-plein:hover { box-shadow: 0 0 0 1px rgba(255,220,245,.9) inset, 0 18px 60px -6px rgba(255,46,190,.9); }
.a-btn-verre { color: var(--blanc); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.a-btn-verre:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.a-btn-geant { height: 72px; padding: 0 40px; font-size: 1.125rem; }
@keyframes a-balaye { 0%, 60% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ==========================================================================
   1. HÉROS
   ========================================================================== */
.a-hero { position: relative; min-height: 100svh; margin-top: -76px; padding-top: 76px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.a-hero-fond { position: absolute; inset: 0; z-index: -3; background: radial-gradient(80% 70% at 75% 40%, #7A0F5E 0%, #2A0722 45%, var(--a-nuit) 80%); }
/* Instantané du fond ShaderGradient (fond-instantane.js + shader-fond.js, 2026-11-08) : posé dès le premier affichage,
   le vrai fond animé arrive en fondu par-dessus, puis la classe est retirée. Accueil, espace client et portail. */
html.rd-fond-img [data-shader]::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--rd-fond-img) center / cover no-repeat; }
.a-hero-voile { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,11,13,.88) 0%, rgba(11,11,13,.55) 38%, rgba(11,11,13,0) 65%),
    linear-gradient(180deg, rgba(11,11,13,.5) 0%, transparent 25%, transparent 70%, var(--a-nuit) 100%); }
.a-grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: a-grain 1.2s steps(6) infinite; }
@keyframes a-grain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(1%,3%); } }

.a-hero-grille { width: 100%; max-width: 1320px; margin: 0 auto; padding: clamp(40px, 7vh, 96px) var(--gouttiere) 40px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px; }
.a-hero-texte { display: grid; gap: 28px; justify-items: start; }
.a-etiquette { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,179,230,.22); backdrop-filter: blur(10px); font-family: var(--f-titre); font-size: .8rem; letter-spacing: .04em; color: var(--blanc); }
.a-point { width: 8px; height: 8px; border-radius: 50%; background: var(--a-rose); box-shadow: 0 0 0 0 rgba(255,46,190,.7); animation: a-pouls 2s infinite; }
@keyframes a-pouls { 0% { box-shadow: 0 0 0 0 rgba(255,46,190,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,46,190,0); } 100% { box-shadow: 0 0 0 0 rgba(255,46,190,0); } }

.a-titre { font-family: var(--f-titre); font-weight: 700; font-size: clamp(3.2rem, 8.4vw, 8.2rem); line-height: .92; letter-spacing: -.055em; margin: 0; }
.a-titre .ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.a-titre .mot { display: inline-block; will-change: transform; }
.a-titre .a-degrade { padding-right: .06em; }
.a-sous-titre { max-width: 52ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: rgba(245,245,247,.78); }
.a-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* L'objet : le R avec deux orbites d'or */
.a-hero-objet { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; perspective: 900px; }
.a-r-zone { position: absolute; inset: 14%; transform-style: preserve-3d; will-change: transform; animation: a-flotte 7s ease-in-out infinite; }
.a-r { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(255,46,190,.45)) drop-shadow(0 0 2px rgba(255,179,230,.6)); }
.a-r-reflet { position: absolute; inset: 0; -webkit-mask: url("../img/logo-r-rose.webp") center/contain no-repeat; mask: url("../img/logo-r-rose.webp") center/contain no-repeat; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.7) 50%, transparent 60%) -150% 0 / 250% 100% no-repeat; mix-blend-mode: screen; animation: a-reflet 6s ease-in-out infinite; }
.a-r-sol { position: absolute; left: 25%; right: 25%; bottom: 4%; height: 10%; background: radial-gradient(closest-side, rgba(255,46,190,.55), transparent); filter: blur(10px); animation: a-ombre 7s ease-in-out infinite; }
.a-orbite { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid transparent; background: conic-gradient(from 0deg, transparent 0 55%, rgba(201,168,106,.0) 60%, var(--a-or-clair) 88%, #fff 90%, transparent 91%) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); transform: rotateX(72deg) rotateZ(0deg); animation: a-orbite 9s linear infinite; }
.a-orbite-2 { inset: 12%; transform: rotateX(72deg) rotateY(-18deg); animation-duration: 14s; animation-direction: reverse; opacity: .6; }
.a-orbite::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201,168,106,.18); }
@keyframes a-orbite { to { transform: rotateX(72deg) rotateZ(360deg); } }
.a-orbite-2 { animation-name: a-orbite-2; }
@keyframes a-orbite-2 { from { transform: rotateX(72deg) rotateY(-18deg) rotateZ(0); } to { transform: rotateX(72deg) rotateY(-18deg) rotateZ(360deg); } }
@keyframes a-flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes a-ombre { 0%, 100% { opacity: .9; transform: scaleX(1); } 50% { opacity: .55; transform: scaleX(.85); } }
@keyframes a-reflet { 0%, 55% { background-position: -150% 0; } 100% { background-position: 150% 0; } }

.a-hero-bas { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gouttiere) 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; font-family: var(--f-titre); font-size: .7rem; letter-spacing: .34em; color: rgba(245,245,247,.55); }
.a-signature b { color: var(--a-rose); font-weight: 400; }
.a-droite { justify-self: end; }
.a-defiler { display: grid; justify-items: center; gap: 10px; letter-spacing: .3em; text-transform: uppercase; }
.a-defiler i { width: 1px; height: 44px; background: linear-gradient(var(--a-or), transparent); animation: a-goutte 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes a-goutte { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ==========================================================================
   2. BANDEAU
   ========================================================================== */
.a-bandeau { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--a-trait); background: linear-gradient(90deg, var(--a-prune-2), #12060F 50%, var(--a-prune-2)); transform: rotate(-1.6deg) scale(1.04); margin: 24px 0 0; }
.a-bandeau-piste { display: flex; align-items: center; gap: 36px; width: max-content; animation: a-defile 32s linear infinite; font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.a-bandeau-piste .creux { color: transparent; -webkit-text-stroke: 1px rgba(255,179,230,.75); }
.a-bandeau-piste i { font-style: normal; color: var(--a-or); font-size: .55em; }
@keyframes a-defile { to { transform: translateX(-50%); } }

/* ==========================================================================
   3. MANIFESTE
   ========================================================================== */
.a-manifeste { padding: clamp(110px, 16vw, 220px) 0 0; }
.a-manifeste-texte { font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.035em; max-width: 22ch; }
.a-manifeste-texte .m { color: rgba(245,245,247,.36); transition: color .25s; } /* .36 : contraste 3:1 minimum (texte large), demandé par l'accessibilité ; la maquette avait .14 */
.a-manifeste-texte .m.on { color: var(--blanc); }
.a-manifeste-texte em { font-style: normal; }
.a-manifeste-texte em .m.on { color: var(--a-rose); }

/* ==========================================================================
   4. BENTO
   ========================================================================== */
.a-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.a-case { position: relative; display: grid; gap: 18px; align-content: start; padding: 32px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.08); overflow: hidden; isolation: isolate; transition: transform .5s var(--c-douce), border-color .5s; }
.a-case h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.15; }
.a-case p { color: rgba(245,245,247,.62); font-size: .95rem; line-height: 1.55; }
/* Projecteur : la bordure et le fond s'allument sous la souris */
.projecteur::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--x, 50%) var(--y, -20%), rgba(255,46,190,.16), transparent 60%); opacity: 0; transition: opacity .4s; }
.projecteur::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--x, 50%) var(--y, -20%), rgba(255,179,230,.9), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .4s; pointer-events: none; }
.projecteur:hover::before, .projecteur:hover::after { opacity: 1; }
a.a-case:hover { transform: translateY(-6px); }

.a-case-site, .a-case-bot { grid-column: span 2; min-height: 460px; }
.a-case-site { background: radial-gradient(90% 70% at 100% 100%, rgba(255,46,190,.22), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.a-case-bot { background: radial-gradient(90% 70% at 0% 100%, rgba(122,15,94,.55), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.a-case-site h3, .a-case-bot h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.035em; }
.a-case-haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a-pastille { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,179,230,.3); font-family: var(--f-titre); font-size: .78rem; color: var(--a-blush); }
.a-prix { font-family: var(--f-titre); font-weight: 600; font-size: 1.05rem; }
.a-prix small { font-weight: 400; color: rgba(245,245,247,.55); }
.a-lien { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-titre); font-size: .95rem; margin-top: auto; }
.a-lien svg { stroke: var(--a-rose); fill: none; stroke-width: 1.8; transition: transform .4s var(--c-douce); }
a:hover .a-lien svg { transform: translateX(5px); }
.a-ico { width: 28px; height: 28px; stroke: var(--a-rose); fill: none; stroke-width: 1.5; }

/* Mini navigateur animé */
.a-navigateur { border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: #0E0B0E; overflow: hidden; transform: perspective(900px) rotateX(8deg); transform-origin: bottom; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transition: transform .6s var(--c-douce); }
a:hover .a-navigateur { transform: perspective(900px) rotateX(0deg) translateY(-4px); }
.a-nav-barre { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.a-nav-barre i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.a-nav-barre span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: .7rem; color: rgba(245,245,247,.6); }
.a-nav-page { padding: 18px; display: grid; gap: 14px; }
.a-nav-hero { padding: 20px; border-radius: 12px; background: radial-gradient(80% 120% at 100% 0%, rgba(255,46,190,.55), transparent 60%), #160C14; display: grid; gap: 8px; }
.a-nav-hero b { display: block; height: 10px; width: 70%; border-radius: 6px; background: rgba(255,255,255,.75); animation: a-ecrit 3.6s ease-in-out infinite; transform-origin: left; }
.a-nav-hero b.court { width: 45%; background: rgba(255,255,255,.35); animation-delay: .3s; }
.a-nav-btn { width: 70px; height: 18px; border-radius: 999px; background: var(--a-rose); margin-top: 6px; }
.a-nav-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.a-nav-cartes b { height: 44px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); }
@keyframes a-ecrit { 0% { transform: scaleX(0); } 30%, 80% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: .3; } }

/* Discord animé */
.a-discord { display: grid; gap: 12px; padding: 18px; border-radius: 16px; background: #120D12; border: 1px solid rgba(255,255,255,.1); }
.a-msg { display: flex; gap: 12px; align-items: flex-start; animation: a-arrive 5s var(--c-douce) infinite; }
.a-msg-2 { animation-delay: .8s; }
.a-msg b { font-family: var(--f-titre); font-size: .85rem; color: var(--a-blush); font-weight: 600; }
.a-msg p { color: rgba(245,245,247,.8); font-size: .9rem; }
.a-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #FF2EBE, #7A0F5E); font-family: var(--f-titre); font-weight: 700; font-size: .85rem; }
.a-tape { display: flex; gap: 5px; padding-left: 46px; }
.a-tape i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,179,230,.7); animation: a-saute 1.2s infinite; }
.a-tape i:nth-child(2) { animation-delay: .15s; } .a-tape i:nth-child(3) { animation-delay: .3s; }
@keyframes a-saute { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes a-arrive { 0% { opacity: 0; transform: translateY(10px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ==========================================================================
   5. GALERIE HORIZONTALE
   ========================================================================== */
.a-galerie { padding-top: clamp(96px, 14vw, 180px); }
.a-galerie-collant { overflow: hidden; }
.a-piste { display: flex; gap: 20px; padding: 0 var(--gouttiere); padding-left: max(var(--gouttiere), calc((100vw - var(--conteneur)) / 2 + var(--gouttiere))); width: max-content; will-change: transform; }
.a-projet { position: relative; flex: none; width: clamp(280px, 38vw, 520px); aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #120D12; }
.a-projet img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--c-douce); }
.a-projet:hover img { transform: scale(1.0); }
.a-projet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11,11,13,.92)); }
.a-projet-info { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; display: grid; gap: 6px; }
.a-projet-info span { font-family: var(--f-titre); font-size: .8rem; color: var(--a-or); letter-spacing: .2em; }
.a-projet-info h3 { font-family: var(--f-titre); font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; }
.a-projet-info p { color: rgba(245,245,247,.6); font-size: .9rem; }
.a-projet-fin { display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 100%, rgba(255,46,190,.35), transparent 70%), #120D12; }
.a-projet-fin::after { display: none; }
.a-projet-fin > div { display: grid; gap: 10px; justify-items: center; text-align: center; }
.a-projet-fin h3 { font-family: var(--f-titre); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.a-rond { margin-top: 14px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--a-rose); box-shadow: 0 12px 40px rgba(255,46,190,.6); transition: transform .5s var(--c-douce); }
.a-rond svg { stroke: #fff; fill: none; stroke-width: 1.8; }
.a-projet-fin:hover .a-rond { transform: scale(1.1) rotate(-45deg); }
.a-galerie-tete { margin-bottom: 48px; }

/* ==========================================================================
   6. CHIFFRES
   ========================================================================== */
.a-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--a-trait); }
.a-chiffres > div { padding: 40px 24px 0 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; }
.a-chiffres > div + div { padding-left: 24px; border-left: 1px solid var(--a-trait); }
.a-chiffres b { font-family: var(--f-titre); font-weight: 700; font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.06em; line-height: 1; background: var(--a-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-chiffres span { font-family: var(--f-titre); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--a-blush); font-weight: 600; }
.a-chiffres p { grid-column: 1 / -1; color: rgba(245,245,247,.6); font-size: .95rem; margin-top: 10px; max-width: 22ch; }

/* ==========================================================================
   7. MÉTHODE
   ========================================================================== */
.a-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
/* La ligne = 3 traits, un entre chaque cercle (du bord d'un cercle au bord du suivant).
   Chaque trait se trace à son tour : trait n°i = clamp(0, trace×3 − i, 1). (Section Méthode corrigée, 2026-11-08) */
.a-etapes li { position: relative; padding: 0 24px 0 0; display: grid; align-content: start; gap: 14px; }
.a-etapes li:not(:last-child)::before,
.a-etapes li:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: 60px; right: 0; height: 1px; }
.a-etapes li:not(:last-child)::before { background: rgba(255,255,255,.08); }
.a-etapes li:not(:last-child)::after { background: linear-gradient(90deg, var(--de), var(--a)); box-shadow: 0 0 12px rgba(255,46,190,.55); transform-origin: left; transform: scaleX(clamp(0, calc(var(--trace, 1) * 3 - var(--i)), 1)); }
.a-etapes li:nth-child(1) { --i: 0; --de: var(--a-or); --a: #DE8D9A; }
.a-etapes li:nth-child(2) { --i: 1; --de: #DE8D9A; --a: #EE5EAD; }
.a-etapes li:nth-child(3) { --i: 2; --de: #EE5EAD; --a: var(--a-rose); }
.a-num { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--a-nuit); border: 1px solid rgba(201,168,106,.6); font-family: var(--f-titre); font-weight: 600; color: var(--a-or-clair); position: relative; z-index: 1; margin-bottom: 14px; transition: border-color .4s, box-shadow .4s, color .4s; }
.a-etapes li.atteint .a-num { border-color: var(--a-rose); color: #F5F5F7; box-shadow: 0 0 0 4px rgba(255,46,190,.12), 0 0 22px rgba(255,46,190,.45); }
.a-etapes h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
.a-etapes p { color: rgba(245,245,247,.6); font-size: .95rem; }

/* ==========================================================================
   8. APPEL FINAL
   ========================================================================== */
.a-final { position: relative; margin-top: clamp(110px, 16vw, 200px); padding: clamp(110px, 16vw, 200px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.a-final-fond { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 60% at 50% 110%, rgba(255,46,190,.55), transparent 70%),
  radial-gradient(40% 50% at 20% 100%, rgba(122,15,94,.7), transparent 70%),
  radial-gradient(40% 50% at 80% 100%, rgba(201,168,106,.18), transparent 70%),
  var(--a-nuit); }
.a-final-fond::after { content: ""; position: absolute; left: 50%; bottom: -40vw; width: 120vw; height: 60vw; translate: -50% 0; border-radius: 50%; border-top: 1px solid rgba(255,179,230,.6); box-shadow: 0 -20px 80px rgba(255,46,190,.35); }
.a-final-contenu { display: grid; justify-items: center; gap: 28px; }
.a-final-titre { font-family: var(--f-titre); font-weight: 700; font-size: clamp(2.8rem, 8vw, 7.4rem); letter-spacing: -.055em; line-height: .95; }
.a-final .a-sous-titre { text-align: center; }
.a-final .a-actions { justify-content: center; }

/* ---------- Apparitions (sans JS ou mouvements réduits : tout visible) ---------- */
.js-anime .revele { opacity: 0; transform: translateY(40px); }

/* ==========================================================================
   TÉLÉPHONE
   ========================================================================== */
@media (max-width: 900px) {
  .a-hero-grille { grid-template-columns: minmax(0, 1fr); padding-top: 28px; gap: 8px; }
  .a-hero-objet { order: -1; width: min(72vw, 340px); margin-bottom: -8px; }
  .a-hero-voile { background: linear-gradient(180deg, rgba(11,11,13,.35) 0%, rgba(11,11,13,.55) 45%, rgba(11,11,13,.85) 75%, var(--a-nuit) 100%); }
  .a-titre { font-size: clamp(3rem, 14.5vw, 4.6rem); }
  .a-actions { width: 100%; }
  .a-actions .a-btn { flex: 1 1 100%; justify-content: center; }
  .a-hero-bas { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .a-hero-bas .a-defiler, .a-hero-bas .a-droite { display: none; }
  .a-bento { grid-template-columns: minmax(0, 1fr); }
  .a-case-site, .a-case-bot { grid-column: auto; min-height: 0; }
  .a-case { padding: 26px; }
  .a-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-chiffres > div { padding: 32px 12px 32px 0; }
  .a-chiffres > div + div { border-left: 0; padding-left: 0; }
  .a-chiffres > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--a-trait); }
  .a-chiffres > div:nth-child(n+3) { border-top: 1px solid var(--a-trait); }
  .a-etapes { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-left: 0; }
  .a-etapes li:not(:last-child)::before, .a-etapes li:not(:last-child)::after { top: 60px; bottom: -34px; left: 30px; right: auto; width: 1px; height: auto; }
  .a-etapes li:not(:last-child)::after { background: linear-gradient(180deg, var(--de), var(--a)); transform-origin: top; transform: scaleY(clamp(0, calc(var(--trace, 1) * 3 - var(--i)), 1)); }
  .a-etapes li { grid-template-columns: 60px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; padding: 0; }
  .a-etapes .a-num { grid-row: span 2; margin: 0; }
  .a-piste { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gouttiere); scrollbar-width: none; padding-right: var(--gouttiere); }
  .a-projet { scroll-snap-align: start; }
  .a-piste { padding-left: var(--gouttiere); }
  .a-projet { width: 78vw; }
  .a-btn-geant { height: 64px; padding: 0 28px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .a-grain, .a-r-zone, .a-r-reflet, .a-orbite, .a-bandeau-piste, .a-msg, .a-nav-hero b, .a-tape i, .a-btn-plein::after, .a-point, .a-defiler i { animation: none !important; }
}

/* Retouches après captures */
.page-audace main { overflow-x: clip; }
.a-actions { align-items: center; }
.a-hero-bas .a-droite { text-transform: uppercase; }
.a-orbite { border-width: 2px; background: conic-gradient(from 0deg, transparent 0 40%, rgba(201,168,106,.35) 60%, var(--a-or-clair) 86%, #fff 89%, transparent 90%) border-box; filter: drop-shadow(0 0 6px rgba(233,211,166,.7)); }
.a-orbite::before { border-color: rgba(201,168,106,.32); }
/* Lenis (défilement fluide) : réglages recommandés */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* R en 3D (three.js) : remplace l'image et les orbites CSS dès qu'il est prêt */
.r3d-toile { position: absolute; inset: -8%; width: 116%; height: 116%; display: block; }
.a-hero-objet.r3d-pret .a-r-zone, .a-hero-objet.r3d-pret .a-orbite { display: none; }
.a-hero-objet.r3d-pret .a-r-sol { bottom: 10%; opacity: .7; }

/* Correctif défilement (2026-11-08) : theme.css met « scroll-behavior: smooth » sur <html> ; avec Lenis, le navigateur
   rejouait chaque petit pas de défilement en douceur → page qui « colle » en haut et défilement saccadé. */
html.lenis, html.lenis body { scroll-behavior: auto !important; }
/* Liens vers une ancre (#prix, #fonctions…) : le titre s'arrête sous la barre de navigation fixe, pas dessous. */
[id] { scroll-margin-top: calc(var(--nh-ruban, 34px) + var(--nh-h, 60px) + 24px); }

/* Validation de Matys (2026-11-08) : sans le chiffre RotterBot (« 24/7 » retiré), 3 colonnes sans trou */
.a-chiffres.a-chiffres-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .a-chiffres.a-chiffres-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-chiffres.a-chiffres-3 > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}
