/* =====================================================================
   NEWLVL AGENCY — feuille de style
   Direction : la page ressemble a un live TikTok en cours.
   Or et bleu du logo, noir profond, typo Unbounded + Instrument Sans.
   ===================================================================== */

:root {
    /* Palette reprise du logo : or a gauche, bleu a droite */
    --gold-1: #ffdf9e;
    --gold-2: #e8ab3c;
    --blue-1: #8fdcff;
    --blue-2: #1b8ae0;
    --live:   #ff3b5c;          /* le rouge "direct", universellement lu */

    --ink:    #05070c;
    --txt:    #f4f6fa;
    --muted:  rgba(244, 246, 250, 0.55);
    --faint:  rgba(244, 246, 250, 0.34);
    --line:   rgba(255, 255, 255, 0.09);
    --card:   rgba(255, 255, 255, 0.03);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pop:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    min-height: 100%;
    background: var(--ink);
    color: var(--txt);
    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---------------------------------------------------------------
   Fond, du plus profond au plus proche :
   body::before (degrade) > .aura (nappes floues) > .bg-grid (grille)
   > #fx (particules 3D) > .grain + .vignette > contenu
   --------------------------------------------------------------- */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: -3;
    background: linear-gradient(175deg, #070a12 0%, #05070c 55%, #030408 100%);
}

.aura {
    position: fixed; inset: -15%; z-index: -2;
    pointer-events: none; overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}
.b1 {
    width: 44vw; height: 44vw; min-width: 340px; min-height: 340px;
    top: -6%; left: -4%;
    background: radial-gradient(circle, rgba(232, 171, 60, 0.28) 0%, transparent 68%);
    animation: drift1 28s ease-in-out infinite alternate;
}
.b2 {
    width: 50vw; height: 50vw; min-width: 380px; min-height: 380px;
    top: 12%; right: -12%;
    background: radial-gradient(circle, rgba(27, 138, 224, 0.28) 0%, transparent 68%);
    animation: drift2 34s ease-in-out infinite alternate;
}
.b3 {
    width: 38vw; height: 38vw; min-width: 300px; min-height: 300px;
    bottom: -12%; left: 28%;
    background: radial-gradient(circle, rgba(143, 220, 255, 0.15) 0%, transparent 70%);
    animation: drift3 40s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(9vw, 7vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-8vw, 10vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(6vw, -9vh) scale(1.15); } }

.bg-grid {
    position: fixed; inset: 0; z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 20%, transparent 78%);
}

#fx { position: fixed; inset: 0; z-index: -1; display: block; }

.vignette {
    position: fixed; inset: 0; pointer-events: none; z-index: 1;
    box-shadow: inset 0 0 220px 70px rgba(0, 0, 0, 0.75);
}

.grain {
    position: fixed; inset: -50%; pointer-events: none; z-index: 1; opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 0.7s steps(2) infinite;
}
@keyframes grain {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-3%, 2%); }
    100% { transform: translate(2%, -3%); }
}

/* Icones lucide inline */
svg.i { width: 1em; height: 1em; flex: none; }
svg.i, .card-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Accessibilite ---------- */
.skip {
    position: fixed; top: 10px; left: 50%;
    transform: translate(-50%, -160%);
    z-index: 99;
    padding: 11px 22px;
    border-radius: var(--r-sm);
    background: var(--gold-2); color: #16120a;
    font-weight: 700; font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.25s;
}
.skip:focus { transform: translate(-50%, 0); }

:focus-visible {
    outline: 2px solid var(--blue-1);
    outline-offset: 3px;
    border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Progression facon "stories" ---------- */
.stories {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    display: flex; gap: 3px;
    padding: 6px clamp(10px, 3vw, 26px) 0;
    pointer-events: none;
}
.story {
    flex: 1;
    height: 2.5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.story span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-2), var(--blue-1));
    box-shadow: 0 0 10px rgba(143, 220, 255, 0.5);
    transition: width 0.15s linear;
}

/* ---------- Nav ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(16px, 4vw, 40px);
    transition: background 0.35s, border-color 0.35s, padding 0.35s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    padding-top: 11px; padding-bottom: 11px;
    background: rgba(5, 7, 12, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--txt);
    font-family: 'Unbounded', sans-serif;
    font-weight: 800; font-size: 0.82rem; letter-spacing: 0.5px;
}
.nav-brand b { color: var(--gold-2); margin-left: 5px; }
.nav-logo {
    width: 32px; height: 32px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(232, 171, 60, 0.35);
    background: #05070c;
}
.nav-links { display: flex; gap: clamp(12px, 2.4vw, 28px); }
.nav-links a {
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem; font-weight: 500;
    transition: color 0.25s;
}
.nav-links a::after {
    content: '';
    position: absolute; left: 0; right: 100%; bottom: -6px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-2), var(--blue-2));
    transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--txt); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--txt); }

.nav-burger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 36px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}
.nav-burger span {
    display: block; height: 2px; width: 100%;
    border-radius: 2px;
    background: var(--txt);
    transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 26px;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem; font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .i { transition: transform 0.25s; }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-gold {
    color: #150f04;
    background: linear-gradient(115deg, var(--gold-1), var(--gold-2));
    box-shadow: 0 8px 26px rgba(232, 171, 60, 0.28);
}
.btn-gold:hover { box-shadow: 0 12px 36px rgba(232, 171, 60, 0.42); }
.btn-ghost {
    color: var(--txt);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: rgba(143, 220, 255, 0.4); background: rgba(255, 255, 255, 0.08); }

/* ---------- Hero ---------- */
.hero {
    position: relative; z-index: 2;
    min-height: 100vh;
    max-width: 1180px;
    margin: 0 auto;
    padding: 118px clamp(18px, 4vw, 40px) 80px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(143, 220, 255, 0.28);
    font-size: 11px; font-weight: 700;
    letter-spacing: 2.6px; text-transform: uppercase;
    color: var(--blue-1);
    animation: fadeUp 0.9s 0.15s both;
}
.badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--blue-1);
    box-shadow: 0 0 10px var(--blue-1);
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -1px;
}
.title .line {
    display: block;
    font-size: clamp(2rem, 5.4vw, 3.8rem);
    animation: fadeUp 1s both;
}
.title .line:nth-child(1) { animation-delay: 0.25s; }
.title .line:nth-child(2) { animation-delay: 0.38s; }
.title .line.split { animation: none; opacity: 1; }
.title .ch {
    display: inline-block;
    white-space: pre;
    animation: chIn 0.7s var(--ease) both;
}
@keyframes chIn {
    from { opacity: 0; transform: translateY(0.55em) rotate(6deg); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
}

.title .grad, .grad-txt {
    background: linear-gradient(100deg,
        var(--gold-1) 0%, var(--gold-2) 30%,
        #dfe6ee 50%,
        var(--blue-1) 70%, var(--blue-2) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.title .grad { animation: fadeUp 1s 0.38s both, shine 7s linear 1.4s infinite; }
.grad-txt { animation: shine 7s linear infinite; }
@keyframes shine {
    0%   { background-position: 0% center; }
    100% { background-position: 220% center; }
}

.lead {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    color: var(--muted);
    max-width: 46ch;
    animation: fadeUp 1s 0.5s both;
}

.hero-cta {
    display: flex; flex-wrap: wrap; gap: 12px;
    animation: fadeUp 1s 0.62s both;
}

.chips {
    display: flex; flex-wrap: wrap; gap: 9px;
    animation: fadeUp 1s 0.74s both;
}
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 0.8rem; font-weight: 500;
    color: var(--muted);
    transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.chip:hover { border-color: rgba(232, 171, 60, 0.4); color: var(--txt); transform: translateY(-2px); }
.chip .i { font-size: 15px; color: var(--gold-1); }

.scroll-hint {
    position: absolute; bottom: 20px; left: 50%;
    transform: translateX(-50%);
    color: var(--faint);
    font-size: 20px;
    animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint {
    0%, 100% { transform: translate(-50%, 0);   opacity: 0.35; }
    50%      { transform: translate(-50%, 8px); opacity: 0.9; }
}

/* ---------------------------------------------------------------
   Le telephone : un live TikTok en cours
   --------------------------------------------------------------- */
.stage-live {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    animation: fadeUp 1.1s 0.5s both;
}
.phone {
    position: relative;
    width: min(310px, 82vw);
    aspect-ratio: 9 / 17;
    border-radius: 38px;
    padding: 9px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.1));
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    animation: floatPhone 7s ease-in-out infinite;
}
@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(-1.2deg); }
    50%      { transform: translateY(-12px) rotate(0.6deg); }
}
.phone-glow {
    position: absolute; inset: -14% -18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 171, 60, 0.2), rgba(27, 138, 224, 0.16) 45%, transparent 70%);
    filter: blur(46px);
    z-index: -1;
    animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50%      { opacity: 1;   transform: scale(1.06); }
}

.phone-screen {
    position: relative;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 12%, rgba(232, 171, 60, 0.16), transparent 55%),
        radial-gradient(circle at 75% 85%, rgba(27, 138, 224, 0.2), transparent 55%),
        linear-gradient(170deg, #10161f, #070a10);
    display: flex; flex-direction: column;
    padding: 14px 12px 12px;
    gap: 10px;
}

.live-top { display: flex; align-items: center; gap: 8px; }
.live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--live);
    color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: 1.4px;
}
.live-badge .live-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #fff;
    animation: pulse 1.2s ease-in-out infinite;
}
.live-count {
    display: inline-flex; align-items: center; gap: 6px;
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px; font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.live-count .i { font-size: 13px; color: var(--blue-1); }

.live-host {
    display: flex; align-items: center; gap: 9px;
    padding: 6px 8px 6px 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-self: flex-start;
    max-width: 100%;
}
.live-av {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(232, 171, 60, 0.45);
}
.live-host-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.live-host-txt b { font-size: 11.5px; font-weight: 700; }
.live-host-txt i { font-size: 10px; font-style: normal; color: var(--faint); }
.live-follow {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--live);
    color: #fff;
    font-size: 10.5px; font-weight: 700;
}

/* Alerte cadeau */
.live-gift {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 10px;
    border-radius: 999px 14px 14px 999px;
    background: linear-gradient(100deg, rgba(232, 171, 60, 0.9), rgba(232, 171, 60, 0.16) 70%);
    color: #16120a;
    opacity: 0;
    transform: translateX(-115%);
    transition: transform 0.5s var(--pop), opacity 0.3s;
}
.live-gift.on { opacity: 1; transform: translateX(0); }
.gift-ico {
    display: grid; place-items: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
    color: #fff2d4;
}
.gift-ico .i { font-size: 15px; }
.gift-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.gift-txt b { font-size: 11px; font-weight: 700; }
.gift-txt i { font-size: 10px; font-style: normal; opacity: 0.75; }
.gift-x {
    margin-left: auto;
    font-family: 'Unbounded', sans-serif;
    font-size: 13px; font-weight: 800;
    color: #16120a;
}

/* Fil de commentaires */
.live-chat {
    flex: 1;
    display: flex; flex-direction: column; justify-content: flex-end;
    gap: 7px;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent, #000 22%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%);
}
.chat-line {
    display: flex; align-items: flex-start; gap: 7px;
    animation: chatIn 0.45s var(--ease) both;
}
@keyframes chatIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
.chat-av {
    display: grid; place-items: center;
    width: 22px; height: 22px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(232, 171, 60, 0.35), rgba(27, 138, 224, 0.35));
    font-size: 10px; font-weight: 700;
    color: #fff;
}
.chat-txt {
    font-size: 11.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.chat-txt b { color: var(--gold-1); font-weight: 600; margin-right: 4px; }
.chat-line.join .chat-txt { color: var(--blue-1); }

.live-bar { display: flex; align-items: center; gap: 8px; }
.live-input {
    flex: 1;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: var(--faint);
}
.live-heart {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    flex: none;
    border: none;
    border-radius: 50%;
    background: rgba(255, 59, 92, 0.16);
    color: var(--live);
    font-size: 17px;
    cursor: pointer;
    transition: transform 0.25s var(--pop), background 0.25s;
}
.live-heart:hover { transform: scale(1.12); background: rgba(255, 59, 92, 0.28); }
.live-heart:active { transform: scale(0.92); }
.live-heart .i { fill: currentColor; stroke: none; }

/* Coeurs qui montent */
.hearts {
    position: absolute; right: 6px; bottom: 54px;
    width: 60px; height: 60%;
    pointer-events: none;
    overflow: hidden;
}
.heart {
    position: absolute; bottom: 0;
    font-size: 15px;
    color: var(--live);
    animation: heartUp 3.4s ease-in forwards;
}
.heart svg { width: 1em; height: 1em; fill: currentColor; }
@keyframes heartUp {
    0%   { opacity: 0; transform: translate(0, 0) scale(0.6); }
    12%  { opacity: 0.95; }
    100% { opacity: 0; transform: translate(var(--dx, 10px), -260px) scale(1.15); }
}

.phone-note {
    font-size: 0.78rem;
    color: var(--faint);
    text-align: center;
    max-width: 30ch;
}

/* ---------- Bandeau defilant ---------- */
.marquee {
    position: relative; z-index: 2;
    overflow: hidden;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex; align-items: center; gap: 32px;
    width: max-content;
    animation: marquee 26s linear infinite;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600; font-size: 0.74rem;
    letter-spacing: 2.5px;
    color: rgba(244, 246, 250, 0.4);
}
.marquee-track i { font-style: normal; font-size: 0.55rem; color: var(--gold-2); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section {
    position: relative; z-index: 2;
    max-width: 1060px;
    margin: 0 auto;
    padding: clamp(72px, 10vw, 120px) clamp(18px, 4vw, 24px) 20px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.section-narrow { max-width: 780px; }
.section-wide   { max-width: 1240px; }

.kicker {
    font-size: 11px; font-weight: 700;
    letter-spacing: 3.4px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 12px;
}
.h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 14px;
}
.section-sub {
    color: var(--muted);
    max-width: 52ch;
    margin-bottom: 10px;
}

/* Apparition au defilement (etat cache seulement si le JS tourne) */
body.js .reveal { opacity: 0; transform: translateY(26px); }
body.js .reveal.in {
    opacity: 1; transform: none;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* ---------- Cartes ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
    gap: 14px;
    margin-top: 28px;
    width: 100%;
    perspective: 900px;
}
.card {
    position: relative;
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 8px;
    padding: 24px 22px 22px;
    border-radius: var(--r-md);
    background: var(--card);
    border: 1px solid var(--line);
    text-align: left;
    transform-style: preserve-3d;
    transition: border-color 0.3s, background 0.3s;
}
.card:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.17);
}

/* Halo qui suit le curseur */
.card-glow {
    position: absolute; inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
        rgba(232, 171, 60, 0.16), rgba(27, 138, 224, 0.11) 45%, transparent 70%);
}
.card:hover .card-glow, .show:hover .card-glow,
.req:hover .card-glow, .cta-box:hover .card-glow { opacity: 1; }

.card-icon {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 14px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s var(--pop);
}
.card:hover .card-icon, .step:hover .card-icon, .req:hover .card-icon {
    transform: translateY(-3px) rotate(-4deg) scale(1.06);
}
.card-icon svg { width: 22px; height: 22px; }
.icon-gold { color: var(--gold-1); }
.icon-blue { color: var(--blue-1); }
.icon-mix  { color: #ecdcb4; }

/* Traits lucide qui se dessinent (pathLength pose par app.js) */
.draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.card-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
}
.card-text {
    font-size: 0.87rem;
    line-height: 1.55;
    color: var(--muted);
}

/* ---------- Formats : blocs vitrine ---------- */
.shows {
    width: 100%;
    margin-top: 30px;
    display: flex; flex-direction: column;
    gap: 18px;
}
.show {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(20px, 4vw, 46px);
    padding: clamp(20px, 3vw, 34px);
    border-radius: var(--r-lg);
    background: var(--card);
    border: 1px solid var(--line);
    text-align: left;
    transition: border-color 0.35s, background 0.35s;
}
.show:hover {
    border-color: rgba(232, 171, 60, 0.28);
    background: rgba(255, 255, 255, 0.05);
}
.show.reverse .show-media { order: 2; }

.show-media {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 25% 15%, rgba(232, 171, 60, 0.1), transparent 60%),
        radial-gradient(circle at 80% 90%, rgba(27, 138, 224, 0.13), transparent 60%),
        rgba(0, 0, 0, 0.25);
}
.show-body { display: flex; flex-direction: column; gap: 12px; }
.show-num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800; font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--gold-2);
}
.show-body h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}
.show-lead {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--muted);
}
.show-points {
    list-style: none;
    display: flex; flex-direction: column; gap: 9px;
    margin-top: 2px;
}
.show-points li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.87rem; font-weight: 500;
}
.show-points .i {
    font-size: 15px;
    color: var(--gold-1);
    padding: 4px;
    border-radius: 50%;
    background: rgba(232, 171, 60, 0.1);
    border: 1px solid rgba(232, 171, 60, 0.25);
    box-sizing: content-box;
}

/* ---------- Carrousel des createurs ---------- */
.creators {
    width: 100%;
    margin-top: 30px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.creators-track {
    display: flex;
    width: max-content;
    padding: 6px 0;
    /* PAS de "gap" ici : avec un espacement de flexbox, la moitie de la
       piste ne vaut pas exactement la largeur de la premiere serie
       (il reste un demi-espace), et le -50% provoquait un saut de 7 px
       a chaque bouclage. L espacement est donc porte par les cartes. */
    animation: creatorsRoll var(--roll, 46s) linear infinite;
    /* On garde la piste sur sa propre couche : le navigateur se contente
       de la deplacer au lieu de la redessiner a chaque image. */
    will-change: transform;
    backface-visibility: hidden;
}
.creators-track > * { margin-right: 14px; }

/* On ne met plus en pause au survol : la souris qui passe sur la bande
   arretait tout le defilement. Seul le focus clavier l arrete, pour
   laisser le temps de lire la carte selectionnee. */
:where(.creators-track):has(a:focus-visible) { animation-play-state: paused; }
.creators-track.off { animation-play-state: paused; }

@keyframes creatorsRoll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.creator {
    flex: 0 0 auto;
    width: 152px;
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    padding: 18px 12px 16px;
    border-radius: var(--r-md);
    background: var(--card);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--txt);
    transition: transform 0.28s var(--ease), border-color 0.28s, background 0.28s;
}
a.creator:hover {
    transform: translate3d(0, -6px, 0);
    border-color: rgba(232, 171, 60, 0.35);
    background: rgba(255, 255, 255, 0.055);
}

/* Anneau degrade facon "en live" autour de la photo */
.creator-ring {
    display: grid; place-items: center;
    width: 72px; height: 72px;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(from 140deg, var(--gold-2), var(--blue-2), var(--live), var(--gold-2));
    transition: transform 0.3s var(--pop);
}
a.creator:hover .creator-ring { transform: scale(1.06) rotate(4deg); }
.creator-av {
    display: grid; place-items: center;
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #0a0e16;
    border: 2px solid #05070c;
}
.creator-av img {
    width: 100%; height: 100%;
    object-fit: cover;
    /* La taille est aussi posee en attributs dans le HTML : l espace est
       reserve avant meme le chargement, donc rien ne bouge en cours de route. */
}
.creator-ini {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.4rem; font-weight: 800;
    color: var(--gold-1);
}
.creator-name {
    font-size: 0.85rem; font-weight: 600;
    text-align: center;
    max-width: 100%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.creator-handle {
    font-size: 0.72rem;
    color: var(--faint);
    max-width: 100%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Conditions ---------- */
.reqs {
    width: 100%;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
    gap: 14px;
}
.req {
    position: relative;
    display: flex; flex-direction: column; gap: 10px;
    padding: 26px 24px;
    border-radius: var(--r-md);
    background: var(--card);
    border: 1px solid var(--line);
    text-align: left;
    transition: border-color 0.3s, background 0.3s;
}
.req:hover {
    border-color: rgba(232, 171, 60, 0.3);
    background: rgba(255, 255, 255, 0.05);
}
.req-tag {
    position: absolute; top: 18px; right: 20px;
    font-size: 0.6rem; font-weight: 800;
    letter-spacing: 1.8px; text-transform: uppercase;
    color: var(--gold-2);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(232, 171, 60, 0.3);
    background: rgba(232, 171, 60, 0.07);
}
.req h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.05rem; font-weight: 700;
    letter-spacing: -0.3px;
}
.req p { font-size: 0.88rem; line-height: 1.6; color: var(--muted); }

/* ---------- Programme ---------- */
.steps {
    display: flex; align-items: stretch; justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
}
.step {
    position: relative;
    flex: 1 1 220px;
    max-width: 300px;
    padding: 28px 22px 22px;
    border-radius: var(--r-md);
    background: var(--card);
    border: 1px solid var(--line);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    transition: border-color 0.3s, transform 0.3s;
}
.step:hover { border-color: rgba(232, 171, 60, 0.3); transform: translateY(-4px); }
.step-num {
    position: absolute; top: 14px; right: 18px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800; font-size: 1.5rem;
    background: linear-gradient(120deg, rgba(255, 223, 158, 0.32), rgba(27, 138, 224, 0.32));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.step h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.98rem; font-weight: 700;
    letter-spacing: -0.3px;
}
.step p { font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.step-link {
    align-self: center;
    width: 34px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-2), var(--blue-2));
    opacity: 0.5;
}

/* ---------- CTA final ---------- */
.cta-final { padding-bottom: clamp(60px, 8vw, 100px); }
.cta-box {
    position: relative;
    width: 100%;
    padding: clamp(40px, 6vw, 64px) 28px;
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at 20% 20%, rgba(232, 171, 60, 0.1), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(27, 138, 224, 0.12), transparent 55%),
        var(--card);
    border: 1px solid var(--line);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cta-live {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 59, 92, 0.12);
    border: 1px solid rgba(255, 59, 92, 0.35);
    color: #ff8098;
    font-size: 10.5px; font-weight: 800; letter-spacing: 2px;
    margin-bottom: 6px;
}
.cta-live .live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 8px var(--live);
    animation: pulse 1.2s ease-in-out infinite;
}
.cta-box .hero-cta { animation: none; margin-top: 14px; justify-content: center; }

/* ---------- Barre d actions flottante ---------- */
.rail {
    position: fixed; right: 16px; bottom: 18px; z-index: 40;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s var(--ease);
}
.rail.on { opacity: 1; transform: none; pointer-events: auto; }
.rail-btn {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    width: 58px; padding: 9px 4px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10, 14, 22, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--txt);
    font-family: inherit;
    font-size: 9.5px; font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--pop), border-color 0.25s, background 0.25s;
}
.rail-btn .i { font-size: 19px; color: var(--gold-1); }
.rail-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 171, 60, 0.4);
    background: rgba(18, 24, 34, 0.9);
}

.toast {
    position: fixed; left: 50%; bottom: 26px; z-index: 70;
    transform: translate(-50%, 140%);
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(10, 14, 22, 0.94);
    border: 1px solid rgba(232, 171, 60, 0.35);
    color: var(--txt);
    font-size: 0.87rem; font-weight: 600;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
    transition: transform 0.45s var(--pop);
}
.toast.on { transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.foot {
    position: relative; z-index: 2;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.3);
}
.foot-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 36px 24px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    text-align: center;
}
.foot-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800; font-size: 0.8rem;
}
.foot-brand b { color: var(--gold-2); margin-left: 5px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.foot-links a {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.25s;
}
.foot-links a:hover { color: var(--gold-1); }
.foot-copy { font-size: 11.5px; letter-spacing: 1.4px; color: var(--faint); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding-top: 104px;
    }
    .hero-copy { align-items: center; }
    .lead { max-width: 54ch; }
    .hero-cta, .chips { justify-content: center; }
}

@media (max-width: 860px) {
    .show { grid-template-columns: 1fr; }
    .show.reverse .show-media { order: 0; }
}

@media (max-width: 700px) {
    .nav { flex-wrap: wrap; }
    .nav-burger { display: flex; order: 3; }
    .nav-cta { order: 2; margin-left: auto; margin-right: 10px; }

    /* Le menu se deplie sous la barre */
    .nav-links {
        display: flex;
        order: 4;
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        /* visibility : evite que les liens replies restent atteignables au clavier */
        visibility: hidden;
        transition: max-height 0.35s var(--ease), opacity 0.25s,
                    margin 0.35s, visibility 0s linear 0.35s;
    }
    .nav-links.open {
        max-height: 340px;
        opacity: 1;
        margin-top: 12px;
        visibility: visible;
        transition-delay: 0s;
    }
    .nav-links a { padding: 13px 4px; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
    .nav-links a::after { display: none; }
    .nav-links a:last-child { border-bottom: none; }

    .step-link { display: none; }
    .rail { right: 10px; bottom: 12px; flex-direction: row; }
    .rail-btn { width: 54px; }
    .creator { width: 132px; }
    .creator-ring { width: 62px; height: 62px; }
}


/* =====================================================================
   Composants "maquette" — meme langage visuel que le telephone du heros.
   Chaque section montre une vraie interface plutot qu un pictogramme.
   ===================================================================== */

/* ---------- Bandeau : deux rangees en sens inverse ---------- */
.marquee { padding: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.marquee-track.back {
    animation-direction: reverse;
    animation-duration: 34s;
    color: rgba(232, 171, 60, 0.45);
    font-size: 0.66rem;
}
.marquee-track.back i { color: rgba(143, 220, 255, 0.5); }

/* ---------- Cartes : en-tete + widget ---------- */
.card-head { display: flex; align-items: center; gap: 12px; }
.card-head .card-icon { margin-bottom: 0; }
.card { gap: 10px; }

.widget {
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

/* Echange avec le manager */
.dm { display: flex; flex-direction: column; gap: 6px; }
.dm-line {
    max-width: 92%;
    padding: 7px 11px;
    border-radius: 14px;
    font-size: 0.76rem;
    line-height: 1.35;
    animation: dmIn 7s ease-in-out infinite;
}
.dm-line b {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 2px;
}
.dm-line.them {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-bottom-left-radius: 5px;
}
.dm-line.me {
    align-self: flex-end;
    background: linear-gradient(120deg, rgba(232, 171, 60, 0.22), rgba(232, 171, 60, 0.1));
    border: 1px solid rgba(232, 171, 60, 0.28);
    border-bottom-right-radius: 5px;
}
.dm-line:nth-child(2) { animation-delay: 0.6s; }
.dm-line:nth-child(3) { animation-delay: 1.2s; }
@keyframes dmIn {
    0%, 4%    { opacity: 0; transform: translateY(8px); }
    12%, 88%  { opacity: 1; transform: none; }
    97%, 100% { opacity: 0.25; transform: none; }
}
.dm-typing {
    display: inline-flex; align-items: center; gap: 4px;
    align-self: flex-start;
    padding: 8px 11px;
    border-radius: 14px 14px 14px 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
}
.dm-typing i {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--faint);
    animation: typing 1.4s ease-in-out infinite;
}
.dm-typing i:nth-child(2) { animation-delay: 0.18s; }
.dm-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%           { opacity: 1;   transform: translateY(-3px); }
}

/* Liste de controles qui se cochent */
.checks { display: flex; flex-direction: column; gap: 9px; }
.ck {
    display: flex; align-items: center; gap: 9px;
    font-size: 0.78rem;
    color: var(--muted);
}
.ck i {
    position: relative;
    width: 17px; height: 17px;
    flex: none;
    border-radius: 50%;
    border: 1.5px solid rgba(143, 220, 255, 0.4);
    background: rgba(27, 138, 224, 0.1);
}
.ck i::after {
    content: '';
    position: absolute; left: 5px; top: 2px;
    width: 4px; height: 8px;
    border: solid var(--blue-1);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    animation: tick 6s ease-in-out infinite;
}
.ck-2 i::after { animation-delay: 0.7s; }
.ck-3 i::after { animation-delay: 1.4s; }
@keyframes tick {
    0%, 8%    { transform: rotate(45deg) scale(0); }
    16%, 88%  { transform: rotate(45deg) scale(1); }
    100%      { transform: rotate(45deg) scale(0); }
}

/* Pile d avatars */
.stack { display: flex; align-items: center; }
.stack-av {
    width: 34px; height: 34px;
    margin-right: -10px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #0a0e16;
    background: #0a0e16;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s var(--pop);
}
.stack-av img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .stack-av, .cta-box:hover .stack-av { transform: translateY(-3px); }
.stack-av:nth-child(2) { transition-delay: 0.04s; }
.stack-av:nth-child(3) { transition-delay: 0.08s; }
.stack-av:nth-child(4) { transition-delay: 0.12s; }
.stack-av:nth-child(5) { transition-delay: 0.16s; }
.stack-more {
    margin-left: 20px;
    font-size: 0.75rem;
    color: var(--faint);
}

/* Barres de croissance */
.bars {
    display: flex; align-items: flex-end; gap: 7px;
    height: 66px;
}
.bars span {
    flex: 1;
    height: var(--h, 40%);
    border-radius: 5px 5px 3px 3px;
    background: linear-gradient(180deg, rgba(232, 171, 60, 0.75), rgba(232, 171, 60, 0.14));
    transform-origin: bottom;
    animation: barGrow 4s var(--ease) infinite;
}
.bars span:nth-child(1) { animation-delay: 0s; }
.bars span:nth-child(2) { animation-delay: 0.1s; }
.bars span:nth-child(3) { animation-delay: 0.2s; }
.bars span:nth-child(4) { animation-delay: 0.3s; }
.bars span:nth-child(5) { animation-delay: 0.4s; }
.bars span:nth-child(6) {
    animation-delay: 0.5s;
    background: linear-gradient(180deg, var(--gold-1), rgba(143, 220, 255, 0.35));
    box-shadow: 0 0 18px rgba(232, 171, 60, 0.35);
}
@keyframes barGrow {
    0%, 6%    { transform: scaleY(0.15); opacity: 0.4; }
    24%, 82%  { transform: scaleY(1);    opacity: 1; }
    100%      { transform: scaleY(0.15); opacity: 0.4; }
}

/* ---------- Maquettes des formats ---------- */
.mock {
    display: flex; flex-direction: column;
    gap: 12px;
    padding: 16px;
    min-height: 236px;
    border-radius: var(--r-md);
    background: linear-gradient(170deg, rgba(16, 22, 31, 0.9), rgba(7, 10, 16, 0.9));
}
.mock-top { display: flex; align-items: center; gap: 8px; }
.pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
}
.pill-live { background: var(--live); color: #fff; border-radius: 6px; }
.pill-live .live-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #fff;
    animation: pulse 1.2s ease-in-out infinite;
}
.pill-gold {
    background: linear-gradient(115deg, var(--gold-1), var(--gold-2));
    color: #150f04;
    border-radius: 6px;
}
.pill-ghost {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.3px;
    font-variant-numeric: tabular-nums;
}
.pill-ghost .i { font-size: 12px; color: var(--blue-1); }

.mock-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.mock-bar { display: flex; }
.mock-input {
    flex: 1;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 11px;
    color: var(--faint);
}

/* Format 1 : commentaires en boucle */
.chatloop { position: relative; }
.cl {
    display: flex; align-items: center; gap: 8px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.88);
    animation: clLoop 6s ease-in-out infinite;
}
.cl i {
    display: grid; place-items: center;
    width: 21px; height: 21px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(232, 171, 60, 0.4), rgba(27, 138, 224, 0.4));
    font-style: normal; font-size: 10px; font-weight: 700;
}
.cl-2 { animation-delay: 0.8s; }
.cl-3 { animation-delay: 1.6s; }
@keyframes clLoop {
    0%, 5%    { opacity: 0; transform: translateY(10px); }
    14%, 80%  { opacity: 1; transform: none; }
    95%, 100% { opacity: 0; transform: translateY(-6px); }
}
.mock-hearts { position: relative; height: 0; }
.mock-hearts span {
    position: absolute; right: 6px; bottom: 0;
    width: 9px; height: 9px;
    border-radius: 50% 50% 50% 0;
    background: var(--live);
    transform: rotate(-45deg);
    animation: mockHeart 3.2s ease-in infinite;
}
.mock-hearts span:nth-child(2) { right: 22px; background: #ff7aa0; animation-delay: 1s; }
.mock-hearts span:nth-child(3) { right: 14px; background: var(--gold-1); animation-delay: 2s; }
@keyframes mockHeart {
    0%   { opacity: 0; transform: rotate(-45deg) translate(0, 0) scale(0.5); }
    15%  { opacity: 1; }
    100% { opacity: 0; transform: rotate(-45deg) translate(-18px, -18px) scale(1.1); }
}

/* Format 2 : le match */
.versus {
    flex: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
}
.vs-side { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; }
.vs-side b { font-size: 11px; font-weight: 600; color: var(--muted); }
.vs-av {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #0a0e16;
    border: 2px solid var(--gold-2);
    box-shadow: 0 0 20px rgba(232, 171, 60, 0.28);
}
.vs-av.b { border-color: var(--blue-2); box-shadow: 0 0 20px rgba(27, 138, 224, 0.3); }
.vs-av img { width: 100%; height: 100%; object-fit: cover; }
.vs-mid {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px; font-weight: 800;
    color: var(--txt);
    padding: 5px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    animation: breathe 2.4s ease-in-out infinite;
}
.battle {
    display: flex;
    height: 9px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
}
.battle-a {
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    animation: battleA 5s ease-in-out infinite;
}
.battle-b {
    flex: 1;
    background: linear-gradient(90deg, var(--blue-2), var(--blue-1));
}
@keyframes battleA {
    0%, 100% { width: 46%; }
    35%      { width: 68%; }
    70%      { width: 55%; }
}
.battle-score {
    display: flex; justify-content: space-between;
    font-size: 10.5px; font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.battle-score b:first-child { color: var(--gold-1); }
.battle-score b:last-child  { color: var(--blue-1); }

/* Format 3 : cadeau vers action */
.mapping { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.map {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    font-size: 11.5px;
    animation: mapHit 5.4s ease-in-out infinite;
}
.map-2 { animation-delay: 1.8s; }
.map-3 { animation-delay: 3.6s; }
@keyframes mapHit {
    0%, 8%   { border-color: var(--line); background: rgba(255, 255, 255, 0.035); transform: none; }
    14%      { border-color: rgba(232, 171, 60, 0.55); background: rgba(232, 171, 60, 0.12); transform: translateX(4px); }
    30%,100% { border-color: var(--line); background: rgba(255, 255, 255, 0.035); transform: none; }
}
.map-gift {
    display: grid; place-items: center;
    width: 26px; height: 26px;
    flex: none;
    border-radius: 8px;
    background: rgba(232, 171, 60, 0.14);
    color: var(--gold-1);
}
.map-gift .i { font-size: 14px; }
.map b { font-weight: 700; }
.map .arrow { font-size: 13px; color: var(--faint); }
.map em {
    font-style: normal;
    margin-left: auto;
    color: var(--blue-1);
    font-weight: 600;
    text-align: right;
}

/* ---------- Createurs : deux rangees + appel a l action ---------- */
.creators { display: flex; flex-direction: column; gap: 14px; }
.creators-track.back { animation-direction: reverse; }
.creator { position: relative; overflow: hidden; }
.creator-go {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 2px;
    font-size: 0.68rem; font-weight: 700;
    color: var(--gold-1);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s var(--ease);
}
a.creator:hover .creator-go { opacity: 1; transform: none; }
.creator-go .i { font-size: 12px; }

/* ---------- Conditions ---------- */
.req { padding-top: 30px; }
.req-mark {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
    padding: 9px 16px 9px 12px;
    border-radius: 999px;
    background: linear-gradient(115deg, rgba(232, 171, 60, 0.2), rgba(232, 171, 60, 0.06));
    border: 1px solid rgba(232, 171, 60, 0.35);
    color: var(--gold-1);
}
.req-mark.blue {
    background: linear-gradient(115deg, rgba(27, 138, 224, 0.22), rgba(27, 138, 224, 0.06));
    border-color: rgba(143, 220, 255, 0.35);
    color: var(--blue-1);
}
.req-mark .i { font-size: 20px; }
.req-mark b {
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem; font-weight: 800;
}
.reqs-note {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 0.83rem;
    color: var(--muted);
}
.reqs-note .i { font-size: 15px; color: var(--blue-1); }

/* ---------- Programme : une ligne de temps ---------- */
.timeline {
    position: relative;
    display: flex; align-items: stretch; justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    width: 100%;
}
.timeline-rail {
    position: absolute; top: 0; left: 8%; right: 8%;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
}
.timeline-rail i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-2), var(--blue-1));
    box-shadow: 0 0 12px rgba(143, 220, 255, 0.5);
    transition: width 0.25s linear;
}
.timeline .step { margin-top: 18px; }
.step-dot {
    position: absolute; top: -27px; left: 50%;
    transform: translateX(-50%);
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #0a0e16;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--pop);
}
.step.lit .step-dot {
    border-color: var(--gold-2);
    box-shadow: 0 0 14px rgba(232, 171, 60, 0.6);
    transform: translateX(-50%) scale(1.15);
}

/* ---------- CTA : pile d avatars ---------- */
.cta-stack {
    display: flex; align-items: center;
    margin: 6px 0 2px;
}
.cta-stack .stack-av { width: 38px; height: 38px; }

/* ---------- Footer en trois colonnes ---------- */
.foot-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 30px;
    align-items: start;
    text-align: left;
    padding: 44px 24px 26px;
}
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 2px;
}
.foot-col a {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.25s, transform 0.25s;
}
.foot-col a:hover { color: var(--gold-1); transform: translateX(3px); }
.foot-about p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 42ch;
}
.foot-copy {
    padding: 0 24px 30px;
    text-align: center;
}

@media (max-width: 760px) {
    .foot-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .foot-col { align-items: center; }
    .foot-about p { max-width: none; }
    .foot-brand { justify-content: center; }
    .timeline-rail { display: none; }
    .step-dot { display: none; }
    .timeline .step { margin-top: 0; }
}

/* En animations reduites, les boucles decoratives des maquettes s arretent
   sur leur etat lisible plutot que de clignoter. */
@media (prefers-reduced-motion: reduce) {
    .dm-line, .ck i::after, .bars span, .cl, .map, .battle-a,
    .mock-hearts span, .dm-typing i {
        animation: none !important;
    }
    .ck i::after { transform: rotate(45deg) scale(1); }
    .cl, .dm-line { opacity: 1; }
    .battle-a { width: 62%; }
}

/* ---------------------------------------------------------------
   Respect des preferences d accessibilite.
   Sur Windows, desactiver les "effets d animation" met tout le systeme
   en animations reduites. On ne gele donc PAS la vitrine : on retire
   seulement le scintillement rapide du grain.
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .grain { animation: none !important; }
    body.js .reveal { transform: none; }
    body.js .reveal.in { transform: none; transition: opacity 0.45s ease; }
    .title .ch { animation-duration: 0.35s; filter: none !important; }
    html { scroll-behavior: auto; }
}

/* Titre long dans une carte etroite — « Accompagnement » debordait du cadre.
   `.card` est un flex en colonne avec `align-items: flex-start` : ses enfants
   prennent leur largeur de contenu, pas celle de la carte. Un mot seul ne
   pouvant pas se couper a un espace, la ligne sortait du cadre. */
.card-head {
    align-self: stretch;
    min-width: 0;
}

.card-title {
    min-width: 0;
    hyphens: auto;
    overflow-wrap: break-word;
}
