/* =========================================================
   RKWebDesign — page d'accueil immersive
   Thème d'origine : blanc, noir #18181b, gris #71717a, Inter.
   Les modales (générateur, panier, compte...) gardent style.css.
   ========================================================= */

:root {
    --rk-bg: #ffffff;
    --rk-bg-2: #fafafa;
    --rk-surface: #fafafa;
    --rk-surface-2: #f4f4f5;
    --rk-line: #e4e4e7;
    --rk-text: #09090b;
    --rk-muted: #71717a;
    --rk-primary: #18181b;
    --rk-lime-bg: #ecfccb;
    --rk-lime-text: #3f6212;
    --rk-lime-line: #d9f99d;
    --rk-lime: #84cc16;
    --rk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --rk-nav-h: 80px;
}

html { scroll-behavior: smooth; }
body.rk-body { background: var(--rk-bg); }

.rk-page {
    color: var(--rk-text);
    background: var(--rk-bg);
    font-family: 'Inter', sans-serif;
    overflow-x: clip;
    position: relative;
}
.rk-page ::selection { background: var(--rk-primary); color: white; }
.rk-page p { color: var(--rk-muted); }
.rk-page h1, .rk-page h2, .rk-page h3 { color: var(--rk-text); }

.rk-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.rk-section { padding: 130px 24px; }

/* Surlignage du site d'origine */
.rk-gradient-text { position: relative; display: inline-block; z-index: 0; }
.rk-gradient-text::after {
    content: ""; position: absolute; left: 0; bottom: 0.08em; height: 0.28em; width: 100%; z-index: -1;
    background: rgba(0, 0, 0, 0.1); transform-origin: left; transform: scaleX(0);
    transition: transform 1.2s var(--rk-ease) 0.6s;
}
.rk-gradient-text.is-in::after { transform: scaleX(1); }
.rk-custom .rk-gradient-text::after { background: rgba(255, 255, 255, 0.18); }

.rk-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: #999; margin-bottom: 1rem;
}

.rk-h2 {
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    line-height: 1.05; letter-spacing: -0.04em; font-weight: 900;
    margin-bottom: 1rem;
}
.rk-lead { font-size: 1.1rem; max-width: 560px; }
.rk-section-head { margin-bottom: 64px; }

/* ---------- Boutons (style du site d'origine) ---------- */
.rk-btn {
    --pad-y: 1rem; --pad-x: 2rem;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: var(--pad-y) var(--pad-x);
    border-radius: 8px; border: 2px solid transparent;
    font: 600 1rem/1 'Inter', sans-serif; cursor: pointer; white-space: nowrap;
    transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s, transform 0.35s var(--rk-ease);
    will-change: transform; text-decoration: none; user-select: none;
}
.rk-btn-sm { --pad-y: 0.6rem; --pad-x: 1.1rem; font-size: 0.88rem; }
.rk-btn-lg { --pad-y: 1.1rem; --pad-x: 2rem; }
.rk-btn-xl { --pad-y: 1.3rem; --pad-x: 2.4rem; font-size: 1.08rem; }

.rk-btn-primary { color: white; background: var(--rk-primary); border-color: var(--rk-primary); }
.rk-btn-primary:hover { background: white; color: var(--rk-primary); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.rk-btn-ghost { color: var(--rk-text); background: white; border-color: var(--rk-line); }
.rk-btn-ghost:hover { border-color: var(--rk-primary); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }

.rk-btn-light { color: var(--rk-primary); background: white; border-color: white; }
.rk-btn-light:hover { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.rk-btn i { font-size: 0.9em; }

/* ---------- Préchargeur ---------- */
.rk-loader {
    position: fixed; inset: 0; z-index: 5000; background: white;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
    transition: clip-path 1s var(--rk-ease);
    clip-path: inset(0 0 0 0); will-change: clip-path;
}
.rk-loader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.rk-loader-inner { display: flex; align-items: baseline; gap: 16px; color: var(--rk-text); }
.rk-loader-logo { font-weight: 900; font-size: 3.2rem; letter-spacing: -0.05em; }
.rk-loader-count { font-variant-numeric: tabular-nums; color: var(--rk-muted); font-size: 1rem; min-width: 3ch; }
.rk-loader-count::after { content: "%"; }
.rk-loader-bar { width: 180px; height: 2px; background: var(--rk-line); overflow: hidden; border-radius: 2px; }
.rk-loader-bar span { display: block; height: 100%; width: 0; background: var(--rk-primary); transition: width 0.2s linear; }

/* ---------- Barre de progression & curseur ---------- */
.rk-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1600;
    background: var(--rk-primary); transform-origin: 0 50%; transform: scaleX(0);
}
.rk-cursor, .rk-cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
    .rk-cursor, .rk-cursor-dot {
        display: block; position: fixed; top: 0; left: 0; z-index: 1900; pointer-events: none; border-radius: 50%;
        transform: translate(-50%, -50%); mix-blend-mode: difference;
    }
    .rk-cursor {
        width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.8);
        transition: width 0.35s var(--rk-ease), height 0.35s var(--rk-ease), background 0.35s, border-color 0.35s;
    }
    .rk-cursor.is-hover { width: 68px; height: 68px; background: white; border-color: transparent; }
    .rk-cursor-dot { width: 5px; height: 5px; background: white; }
    body.modal-is-open .rk-cursor, body.modal-is-open .rk-cursor-dot { opacity: 0; }
}

/* ---------- Navigation ---------- */
nav.rk-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--rk-nav-h);
    z-index: 1500; background: rgba(255,255,255,0); border-bottom: 1px solid transparent; backdrop-filter: none;
    transition: background 0.4s, border-color 0.4s, transform 0.5s var(--rk-ease);
}
nav.rk-nav.scrolled { background: rgba(255,255,255,0.9); border-bottom-color: rgba(0,0,0,0.05); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
nav.rk-nav.hide { transform: translateY(-100%); }
nav.rk-nav .nav-content { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 32px; }
nav.rk-nav .nav-links-wrapper { margin-left: auto; }

.rk-logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -0.05em; text-transform: uppercase; color: var(--rk-text); position: relative; z-index: 2; }
.rk-logo span { color: inherit; }

nav.rk-nav .nav-links-wrapper a {
    color: var(--rk-muted); font-weight: 500; font-size: 0.95rem; text-transform: none; letter-spacing: 0;
    position: relative; padding: 6px 0; white-space: nowrap;
}
nav.rk-nav .nav-links-wrapper a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background: var(--rk-primary); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--rk-ease);
}
nav.rk-nav .nav-links-wrapper a:hover { color: var(--rk-text); }
nav.rk-nav .nav-links-wrapper a:hover::after { transform: scaleX(1); transform-origin: left; }

nav.rk-nav .header-right-side { gap: 12px; }
nav.rk-nav .nav-links-wrapper .desktop-hidden { display: none; }
nav.rk-nav .user-area { border: none; padding: 0; margin: 0; gap: 14px; }

nav.rk-nav .menu-toggle {
    display: none; width: 44px; height: 44px; padding: 0; margin: 0;
    background: white; border: 1px solid var(--rk-line); border-radius: 50%; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
nav.rk-nav .menu-toggle span { display: block; width: 18px; height: 2px; background: var(--rk-text); transition: transform 0.4s var(--rk-ease); }

@media (max-width: 900px) {
    :root { --rk-nav-h: 70px; }
}
@media (max-width: 1100px) {
    nav.rk-nav .menu-toggle { display: flex; }
    nav.rk-nav .nav-links-wrapper {
        position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; z-index: 1;
        display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.5rem;
        padding: 100px 28px 40px; margin: 0;
        background: white; border: none; box-shadow: none;
        clip-path: circle(0% at calc(100% - 46px) 36px);
        transition: clip-path 0.7s var(--rk-ease);
        pointer-events: none; animation: none;
    }
    nav.rk-nav .nav-links-wrapper.active { clip-path: circle(150% at calc(100% - 46px) 36px); pointer-events: auto; }
    nav.rk-nav .nav-links-wrapper a { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.04em; color: var(--rk-text); }
    nav.rk-nav .nav-links-wrapper .rk-btn { display: inline-flex; margin-top: 1.5rem; width: 100%; }
    body:has(#navLinks.active) nav.rk-nav .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
    body:has(#navLinks.active) nav.rk-nav .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
    nav.rk-nav .header-right-side { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.rk-hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: calc(var(--rk-nav-h) + 40px) 0 120px; overflow: hidden; isolation: isolate;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}
.rk-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; }
.rk-hero-canvas.is-on { opacity: 1; }
.no-js .rk-hero-canvas, .rk-hero-canvas.is-static { opacity: 1; }
.rk-hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 35%; z-index: -1;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}
.rk-hero-glow { position: absolute; border-radius: 50%; z-index: -2; pointer-events: none; will-change: transform; }
.rk-glow-a { width: 40vw; height: 40vw; left: -8vw; top: -6vw; background: radial-gradient(circle, rgba(217,249,157,0.6) 0%, rgba(217,249,157,0.25) 35%, transparent 70%); animation: rk-float-a 14s ease-in-out infinite; }
.rk-glow-b { width: 36vw; height: 36vw; right: -8vw; bottom: -4vw; background: radial-gradient(circle, rgba(228,228,231,0.8) 0%, rgba(228,228,231,0.35) 35%, transparent 70%); animation: rk-float-b 17s ease-in-out infinite; }
@keyframes rk-float-a { 50% { transform: translate(8vw, 6vw) scale(1.15); } }
@keyframes rk-float-b { 50% { transform: translate(-7vw, -5vw) scale(1.1); } }

.rk-hero-content { position: relative; display: flex; flex-direction: column; align-items: center; }

.rk-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 50px;
    background: var(--rk-lime-bg); color: var(--rk-lime-text); border: 1px solid var(--rk-lime-line);
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.2);
    font-size: 0.9rem; font-weight: 600; margin-bottom: 30px;
}
.rk-badge strong { color: var(--rk-lime-text); font-weight: 800; }
.rk-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rk-lime); box-shadow: 0 0 0 0 rgba(132,204,22,0.6); animation: rk-ping 2s infinite; }
@keyframes rk-ping { 70% { box-shadow: 0 0 0 10px rgba(132,204,22,0); } 100% { box-shadow: 0 0 0 0 rgba(132,204,22,0); } }

.rk-hero-title {
    font-weight: 900;
    font-size: clamp(2.8rem, 8vw, 7rem); line-height: 1; letter-spacing: -0.05em;
    margin: 0 0 30px;
}
.rk-line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.12em; }
.rk-line-inner { display: inline-block; }

.rk-hero-sub { max-width: 680px; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.7; margin: 0 auto 40px; }
.rk-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.rk-scroll-hint {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rk-muted);
}
.rk-scroll-line { width: 1px; height: 54px; background: var(--rk-line); position: relative; overflow: hidden; }
.rk-scroll-line::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--rk-primary); animation: rk-scroll 2s var(--rk-ease) infinite; }
@keyframes rk-scroll { to { top: 100%; } }

/* ---------- Bandeau ---------- */
.rk-marquee {
    border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;
    padding: 24px 0; overflow: hidden; background: white;
}
.rk-marquee-track { display: flex; gap: 42px; width: max-content; animation: rk-marquee 38s linear infinite; }
.rk-marquee span { font-weight: 900; font-size: clamp(1.5rem, 3.2vw, 2.6rem); letter-spacing: -0.04em; color: var(--rk-text); white-space: nowrap; }
.rk-marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(0,0,0,0.3); }
.rk-marquee i { font-style: normal; color: var(--rk-lime); font-size: 1.3rem; align-self: center; }
@keyframes rk-marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CHIFFRES
   ========================================================= */
.rk-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 70px; padding-bottom: 10px; }
.rk-stat { padding: 26px 20px; text-align: center; border-left: 1px solid #f0f0f0; }
.rk-stat:first-child { border-left: none; }
.rk-stat-num { display: block; font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.rk-stat-label { font-size: 0.8rem; color: var(--rk-muted); text-transform: uppercase; letter-spacing: 1px; }

/* =========================================================
   DÉMO ANIMÉE DU GÉNÉRATEUR
   ========================================================= */
.rk-demo-layout { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 64px; align-items: center; }

.rk-demo-steps { list-style: none; margin: 36px 0 34px; display: flex; flex-direction: column; gap: 10px; }
.rk-demo-step {
    position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 12px;
    border: 1px solid transparent; transition: background 0.5s, border-color 0.5s, opacity 0.5s; opacity: 0.45; overflow: hidden;
}
.rk-demo-step { cursor: pointer; }
.rk-demo-step:hover { opacity: 0.8; }
.rk-demo-step.is-on { opacity: 1; background: var(--rk-surface); border-color: var(--rk-line); }
.rk-demo-step.is-done { opacity: 1; }
.rk-demo-step-num {
    width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
    font-weight: 800; font-size: 0.85rem; border: 1px solid var(--rk-line); background: white; transition: background 0.4s, color 0.4s;
}
.rk-demo-step.is-on .rk-demo-step-num, .rk-demo-step.is-done .rk-demo-step-num { background: var(--rk-primary); color: white; border-color: var(--rk-primary); }
.rk-demo-step strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.rk-demo-step span { color: var(--rk-muted); font-size: 0.92rem; }
.rk-demo-step-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; }
.rk-demo-step-bar b { display: block; height: 100%; background: var(--rk-primary); transform-origin: left; transform: scaleX(0); }

.rk-demo-try { margin: -10px 0 30px; }
.rk-demo-try label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; }
.rk-demo-try div { display: flex; gap: 6px; padding: 5px 5px 5px 16px; border: 1px solid var(--rk-line); border-radius: 99px; background: #fff; transition: border-color 0.3s, box-shadow 0.3s; max-width: 420px; }
.rk-demo-try div:focus-within { border-color: var(--rk-primary); box-shadow: 0 0 0 4px rgba(24,24,27,0.06); }
.rk-demo-try input { flex: 1; min-width: 0; border: none; font: inherit; font-size: 0.95rem; background: transparent; }
.rk-demo-try input:focus { outline: none; }
.rk-demo-try button { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--rk-primary); color: #fff; cursor: pointer; transition: transform 0.3s; }
.rk-demo-try button:hover { transform: scale(1.08); }
.rk-demo-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.rk-demo-replay {
    background: none; border: none; cursor: pointer; font: 600 0.92rem 'Inter', sans-serif; color: var(--rk-muted);
    display: inline-flex; gap: 8px; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s, color 0.3s;
}
.rk-demo-replay.is-visible { opacity: 1; pointer-events: auto; }
.rk-demo-replay:hover { color: var(--rk-text); }

/* Maquette */
.rk-demo { position: relative; padding: 0 0 60px 0; }
.rk-demo::before {
    content: ""; position: absolute; inset: 8% -6% 4% 10%; z-index: -1; border-radius: 40px;
    background: radial-gradient(circle at 60% 40%, rgba(217,249,157,0.6), transparent 60%);
    filter: blur(30px);
}
.rk-demo-browser {
    container-type: inline-size; position: relative;
    border-radius: 14px; background: white; border: 1px solid var(--rk-line); overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.02);
}
.rk-demo-chrome { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f4f4f5; border-bottom: 1px solid var(--rk-line); }
.rk-demo-chrome > span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.rk-demo-chrome > span:nth-child(2) { background: #febc2e; }
.rk-demo-chrome > span:nth-child(3) { background: #28c840; }
.rk-demo-chrome em {
    font-style: normal; margin: 0 auto; font-size: 0.75rem; color: var(--rk-muted); background: white; border: 1px solid var(--rk-line);
    border-radius: 6px; padding: 4px 14px; min-width: 45%; text-align: center; white-space: nowrap; overflow: hidden;
}
.rk-demo-chrome em i { font-size: 0.65rem; margin-right: 4px; color: #16a34a; }
.rk-demo-chrome b { font-weight: 500; }
.rk-demo-screen { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: #fafafa; }

/* Scène 1 : formulaire */
.d-form {
    position: absolute; top: 50%; left: 50%; width: 52cqw; transform: translate(-50%, -50%);
    background: white; border: 1px solid var(--rk-line); border-radius: 2cqw; padding: 3.4cqw;
    box-shadow: 0 2cqw 5cqw -2cqw rgba(0,0,0,0.12); opacity: 0;
}
.d-form-title { font-weight: 800; font-size: 2.1cqw; margin-bottom: 2.6cqw; }
.d-form-title i { margin-right: 0.8cqw; }
.d-form label { display: block; font-size: 1.45cqw; font-weight: 600; margin-bottom: 0.8cqw; }
.d-input { height: 4.4cqw; border: 1px solid var(--rk-line); border-radius: 0.9cqw; margin-bottom: 2cqw; display: flex; align-items: center; padding: 0 1.3cqw; font-size: 1.6cqw; transition: border-color 0.3s; }
.d-input.is-focus { border-color: var(--rk-primary); }
.d-caret { display: none; width: 1px; height: 2cqw; background: var(--rk-text); margin-left: 1px; animation: d-blink 0.9s steps(1) infinite; }
.d-input.is-focus .d-caret { display: block; }
@keyframes d-blink { 50% { opacity: 0; } }
.d-pills { display: flex; gap: 1cqw; margin-bottom: 3cqw; }
.d-pills span { font-size: 1.35cqw; padding: 1cqw 1.6cqw; border-radius: 99px; border: 1px solid var(--rk-line); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.d-pills span.is-selected { background: var(--rk-primary); color: white; border-color: var(--rk-primary); }
.d-btn { height: 5cqw; border-radius: 1cqw; background: var(--rk-primary); color: white; font-weight: 700; font-size: 1.7cqw; display: flex; align-items: center; justify-content: center; gap: 0.8cqw; }

/* Scène 2 : génération */
.d-gen { position: absolute; top: 50%; left: 50%; width: 42cqw; transform: translate(-50%, -50%); text-align: left; opacity: 0; }
.d-spinner { width: 5cqw; height: 5cqw; border-radius: 50%; border: 0.5cqw solid var(--rk-line); border-top-color: var(--rk-primary); animation: d-spin 0.9s linear infinite; margin-bottom: 2.2cqw; }
@keyframes d-spin { to { transform: rotate(360deg); } }
.d-gen-title { font-weight: 800; font-size: 2.4cqw; margin-bottom: 2.4cqw; }
.d-gen ul { list-style: none; display: flex; flex-direction: column; gap: 1.5cqw; margin-bottom: 2.6cqw; }
.d-gen li { font-size: 1.7cqw; color: #a1a1aa; display: flex; gap: 1.2cqw; align-items: center; transition: color 0.3s; }
.d-gen li i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; display: grid; place-items: center; font-size: 1.2cqw; border: 1px solid var(--rk-line); color: transparent; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.d-gen li.is-done { color: var(--rk-text); font-weight: 600; }
.d-gen li.is-done i { background: #16a34a; border-color: #16a34a; color: white; }
.d-gen-bar { height: 0.6cqw; border-radius: 1cqw; background: var(--rk-line); overflow: hidden; }
.d-gen-bar b { display: block; height: 100%; background: var(--rk-primary); transform-origin: left; transform: scaleX(0); }

/* Scène 3 : le site (état final = couleurs ; .is-skeleton = maquette grise) */
.d-site { position: absolute; inset: 0; background: #fbf8f3; font-family: Georgia, 'Times New Roman', serif; }
.d-site *, .d-site { transition: background 0.8s, color 0.8s, border-color 0.8s, opacity 0.8s; }
.d-nav { height: 8cqw; display: flex; align-items: center; gap: 2.4cqw; padding: 0 4cqw; border-bottom: 1px solid #efe7da; background: #fbf8f3; }
.d-logo { font-size: 2.3cqw; font-weight: 700; color: #1c1917; margin-right: auto; letter-spacing: 0.02em; }
.d-nav span { width: 6cqw; height: 1cqw; border-radius: 1cqw; background: #d6c7ae; }
.d-nav-btn { font-style: normal; font-family: 'Inter', sans-serif; font-size: 1.3cqw; font-weight: 600; background: #1c1917; color: #f5e6c8; padding: 1.2cqw 2.2cqw; border-radius: 99px; }
.d-hero {
    position: relative; height: 34cqw; margin: 2.4cqw 4cqw; border-radius: 2cqw; overflow: hidden; display: flex; align-items: flex-end;
    background:
        radial-gradient(circle at 78% 30%, rgba(245,158,11,0.55), transparent 42%),
        radial-gradient(circle at 20% 90%, rgba(120,53,15,0.8), transparent 55%),
        linear-gradient(135deg, #292524 0%, #44403c 45%, #78350f 100%);
}
.d-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, rgba(0,0,0,0.35)); transition: opacity 0.8s; }
.d-hero-text { position: relative; z-index: 1; padding: 3.6cqw; color: #fff; }
.d-hero small { display: block; font-family: 'Inter', sans-serif; font-size: 1.25cqw; letter-spacing: 0.2em; text-transform: uppercase; color: #f5d9a8; margin-bottom: 1.4cqw; }
.d-hero h4 { font-size: 3.8cqw; line-height: 1.1; font-weight: 400; margin-bottom: 2.4cqw; color: #fff; }
.d-hero-btns { display: flex; gap: 1.2cqw; }
.d-hero-btns i { font-style: normal; font-family: 'Inter', sans-serif; font-size: 1.3cqw; font-weight: 600; padding: 1.2cqw 2.2cqw; border-radius: 99px; background: #f5e6c8; color: #1c1917; }
.d-hero-btns i + i { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 0 4cqw; }
.d-cards > div { background: white; border: 1px solid #efe7da; border-radius: 1.6cqw; padding: 2.2cqw; display: flex; flex-direction: column; gap: 0.9cqw; }
.d-cards i { color: #b45309; font-size: 2cqw; margin-bottom: 0.4cqw; }
.d-cards b { font-size: 1.7cqw; color: #1c1917; }
.d-cards span { height: 0.8cqw; border-radius: 1cqw; background: #eee6d8; }
.d-cards span + span { width: 70%; }

.d-site.is-skeleton, .is-skeleton .d-nav { background: #fafafa; }
.is-skeleton .d-logo, .is-skeleton .d-cards b, .is-skeleton .d-hero h4, .is-skeleton .d-hero small { color: transparent; background: #e4e4e7; border-radius: 0.6cqw; }
.is-skeleton .d-nav span, .is-skeleton .d-cards span { background: #e4e4e7; }
.is-skeleton .d-nav-btn, .is-skeleton .d-hero-btns i { background: #d4d4d8 !important; color: transparent !important; border-color: transparent !important; }
.is-skeleton .d-hero { background: #f0f0f1; }
.is-skeleton .d-hero::after { opacity: 0; }
.is-skeleton .d-cards > div { border-color: #ececee; }
.is-skeleton .d-cards i { color: #d4d4d8; }

/* Scène 4 : téléphone + badge en ligne */
.rk-demo-phone {
    container-type: inline-size;
    position: absolute; right: -4%; bottom: 0; width: 27%; aspect-ratio: 9 / 19;
    background: #0b0b0c; border-radius: 16% / 7.5%; padding: 3.2%;
    box-shadow: 0 40px 70px -24px rgba(0,0,0,0.45);
}
.d-phone-notch { position: absolute; top: 3.2%; left: 50%; width: 32%; height: 3%; margin-left: -16%; background: #0b0b0c; border-radius: 0 0 20px 20px; z-index: 2; }
.d-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: #fbf8f3; font-family: Georgia, serif; }
.d-phone-screen .d-nav { height: 20cqw; padding: 5cqw 7cqw 0; gap: 0; }
.d-phone-screen .d-logo { font-size: 7cqw; }
.d-burger { width: 7cqw; height: 5cqw; border-top: 2px solid #1c1917; border-bottom: 2px solid #1c1917; }
.d-phone-screen .d-hero { height: 88cqw; margin: 5cqw; border-radius: 6cqw; }
.d-phone-screen .d-hero-text { padding: 7cqw; }
.d-phone-screen .d-hero small { font-size: 4cqw; margin-bottom: 3cqw; }
.d-phone-screen .d-hero h4 { font-size: 9cqw; margin-bottom: 5cqw; }
.d-phone-screen .d-hero-btns i { font-size: 4.2cqw; padding: 3cqw 5cqw; }
.d-phone-screen .d-cards { grid-template-columns: 1fr; gap: 4cqw; padding: 0 5cqw; }
.d-phone-screen .d-cards > div { flex-direction: row; align-items: center; gap: 4cqw; padding: 5cqw; border-radius: 5cqw; }
.d-phone-screen .d-cards i { font-size: 6cqw; margin: 0; }
.d-phone-screen .d-cards b { font-size: 5.4cqw; }

.rk-demo-live {
    position: absolute; left: 6%; bottom: 22px; display: inline-flex; align-items: center; gap: 10px;
    background: white; border: 1px solid var(--rk-line); border-radius: 99px; padding: 10px 18px 10px 14px;
    font-size: 0.9rem; font-weight: 700; box-shadow: 0 20px 40px -16px rgba(0,0,0,0.25);
}
.rk-demo-live span { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: rk-ping-g 2s infinite; }
@keyframes rk-ping-g { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

.rk-demo-cursor { position: absolute; top: 0; left: 0; width: 26px; height: 26px; z-index: 5; pointer-events: none; opacity: 0; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25)); }
.rk-demo-ripple { position: absolute; top: 0; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid var(--rk-primary); z-index: 4; pointer-events: none; opacity: 0; }

.rk-demo-copy .rk-h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
@media (max-width: 1000px) {
    .rk-demo-layout { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 700px) {
    .rk-stats { grid-template-columns: 1fr 1fr; padding-top: 40px; }
    .rk-stat:nth-child(3) { border-left: none; }
    .rk-stat:nth-child(n+3) { border-top: 1px solid #f0f0f0; }
    .rk-demo { padding-bottom: 50px; }
    .rk-demo-phone { right: -2%; width: 30%; }
    .rk-demo-live { left: 0; bottom: 8px; font-size: 0.8rem; padding: 8px 14px 8px 12px; }
    .rk-demo-step { padding: 14px 14px; }
}

/* =========================================================
   COMPARATIF DE PRIX
   ========================================================= */
.rk-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.rk-center .rk-lead { margin-left: auto; margin-right: auto; max-width: 680px; }

.rk-compare-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 24px; align-items: stretch; }
.rk-compare-chart, .rk-compare-table { background: #fff; border: 1px solid var(--rk-line); border-radius: 18px; padding: 30px; }
.rk-compare-chart h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 4px; }
.rk-compare-sub { font-size: 0.9rem; margin: 0 0 20px; }
.rk-cbars { height: 280px; display: flex; align-items: flex-end; gap: 18px; padding-top: 34px; border-bottom: 1px solid var(--rk-line); }
.rk-cbar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.rk-cbar i { display: block; width: 100%; height: 0; border-radius: 10px 10px 0 0; background: #d4d4d8; transition: height 1.6s cubic-bezier(0.22, 1, 0.36, 1); }
.rk-cbar.is-agency i { background: #52525b; }
.rk-cbar.is-free i { background: #a1a1aa; }
.rk-cbar.is-rk i { background: var(--rk-lime); }
.rk-compare.is-in .rk-cbar i { height: var(--h); }
.rk-cbar b { font-weight: 900; font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rk-cbar span { position: absolute; bottom: -30px; font-size: 0.82rem; color: var(--rk-muted); white-space: nowrap; }
.rk-cbar.is-rk span { color: var(--rk-text); font-weight: 700; }
.rk-compare-note { font-size: 0.76rem; margin: 46px 0 0; line-height: 1.5; }

.rk-compare-table { display: flex; flex-direction: column; gap: 24px; }
.rk-compare-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rk-compare-table th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #a1a1aa; padding: 0 10px 12px; }
.rk-compare-table td { padding: 13px 10px; border-top: 1px solid #f4f4f5; color: var(--rk-muted); }
.rk-compare-table td:first-child { color: var(--rk-text); font-weight: 600; padding-left: 0; }
.rk-compare-table .is-rk { background: #f7fee7; color: var(--rk-text); font-weight: 700; }
.rk-compare-table th.is-rk { color: var(--rk-lime-text); border-radius: 10px 10px 0 0; padding-top: 10px; }
.rk-compare-table tr:last-child .is-rk { border-radius: 0 0 10px 10px; }
.rk-compare-table .fa-check { color: #16a34a; }
.rk-compare-table .fa-xmark { color: #d4d4d8; }
.rk-compare-table .rk-btn { align-self: flex-start; }

/* =========================================================
   FORMULES
   ========================================================= */
.rk-billing { display: inline-flex; background: #f4f4f5; border-radius: 99px; padding: 4px; margin-top: 18px; }
.rk-billing button { border: none; background: transparent; padding: 10px 20px; border-radius: 99px; font: 600 0.92rem 'Inter', sans-serif; cursor: pointer; color: var(--rk-muted); transition: 0.3s; }
.rk-billing button.is-on { background: #fff; color: var(--rk-text); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.rk-billing em { font-style: normal; font-size: 0.74rem; color: var(--rk-lime-text); background: var(--rk-lime-bg); padding: 2px 8px; border-radius: 99px; margin-left: 4px; }

.rk-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.rk-plan {
    position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 20px;
    background: #fff; border: 1px solid var(--rk-line); transition: transform 0.5s var(--rk-ease), box-shadow 0.5s, border-color 0.4s;
}
.rk-plan:hover { transform: translateY(-6px); border-color: #000; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25); }
.rk-plan.is-featured { background: #18181b; border-color: #18181b; color: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.45); }
.rk-plan.is-featured h3, .rk-plan.is-featured .rk-plan-price b { color: #fff; }
.rk-plan.is-featured p, .rk-plan.is-featured .rk-plan-price span { color: #a1a1aa; }
.rk-plan.is-featured li { color: #e4e4e7; }
.rk-plan.is-featured .fa-check { color: var(--rk-lime); }
.rk-plan.is-featured .rk-btn-primary { background: #fff; color: #18181b; border-color: #fff; }
.rk-plan.is-featured .rk-btn-primary:hover { background: transparent; color: #fff; }
.rk-plan-badge { position: absolute; top: -13px; left: 30px; background: var(--rk-lime); color: #1a2e05; font-size: 0.75rem; font-weight: 800; padding: 5px 12px; border-radius: 99px; }
.rk-plan h3 { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em; margin: 0 0 4px; }
.rk-plan-for { font-size: 0.92rem; margin: 0 0 22px; }
.rk-plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; min-height: 56px; }
.rk-plan-price b { font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.rk-plan[data-plan="custom"] .rk-plan-price b { font-size: 2rem; }
.rk-plan-price span { color: var(--rk-muted); font-weight: 500; }
.rk-plan-price s { color: #a1a1aa; font-size: 1rem; }
.rk-plan-term { font-size: 0.82rem; font-weight: 600; color: var(--rk-lime-text); margin: -16px 0 22px; min-height: 1.3em; }
.rk-plan.is-featured .rk-plan-term { color: #bef264; }
.rk-plan.is-featured .rk-plan-price s { color: #71717a; }
.rk-plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 0.93rem; flex: 1; }
.rk-plan li { display: flex; gap: 10px; }
.rk-plan .fa-check { color: #16a34a; margin-top: 4px; font-size: 0.85rem; }
.rk-plan .rk-btn { width: 100%; }
.rk-pricing-terms { text-align: center; font-size: 0.88rem; margin: 26px auto 0; max-width: 620px; }
.rk-price-flip { display: inline-block; animation: rk-flip 0.5s var(--rk-ease); }
@keyframes rk-flip { from { opacity: 0; transform: translateY(12px); } }

/* =========================================================
   SUISSE & PROXIMITÉ
   ========================================================= */
.rk-swiss { background: #fafafa; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
.rk-swiss-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: end; margin-bottom: 56px; }
.rk-swiss-head .rk-lead { margin: 0 0 1rem; }
.rk-swiss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rk-line); border: 1px solid var(--rk-line); border-radius: 20px; overflow: hidden; }
.rk-swiss-item { background: #fff; padding: 34px 30px; transition: background 0.4s; }
.rk-swiss-item:hover { background: #fcfdf7; }
.rk-swiss-item i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--rk-lime-bg); color: var(--rk-lime-text); font-size: 1.1rem; margin-bottom: 22px; transition: transform 0.5s var(--rk-ease); }
.rk-swiss-item:hover i { transform: scale(1.12) rotate(-6deg); }
.rk-swiss-item h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; }
.rk-swiss-item p { font-size: 0.94rem; line-height: 1.6; margin: 0; }

@media (max-width: 1000px) {
    .rk-compare-grid, .rk-swiss-head { grid-template-columns: 1fr; gap: 20px; }
    .rk-plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .rk-plan.is-featured { order: -1; }
    .rk-swiss-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .rk-compare-chart, .rk-compare-table { padding: 22px 18px; }
    .rk-compare-table table { font-size: 0.8rem; }
    .rk-compare-table th:nth-child(3), .rk-compare-table td:nth-child(3) { display: none; }
    .rk-compare-table td, .rk-compare-table th { padding-left: 6px; padding-right: 6px; }
    .rk-cbars { height: 230px; gap: 10px; }
    .rk-cbar b { font-size: 0.85rem; }
    .rk-cbar span { font-size: 0.72rem; }
    .rk-swiss-grid { grid-template-columns: 1fr; }
    .rk-billing button { padding: 9px 14px; }
}

/* ---------- Expertises ---------- */
.rk-expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1000px; }
.rk-exp {
    --mx: 50%; --my: 50%;
    position: relative; padding: 32px 28px 36px; border-radius: 12px; min-height: 270px;
    background: var(--rk-surface); border: 1px solid var(--rk-line);
    transform-style: preserve-3d; transition: transform 0.5s var(--rk-ease), border-color 0.4s, box-shadow 0.4s;
    overflow: hidden;
}
.rk-exp::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(0,0,0,0.06), transparent 45%);
}
.rk-exp:hover { border-color: #000; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.rk-exp:hover::before { opacity: 1; }
.rk-exp > * { position: relative; transform: translateZ(30px); }
.rk-exp-icon {
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 60px;
    background: white; border: 1px solid #eee; color: #000; font-size: 1.25rem;
}
.rk-exp h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.rk-exp p { font-size: 0.95rem; line-height: 1.6; }

/* ---------- Sur mesure (bloc noir du site d'origine) ---------- */
.rk-custom {
    --rk-text: #ffffff; --rk-muted: #a1a1aa; --rk-line: rgba(255,255,255,0.1);
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center;
    padding: 84px 70px; border-radius: 24px;
    background: #18181b; color: white;
}
.rk-custom-orb {
    position: absolute; z-index: -1; width: 560px; height: 560px; right: -200px; top: -220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(132,204,22,0.2) 0%, rgba(132,204,22,0.08) 40%, transparent 70%);
    animation: rk-float-a 16s ease-in-out infinite; will-change: transform;
}
.rk-custom .rk-eyebrow { color: #a1a1aa; }
.rk-words { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; margin-bottom: 36px; color: #fff !important; }
.rk-words .w { opacity: 0.2; }
.rk-custom-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rk-custom-list li {
    display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 14px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--rk-line);
    transition: background 0.35s, transform 0.45s var(--rk-ease);
}
.rk-custom-list li:hover { background: rgba(255,255,255,0.08); transform: translateX(-6px); }
.rk-custom-list i { color: white; font-size: 1.1rem; margin-top: 3px; width: 22px; text-align: center; }
.rk-custom-list strong { display: block; color: white; font-size: 1.05rem; margin-bottom: 3px; }
.rk-custom-list span { color: #a1a1aa; font-size: 0.93rem; }

/* ---------- Réalisations ---------- */
.rk-work-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.rk-work { grid-column: span 2; display: flex; flex-direction: column; color: inherit; border-radius: 16px; padding: 12px; background: white; border: 1px solid var(--rk-line); transition: border-color 0.4s, transform 0.6s var(--rk-ease), box-shadow 0.4s; }
.rk-work-wide { grid-column: span 3; }
.rk-work:hover { border-color: #000; transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15); }
.rk-work-media { border-radius: 10px; overflow: hidden; background: #f4f4f5; position: relative; border: 1px solid #f0f0f0; }
.rk-browser { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f4f4f5; border-bottom: 1px solid var(--rk-line); }
.rk-browser span { width: 10px; height: 10px; border-radius: 50%; }
.rk-browser span:nth-child(1) { background: #ff5f57; } .rk-browser span:nth-child(2) { background: #febc2e; } .rk-browser span:nth-child(3) { background: #28c840; }
.rk-browser em { margin-left: 12px; font-style: normal; font-size: 0.76rem; color: var(--rk-muted); background: white; border: 1px solid var(--rk-line); padding: 3px 12px; border-radius: 6px; flex: 1; text-align: center; max-width: 260px; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-work-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.rk-work-wide .rk-work-img { aspect-ratio: 16 / 9.2; }
.rk-work-img img { width: 100%; height: 115%; object-fit: cover; object-position: top; display: block; transition: transform 1s var(--rk-ease); will-change: transform; }
.rk-work:hover .rk-work-img img { transform: scale(1.05); }

.rk-work-info { display: flex; gap: 16px; align-items: flex-start; padding: 22px 10px 10px; }
.rk-work-logo { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; background: white; border: 1px solid #eee; flex-shrink: 0; padding: 4px; }
.rk-work-info > div { flex: 1; }
.rk-work-info h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.02em; }
.rk-work-info p { font-size: 0.95rem; line-height: 1.55; margin-bottom: 12px; }
.rk-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-tags span { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #f4f4f5; color: #52525b; }
.rk-work-arrow {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
    border: 1px solid var(--rk-line); color: var(--rk-text); transition: background 0.4s, color 0.4s, transform 0.5s var(--rk-ease), border-color 0.4s;
}
.rk-work:hover .rk-work-arrow { background: #000; color: white; border-color: #000; transform: rotate(45deg); }
.rk-work:hover .rk-work-arrow i { transform: rotate(-45deg); }
.rk-work-arrow i { transition: transform 0.5s var(--rk-ease); font-size: 0.85rem; }

/* ---------- CTA final & footer ---------- */
.rk-final { padding: 110px 0 150px; text-align: center; position: relative; overflow: hidden; }
.rk-final::before {
    content: ""; position: absolute; left: 50%; top: 55%; width: 800px; height: 420px; transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(217,249,157,0.55), transparent 65%); filter: blur(30px); z-index: 0;
}
.rk-final .rk-container { position: relative; }
.rk-final .rk-eyebrow { justify-content: center; }
.rk-final-title { font-weight: 900; font-size: clamp(2.8rem, 9vw, 7.5rem); line-height: 0.98; letter-spacing: -0.055em; margin-bottom: 50px; }
.rk-final-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

footer.rk-footer { background: #f9fafb; border-top: 1px solid #e5e5e5; padding: 36px 0; text-align: left; color: #666; }
.rk-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rk-footer p, .rk-footer a { font-size: 0.9rem; color: #666; }
.rk-footer a:hover { color: var(--rk-text); }
.rk-footer .rk-logo { font-size: 1.1rem; color: var(--rk-text); }

/* ---------- États d'animation (activés seulement si le JS tourne) ---------- */
.rk-anim [data-anim], .rk-anim .rk-reveal-hero { opacity: 0; }
.rk-anim .rk-line-inner { transform: translateY(110%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .rk-work-grid { grid-template-columns: 1fr 1fr; }
    .rk-work, .rk-work-wide { grid-column: auto; }
    .rk-work-wide .rk-work-img { aspect-ratio: 16 / 10; }
    .rk-expertise-grid { grid-template-columns: repeat(2, 1fr); }
    .rk-custom { grid-template-columns: 1fr; padding: 60px 40px; gap: 44px; }
}
@media (max-width: 900px) {
    .rk-section { padding: 90px 20px; }
    .rk-container { padding: 0 20px; }
    .rk-work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .rk-hero { min-height: auto; padding: calc(var(--rk-nav-h) + 56px) 0 80px; }
    .rk-scroll-hint { display: none; }
    .rk-hero-title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
    .rk-h2 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
    .rk-demo-copy .rk-h2 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
    .rk-demo-try div { max-width: none; }
    .rk-demo-actions .rk-btn { width: 100%; }
}
@media (max-width: 600px) {
    .rk-section { padding: 70px 16px; }
    .rk-container { padding: 0 16px; }
    .rk-expertise-grid { grid-template-columns: 1fr; }
    .rk-exp { min-height: auto; }
    .rk-exp-icon { margin-bottom: 28px; }
    .rk-custom { padding: 44px 24px; border-radius: 20px; }
    .rk-hero-ctas .rk-btn, .rk-final-ctas .rk-btn { width: 100%; }
    .rk-btn-xl { --pad-x: 1.6rem; }
    .rk-work-info { flex-wrap: wrap; }
    .rk-work-arrow { display: none; }
    .rk-footer-inner { flex-direction: column; text-align: center; }
    .rk-marquee { padding: 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .rk-anim [data-anim], .rk-anim .rk-reveal-hero, .rk-anim .rk-line-inner { opacity: 1; transform: none; }
    .rk-words .w { opacity: 1; }
}

/* =========================================================
   MOBILE : mise en page compacte (2026-10-06)
   Les longues listes de cartes deviennent des carrousels à faire glisser,
   les avantages passent sur 2 colonnes, les marges sont resserrées.
   ========================================================= */
@media (max-width: 700px) {
    .rk-section { padding-top: 56px; padding-bottom: 56px; }
    .rk-section-head { margin-bottom: 28px; }

    /* Carrousels horizontaux : formules, expertises, réalisations */
    .rk-plans, .rk-expertise-grid, .rk-work-grid {
        display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scroll-padding: 0 16px;
        margin: 0 -16px; padding: 8px 16px 6px; max-width: none;
        scrollbar-width: none; -webkit-overflow-scrolling: touch; perspective: none;
    }
    .rk-plans::-webkit-scrollbar, .rk-expertise-grid::-webkit-scrollbar, .rk-work-grid::-webkit-scrollbar { display: none; }
    .rk-plans > *, .rk-expertise-grid > *, .rk-work-grid > * { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }
    .rk-expertise-grid > * { flex-basis: 76%; }
    .rk-exp > * { transform: none; }
    .rk-work:hover, .rk-exp:hover { transform: none; }

    /* Points de navigation sous les carrousels (ajoutés par landing.js) */
    .rk-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
    .rk-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #d4d4d8; cursor: pointer; transition: width .3s, background .3s; }
    .rk-dots button.is-on { width: 22px; background: #18181b; }
    .rk-custom .rk-dots button.is-on { background: #fff; }

    /* Avantages : 2 colonnes compactes */
    .rk-swiss-grid { grid-template-columns: 1fr 1fr; border-radius: 16px; }
    .rk-swiss-item { padding: 18px 14px; }
    .rk-swiss-item i { width: 38px; height: 38px; font-size: .95rem; margin-bottom: 12px; }
    .rk-swiss-item h3 { font-size: .98rem; line-height: 1.25; }
    .rk-swiss-item p { font-size: .82rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

    /* Sur mesure : décor plus discret, liste resserrée */
    .rk-custom { gap: 28px; }
    .rk-custom-orb { width: 300px; height: 300px; right: -120px; top: -120px; }
    .rk-custom-list li { padding: 14px 16px; gap: 12px; }
    .rk-custom-list strong { font-size: .98rem; }
    .rk-custom-list span { font-size: .86rem; }
    .rk-words { margin-bottom: 24px; }

    /* Comparatif : graphique moins haut */
    .rk-cbars { height: 200px; }
    .rk-compare-note { margin-top: 28px; }
}
@media (max-width: 340px) {
    .rk-swiss-grid { grid-template-columns: 1fr; }
    .rk-swiss-item p { -webkit-line-clamp: unset; display: block; }
}
