/* Squelette commun des pages produits. Chaque page fixe ses couleurs et sa police d'affichage. */
:root {
  --bg: #0c0b10; --bg2: #16141d; --ink: #f6f4fb; --muted: #a9a4bb; --line: rgba(255,255,255,.12);
  --accent: #7b4dff; --accent-ink: #fff; --accent2: #3b6cf6;
  --display: "Roboto Flex", system-ui, sans-serif; --display-weight: 900; --display-stretch: 115%; --display-style: normal; --display-track: -.035em; --display-case: none;
  --rayon: 24px; --ease: cubic-bezier(.16, 1, .3, 1);
}
body { background: var(--bg); color: var(--ink); font-size: 17px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }

/* Barre du haut */
.pbar { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, box-shadow .3s; }
.pbar.scrolled { background: color-mix(in oklab, var(--bg) 84%, transparent); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.pbar .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pbar .retour { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .92rem; color: var(--muted); }
.pbar .retour .pn-word { font-size: 21px; color: var(--ink); }
.pbar .retour:hover .pn-word { color: var(--accent); }
.pbar .nom { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.pbar .nom .logo { width: 30px; height: 30px; border-radius: 8px; overflow: hidden; }
.pbar .nom .logo > * { width: 100%; height: 100%; }
.pbar .go { padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), filter .2s; }
.pbar .go:hover { transform: translateY(-2px); filter: brightness(1.08); }
.pbar .go.off { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Héros */
.phero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 110px 0 70px; overflow: clip; isolation: isolate; }
.phero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 4vw, 64px); align-items: center; width: 100%; }
.phero .fond { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kin, .h2 { font-family: var(--display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-style: var(--display-style); letter-spacing: var(--display-track); text-transform: var(--display-case); }
.kin { margin-top: 18px; font-size: clamp(3rem, 7vw, 6.6rem); line-height: .92; }
.kin em { font-style: inherit; color: var(--accent); }
.kin .w, .h2 .w { display: inline-block; white-space: nowrap; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
.kin .l, .h2 .l { display: inline-block; will-change: transform; }
.lead { margin-top: 26px; max-width: 42ch; font-size: clamp(1.1rem, 1.3vw, 1.3rem); color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, filter .2s; }
.btn.plein { background: var(--accent); color: var(--accent-ink); box-shadow: 0 16px 40px -14px color-mix(in oklab, var(--accent) 80%, transparent); }
.btn.plein:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.06); }
.btn.vide { box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.vide:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.off { background: color-mix(in oklab, var(--ink) 8%, transparent); color: var(--ink); cursor: default; }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { padding: 7px 13px; border-radius: 999px; font-size: .86rem; font-weight: 650; background: color-mix(in oklab, var(--ink) 7%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.scene { position: relative; height: min(76vh, 680px); perspective: 1400px; }

/* Cadres : téléphone et navigateur */
.tel { position: absolute; width: clamp(200px, 19vw, 290px); border-radius: 40px; padding: 9px; background: #0b0b0e;
       box-shadow: 0 0 0 1.5px rgba(255,255,255,.14), 0 50px 100px -30px rgba(0,0,0,.65); transform-style: preserve-3d; will-change: transform; }
.tel img, .tel video { width: 100%; border-radius: 32px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; background: #1a1a1f; }
.nav { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 50px 100px -30px rgba(0,0,0,.5); }
.nav .barre { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #ecebe8; }
.nav .barre i { width: 11px; height: 11px; border-radius: 50%; background: #d4d1ca; }
.nav .barre b { margin-left: 14px; flex: 1; max-width: 300px; height: 20px; border-radius: 6px; background: #fff; font-size: 11px; font-weight: 500; color: #777; display: flex; align-items: center; padding: 0 10px; }

/* Bande défilante */
.bande { position: relative; z-index: 2; padding: 22px 0; background: var(--accent); color: var(--accent-ink); overflow: clip; transform: rotate(-2deg) scale(1.04); }
.bande .rang { display: flex; gap: 48px; width: max-content; font-family: var(--display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-style: var(--display-style); text-transform: var(--display-case);
               font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; white-space: nowrap; will-change: transform; animation: defile 28s linear infinite; }
.bande .rang span { display: inline-flex; align-items: center; gap: 48px; }
.bande .rang span::after { content: "✦"; font-size: .6em; opacity: .7; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Sections */
.sec { position: relative; padding: clamp(80px, 13vh, 150px) 0; }
.sec-tete { max-width: 760px; margin-bottom: clamp(40px, 6vh, 64px); }
.sec-tete.centre { margin-left: auto; margin-right: auto; text-align: center; }
.h2 { margin-top: 14px; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: .98; }
.h2 em { font-style: inherit; color: var(--accent); }
.sec-tete p { margin-top: 18px; color: var(--muted); font-size: 1.15rem; max-width: 52ch; }
.sec-tete.centre p { margin-left: auto; margin-right: auto; }

.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: e; }
.etape { position: relative; padding: 30px 28px 32px; border-radius: var(--rayon); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.etape::before { counter-increment: e; content: "0" counter(e); display: block; font-family: var(--display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: 3.4rem; line-height: 1; color: var(--accent); margin-bottom: 26px; }
.etape h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.etape p { margin-top: 10px; color: var(--muted); }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.duo.inv > :first-child { order: 2; }
.liste { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.liste li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); font-size: 1.05rem; }
.liste li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.liste li b { color: var(--ink); font-weight: 700; }

.chiffres { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; }
.chiffre { padding: 32px 28px; border-radius: var(--rayon); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.chiffre b { white-space: nowrap; display: block; font-family: var(--display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-style: var(--display-style); font-size: clamp(3rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -.03em; color: var(--accent); }
.chiffre span { display: block; margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

.limites { border-radius: 28px; padding: clamp(32px, 5vw, 60px); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
.limites ul { list-style: none; display: grid; gap: 16px; }
.limites li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); font-size: 1.05rem; }
.limites li::before { content: "—"; color: var(--accent); font-weight: 800; }
.limites li b { color: var(--ink); }
.avert { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: .92rem; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }

.final { text-align: center; padding: clamp(100px, 16vh, 180px) 0; position: relative; overflow: clip; }
.final .h2 { font-size: clamp(3rem, 8vw, 7.4rem); margin: 0 auto; max-width: 14ch; }
.final p { margin: 22px auto 0; color: var(--muted); font-size: 1.15rem; max-width: 46ch; }
.final .ctas { justify-content: center; }

.autres { padding: 0 0 clamp(60px, 9vh, 100px); }
.autres h3 { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.autres nav { display: flex; flex-wrap: wrap; gap: 10px; }
.autres a { padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 650; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, box-shadow .2s; }
.autres a:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); box-shadow: inset 0 0 0 1px var(--ink); }

.pn-foot { border-top: 1px solid var(--line); color: var(--ink); }

@media (max-width: 960px) {
  .phero .wrap, .duo, .limites { grid-template-columns: minmax(0, 1fr); }
  .duo.inv > :first-child { order: 0; }
  .scene { height: 560px; }
  .etapes, .chiffres { grid-template-columns: 1fr; }
  .pbar .nom { display: none; }
}
@media (max-width: 560px) {
  .scene { height: 580px; }
  .pbar .retour small { display: none; }
}

/* Choix de la langue */
.pbar .droite { display: inline-flex; align-items: center; gap: 10px; }
.langue { display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 10px; border-radius: 999px; font-weight: 750; font-size: .82rem; letter-spacing: .04em; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.langue:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
