* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1e293b; background: #fff; line-height: 1.6; }
a { text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

.site-top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(15,23,42,.92); backdrop-filter: blur(8px);
}
.site-top .wrap { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; }
.brand-logo {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 14px;
}
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: #cbd5e1; font-size: 14px; font-weight: 500; transition: color .15s; }
.site-nav a:hover { color: #fff; }
.btn-connexion {
    background: linear-gradient(120deg, #7c3aed, #6d28d9);
    color: #fff; font-weight: 700; font-size: 14px;
    padding: 10px 22px; border-radius: 10px;
    box-shadow: 0 4px 12px rgba(124,58,237,.4);
    transition: transform .12s, box-shadow .12s;
}
.btn-connexion:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(124,58,237,.5); }

.hero {
    position: relative;
    color: #fff; padding: 88px 0 70px;
    background: #0f172a;
    overflow: hidden;
}
.hero-carousel {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-carousel img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; animation: heroSlide 18s ease-in-out infinite;
}
.hero-carousel img:nth-child(1) { animation-delay: 0s; }
.hero-carousel img:nth-child(2) { animation-delay: 6s; }
.hero-carousel img:nth-child(3) { animation-delay: 12s; }
@keyframes heroSlide {
    0%, 100% { opacity: 0; transform: scale(1.05); }
    8%, 28% { opacity: 0.32; transform: scale(1); }
    33%, 95% { opacity: 0; transform: scale(1.05); }
}
.hero::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(99,102,241,.82) 0%, rgba(124,58,237,.78) 40%, rgba(15,23,42,.92) 100%);
}
.hero > * { position: relative; z-index: 2; }

.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.deco { position: absolute; animation: decoFloat 8s ease-in-out infinite; }
.deco-1 { width: 90px; top: 12%; right: 38%; animation-delay: 0s; }
.deco-2 { width: 70px; bottom: 14%; left: 6%; animation-delay: 1.5s; }
.deco-3 { width: 100px; top: 8%; left: 12%; animation-delay: 3s; }
.deco-4 { width: 55px; bottom: 22%; right: 8%; animation-delay: 0.8s; }
.deco-5 { width: 65px; top: 55%; left: 42%; animation-delay: 2.2s; }
@keyframes decoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.15; letter-spacing: -.02em; }
.hero h1 span { background: linear-gradient(90deg, #a78bfa, #818cf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 16px; font-size: 17px; color: #cbd5e1; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 11px; font-weight: 700; font-size: 15px;
    transition: transform .12s, box-shadow .12s;
}
.btn-hero.primary { background: linear-gradient(120deg, #7c3aed, #6d28d9); color: #fff; box-shadow: 0 6px 18px rgba(124,58,237,.45); }
.btn-hero.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(124,58,237,.55); }
.btn-hero.ghost { border: 1px solid #475569; color: #e2e8f0; }
.btn-hero.ghost:hover { border-color: #94a3b8; background: rgba(255,255,255,.04); }
.mockup {
    background: #1e293b; border: 1px solid #334155; border-radius: 16px;
    padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.mockup-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #475569; display: block; }
.mockup-row { height: 12px; border-radius: 6px; background: #334155; margin-bottom: 9px; }
.mockup-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.mockup-kpi { background: #273449; border-radius: 10px; padding: 12px; }
.mockup-kpi b { display: block; color: #a78bfa; font-size: 18px; }
.mockup-kpi small { color: #94a3b8; font-size: 11px; }
.mockup-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-top: 14px; }
.mockup-bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #8b5cf6, #4f46e5); display: block; }

.stats-band { background: #101a2e; color: #cbd5e1; padding: 26px 0; }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats-band b { display: block; font-size: 26px; color: #fff; }
.stats-band small { font-size: 13px; }

.section { padding: 74px 0; }
.section.alt { background: #f8fafc; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head .kicker { display: inline-block; background: #ede9fe; color: #6d28d9; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.sec-head h2 { font-size: 30px; letter-spacing: -.01em; }
.sec-head p { color: #64748b; margin-top: 10px; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
    background: #fff; border: 1px solid #e8edf4; border-radius: 16px;
    padding: 26px 22px; transition: transform .15s, box-shadow .15s;
}
.feat:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,23,42,.09); }
.feat-ico {
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
}
.feat-ico svg { width: 22px; height: 22px; stroke: #6d28d9; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 16.5px; margin-bottom: 8px; }
.feat p { font-size: 13.8px; color: #64748b; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
    background: #fff; border: 1px solid #e8edf4; border-radius: 18px;
    padding: 30px 26px; display: flex; flex-direction: column;
    transition: transform .15s, box-shadow .15s;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.1); }
.plan.popular { border: 2px solid #7c3aed; position: relative; }
.plan.popular::before {
    content: 'Le plus choisi'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(120deg, #7c3aed, #6d28d9); color: #fff;
    font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 18px; }
.plan .price { font-size: 34px; font-weight: 800; margin: 10px 0 2px; }
.plan .price small { font-size: 14px; color: #64748b; font-weight: 600; }
.plan ul { list-style: none; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.8px; color: #475569; }
.plan li svg { width: 17px; height: 17px; stroke: #059669; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }
.plan .btn-plan { display: block; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.plan .btn-plan.solid { background: linear-gradient(120deg, #7c3aed, #6d28d9); color: #fff; }
.plan .btn-plan.soft { background: #eef2ff; color: #4338ca; }
.plan .btn-plan:hover { filter: brightness(.96); }

.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pay-card {
    background: #fff; border: 1px solid #e8edf4; border-radius: 16px;
    padding: 24px 20px; text-align: center; transition: transform .15s, box-shadow .15s;
}
.pay-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.09); }
.pay-ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.pay-ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pay-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.pay-card p { font-size: 13px; color: #64748b; }
.pay-note { text-align: center; margin-top: 26px; color: #64748b; font-size: 13.5px; }
.pay-note b { color: #334155; }

.cta-band { background: linear-gradient(120deg, #4338ca, #7c3aed); border-radius: 22px; color: #fff; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: 0 24px 50px rgba(79,70,229,.35); }
.cta-band h2 { font-size: 26px; }
.cta-band p { opacity: .85; margin-top: 6px; }
.btn-white { background: #fff; color: #4c1d95; font-weight: 800; padding: 13px 28px; border-radius: 11px; display: inline-block; transition: transform .12s; }
.btn-white:hover { transform: translateY(-2px); }

footer.site-foot { background: #0f172a; color: #94a3b8; padding: 44px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { color: #e2e8f0; font-size: 14px; margin-bottom: 12px; }
.foot-grid a { display: block; color: #94a3b8; font-size: 13.5px; padding: 3px 0; }
.foot-grid a:hover { color: #fff; }
.foot-brand p { font-size: 13.5px; margin-top: 10px; max-width: 280px; }
.copy { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 20px; text-align: center; font-size: 13px; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 31px; }
    .feat-grid, .plans-grid { grid-template-columns: 1fr; }
    .pay-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-band .wrap { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .site-nav { display: none; }
}
