/* Page d'accueil Limitless Suite — refonte animée (bleu nuit + or) */
:root {
    --navy: #080E24; --navy-2: #0D1635; --navy-3: #111D45; --navy-4: #162050;
    --gold: #C9A84C; --gold-light: #E8C97A; --gold-dim: rgba(201,168,76,.15);
    --cream: #F5F0E8; --white: #FFFFFF;
    --text-muted: rgba(245,240,232,.55); --text-body: rgba(245,240,232,.75);
    --on-light: #0D1635; --on-light-muted: #4B5575;
    --border-dark: rgba(201,168,76,.14);
    --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--cream); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; line-height: 1.6; overflow-x: hidden; }
.lp { overflow-x: hidden; overflow-x: clip; }
.lp a { text-decoration: none; }
.lp :is(a, button):focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.lp img { max-width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sec-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; font-weight: 700; color: inherit; }
.sec-lead { font-size: 18px; color: var(--text-body); max-width: 620px; line-height: 1.6; }
.sec-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }

/* Boutons */
.lbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 50px; font-weight: 800; font-size: 16px; padding: 16px 28px; cursor: pointer; border: 1.5px solid transparent; font-family: inherit; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; }
.lbtn-gold { color: var(--navy); background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.lbtn-gold:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201,168,76,.35); }
.lbtn-line { color: var(--cream); border-color: rgba(245,240,232,.2); background: transparent; }
.lbtn-line:hover { color: var(--cream); border-color: var(--gold); background: rgba(201,168,76,.08); }
.lbtn-sm { padding: 11px 18px; font-size: 15px; }

/* En-tête */
.lp-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.lp-header.scrolled { background: rgba(8,14,36,.94); backdrop-filter: blur(18px); border-bottom-color: var(--border-dark); box-shadow: 0 4px 30px rgba(0,0,0,.3); }
.lp-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.lp-logo { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.lp-logo img { height: 40px; width: auto; }
.lp-logo span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: var(--cream); }
.lp-logo span b { color: var(--gold); font-weight: 700; }
.lp-links { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 600; }
.lp-links a { color: rgba(245,240,232,.8); transition: color .2s; }
.lp-links a:hover { color: var(--gold-light); }
.lp-actions { display: flex; gap: 10px; align-items: center; }
.lp-burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border-dark); background: rgba(245,240,232,.05); color: var(--cream); font-size: 18px; cursor: pointer; }
.lp-mobile { display: none; }

/* Héro */
.hero { position: relative; padding: 150px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hbadge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 40px; border: 1px solid rgba(201,168,76,.35); background: rgba(201,168,76,.1); color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hbadge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); display: block; }
.hero h1 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(42px, 5.4vw, 66px); line-height: 1.08; letter-spacing: -.5px; color: var(--cream); }
.rot { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
.rot > span { display: inline-block; }
.rot > span > span { display: block; height: 1.15em; }
.hero p.lead { font-size: 19px; line-height: 1.65; color: var(--text-body); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lbtn-play { color: var(--cream); font-weight: 700; padding: 10px 22px 10px 10px; border: 1.5px solid rgba(245,240,232,.18); }
.lbtn-play:hover { color: var(--cream); border-color: var(--gold); }
.lbtn-play .ico { width: 36px; height: 36px; border-radius: 50%; background: rgba(201,168,76,.18); display: flex; align-items: center; justify-content: center; }

.visual { position: relative; height: 520px; }
.dash { position: absolute; inset: 20px 30px 60px 0; border-radius: 22px; background: linear-gradient(160deg, var(--navy-3), var(--navy-2)); border: 1px solid rgba(201,168,76,.22); box-shadow: 0 30px 80px rgba(0,0,0,.5); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.dash-val { font-size: 30px; font-weight: 800; }
.dash-val small { font-size: 16px; color: var(--gold); }
.chip-up { padding: 6px 10px; border-radius: 20px; background: rgba(16,185,129,.15); color: #34d399; font-weight: 800; font-size: 13px; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid rgba(245,240,232,.1); }
.bars span { flex: 1; border-radius: 6px 6px 0 0; }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.mini div { padding: 12px; border-radius: 12px; background: rgba(245,240,232,.05); }
.mini small { display: block; font-size: 11px; color: var(--text-muted); }
.mini strong { font-size: 18px; }
.toast-card { position: absolute; right: 0; top: 0; width: 280px; padding: 14px 16px; border-radius: 16px; background: var(--cream); color: var(--on-light); box-shadow: 0 20px 50px rgba(0,0,0,.45); display: flex; gap: 12px; align-items: center; }
.toast-card .ok { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: var(--navy-2); display: flex; align-items: center; justify-content: center; }
.toast-card strong { display: block; font-size: 14px; }
.toast-card span { font-size: 13px; color: #5A6480; }
.resa-card { position: absolute; left: -24px; bottom: 0; width: 300px; padding: 16px; border-radius: 18px; background: #0F1B40; border: 1px solid rgba(20,184,166,.4); box-shadow: 0 20px 50px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 12px; }
.resa-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #5eead4; }
.resa-head i { width: 8px; height: 8px; border-radius: 50%; background: #14b8a6; display: block; }
.resa-body { display: flex; gap: 12px; align-items: center; }
.resa-date { width: 46px; flex: 0 0 46px; border-radius: 10px; background: rgba(245,240,232,.08); display: flex; flex-direction: column; align-items: center; padding: 6px 0; }
.resa-date small { font-size: 10px; font-weight: 800; color: #5eead4; text-transform: uppercase; }
.resa-date b { font-size: 20px; line-height: 1.1; }
.resa-body strong { display: block; font-size: 14px; }
.resa-body span { font-size: 13px; color: var(--text-muted); }

.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }

/* Bandeau */
.band { border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); background: #0B1330; overflow: hidden; padding: 20px 0; }
.band-track { display: flex; gap: 56px; width: max-content; font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: rgba(245,240,232,.4); white-space: nowrap; }
.band-track .star { color: var(--gold); }

/* Flux */
.sec { padding: 110px 0; position: relative; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); position: relative; margin-top: 56px; }
.flow-line { position: absolute; left: 12.5%; right: 12.5%; top: 44px; height: 2px; background: linear-gradient(90deg, rgba(201,168,76,.15), rgba(201,168,76,.5), rgba(201,168,76,.15)); }
.particle { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 14px 3px rgba(232,201,122,.7); }
.step { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 0 14px; position: relative; }
.node { width: 88px; height: 88px; border-radius: 24px; border: 1.5px solid rgba(201,168,76,.18); background: rgba(17,29,69,.6); display: flex; align-items: center; justify-content: center; }
.step h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--cream); }
.step p { font-size: 15px; color: var(--text-body); line-height: 1.55; }

/* Modules */
.modules { padding: 100px 0; background: var(--cream); color: var(--on-light); }
.mod-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 48px; }
.mod-head .eyebrow { color: #8a6c1f; }
.mod-head p { font-size: 17px; color: var(--on-light-muted); max-width: 380px; line-height: 1.6; }
.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.mod { color: var(--on-light); padding: 26px; border-radius: 20px; background: #FFFFFF; border: 1.5px solid rgba(13,22,53,.08); display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.mod:hover { color: var(--on-light); transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(13,22,53,.12); }
.mod .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--navy-2); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease); }
.mod:hover .ic { transform: rotate(-6deg) scale(1.06); }
.mod h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 700; }
.mod p { font-size: 15px; line-height: 1.55; color: var(--on-light-muted); }

/* Guide vidéo */
.g-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 56px; align-items: center; }
.video { border-radius: 24px; overflow: hidden; border: 1px solid rgba(201,168,76,.3); background: var(--navy-2); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(8,14,36,.15), rgba(8,14,36,.55)); border: 0; cursor: pointer; width: 100%; }
.video-play .pbtn { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.video-play:hover .pbtn { transform: scale(1.08); }
.video-time { position: absolute; right: 16px; bottom: 14px; padding: 4px 10px; border-radius: 6px; background: rgba(8,14,36,.85); font-size: 13px; font-weight: 700; color: var(--cream); }
.video-cap { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.video-cap strong { font-size: 19px; }
.video-cap a { color: var(--text-muted); font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.video-cap a:hover { color: var(--cream); }

/* App PC */
.desktop { padding: 100px 0; background: linear-gradient(180deg, var(--navy-2), var(--navy-3)); border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.desktop .copy { display: flex; flex-direction: column; gap: 20px; }
.desktop p { font-size: 18px; line-height: 1.65; color: var(--text-body); }
.desktop small { font-size: 13px; color: var(--text-muted); }
.sync { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 40px; border-radius: 24px; background: rgba(8,14,36,.55); border: 1px solid rgba(201,168,76,.2); }
.sync-end { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sync-end strong { font-size: 15px; }
.sync-end small { font-size: 12px; }
.pc { width: 110px; height: 80px; border-radius: 12px; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; background: rgba(201,168,76,.08); }
.cloud { position: relative; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.cloud .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(96,165,250,.55); }
.sync-line { flex: 1; position: relative; height: 2px; background: rgba(201,168,76,.3); }
.particle.blue { background: #60a5fa; box-shadow: 0 0 14px 3px rgba(96,165,250,.7); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 48px; }
.stepcard { padding: 30px; border-radius: 20px; border: 1px solid rgba(201,168,76,.18); display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .3s var(--ease); }
.stepcard:hover { border-color: var(--gold); transform: translateY(-4px); }
.stepcard .num { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 800; line-height: 1; }
.stepcard h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 21px; font-weight: 700; color: var(--cream); }
.stepcard p { font-size: 15px; line-height: 1.6; color: var(--text-body); }

/* Appel final */
.final { position: relative; overflow: hidden; border-radius: 28px; padding: 80px 40px; text-align: center; background: linear-gradient(135deg, var(--navy-3), var(--navy-2)); border: 1px solid rgba(201,168,76,.3); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final > *:not(.orb) { position: relative; }
.final p { font-size: 18px; color: var(--text-body); }
.lbtn-wa { color: var(--cream); border-color: rgba(37,211,102,.5); font-weight: 700; }
.lbtn-wa:hover { color: var(--cream); background: rgba(37,211,102,.1); border-color: #25D366; }
.lbtn-wa i { color: #25D366; font-size: 18px; }

/* Pied de page */
.lp-footer { border-top: 1px solid var(--border-dark); padding: 60px 0 30px; color: var(--text-muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 40px; }
.foot-grid h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: rgba(245,240,232,.7); }
.foot-grid a:hover { color: var(--gold-light); }
.foot-grid p { margin-top: 14px; line-height: 1.6; max-width: 320px; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot-legal a { color: rgba(245,240,232,.7); }
.foot-legal a:hover { color: var(--gold-light); }

/* ═══ Motion design ═══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes words { 0%,18% { transform: translateY(0); } 25%,43% { transform: translateY(-1.15em); } 50%,68% { transform: translateY(-2.3em); } 75%,93% { transform: translateY(-3.45em); } 100% { transform: translateY(-4.6em); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes grow { 0% { transform: scaleY(.18); } 100% { transform: scaleY(1); } }
@keyframes toast { 0%,8% { opacity: 0; transform: translateY(18px) scale(.96); } 16%,78% { opacity: 1; transform: none; } 88%,100% { opacity: 0; transform: translateY(-8px); } }
@keyframes blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes travel { 0% { left: 0; opacity: 0; } 8%,92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes travelBack { 0% { left: 100%; opacity: 0; } 8%,92% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,168,76,.55); } 70% { box-shadow: 0 0 0 18px rgba(201,168,76,0); } 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); } }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
@keyframes shine { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes lightUp { 0%,100% { border-color: rgba(201,168,76,.18); background: rgba(17,29,69,.6); } 12%,30% { border-color: #C9A84C; background: rgba(201,168,76,.14); } }
@keyframes spin { to { transform: rotate(360deg); } }

.a-up { animation: fadeUp .9s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; }
.rot > span { animation: words 10s cubic-bezier(.7,0,.3,1) infinite; }
.float { animation: floatY 6s ease-in-out infinite; }
.float2 { animation: floatY 7s ease-in-out infinite; animation-delay: -3s; }
.bars span { transform-origin: bottom; animation: grow 2.4s cubic-bezier(.3,.7,.3,1) infinite alternate; }
.toast-card { animation: toast 6s ease-in-out infinite; }
.resa-head i { animation: blink 1.6s ease-in-out infinite; }
.band-track { animation: marquee 34s linear infinite; }
.particle { animation: travel 4s linear infinite; }
.particle.back { animation-name: travelBack; }
.pulse { animation: pulse 2.2s ease-out infinite; }
.orb { animation: drift 16s ease-in-out infinite; }
.shine { background: linear-gradient(90deg, #C9A84C 0%, #F3DFA2 25%, #C9A84C 50%, #F3DFA2 75%, #C9A84C 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
.node { animation: lightUp 4s ease-in-out infinite; }
.cloud .ring { animation: spin 18s linear infinite; }

/* Apparition au défilement (activée par le script ; sans script tout reste visible) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .rot > span > span:not(:first-child) { display: none; }
}

/* ═══ Responsive ═══ */
@media (max-width: 1000px) {
    .hero { padding-top: 120px; }
    .hero-grid, .g-2 { grid-template-columns: 1fr; gap: 44px; }
    .visual { height: 460px; max-width: 560px; width: 100%; margin: 0 auto; }
    .resa-card { left: 0; }
    .flow { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 44px; }
    .flow-line { display: none; }
    .mod-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .steps { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .lp-links, .lp-actions .hide-m { display: none; }
    .lp-burger { display: inline-flex; align-items: center; justify-content: center; }
    .lp-mobile.open { display: flex; flex-direction: column; gap: 4px; padding: 10px 24px 20px; background: rgba(8,14,36,.98); border-bottom: 1px solid var(--border-dark); }
    .lp-mobile a { color: var(--cream); font-weight: 700; padding: 12px 0; border-bottom: 1px solid rgba(245,240,232,.06); }
    .lp-mobile a.gold { color: var(--gold-light); }
}
@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .sec, .modules, .desktop { padding: 80px 0; }
    .mod-grid, .flow, .foot-grid { grid-template-columns: 1fr; }
    .visual { height: 430px; }
    .dash { inset: 30px 0 70px 0; padding: 18px; }
    .toast-card { width: 250px; }
    .resa-card { width: 260px; }
    .sync { padding: 24px 16px; gap: 10px; }
    .pc { width: 80px; height: 62px; }
    .final { padding: 56px 20px; }
    .hero-ctas .lbtn { width: 100%; }
    .lp-actions .lbtn-gold { padding: 10px 16px; font-size: 14px; }
}
