/* ═══════════════════════════════════════════════════════════════════════
   PixiKali — site vitrine v2
   Direction : « salle obscure ». Noir profond, une seule lumière — le vert
   du logo — qui éclaire ce qu'on regarde. Grain argentique, verre dépoli,
   halos qui suivent la souris. Aucune dépendance externe.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: "Sora";
    src: url("assets/polices/sora-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("assets/polices/inter-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --noir: #050505;
    --noir-2: #0A0A0B;
    --surface: #0E0F10;
    --surface-2: #141517;
    --verre: rgba(16, 17, 18, 0.62);
    --ligne: rgba(255, 255, 255, 0.075);
    --ligne-forte: rgba(255, 255, 255, 0.14);

    --lime: #AED81F;
    --lime-clair: #D2F25C;
    --lime-sombre: #5F7A0B;
    --lime-10: rgba(174, 216, 31, 0.10);
    --lime-20: rgba(174, 216, 31, 0.20);
    --lime-halo: rgba(174, 216, 31, 0.38);

    --texte: #F3F4EF;
    --texte-2: #A2A59E;
    --texte-3: #6B6E68;
    --rouge: #F0544F;
    --ambre: #F5B83D;

    --police-titre: "Sora", "Segoe UI", system-ui, sans-serif;
    --police: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    --rayon-s: 12px;
    --rayon: 20px;
    --rayon-l: 28px;
    --largeur: 1200px;
    --gouttiere: clamp(16px, 4vw, 32px);
    --entete: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--noir);
    color: var(--texte);
    font-family: var(--police);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--noir); }

:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
    border-radius: 6px;
}

h1, h2, h3, h4 {
    font-family: var(--police-titre);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: var(--texte);
}
h1 { font-size: clamp(40px, 7vw, 84px); letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -0.035em; }
h3 { font-size: clamp(19px, 2vw, 22px); }
p { color: var(--texte-2); }
strong { color: var(--texte); font-weight: 600; }

.enveloppe {
    width: 100%;
    max-width: var(--largeur);
    margin: 0 auto;
    padding: 0 var(--gouttiere);
}
.enveloppe-etroite { max-width: 760px; }

.texte-lime { color: var(--lime); }
.texte-degrade {
    background: linear-gradient(100deg, var(--lime-clair) 0%, var(--lime) 45%, #7FA80F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.masque { display: none !important; }
.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Atmosphère : aurore, grain, vignettage ───────────────────────────── */

.atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.atmosphere .nappe {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    will-change: transform;
}
.atmosphere .nappe-1 {
    width: 60vw; height: 60vw;
    left: -18vw; top: -26vw;
    background: radial-gradient(circle, rgba(174, 216, 31, 0.22), transparent 65%);
    animation: derive-1 26s ease-in-out infinite alternate;
}
.atmosphere .nappe-2 {
    width: 50vw; height: 50vw;
    right: -20vw; top: 30vh;
    background: radial-gradient(circle, rgba(46, 122, 84, 0.20), transparent 65%);
    animation: derive-2 32s ease-in-out infinite alternate;
}
.atmosphere .nappe-3 {
    width: 40vw; height: 40vw;
    left: 20vw; bottom: -30vw;
    background: radial-gradient(circle, rgba(174, 216, 31, 0.10), transparent 65%);
    animation: derive-1 38s ease-in-out infinite alternate-reverse;
}
@keyframes derive-1 {
    to { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
}
@keyframes derive-2 {
    to { transform: translate3d(-10vw, -8vh, 0) scale(0.9); }
}

.grain {
    position: fixed;
    inset: -50%;
    z-index: 100;
    pointer-events: none;
    opacity: 0.07;
    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='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -3%); }
    60% { transform: translate(-2%, -1%); }
    80% { transform: translate(3%, 3%); }
    100% { transform: translate(0, 0); }
}

/* ── En-tête ──────────────────────────────────────────────────────────── */

.entete {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    height: var(--entete);
    display: flex;
    align-items: center;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
    border-bottom: 1px solid transparent;
}
.entete.defile {
    background: rgba(5, 5, 5, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--ligne);
}
.entete .enveloppe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.marque {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--police-titre);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.03em;
}
.marque img {
    width: 34px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(174, 216, 31, 0.35));
    transition: transform 0.5s var(--ease), filter 0.5s;
}
.marque:hover img {
    transform: rotate(-6deg) scale(1.06);
    filter: drop-shadow(0 0 18px rgba(174, 216, 31, 0.6));
}

/* Navigation en pilule — même grammaire que la barre de l'app TV */
.nav-pilule {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--ligne);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.nav-pilule a {
    position: relative;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--texte-2);
    transition: color 0.25s, background 0.25s;
}
.nav-pilule a:hover { color: var(--texte); background: rgba(255, 255, 255, 0.05); }
.nav-pilule a.actif {
    color: var(--noir);
    background: var(--lime);
    box-shadow: 0 0 22px -4px var(--lime-halo);
}
.entete-actions { display: flex; align-items: center; gap: 10px; }
.lien-compte {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--ligne);
    font-size: 14px;
    font-weight: 500;
    color: var(--texte-2);
    transition: border-color 0.25s, color 0.25s;
}
.lien-compte:hover { color: var(--texte); border-color: var(--ligne-forte); }
.lien-compte .pastille {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    border: 1px solid var(--ligne-forte);
    font-family: var(--police-titre);
    font-weight: 700;
    font-size: 13px;
    color: var(--texte);
}
.lien-compte.connecte .pastille { background: var(--lime); color: var(--noir); border-color: transparent; }

.bouton-menu {
    display: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--ligne);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    position: relative;
}
.bouton-menu span {
    position: absolute;
    left: 13px; right: 13px;
    height: 1.5px;
    background: var(--texte);
    border-radius: 2px;
    transition: transform 0.35s var(--ease), opacity 0.2s;
}
.bouton-menu span:nth-child(1) { top: 16px; }
.bouton-menu span:nth-child(2) { top: 21px; }
.bouton-menu span:nth-child(3) { top: 26px; }
body.menu-ouvert .bouton-menu span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-ouvert .bouton-menu span:nth-child(2) { opacity: 0; }
body.menu-ouvert .bouton-menu span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu-mobile {
    position: fixed;
    inset: 0;
    z-index: 45;
    padding: calc(var(--entete) + 24px) var(--gouttiere) 32px;
    background: rgba(5, 5, 5, 0.94);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
}
body.menu-ouvert .menu-mobile { opacity: 1; visibility: visible; }
body.menu-ouvert { overflow: hidden; }
.menu-mobile a {
    font-family: var(--police-titre);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.03em;
    padding: 10px 0;
    color: var(--texte-2);
    border-bottom: 1px solid var(--ligne);
    transform: translateY(14px);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s, color 0.2s;
}
body.menu-ouvert .menu-mobile a { transform: none; opacity: 1; }
body.menu-ouvert .menu-mobile a:nth-child(2) { transition-delay: 0.04s; }
body.menu-ouvert .menu-mobile a:nth-child(3) { transition-delay: 0.08s; }
body.menu-ouvert .menu-mobile a:nth-child(4) { transition-delay: 0.12s; }
body.menu-ouvert .menu-mobile a:nth-child(5) { transition-delay: 0.16s; }
body.menu-ouvert .menu-mobile a:nth-child(6) { transition-delay: 0.20s; }
.menu-mobile a.actif { color: var(--lime); }
.menu-mobile a.bouton {
    margin-top: 22px;
    padding: 17px 26px;
    border-bottom: none;
    font-family: var(--police);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: #0A0D02;
}

@media (max-width: 900px) {
    .nav-pilule, .entete-actions .lien-compte, .entete-actions .bouton { display: none; }
    .bouton-menu { display: block; }
}

/* ── Boutons ──────────────────────────────────────────────────────────── */

.bouton {
    --bx: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--police);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    white-space: nowrap;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.bouton svg { width: 18px; height: 18px; flex-shrink: 0; }
.bouton:active { transform: scale(0.98); }
.bouton[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.bouton-lime {
    background: var(--lime);
    color: #0A0D02;
    box-shadow: 0 0 0 0 var(--lime-halo), 0 10px 30px -10px rgba(174, 216, 31, 0.55);
}
.bouton-lime::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(120px circle at var(--bx) 50%, rgba(255, 255, 255, 0.55), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.bouton-lime:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 6px rgba(174, 216, 31, 0.12), 0 18px 40px -12px rgba(174, 216, 31, 0.7);
}
.bouton-lime:hover::before { opacity: 1; }

.bouton-verre {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--ligne-forte);
    color: var(--texte);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.bouton-verre:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }

.bouton-petit { padding: 10px 18px; font-size: 14px; }
.bouton-large { width: 100%; padding: 17px 26px; font-size: 16px; }

.lien-fleche {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--lime);
    transition: gap 0.3s var(--ease);
}
.lien-fleche:hover { gap: 10px; }
.lien-fleche svg { width: 16px; height: 16px; }

/* ── Héros ────────────────────────────────────────────────────────────── */

.heros {
    position: relative;
    padding: calc(var(--entete) + clamp(28px, 5vh, 70px)) 0 40px;
    text-align: center;
    overflow: hidden;
}
.heros .enveloppe { position: relative; z-index: 2; }

/* Sol en perspective : la « scène » sur laquelle se posent les écrans */
.heros-sol {
    position: absolute;
    left: -25%; right: -25%;
    bottom: -8%;
    height: 62%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(174, 216, 31, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(174, 216, 31, 0.16) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(520px) rotateX(62deg);
    transform-origin: 50% 0;
    -webkit-mask-image: radial-gradient(ellipse 55% 70% at 50% 0%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse 55% 70% at 50% 0%, #000 0%, transparent 72%);
    animation: sol-defile 6s linear infinite;
}
@keyframes sol-defile { to { background-position: 0 64px, 0 0; } }

.projecteur {
    position: absolute;
    left: 50%; top: -10%;
    width: min(1100px, 140vw);
    height: 820px;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    background: conic-gradient(from 180deg at 50% 0%, transparent 152deg, rgba(174, 216, 31, 0.13) 172deg, rgba(210, 242, 92, 0.2) 180deg, rgba(174, 216, 31, 0.13) 188deg, transparent 208deg);
    -webkit-mask-image: linear-gradient(#000 20%, transparent 85%);
    mask-image: linear-gradient(#000 20%, transparent 85%);
    filter: blur(6px);
    animation: projecteur 7s ease-in-out infinite alternate;
}
@keyframes projecteur {
    from { opacity: 0.7; transform: translateX(-50%) scaleX(0.92); }
    to { opacity: 1; transform: translateX(-50%) scaleX(1.06); }
}

.puce {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    border: 1px solid var(--ligne-forte);
    background: rgba(255, 255, 255, 0.035);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--texte-2);
}
.puce .etiquette-puce {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--lime-20);
    color: var(--lime-clair);
    font-size: 12px;
    font-weight: 600;
}
.puce .point {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime);
    animation: pulsation 2.2s ease-in-out infinite;
}
@keyframes pulsation {
    50% { box-shadow: 0 0 0 5px rgba(174, 216, 31, 0), 0 0 14px var(--lime); opacity: 0.6; }
}

/* Emblème : le logo, avec un reflet qui le traverse */
.embleme {
    position: relative;
    width: clamp(72px, 8vw, 100px);
    aspect-ratio: 643 / 554;
    margin: 22px auto 20px;
}
.embleme img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 28px rgba(174, 216, 31, 0.45)) drop-shadow(0 0 70px rgba(174, 216, 31, 0.25));
    animation: flotte 6s ease-in-out infinite;
}
.embleme .reflet {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.9) 48%, transparent 60%);
    background-size: 250% 100%;
    -webkit-mask: url("assets/logo_pixikali.png") center / contain no-repeat;
    mask: url("assets/logo_pixikali.png") center / contain no-repeat;
    mix-blend-mode: overlay;
    animation: reflet 5s var(--ease) infinite, flotte 6s ease-in-out infinite;
}
@keyframes reflet {
    0%, 55% { background-position: 150% 0; }
    100% { background-position: -60% 0; }
}
@keyframes flotte { 50% { transform: translateY(-8px); } }

.heros h1 { max-width: 21ch; margin: 0 auto; font-size: clamp(34px, 5.2vw, 66px); }
.heros h1 .ligne { display: block; }
.heros .chapeau {
    max-width: 590px;
    margin: 20px auto 0;
    font-size: clamp(16.5px, 1.6vw, 19px);
    line-height: 1.65;
}
.heros .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
}
.mention-heros {
    margin-top: 22px;
    font-size: 13px;
    color: var(--texte-3);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
}
.mention-heros span { display: inline-flex; align-items: center; gap: 7px; }
.mention-heros svg { width: 14px; height: 14px; color: var(--lime); }

.heros-compact {
    padding: calc(var(--entete) + clamp(40px, 7vh, 80px)) 0 clamp(36px, 6vh, 60px);
}
.heros-compact h1 { font-size: clamp(36px, 6vw, 66px); max-width: 18ch; }

/* ── Scène d'appareils ────────────────────────────────────────────────── */

.scene {
    position: relative;
    max-width: 1060px;
    margin: clamp(56px, 8vw, 90px) auto 0;
    perspective: 1800px;
    z-index: 2;
}
.scene-inclinable {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.8s var(--ease);
}
.scene::after {
    content: "";
    position: absolute;
    left: 8%; right: 8%;
    bottom: -40px;
    height: 80px;
    background: radial-gradient(ellipse at center, rgba(174, 216, 31, 0.35), transparent 70%);
    filter: blur(30px);
    z-index: -1;
}

.tele {
    position: relative;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(160deg, #26282B, #0B0C0D 40%, #17181A);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 60px 120px -40px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(0, 0, 0, 0.6),
        0 0 80px -20px rgba(174, 216, 31, 0.25);
}
.tele-ecran {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 13px;
    overflow: hidden;
    background: #060607;
    text-align: left;
}
.tele-ecran::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0%, transparent 32%);
    pointer-events: none;
}
.tele-pied {
    width: 26%;
    height: 14px;
    margin: 0 auto;
    background: linear-gradient(#1D1E20, #0B0C0D);
    clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

/* Interface miniature de l'app TV */
.ui-tv {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    font-size: clamp(6px, 1.05vw, 11px);
}
.ui-tv-barre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.2% 3%;
    position: relative;
    z-index: 2;
}
.ui-tv-barre img { width: 3.4%; min-width: 14px; }
.ui-tv-onglets {
    display: flex;
    gap: 0.5em;
    padding: 0.35em;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
}
.ui-tv-onglets span {
    padding: 0.35em 1.1em;
    border-radius: 99px;
    color: #9C9C9C;
    font-weight: 500;
}
.ui-tv-onglets span.on { color: var(--lime); border: 1px solid var(--lime); }
.ui-tv-icones { display: flex; gap: 0.6em; align-items: center; color: #DADADA; font-weight: 600; }
.ui-tv-icones i { width: 1.9em; height: 1.9em; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); display: block; }
.ui-tv-icones i.av { background: url("assets/maquette/avatars/portrait.jpg") center / cover; border: 1px solid var(--lime); }

.ui-tv-une {
    position: absolute;
    inset: 0 0 30% 0;
    /* Illustration fournie par l'utilisateur (libre de droits), calée à droite. */
    background: #03060a url("assets/maquette/une.jpg") right center / auto 100% no-repeat;
}
.ui-tv-une::before {
    display: none;
    /* « silhouette » d'affiche : un astre et un horizon */
    content: "";
    position: absolute;
    right: 16%; top: 18%;
    width: 22%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #E9F7B8, #AED81F 40%, #3D5208 75%);
    box-shadow: 0 0 60px 10px rgba(174, 216, 31, 0.35);
    animation: astre 9s ease-in-out infinite alternate;
}
.ui-tv-une::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, #060607 100%), linear-gradient(90deg, #060607 36%, rgba(6, 6, 7, 0.75) 46%, rgba(6, 6, 7, 0.3) 56%, transparent 68%);
}
@keyframes astre { to { transform: translate(-12%, 10%) scale(1.08); } }
.ui-tv-texte {
    position: relative;
    z-index: 2;
    padding: 2% 3% 0;
    max-width: 52%;
}
.ui-tv-texte .sur-titre { color: var(--lime); font-weight: 700; letter-spacing: 0.12em; font-size: 0.8em; }
.ui-tv-texte .titre {
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 2.9em;
    line-height: 1;
    letter-spacing: -0.04em;
    margin: 0.25em 0 0.35em;
    color: #fff;
}
.ui-tv-texte .meta { color: #BDBDBD; display: flex; gap: 0.8em; align-items: center; }
.ui-tv-texte .meta b { color: var(--ambre); font-weight: 700; }
.ui-tv-texte .meta em { font-style: normal; padding: 0.1em 0.5em; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0.3em; font-size: 0.85em; }
.ui-tv-boutons { display: flex; gap: 0.6em; margin-top: 1.1em; }
.ui-tv-boutons span { padding: 0.55em 1.4em; border-radius: 0.5em; background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 600; }
.ui-tv-boutons span.on { background: var(--lime); color: #000; box-shadow: 0 0 1.4em rgba(174, 216, 31, 0.6); }
.ui-tv-jaquette {
    width: 21%;
    aspect-ratio: 5 / 6;
    margin-top: 1.2em;
    border-radius: 0.6em;
    background: url("assets/maquette/affiche-orbite.jpg") center / cover;
    box-shadow: 0 0.8em 2em rgba(0, 0, 0, 0.7);
}

.ui-tv-rangees {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 0 3% 3%;
}
.ui-tv-rangees .nom { color: #fff; font-weight: 700; font-size: 1.1em; margin: 0 0 0.6em; }
.ui-tv-cartes {
    display: flex;
    gap: 1.6%;
    animation: carrousel 18s var(--ease) infinite;
}
@keyframes carrousel {
    0%, 22% { transform: translateX(0); }
    28%, 50% { transform: translateX(-17.6%); }
    56%, 78% { transform: translateX(-35.2%); }
    84%, 100% { transform: translateX(0); }
}
.ui-tv-cartes .carte {
    position: relative;
    flex: 0 0 16%;
    aspect-ratio: 16 / 10;
    border-radius: 0.6em;
    overflow: hidden;
    background: var(--g, linear-gradient(135deg, #1B2A35, #0A0F14));
}
.ui-tv-cartes .carte::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    height: 0.3em;
    width: var(--p, 40%);
    background: var(--lime);
}
.ui-tv-cartes .carte span {
    position: absolute;
    left: 0.7em; bottom: 0.8em;
    font-family: var(--police-titre);
    font-weight: 700;
    color: #fff;
    font-size: 0.95em;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.ui-tv-cartes .carte.focus { outline: 0.18em solid var(--lime); outline-offset: 0.12em; box-shadow: 0 0 1.6em rgba(174, 216, 31, 0.5); }

/* Téléphone posé devant le téléviseur */
.telephone {
    position: absolute;
    right: -2%;
    bottom: -9%;
    width: 21%;
    min-width: 110px;
    aspect-ratio: 9 / 19;
    padding: 6px;
    border-radius: 30px;
    background: linear-gradient(160deg, #2B2D30, #0B0C0D 50%, #1A1B1D);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: -30px 40px 80px -20px rgba(0, 0, 0, 0.95), 0 0 50px -10px rgba(174, 216, 31, 0.3);
    transform: translateZ(80px) rotate(4deg);
}
.telephone .tel-ecran {
    position: relative;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #070708;
    display: flex;
    flex-direction: column;
    gap: 6%;
    padding: 18% 7% 7%;
    font-size: clamp(5px, 0.8vw, 8.5px);
}
.telephone .tel-ecran::before {
    content: "";
    position: absolute;
    top: 3%; left: 50%;
    width: 30%; height: 3.2%;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #000;
}
.tel-entete { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 700; font-family: var(--police-titre); font-size: 1.4em; }
.tel-entete i { width: 1.8em; height: 1.8em; border-radius: 50%; background: url("assets/maquette/avatars/portrait.jpg") center / cover; border: 1px solid var(--lime); display: block; }
.tel-une {
    aspect-ratio: 4 / 5;
    border-radius: 1.2em;
    background: url("assets/maquette/tel-une.jpg") center / cover no-repeat;
    position: relative;
    overflow: hidden;
}
.tel-une::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75));
}
.tel-une::after {
    content: "Orbite";
    position: absolute;
    left: 8%; bottom: 8%;
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 2.6em;
    color: #fff;
    letter-spacing: -0.04em;
}
.tel-rangee { display: flex; gap: 5%; }
.tel-rangee span { flex: 1; aspect-ratio: 2 / 3; border-radius: 0.8em; background: var(--g); }
.tel-reprise { height: 0.5em; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.tel-reprise::after { content: ""; display: block; height: 100%; width: 62%; background: var(--lime); border-radius: 99px; }

@media (max-width: 640px) {
    .telephone { right: -1%; bottom: -14%; border-radius: 20px; padding: 4px; }
    .telephone .tel-ecran { border-radius: 16px; }
    .ui-tv-icones span { display: none; }
}

/* ── Bandeau défilant ─────────────────────────────────────────────────── */

.defilant {
    position: relative;
    margin-top: clamp(80px, 11vw, 130px);
    padding: 22px 0;
    border-top: 1px solid var(--ligne);
    border-bottom: 1px solid var(--ligne);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.defilant-piste {
    display: flex;
    width: max-content;
    animation: defile 38s linear infinite;
}
.defilant:hover .defilant-piste { animation-play-state: paused; }
.defilant-piste span {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding-right: 26px;
    font-family: var(--police-titre);
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--texte-3);
    white-space: nowrap;
}
.defilant-piste span::after {
    content: "";
    width: 8px; height: 8px;
    background: var(--lime);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@keyframes defile { to { transform: translateX(-50%); } }

/* ── Mur d'affiches (accueil) ─────────────────────────────────────────── */

.mur {
    position: relative;
    padding: clamp(56px, 8vw, 90px) 0 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mur-rangee { overflow: visible; padding: 8px 0; }
.mur-rangee + .mur-rangee { margin-top: 8px; }
.mur-piste {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: defile 80s linear infinite;
}
.mur-rangee.inverse .mur-piste { animation-direction: reverse; animation-duration: 95s; }
.mur:hover .mur-piste { animation-play-state: paused; }
.affiche {
    position: relative;
    width: clamp(128px, 13vw, 184px);
    aspect-ratio: 2 / 3;
    margin: 0;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--ligne);
    background: var(--surface);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.affiche img { width: 100%; height: 100%; object-fit: cover; display: block; }
.affiche::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Couvre les titres incrustés dans les affiches fournies : ceux du site, nets, les remplacent. */
    background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.85) 74%, #000 83%);
}
.affiche figcaption { position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.affiche figcaption b { font-family: var(--police-titre); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: #fff; line-height: 1.15; }
.affiche figcaption span { font-size: 11.5px; color: rgba(255, 255, 255, 0.7); }
.affiche:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--lime);
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.9), 0 0 30px -8px var(--lime-halo);
}
.mur-note { text-align: center; font-size: 12px; color: var(--texte-3); margin-top: 14px; }

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-serree { padding: clamp(56px, 8vw, 96px) 0; }
.entete-section { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.entete-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.sur-titre {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lime);
}
.sur-titre::before {
    content: "";
    width: 22px; height: 1.5px;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}
.entete-section p { margin-top: 18px; font-size: clamp(16px, 1.5vw, 18px); }

/* ── Cartes avec halo qui suit la souris ──────────────────────────────── */

.halo {
    --mx: 50%;
    --my: 50%;
    position: relative;
    isolation: isolate;
}
.halo::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(174, 216, 31, 0.55), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}
.halo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(500px circle at var(--mx) var(--my), rgba(174, 216, 31, 0.07), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: -1;
}
.halo:hover::before, .halo:hover::after { opacity: 1; }

.carte {
    border-radius: var(--rayon-l);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--ligne);
}

/* Grille « bento » des fonctionnalités */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.bento .tuile {
    grid-column: span 2;
    padding: 30px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.bento .tuile.large { grid-column: span 4; }
.bento .tuile.moitie { grid-column: span 3; }
.tuile .icone {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--lime-10);
    border: 1px solid var(--lime-20);
    color: var(--lime);
    margin-bottom: 22px;
}
.tuile .icone svg { width: 22px; height: 22px; }
.tuile h3 { margin-bottom: 10px; }
.tuile p { font-size: 15px; }
.tuile .visuel { margin-top: auto; padding-top: 26px; }
.etiquette-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--lime-10);
    border: 1px solid var(--lime-20);
    color: var(--lime);
    font-family: var(--police);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.bento .tuile.pleine { grid-column: span 6; min-height: 0; }

/* Visuel : sources (Xtream / M3U) */
.sources { display: flex; flex-wrap: wrap; gap: 8px; }
.sources span { padding: 8px 13px; border-radius: 10px; border: 1px solid var(--ligne-forte); background: rgba(255, 255, 255, 0.03); font-size: 13px; font-weight: 600; color: var(--texte-2); }
.sources span.on { border-color: var(--lime); color: var(--lime); background: var(--lime-10); }

/* Visuel : liens de secours */
.secours { display: flex; flex-direction: column; gap: 8px; }
.lien-srv { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ligne); background: rgba(255, 255, 255, 0.03); font-size: 13px; color: var(--texte-2); }
.lien-srv i { width: 8px; height: 8px; border-radius: 50%; background: var(--texte-3); flex-shrink: 0; }
.lien-srv b { margin-left: auto; font-weight: 600; font-size: 12px; }
.lien-srv.hs { opacity: 0.6; }
.lien-srv.hs i { background: var(--rouge); }
.lien-srv.hs b { color: var(--rouge); }
.lien-srv.ok { border-color: rgba(174, 216, 31, 0.45); background: var(--lime-10); color: var(--texte); }
.lien-srv.ok i { background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulsation 2.2s ease-in-out infinite; }
.lien-srv.ok b { color: var(--lime); }

/* Visuel : dossier du NAS → affiches */
.dossiers { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dossiers > div:first-child { display: flex; flex-direction: column; gap: 6px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.dossiers .dossier { color: var(--texte); font-weight: 600; }
.dossiers .fichier { color: var(--texte-3); padding-left: 18px; }
.fleche-dossiers { font-size: 22px; color: var(--lime); }
.mini-affiches { display: flex; gap: 8px; }
/* Cadrées par le haut : le bas des affiches fournies porte un titre incrusté. */
.mini-affiches i { width: 72px; aspect-ratio: 5 / 6; border-radius: 8px; background: var(--g) center top / cover no-repeat; border: 1px solid var(--ligne); display: block; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.8); }

@media (max-width: 980px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento .tuile, .bento .tuile.large, .bento .tuile.moitie { grid-column: span 1; }
    .bento .tuile.large, .bento .tuile.pleine { grid-column: span 2; }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .bento .tuile, .bento .tuile.large, .bento .tuile.pleine { grid-column: span 1; min-height: 0; padding: 26px; }
}

/* Visuel : guide des programmes */
.epg { display: flex; flex-direction: column; gap: 9px; }
.epg-ligne {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ligne);
    font-size: 13px;
}
.epg-ligne b { font-family: var(--police-titre); color: var(--texte); text-align: center; background: rgba(255, 255, 255, 0.06); border-radius: 7px; padding: 3px 0; font-size: 12px; }
.epg-ligne .prog { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.epg-ligne .prog span { color: var(--texte); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-ligne .barre { height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.epg-ligne .barre i {
    display: block;
    height: 100%;
    width: var(--p);
    background: var(--lime);
    border-radius: 99px;
    box-shadow: 0 0 8px var(--lime);
    transform-origin: left;
    animation: progression 3.5s var(--ease) both;
}
@keyframes progression { from { transform: scaleX(0); } }

/* Visuel : reprise de lecture */
.reprise-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2px;
    aspect-ratio: 16 / 8;
    padding: 12px 14px 16px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--g);
    border: 1px solid var(--ligne);
    transition: transform 0.5s var(--ease);
}
.reprise-carte::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.75));
}
.tuile:hover .reprise-carte { transform: scale(1.03); }
.reprise-carte > * { position: relative; }
.reprise-carte .t { font-family: var(--police-titre); font-weight: 700; color: #fff; font-size: 15px; letter-spacing: -0.02em; }
.reprise-carte .s { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.reprise-carte .barre { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.15); }
.reprise-carte .barre i { display: block; height: 100%; width: var(--p); background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.lecture-rond {
    position: absolute !important;
    left: 50%; top: 42%;
    width: 42px; height: 42px;
    margin: -21px 0 0 -21px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
}
.lecture-rond svg { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }

/* Visuel : versions */
.versions { display: flex; flex-wrap: wrap; gap: 8px; }
.versions span {
    padding: 8px 13px;
    border-radius: 10px;
    border: 1px solid var(--ligne-forte);
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    font-weight: 600;
    color: var(--texte-2);
}
.versions span.on { border-color: var(--lime); color: var(--lime); background: var(--lime-10); box-shadow: 0 0 18px -6px var(--lime-halo); }

/* Visuel : profils */
.profils { display: flex; gap: 10px; flex-wrap: nowrap; }
.profil { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--texte-2); min-width: 0; }
.profil i {
    width: 48px; height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-family: var(--police-titre);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    background: var(--g);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.4s var(--ease);
}
.tuile:hover .profil i { transform: translateY(-4px); }
.tuile:hover .profil:nth-child(2) i { transition-delay: 0.05s; }
.tuile:hover .profil:nth-child(3) i { transition-delay: 0.1s; }
.tuile:hover .profil:nth-child(4) i { transition-delay: 0.15s; }
.profil i.verrou { background: rgba(255, 255, 255, 0.04); color: var(--lime); border-radius: 50%; }
.profil img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s var(--ease), border-color 0.3s;
}
.profil:first-child img { border-color: var(--lime); }
.tuile:hover .profil img { transform: translateY(-4px); }
.profil i svg { width: 20px; height: 20px; }

/* Visuel : fiche */
.mini-fiche { display: flex; gap: 14px; align-items: stretch; }
.mini-fiche .jaquette { width: 74px; aspect-ratio: 5 / 6; border-radius: 10px; background: url("assets/maquette/affiche-orbite.jpg") center / cover; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.8); flex-shrink: 0; }
.mini-fiche .infos { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; }
.mini-fiche .note { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(245, 184, 61, 0.5); color: var(--ambre); font-weight: 700; width: fit-content; }
.mini-fiche .badges { display: flex; gap: 5px; }
.mini-fiche .badges em { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--ligne-forte); color: var(--texte); }
.casting { display: flex; margin-top: 4px; }
.casting i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -8px; background: var(--g); display: block; }
.casting i:first-child { margin-left: 0; }

/* Visuel : appareils synchronisés */
.synchro { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 22px; padding: 30px 0 4px; margin-top: 0; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 55%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 90% at 50% 55%, #000 55%, transparent 100%); }
.synchro .app {
    border: 1.5px solid var(--ligne-forte);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}
.synchro .app::after {
    content: "";
    position: absolute;
    left: 12%; right: 12%; bottom: 14%;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--lime) 62%, rgba(255, 255, 255, 0.15) 62%);
}
.synchro .app-tv { width: 120px; height: 72px; }
.synchro .app-tab { width: 64px; height: 84px; }
.synchro .app-tel { width: 38px; height: 72px; border-radius: 9px; }
.synchro .onde {
    position: absolute;
    left: 50%; top: 45%;
    width: 16px; height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    border: 1.5px solid var(--lime);
    animation: onde 2.6s ease-out infinite;
    opacity: 0;
}
.synchro .onde:nth-child(2) { animation-delay: 0.85s; }
.synchro .onde:nth-child(3) { animation-delay: 1.7s; }
@keyframes onde {
    0% { transform: scale(0.4); opacity: 0.9; }
    100% { transform: scale(10); opacity: 0; }
}

/* Visuel : recherche intelligente */
.recherche-demo {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--ligne-forte);
    font-size: 14px;
    color: var(--texte);
    display: flex;
    align-items: center;
    gap: 10px;
}
.recherche-demo svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; }
.recherche-demo .curseur { display: inline-block; width: 1.5px; height: 1.1em; background: var(--lime); vertical-align: text-bottom; margin-left: 2px; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.resultats-demo { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.resultats-demo span { padding: 6px 11px; border-radius: 99px; font-size: 12.5px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--ligne); color: var(--texte-2); }

/* ── Deux interfaces ──────────────────────────────────────────────────── */

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.duo .carte { padding: clamp(28px, 4vw, 44px); overflow: hidden; }
.duo h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0 12px; }
.liste-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.liste-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--texte-2); }
.liste-points li svg { width: 20px; height: 20px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.telecommande {
    display: grid;
    grid-template-columns: repeat(3, 38px);
    grid-template-rows: repeat(3, 38px);
    gap: 6px;
    margin-top: 28px;
}
.telecommande span {
    border-radius: 10px;
    border: 1px solid var(--ligne-forte);
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    place-items: center;
    color: var(--texte-2);
    font-size: 13px;
    animation: touche 4s infinite;
}
.telecommande span:nth-child(1) { grid-area: 1 / 2; animation-delay: 0s; }
.telecommande span:nth-child(2) { grid-area: 2 / 1; animation-delay: 1s; }
.telecommande span:nth-child(3) { grid-area: 2 / 2; border-radius: 50%; animation-delay: 2s; }
.telecommande span:nth-child(4) { grid-area: 2 / 3; animation-delay: 3s; }
.telecommande span:nth-child(5) { grid-area: 3 / 2; animation-delay: 1.5s; }
@keyframes touche {
    0%, 20%, 100% { background: rgba(255, 255, 255, 0.03); color: var(--texte-2); box-shadow: none; }
    8% { background: var(--lime); color: var(--noir); box-shadow: 0 0 18px var(--lime-halo); }
}
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* ── Étapes ───────────────────────────────────────────────────────────── */

.etapes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    counter-reset: etape;
}
.etape { padding: 32px 28px; position: relative; overflow: hidden; }
.etape::after {
    counter-increment: etape;
    content: "0" counter(etape);
    position: absolute;
    right: 18px; top: 4px;
    font-family: var(--police-titre);
    font-size: 92px;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: rgba(174, 216, 31, 0.05);
    -webkit-text-stroke: 1.2px rgba(174, 216, 31, 0.5);
    line-height: 1;
    transition: color 0.5s var(--ease);
}
.etape:hover::after { color: rgba(174, 216, 31, 0.16); }
.etape h3 { margin: 50px 0 10px; }
.etape p { font-size: 15px; }
@media (max-width: 820px) { .etapes { grid-template-columns: 1fr; } }

/* ── Offre Premium ────────────────────────────────────────────────────── */

.offre {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
@media (max-width: 900px) { .offre { grid-template-columns: 1fr; } }

/* Carte à bordure lumineuse tournante */
.carte-prix {
    --angle: 0deg;
    position: relative;
    border-radius: var(--rayon-l);
    padding: 1.5px;
    background: conic-gradient(from var(--angle), transparent 0deg, rgba(174, 216, 31, 0.0) 40deg, var(--lime) 90deg, var(--lime-clair) 110deg, rgba(174, 216, 31, 0) 170deg, transparent 360deg), var(--ligne-forte);
    animation: tourne 6s linear infinite;
    box-shadow: 0 40px 120px -40px rgba(174, 216, 31, 0.35);
}
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
@keyframes tourne { to { --angle: 360deg; } }
.carte-prix-interieur {
    position: relative;
    border-radius: calc(var(--rayon-l) - 1.5px);
    background:
        radial-gradient(600px circle at 50% -20%, rgba(174, 216, 31, 0.13), transparent 50%),
        linear-gradient(180deg, #0F1011, #0A0A0B);
    padding: clamp(28px, 4vw, 42px);
    overflow: hidden;
}
.carte-prix .entete-prix { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.carte-prix .nom-offre { display: flex; align-items: center; gap: 10px; font-family: var(--police-titre); font-weight: 700; font-size: 20px; }
.carte-prix .nom-offre img { width: 26px; }
/* Fonction pas encore terminée (ex. lecture des fichiers d'un NAS) : pastille ambre à côté du titre. */
.badge-construction {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid #e9a63b;
    background: rgba(233, 166, 59, 0.14);
    color: #f2b856;
    font-family: var(--police-texte, inherit);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: middle;
    white-space: nowrap;
}
.badge-lime {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--noir);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.montant-ligne { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 6px; }
.montant {
    font-family: var(--police-titre);
    font-size: clamp(64px, 9vw, 96px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
    color: var(--texte);
}
.montant sup { font-size: 0.42em; vertical-align: 0.95em; margin-left: 4px; letter-spacing: 0; }
.periode { color: var(--texte-2); font-size: 17px; }
.detail-prix { font-size: 14.5px; color: var(--texte-2); }
.detail-prix b { color: var(--lime); font-weight: 600; }
.separateur { height: 1px; background: var(--ligne); margin: 28px 0; }
.avantages { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.avantages li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--texte); }
.avantages li small { display: block; color: var(--texte-2); font-size: 13.5px; margin-top: 2px; line-height: 1.5; }
.coche {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--lime-20);
    color: var(--lime);
    margin-top: 1px;
}
.coche svg { width: 13px; height: 13px; }
.sous-bouton { margin-top: 14px; font-size: 13px; text-align: center; color: var(--texte-3); }

/* Logos des moyens de paiement (pastilles texte, pas de marques reproduites) */
.moyens { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.moyens span {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 11px;
    border-radius: 8px;
    border: 1px solid var(--ligne-forte);
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--texte-2);
}
.moyens.centre { justify-content: center; }

/* Comparatif */
.comparatif {
    border-radius: var(--rayon-l);
    border: 1px solid var(--ligne);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.015);
}
.comparatif table { width: 100%; border-collapse: collapse; }
.comparatif th, .comparatif td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.comparatif tr:last-child td { border-bottom: none; }
.comparatif th { font-family: var(--police-titre); font-size: 15px; font-weight: 600; color: var(--texte-2); background: rgba(255, 255, 255, 0.02); }
.comparatif th:not(:first-child), .comparatif td:not(:first-child) { text-align: center; width: 22%; }
.comparatif th.col-premium { color: var(--lime); }
.comparatif td.col-premium { background: rgba(174, 216, 31, 0.035); }
.comparatif td { color: var(--texte); }
.comparatif td small { display: block; color: var(--texte-3); font-size: 13px; }
.oui, .non { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.oui { background: var(--lime-20); color: var(--lime); }
.non { color: var(--texte-3); }
.oui svg, .non svg { width: 13px; height: 13px; }
@media (max-width: 640px) {
    .comparatif th, .comparatif td { padding: 14px 12px; font-size: 13.5px; }
    .comparatif td small { display: none; }
}

/* Bloc confiance */
.confiance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.confiance .carte { padding: 26px; }
.confiance h3 { font-size: 17px; margin: 14px 0 8px; }
.confiance p { font-size: 14.5px; }
.confiance .icone { color: var(--lime); }
.confiance .icone svg { width: 26px; height: 26px; }
@media (max-width: 820px) { .confiance { grid-template-columns: 1fr; } }

/* ── FAQ (accordéons) ─────────────────────────────────────────────────── */

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
    border-radius: var(--rayon);
    border: 1px solid var(--ligne);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s, background 0.3s;
}
.faq details[open] { border-color: rgba(174, 216, 31, 0.3); background: rgba(174, 216, 31, 0.025); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--police-titre);
    font-weight: 600;
    font-size: 16.5px;
    letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    width: 12px; height: 12px;
    flex-shrink: 0;
    background:
        linear-gradient(var(--lime), var(--lime)) center / 100% 1.5px no-repeat,
        linear-gradient(var(--lime), var(--lime)) center / 1.5px 100% no-repeat;
    transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .reponse { padding: 0 24px 22px; }
.faq .reponse p + p { margin-top: 10px; }
.faq .reponse a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.faq-categorie { margin: 52px 0 18px; font-size: 22px; }
.faq-categorie:first-child { margin-top: 0; }

/* ── Bandeau d'appel final ────────────────────────────────────────────── */

.appel {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
    text-align: center;
    border: 1px solid rgba(174, 216, 31, 0.25);
    background:
        radial-gradient(800px circle at 50% 120%, rgba(174, 216, 31, 0.28), transparent 55%),
        linear-gradient(180deg, #0C0D0E, #070708);
}
.appel::before {
    content: "";
    position: absolute;
    right: -6%; top: 50%;
    width: 46%;
    aspect-ratio: 643 / 554;
    transform: translateY(-50%) rotate(-8deg);
    background: url("assets/logo_pixikali.png") center / contain no-repeat;
    opacity: 0.05;
    pointer-events: none;
}
.appel h2 { max-width: 16ch; margin: 0 auto; }
.appel p { max-width: 520px; margin: 20px auto 0; font-size: 17px; }
.appel .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ── Pied de page ─────────────────────────────────────────────────────── */

.pied {
    margin-top: clamp(60px, 9vw, 120px);
    border-top: 1px solid var(--ligne);
    padding: 64px 0 36px;
    background: linear-gradient(180deg, transparent, rgba(174, 216, 31, 0.025));
}
.pied-grille {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
}
.pied .marque { margin-bottom: 16px; }
.pied-intro p { font-size: 14px; max-width: 320px; }
.pied h4 {
    font-family: var(--police);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--texte-3);
    margin-bottom: 16px;
}
.pied ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pied ul a { font-size: 14.5px; color: var(--texte-2); transition: color 0.2s; }
.pied ul a:hover { color: var(--lime); }
.pied-bas {
    margin-top: 52px;
    padding-top: 26px;
    border-top: 1px solid var(--ligne);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--texte-3);
}
.pied-bas p { font-size: 13px; color: var(--texte-3); }
@media (max-width: 820px) {
    .pied-grille { grid-template-columns: 1fr 1fr; }
    .pied-intro { grid-column: 1 / -1; }
}

/* ── Formulaires ──────────────────────────────────────────────────────── */

.carte-formulaire {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--rayon-l);
    border: 1px solid var(--ligne-forte);
    background: var(--verre);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
    text-align: left;
}
.onglets {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ligne);
}
.onglets button {
    position: relative;
    z-index: 1;
    padding: 10px;
    border: none;
    background: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--texte-2);
    cursor: pointer;
    transition: color 0.3s;
}
.onglets button.actif { color: var(--noir); }
.onglets .curseur-onglet {
    position: absolute;
    top: 5px; bottom: 5px; left: 5px;
    width: calc(50% - 5px);
    border-radius: 999px;
    background: var(--lime);
    box-shadow: 0 0 20px -4px var(--lime-halo);
    transition: transform 0.45s var(--ease);
}
.onglets.droite .curseur-onglet { transform: translateX(100%); }

.champ { margin-bottom: 18px; }
.champ label {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--texte-2);
}
.champ input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--ligne-forte);
    background: rgba(0, 0, 0, 0.35);
    font-size: 15.5px;
    color: var(--texte);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.champ input::placeholder { color: var(--texte-3); }
.champ input:hover { border-color: rgba(255, 255, 255, 0.22); }
.champ input:focus {
    outline: none;
    border-color: var(--lime);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(174, 216, 31, 0.14);
}
.champ .aide { margin-top: 7px; font-size: 12.5px; color: var(--texte-3); }
.champ-mdp { position: relative; }
.champ-mdp input { padding-right: 52px; }
.voir-mdp {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--texte-3);
    cursor: pointer;
    display: grid;
    place-items: center;
}
.voir-mdp:hover { color: var(--texte); }
.voir-mdp svg { width: 18px; height: 18px; }

.message {
    display: none;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}
.message.visible { display: block; animation: apparait 0.4s var(--ease); }
.message-erreur { background: rgba(240, 84, 79, 0.1); border: 1px solid rgba(240, 84, 79, 0.35); color: #FFB3B0; }
.message-succes { background: rgba(174, 216, 31, 0.08); border: 1px solid rgba(174, 216, 31, 0.32); color: var(--lime-clair); }
.message-info { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ligne-forte); color: var(--texte-2); }
@keyframes apparait { from { opacity: 0; transform: translateY(-6px); } }

.lien-discret { font-size: 13.5px; color: var(--texte-2); text-decoration: underline; text-decoration-color: var(--ligne-forte); text-underline-offset: 3px; transition: color 0.2s; }
.lien-discret:hover { color: var(--lime); }

.case {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--texte-2);
}
.case input { position: absolute; opacity: 0; pointer-events: none; }
.case .boite {
    width: 20px; height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 6px;
    border: 1.5px solid var(--ligne-forte);
    background: rgba(0, 0, 0, 0.35);
    display: grid;
    place-items: center;
    transition: background 0.2s, border-color 0.2s;
}
.case .boite svg { width: 12px; height: 12px; color: var(--noir); opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.3s var(--ease); }
.case input:checked + .boite { background: var(--lime); border-color: var(--lime); }
.case input:checked + .boite svg { opacity: 1; transform: none; }
.case input:focus-visible + .boite { outline: 2px solid var(--lime); outline-offset: 2px; }
.case a { color: var(--texte); text-decoration: underline; text-underline-offset: 3px; }

/* Indicateur de chargement dans un bouton */
.rouage {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: rouage 0.7s linear infinite;
}
@keyframes rouage { to { transform: rotate(360deg); } }

/* ── Espace compte ────────────────────────────────────────────────────── */

.tableau-compte {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.carte-identite {
    padding: clamp(24px, 4vw, 34px);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.avatar-rond {
    width: 64px; height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 26px;
    color: var(--noir);
    background: linear-gradient(135deg, var(--lime-clair), var(--lime));
    box-shadow: 0 0 40px -10px var(--lime-halo);
}
.carte-identite .qui { flex: 1; min-width: 180px; }
.carte-identite .qui strong { display: block; font-size: 18px; word-break: break-all; }
.carte-identite .qui span { font-size: 14px; color: var(--texte-2); }
.statut {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--ligne-forte);
    color: var(--texte-2);
}
.statut.premium { border-color: rgba(174, 216, 31, 0.4); background: var(--lime-10); color: var(--lime); }
.statut i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.grille-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.action-compte { padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.4s var(--ease); }
.action-compte:hover { transform: translateY(-3px); }
.action-compte .icone { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-10); color: var(--lime); }
.action-compte .icone svg { width: 20px; height: 20px; }
.action-compte h3 { font-size: 17px; }
.action-compte p { font-size: 14px; }
@media (max-width: 640px) { .grille-actions { grid-template-columns: 1fr; } }

/* ── Paiement ─────────────────────────────────────────────────────────── */

.caisse {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
    text-align: left;
}
@media (max-width: 920px) { .caisse { grid-template-columns: 1fr; } }

.bloc-etape { padding: clamp(22px, 3.4vw, 32px); margin-bottom: 16px; }
.bloc-etape .titre-etape { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bloc-etape .numero {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lime);
    color: var(--noir);
    font-family: var(--police-titre);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}
.bloc-etape h2 { font-size: 19px; letter-spacing: -0.02em; }
.compte-ligne { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.compte-ligne .avatar-rond { width: 44px; height: 44px; border-radius: 14px; font-size: 18px; }
.compte-ligne .qui { flex: 1; min-width: 0; }
.compte-ligne .qui strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.compte-ligne .qui span { font-size: 13px; color: var(--texte-2); }

.choix-moyens { display: grid; gap: 12px; }
.choix-moyen {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1.5px solid var(--ligne-forte);
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.3s;
}
.choix-moyen:hover { border-color: rgba(255, 255, 255, 0.26); }
.choix-moyen input { position: absolute; opacity: 0; pointer-events: none; }
.choix-moyen .radio {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--ligne-forte);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: border-color 0.25s;
}
.choix-moyen .radio::after {
    content: "";
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--lime);
    transform: scale(0);
    transition: transform 0.35s var(--ease);
}
.choix-moyen:has(input:checked) {
    border-color: var(--lime);
    background: rgba(174, 216, 31, 0.05);
    box-shadow: 0 0 0 4px rgba(174, 216, 31, 0.1);
}
.choix-moyen:has(input:checked) .radio { border-color: var(--lime); }
.choix-moyen:has(input:checked) .radio::after { transform: scale(1); }
.choix-moyen:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }
.choix-moyen .libelle { flex: 1; min-width: 0; }
.choix-moyen .libelle strong { display: block; font-size: 15.5px; }
.choix-moyen .libelle span { font-size: 13px; color: var(--texte-2); }
.choix-moyen .moyens span { height: 26px; font-size: 11px; padding: 0 8px; }
@media (max-width: 520px) { .choix-moyen .moyens { display: none; } }

.recap { position: sticky; top: calc(var(--entete) + 20px); }
.recap .carte-prix-interieur { padding: clamp(22px, 3.4vw, 30px); }
.recap-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--texte-2); padding: 8px 0; }
.recap-ligne strong { font-weight: 600; }
.recap-ligne.remise { color: var(--lime); }
.recap-ligne.remise strong { color: var(--lime); }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; margin-top: 10px; border-top: 1px solid var(--ligne); }
.recap-total span { font-size: 15px; color: var(--texte); font-weight: 600; }
.recap-total strong {
    font-family: var(--police-titre);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}
.recap-note { font-size: 12.5px; color: var(--texte-3); margin-top: 8px; text-align: right; }

.code-promo { margin-top: 18px; }
.code-promo-ouvrir {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--texte-2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.code-promo-ouvrir:hover { color: var(--lime); }
.code-promo-ouvrir svg { width: 16px; height: 16px; }
.code-promo-champ { display: flex; gap: 8px; margin-top: 10px; }
.code-promo-champ input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--ligne-forte);
    background: rgba(0, 0, 0, 0.4);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.code-promo-champ input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(174, 216, 31, 0.14); }
.code-promo-champ .bouton { padding: 12px 16px; font-size: 14px; }
.code-applique {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px 10px 14px;
    border-radius: 12px;
    border: 1px dashed rgba(174, 216, 31, 0.5);
    background: rgba(174, 216, 31, 0.06);
    font-size: 14px;
    color: var(--lime-clair);
    animation: apparait 0.4s var(--ease);
}
.code-applique b { letter-spacing: 0.08em; }
.code-applique button { border: none; background: none; color: var(--texte-2); cursor: pointer; font-size: 13px; text-decoration: underline; }
.code-promo .message { margin: 10px 0 0; }

.securite {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--texte-3);
    text-align: center;
}
.securite svg { width: 14px; height: 14px; color: var(--lime); flex-shrink: 0; }

.bandeau-avis {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(245, 184, 61, 0.35);
    background: rgba(245, 184, 61, 0.06);
    font-size: 14px;
    color: #F3D9A4;
    margin-bottom: 18px;
    text-align: left;
}
.bandeau-avis svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: var(--ambre); }

/* Coche animée (page de confirmation) */
.coche-animee { width: 104px; height: 104px; margin: 0 auto 30px; }
.coche-animee circle {
    fill: none;
    stroke: var(--lime);
    stroke-width: 2.5;
    stroke-dasharray: 302;
    stroke-dashoffset: 302;
    animation: trace 1s var(--ease) 0.2s forwards;
    filter: drop-shadow(0 0 10px var(--lime));
}
.coche-animee path {
    fill: none;
    stroke: var(--lime);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: trace 0.6s var(--ease) 0.9s forwards;
}
@keyframes trace { to { stroke-dashoffset: 0; } }

.confettis { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confettis i {
    position: absolute;
    top: -20px;
    width: 8px; height: 14px;
    background: var(--lime);
    border-radius: 2px;
    animation: tombe linear forwards;
}
@keyframes tombe {
    to { transform: translate3d(var(--dx, 0), 110vh, 0) rotate(var(--r, 540deg)); opacity: 0.2; }
}

/* ── Téléchargement ───────────────────────────────────────────────────── */

.carte-telechargement {
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 40px);
    text-align: center;
}
.icone-apk {
    width: 78px; height: 78px;
    margin: 0 auto 22px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(174, 216, 31, 0.2), rgba(174, 216, 31, 0.04));
    border: 1px solid rgba(174, 216, 31, 0.35);
    box-shadow: 0 0 50px -10px var(--lime-halo);
}
.icone-apk img { width: 42px; }
.icone-apk svg { width: 32px; height: 32px; color: var(--lime); }

.plateformes {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 5px;
    margin: 0 auto 22px;
    border-radius: 999px;
    border: 1px solid var(--ligne);
    background: rgba(255, 255, 255, 0.03);
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
}
.plateformes button {
    padding: 9px 16px;
    border-radius: 999px;
    border: none;
    background: none;
    color: var(--texte-2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}
.plateformes button.actif { background: var(--lime); color: var(--noir); }
.etapes-installation { list-style: none; counter-reset: pas; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.etapes-installation li {
    counter-increment: pas;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--ligne);
    font-size: 14.5px;
    color: var(--texte-2);
}
.etapes-installation li::before {
    content: counter(pas);
    width: 26px; height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lime-20);
    color: var(--lime);
    font-family: var(--police-titre);
    font-weight: 700;
    font-size: 13px;
}
.etapes-installation li b { color: var(--texte); font-weight: 600; }

/* ── Pages légales / texte long ───────────────────────────────────────── */

.texte-long { max-width: 760px; margin: 0 auto; }
.texte-long h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 54px 0 16px; padding-top: 10px; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long h3 { font-size: 18px; margin: 28px 0 10px; }
.texte-long p, .texte-long li { font-size: 15.5px; line-height: 1.75; color: var(--texte-2); }
.texte-long p + p { margin-top: 12px; }
.texte-long ul { padding-left: 20px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.texte-long li::marker { color: var(--lime); }
.texte-long a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
/* Un bouton placé dans un texte long garde sa propre couleur de texte (sinon vert sur vert, illisible). */
.texte-long a.bouton { text-decoration: none; }
.texte-long a.bouton-lime { color: #0A0D02; }
.texte-long a.bouton-verre { color: var(--texte); }
.texte-long .maj { font-size: 13.5px; color: var(--texte-3); margin-bottom: 40px; }
.a-completer {
    display: inline;
    padding: 1px 7px;
    border-radius: 6px;
    background: rgba(245, 184, 61, 0.14);
    border: 1px dashed rgba(245, 184, 61, 0.6);
    color: var(--ambre);
    font-size: 0.92em;
    font-weight: 600;
}
.sommaire {
    padding: 22px 24px;
    border-radius: var(--rayon);
    border: 1px solid var(--ligne);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 44px;
}
.sommaire ol { padding-left: 20px; display: grid; gap: 6px; }
.sommaire a { color: var(--texte-2); text-decoration: none; font-size: 14.5px; }
.sommaire a:hover { color: var(--lime); }

/* ── Contact ──────────────────────────────────────────────────────────── */

.contact-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grille .carte { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-grille .icone { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-10); border: 1px solid var(--lime-20); color: var(--lime); margin-bottom: 8px; }
.contact-grille .icone svg { width: 22px; height: 22px; }
.contact-grille h3 { font-size: 18px; }
.contact-grille p { font-size: 14.5px; }
.contact-grille .lien-fleche { margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: 1fr; } }

/* ── 404 ──────────────────────────────────────────────────────────────── */

.page-404 { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-top: var(--entete); }
.code-404 {
    font-family: var(--police-titre);
    font-size: clamp(110px, 22vw, 240px);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.85;
    position: relative;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(174, 216, 31, 0.6);
    margin-bottom: 24px;
}
.code-404::before, .code-404::after {
    content: attr(data-texte);
    position: absolute;
    inset: 0;
    -webkit-text-stroke: 0;
}
.code-404::before { color: var(--lime); opacity: 0.85; clip-path: inset(0 0 62% 0); animation: parasite 2.6s steps(1) infinite; }
.code-404::after { color: #2E7A54; opacity: 0.6; clip-path: inset(58% 0 0 0); animation: parasite 2.6s steps(1) infinite reverse; }
@keyframes parasite {
    0%, 86%, 100% { transform: none; }
    88% { transform: translate(-6px, 2px); }
    91% { transform: translate(5px, -2px); }
    94% { transform: translate(-3px, 0); }
}

/* ── Notifications éphémères ──────────────────────────────────────────── */

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 80;
    transform: translate(-50%, 20px);
    max-width: calc(100vw - 32px);
    padding: 14px 20px;
    border-radius: 16px;
    background: rgba(20, 21, 23, 0.92);
    border: 1px solid var(--ligne-forte);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9);
    font-size: 14.5px;
    color: var(--texte);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ── Apparitions au défilement ────────────────────────────────────────── */

.revele {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), filter 0.75s var(--ease);
    transition-delay: var(--delai, 0s);
}
.revele.vu { opacity: 1; transform: none; filter: none; }

/* Titres mot par mot */
.mot {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.45em);
    filter: blur(8px);
    animation: mot 0.9s var(--ease) forwards;
    animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes mot { to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .revele, .mot { opacity: 1; transform: none; filter: none; }
    .grain { display: none; }
}
