/* =========================================================
   Lôni — site public · Charte graphique Lôni 2026
   ========================================================= */
:root {
    --forest-900: #0B2A21;
    --forest-800: #0F382C;
    --forest-700: #124436;
    --forest-600: #175A47;
    --forest-500: #1E7A5F;
    --forest-100: #DCEDE6;
    --forest-50: #EEF6F2;
    --cyan-600: #1E9DB2;
    --cyan-500: #35B7C9;
    --cyan-100: #D7F1F5;
    --amber-500: #F2B03D;
    --amber-100: #FDF0D5;
    --coral-500: #F2704B;
    --coral-100: #FDE3DA;
    --ink: #0B1F1A;
    --muted: #4C625B;
    --line: #DBE8E3;
    --bg: #F7FAF8;
    --white: #FFFFFF;

    --font-display: "Outfit", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;

    --r-field: 8px;
    --r-btn: 12px;
    --r-card: 16px;
    --r-xl: 28px;

    --shadow-sm: 0 1px 2px rgba(11, 42, 33, .06), 0 2px 8px rgba(11, 42, 33, .04);
    --shadow-md: 0 8px 24px -8px rgba(11, 42, 33, .14), 0 2px 6px rgba(11, 42, 33, .05);
    --shadow-lg: 0 30px 60px -20px rgba(11, 42, 33, .28), 0 12px 24px -12px rgba(11, 42, 33, .12);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 2; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem 1.15rem; border-radius: var(--r-btn); border: 1px solid transparent;
    font-weight: 600; font-size: .95rem; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: .95rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--forest-700); color: #fff; box-shadow: 0 6px 18px -6px rgba(18, 68, 54, .55); }
.btn-primary:hover { background: var(--forest-900); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(18, 68, 54, .6); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-soft { background: #fff; color: var(--forest-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-soft:hover { border-color: var(--forest-100); background: var(--forest-50); transform: translateY(-2px); }
.btn-ghost { color: var(--forest-700); }
.btn-ghost:hover { background: var(--forest-50); }
.btn-accent { background: var(--cyan-500); color: var(--forest-900); }
.btn-accent:hover { background: #4cc5d6; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(53, 183, 201, .7); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
    display: flex; align-items: center;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
    background: rgba(247, 250, 248, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--forest-700); letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; gap: .25rem; margin-left: auto; }
.nav-links > a { padding: .5rem .8rem; border-radius: 10px; font-size: .93rem; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links > a:hover, .nav-links > a.current { color: var(--forest-700); background: var(--forest-50); }
.nav-links-mobile { display: none; }
.nav-actions { display: flex; gap: .5rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; position: relative; margin-left: auto; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--forest-700); transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Typographie commune ---------- */
.hl {
    background: linear-gradient(100deg, var(--forest-600) 0%, var(--cyan-600) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-light { color: var(--cyan-500); }
.kicker {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--cyan-600); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker.light { color: var(--cyan-500); }

.section { padding: 110px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--forest-50), var(--bg)); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head a { color: var(--forest-600); font-weight: 600; border-bottom: 1px solid var(--forest-100); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 90px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.blob-1 { width: 520px; height: 520px; background: rgba(53, 183, 201, .22); top: -160px; right: -120px; animation: drift 18s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; background: rgba(30, 122, 95, .16); bottom: -200px; left: -160px; animation: drift 22s ease-in-out infinite reverse; }
.grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px; opacity: .45;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.08); }
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .4rem .9rem .4rem .7rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-size: .85rem; font-weight: 600; color: var(--forest-700); margin-bottom: 1.5rem;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--forest-500); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--forest-500); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.hero h1 .hl { display: block; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.hero-checks li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-checks svg { color: var(--forest-500); background: var(--forest-100); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }

/* Maquette */
.hero-visual { position: relative; perspective: 1600px; }
.mock {
    background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d;
    transition: transform .6s var(--ease);
}
.mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFDFC; }
.mock-top .dot { width: 10px; height: 10px; border-radius: 50%; background: #E3ECE8; }
.mock-top .dot:nth-child(1) { background: #F2704B; } .mock-top .dot:nth-child(2) { background: #F2B03D; } .mock-top .dot:nth-child(3) { background: #1E7A5F; }
.mock-url { margin-left: 12px; flex: 1; max-width: 240px; font-size: .72rem; color: var(--muted); background: var(--forest-50); border-radius: 8px; padding: 4px 10px; }
.mock-body { display: grid; grid-template-columns: 58px 1fr; min-height: 380px; }
.mock-side { background: var(--forest-700); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0; }
.mock-side img { width: 26px; margin-bottom: 10px; }
.mock-side span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: rgba(255, 255, 255, .55); }
.mock-side span.active { background: rgba(255, 255, 255, .12); color: var(--cyan-500); }
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; }
.mock-head small { display: block; font-size: .7rem; color: var(--muted); }
.mock-head strong { font-family: var(--font-display); font-size: 1rem; }
.chip { font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--forest-100); color: var(--forest-700); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.kpi small { display: block; font-size: .68rem; color: var(--muted); }
.kpi strong { font-family: var(--font-display); font-size: 1.35rem; display: block; line-height: 1.3; }
.kpi em { font-style: normal; font-size: .64rem; color: var(--muted); }
.kpi em.up { color: var(--forest-500); font-weight: 600; }
.mock-chart { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 8px; }
.chart-title { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.legend { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.legend i { width: 8px; height: 8px; border-radius: 3px; background: var(--forest-600); }
.bars { height: 110px; display: flex; align-items: flex-end; gap: 10px; padding-bottom: 18px; }
.bars span {
    flex: 1; height: var(--h); border-radius: 7px 7px 3px 3px; position: relative;
    background: linear-gradient(180deg, var(--forest-600), var(--forest-700));
    transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s var(--ease);
}
.bars span.accent { background: linear-gradient(180deg, var(--cyan-500), var(--cyan-600)); }
.bars b { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 500; color: var(--muted); }
.is-visible .bars span { transform: scaleY(1); }
.bars span:nth-child(2) { transition-delay: .08s; } .bars span:nth-child(3) { transition-delay: .16s; }
.bars span:nth-child(4) { transition-delay: .24s; } .bars span:nth-child(5) { transition-delay: .32s; }
.bars span:nth-child(6) { transition-delay: .4s; } .bars span:nth-child(7) { transition-delay: .48s; }
.mock-rows { display: grid; gap: 6px; }
.row { display: flex; align-items: center; gap: 10px; font-size: .74rem; padding: 6px 8px; border-radius: 10px; background: var(--forest-50); }
.row > span:nth-child(2) { flex: 1; font-weight: 500; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.a1 { background: var(--forest-500); } .a2 { background: var(--cyan-600); } .a3 { background: var(--amber-500); color: var(--ink); } .a4 { background: var(--coral-500); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .66rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge.ok { background: var(--forest-100); color: var(--forest-700); }
.badge.warn { background: var(--amber-100); color: #8A5A07; }
.badge.honor { background: var(--amber-100); color: #8A5A07; font-size: .75rem; padding: 5px 12px; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .85rem; font-family: var(--font-display); }
.float-card small { display: block; font-size: .72rem; color: var(--muted); }
.fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.fc-icon.green { background: var(--forest-100); color: var(--forest-600); }
.fc-icon.cyan { background: var(--cyan-100); color: var(--cyan-600); }
.fc-icon.amber { background: var(--amber-100); color: #A86C05; }
.fc-1 { top: -26px; left: -40px; }
.fc-2 { bottom: 70px; right: -28px; animation-delay: -2s; }
.fc-3 { bottom: -22px; left: 40px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Marquee ---------- */
.marquee-section { padding: 20px 0 40px; }
.marquee-label { text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: 18px; padding: 0 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.25rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--forest-700); white-space: nowrap;
}
.marquee-track svg { color: var(--cyan-600); }
@keyframes scroll { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Fonctionnalités ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    position: relative; padding: 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; overflow: hidden;
}
.feature::before {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(53, 183, 201, .1), transparent 45%);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--forest-100); }
.feature:hover::before { opacity: 1; }
.feature h3 { font-size: 1.2rem; margin: 18px 0 8px; position: relative; }
.feature p { color: var(--muted); font-size: .95rem; position: relative; }
.f-icon {
    width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; position: relative;
    background: linear-gradient(140deg, var(--forest-100), var(--cyan-100)); color: var(--forest-700);
    transition: transform .5s var(--ease), background .3s, color .3s;
}
.f-icon svg { width: 24px; height: 24px; }
.feature:hover .f-icon { transform: rotate(-8deg) scale(1.08); background: var(--forest-700); color: var(--cyan-500); }

/* ---------- Onglets ---------- */
.tabs {
    position: relative; display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px;
    padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
    overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .45rem;
    padding: .7rem 1.25rem; border: 0; border-radius: 999px; background: transparent;
    font-weight: 600; font-size: .95rem; color: var(--muted); white-space: nowrap; transition: color .3s;
}
.tab.active { color: #fff; }
.tab-indicator { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--forest-700); transition: transform .45s var(--ease), width .45s var(--ease); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel.active { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.5rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: var(--muted); }
.checklist strong { color: var(--ink); font-weight: 600; }
.checklist svg { margin-top: 3px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--forest-700); color: #fff; stroke-width: 3; }
.panel-visual { position: relative; display: flex; justify-content: center; }

.receipt, .bulletin, .rollcall, .chat {
    width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
    padding: 24px; box-shadow: var(--shadow-lg);
}
.receipt-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px dashed var(--line); }
.receipt-head img { width: 34px; }
.receipt-head div { flex: 1; }
.receipt-head strong, .b-head strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.receipt-head small, .b-head small { color: var(--muted); font-size: .8rem; }
.receipt-line { display: flex; justify-content: space-between; padding: 10px 0; font-size: .92rem; border-bottom: 1px solid var(--forest-50); }
.receipt-line.muted { color: var(--muted); }
.receipt-total { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--forest-700); color: #fff; }
.receipt-total strong { font-family: var(--font-display); font-size: 1.35rem; }
.receipt-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.receipt-foot small { color: var(--muted); font-size: .78rem; }
.qr {
    width: 58px; height: 58px; border-radius: 8px; flex-shrink: 0; border: 4px solid #fff; outline: 1px solid var(--line);
    background:
        linear-gradient(var(--ink) 0 0) 0 0 / 16px 16px no-repeat,
        linear-gradient(var(--ink) 0 0) 100% 0 / 16px 16px no-repeat,
        linear-gradient(var(--ink) 0 0) 0 100% / 16px 16px no-repeat,
        repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 10px 10px;
}
.mini-stat {
    position: absolute; right: -10px; bottom: -36px; display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-md);
    animation: float 7s ease-in-out infinite;
}
.mini-stat strong { display: block; font-family: var(--font-display); font-size: .92rem; }
.mini-stat small { color: var(--muted); font-size: .75rem; }
.ring {
    --p: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--forest-500) calc(var(--p) * 1%), var(--forest-100) 0);
}
.ring b { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: .78rem; }

.b-head { margin-bottom: 14px; }
.b-row { display: grid; grid-template-columns: 1.2fr 1fr 48px; align-items: center; gap: 12px; padding: 9px 0; font-size: .9rem; border-bottom: 1px solid var(--forest-50); }
.b-row b { text-align: right; font-family: var(--font-display); }
.bar { height: 8px; border-radius: 99px; background: var(--forest-50); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--forest-500), var(--cyan-500)); transform-origin: left; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.b-foot { display: flex; align-items: center; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.b-foot small { display: block; color: var(--muted); font-size: .75rem; }
.b-foot strong { font-family: var(--font-display); font-size: 1.3rem; }
.b-foot .badge { margin-left: auto; }

.rc-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--forest-50); font-size: .92rem; }
.rc-row > span:nth-child(2) { flex: 1; font-weight: 500; }
.pill { font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pill.present { background: var(--forest-100); color: var(--forest-700); }
.pill.late { background: var(--amber-100); color: #8A5A07; }
.pill.absent { background: var(--coral-100); color: #A33A1B; }
.rc-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--cyan-100); color: #0E5E6B; font-size: .84rem; font-weight: 500; }

.chat { background: #F3F7F5; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.chat-head strong { display: block; font-family: var(--font-display); }
.chat-head small { color: var(--forest-500); font-size: .78rem; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; margin-bottom: 10px; animation: bubbleIn .5s var(--ease) both; }
.bubble.in { background: #fff; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.bubble.out { background: var(--forest-700); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; animation-delay: .35s; }
.bubble.small { font-size: .82rem; display: flex; gap: 6px; align-items: flex-start; animation-delay: .7s; }
.bubble.small svg { color: var(--cyan-600); margin-top: 2px; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- Mobile ---------- */
.mobile-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.mobile-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.mobile-copy > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 2rem; }
.audience { display: grid; gap: 14px; margin-bottom: 2rem; }
.aud-card { display: flex; gap: 16px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.aud-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.aud-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.aud-card p { color: var(--muted); font-size: .93rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: var(--ink); color: #fff; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: .68rem; opacity: .7; }
.store strong { font-family: var(--font-display); font-size: 1rem; line-height: 1.1; }

.phone-wrap { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.phone-wrap::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(53, 183, 201, .28), transparent 65%); }
.phone {
    position: relative; width: 290px; border-radius: 44px; padding: 12px; background: var(--forest-900);
    box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08); animation: float 8s ease-in-out infinite;
}
.notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 999px; background: var(--forest-900); z-index: 2; }
.screen { background: var(--bg); border-radius: 34px; padding: 52px 16px 18px; display: grid; gap: 12px; }
.app-head small { color: var(--muted); font-size: .78rem; }
.app-head strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.app-child { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.app-child strong { display: block; font-size: .88rem; }
.app-child small { color: var(--muted); font-size: .72rem; }
.app-card.dark { background: linear-gradient(140deg, var(--forest-700), var(--forest-900)); color: #fff; border-radius: 20px; padding: 16px; }
.app-card small { opacity: .7; font-size: .75rem; }
.app-card strong { display: block; font-family: var(--font-display); font-size: 1.7rem; margin: 2px 0 10px; }
.progress { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; margin-bottom: 12px; }
.progress i { display: block; height: 100%; width: var(--w); background: var(--cyan-500); border-radius: inherit; }
.app-card button { width: 100%; border: 0; border-radius: 12px; padding: 9px; background: var(--cyan-500); color: var(--forest-900); font-weight: 700; font-size: .85rem; cursor: default; }
.app-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app-tiles span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .66rem; font-weight: 600; color: var(--forest-700); }
.app-tiles svg { width: 20px; height: 20px; color: var(--cyan-600); }
.app-notif { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); animation: notif 5s var(--ease) infinite; }
.app-notif > svg { color: var(--amber-500); }
.app-notif strong { display: block; font-size: .8rem; }
.app-notif small { color: var(--muted); font-size: .72rem; }
@keyframes notif { 0%, 12% { opacity: 0; transform: translateY(-8px); } 20%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
.orbit { position: absolute; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); color: var(--forest-600); animation: float 6s ease-in-out infinite; }
.orbit svg { width: 22px; height: 22px; }
.orbit-1 { top: 60px; left: 6%; animation-delay: -1s; }
.orbit-2 { top: 44%; right: 4%; color: var(--cyan-600); animation-delay: -3s; }
.orbit-3 { bottom: 50px; left: 12%; color: var(--amber-500); animation-delay: -5s; }

/* ---------- Pour qui (sombre) ---------- */
.section-dark { background: var(--forest-900); color: #fff; overflow: hidden; }
.section-dark .section-head p { color: rgba(255, 255, 255, .68); }
.blob-3 { width: 600px; height: 600px; background: rgba(53, 183, 201, .16); top: -260px; right: -200px; }
.roles { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role {
    padding: 28px 24px; border-radius: var(--r-xl); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
    transition: background .35s, transform .4s var(--ease), border-color .35s;
}
.role:hover { background: rgba(255, 255, 255, .08); border-color: rgba(53, 183, 201, .4); transform: translateY(-6px); }
.role > svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: rgba(53, 183, 201, .14); color: var(--cyan-500); margin-bottom: 18px; }
.role h3 { font-size: 1.15rem; margin-bottom: 8px; }
.role p { color: rgba(255, 255, 255, .66); font-size: .93rem; }

/* ---------- Sécurité ---------- */
.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.trust-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.trust-copy p { color: var(--muted); font-size: 1.08rem; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-item { display: flex; gap: 14px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: box-shadow .35s, transform .35s var(--ease); }
.trust-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.trust-item > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--forest-700); color: var(--cyan-500); }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.trust-item p { color: var(--muted); font-size: .88rem; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--forest-100) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
    width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--forest-700);
    position: relative; transition: transform .4s var(--ease), background .3s, color .3s;
}
.step:hover .step-num { transform: translateY(-4px) rotate(-6deg); background: var(--forest-700); color: var(--cyan-500); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--forest-100); }
.faq summary {
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--forest-50); color: var(--forest-700); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--forest-700); color: #fff; }
.faq details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq details[open] > div { grid-template-rows: 1fr; }
.faq details > div > p { overflow: hidden; padding: 0 22px; color: var(--muted); }
.faq details[open] > div > p { padding-bottom: 20px; }

/* ---------- Contact ---------- */
.contact-section { padding-top: 40px; }
.contact-card {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
    padding: 64px; border-radius: 36px; color: #fff;
    background: radial-gradient(circle at 0% 0%, var(--forest-600), transparent 55%), linear-gradient(140deg, var(--forest-700), var(--forest-900));
    box-shadow: var(--shadow-lg);
}
.blob-4 { width: 420px; height: 420px; background: rgba(53, 183, 201, .25); bottom: -200px; right: -120px; }
.contact-copy, .contact-form { position: relative; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
.contact-copy > p { color: rgba(255, 255, 255, .72); font-size: 1.05rem; margin-bottom: 2rem; }
.contact-links { display: grid; gap: 12px; }
.c-link { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .35s var(--ease), border-color .3s; }
.c-link:hover { background: rgba(255, 255, 255, .1); border-color: rgba(53, 183, 201, .45); transform: translateX(6px); }
.c-link > span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cyan-500); color: var(--forest-900); flex-shrink: 0; }
.c-link small { display: block; font-size: .75rem; color: rgba(255, 255, 255, .6); }
.c-link strong { font-family: var(--font-display); font-size: 1.05rem; word-break: break-word; }

.contact-form { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-xl); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); align-self: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.field .opt { font-weight: 400; color: rgba(255, 255, 255, .5); }
.field input, .field select, .field textarea {
    width: 100%; padding: .75rem .9rem; border-radius: var(--r-field); border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .95); color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 4px rgba(53, 183, 201, .3); }
.field.invalid input { border-color: var(--coral-500); box-shadow: 0 0 0 4px rgba(242, 112, 75, .25); }
.form-error { font-size: .85rem; color: #FFC7B6; }
.form-actions { display: grid; gap: 10px; margin-top: 4px; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 28px; margin-top: 80px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: .93rem; margin-top: 14px; max-width: 320px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { font-size: .95rem; margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: .92rem; transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--forest-700); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

.wa-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
    transition: transform .35s var(--ease); animation: fabIn .6s 1.2s var(--ease) both;
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes fabIn { from { opacity: 0; transform: scale(.5); } }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav-links > a { padding: .5rem .55rem; }
    .roles { grid-template-columns: 1fr 1fr; }
    .fc-1 { left: -10px; }
    .fc-2 { right: -6px; }
}

@media (max-width: 920px) {
    :root { --nav-h: 64px; }
    .nav-actions { display: none; }
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; flex-direction: column; gap: 4px;
        padding: 20px 16px 32px; background: var(--bg); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .35s var(--ease), visibility .3s;
    }
    .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-open .nav { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
    .nav-links > a { font-size: 1.15rem; padding: .9rem 1rem; color: var(--ink); }
    .nav-links-mobile { display: grid; gap: 10px; margin-top: 16px; }
    .nav-links-mobile .btn { padding: .95rem; font-size: 1rem; }

    .section { padding: 80px 0; }
    .hero { padding-top: calc(var(--nav-h) + 48px); }
    .hero-inner, .panel, .mobile-grid, .trust, .faq-grid, .contact-card { grid-template-columns: 1fr; }
    .hero-inner { gap: 64px; }
    .hero-copy { text-align: center; }
    .lead { margin-left: auto; margin-right: auto; }
    .hero-cta, .hero-checks { justify-content: center; }
    .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .mock { transform: none; }
    .features { grid-template-columns: 1fr 1fr; }
    .panel { gap: 48px; }
    .mini-stat { right: 0; }
    .mobile-grid { gap: 48px; }
    .phone-wrap { order: 2; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .steps::before { display: none; }
    .faq-grid .section-head { position: static; }
    .faq-grid, .trust { gap: 40px; }
    .contact-card { padding: 40px; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 40px; }
    .hero-cta .btn { width: 100%; }
    .mock-body { grid-template-columns: 1fr; min-height: 0; }
    .mock-side { display: none; }
    .mock-main { padding: 14px; }
    .kpi { padding: 8px; }
    .kpi strong { font-size: 1.05rem; }
    .kpi em { display: none; }
    .float-card { padding: 8px 10px 8px 8px; }
    .float-card small { display: none; }
    .fc-icon { width: 32px; height: 32px; border-radius: 10px; }
    .fc-1 { top: -18px; left: 4px; }
    .fc-2 { bottom: 100px; right: 4px; }
    .fc-3 { bottom: -18px; left: 16px; }
    .features { grid-template-columns: 1fr; gap: 14px; }
    .feature { padding: 22px; border-radius: 22px; }
    .tabs { justify-content: flex-start; width: 100%; }
    .tab { padding: .6rem .95rem; font-size: .88rem; }
    .receipt, .bulletin, .rollcall, .chat { padding: 18px; border-radius: 22px; }
    .b-row { grid-template-columns: 1fr 70px 44px; font-size: .84rem; }
    .mini-stat { position: relative; right: auto; bottom: auto; margin-top: 16px; }
    .panel-visual { flex-direction: column; align-items: center; }
    .roles, .trust-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .phone { width: 260px; }
    .orbit { display: none; }
    .contact-card { padding: 28px 18px; border-radius: 28px; }
    .contact-form { padding: 18px; }
    .field-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .wa-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .marquee-track span[aria-hidden] { display: none; }
}
