/* ==========================================================================
   inventairo — public website (home, contact, public pages)
   Clean corporate ERP style: light surfaces, Source Sans 3, one red accent.
   Mobile first; breakpoints follow Bootstrap (576 / 768 / 992 / 1200).
   ========================================================================== */

:root {
    --s-ink: #141922;
    --s-text: #3a4250;
    --s-muted: #667085;
    --s-line: #e4e7ec;
    --s-line-2: #d0d5dd;
    --s-soft: #f6f7f9;
    --s-soft-2: #eef1f4;
    --s-white: #ffffff;
    --s-brand: #c81e1e;
    --s-brand-dark: #a51717;
    --s-brand-soft: #fdf3f3;
    --s-navy: #0f1622;
    --s-navy-2: #18212f;
    --s-ok: #1a7f37;
    --s-radius: 10px;
    --s-radius-sm: 8px;
    --s-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    --s-shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
    --s-shadow-lg: 0 20px 48px rgba(16, 24, 40, .14);
    --s-header-h: 68px;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--s-header-h) + 16px); }

/* Slim, discreet scrollbars (page and inner areas) instead of the default ones.
   Chrome/Edge/Safari use the ::-webkit rules; Firefox uses scrollbar-width/color
   (kept out of Chromium, where they would override the ::-webkit rules). */
@supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: #c3c9d2 transparent; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c3c9d2; border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #98a2b3; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }
body {
    margin: 0;
    font-family: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--s-text);
    background: var(--s-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { color: var(--s-ink); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1rem; }
a { color: var(--s-brand); }
img { max-width: 100%; }
strong { color: inherit; font-weight: 600; }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 1.8; flex-shrink: 0; vertical-align: -3px; }

/* Display helper: shows an all-caps source text in sentence case (text itself unchanged) */
.sc { display: inline-block; text-transform: lowercase; }
.sc::first-letter { text-transform: uppercase; }

.s-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .s-container { padding: 0 28px; } }

/* ---------- Buttons ---------- */
.s-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--s-radius-sm); border: 1px solid transparent;
    font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
}
.s-btn svg { width: 17px; height: 17px; }
.s-btn-primary { background: var(--s-brand); color: #fff; }
.s-btn-primary:hover { background: var(--s-brand-dark); color: #fff; box-shadow: 0 6px 16px rgba(200, 30, 30, .22); }
.s-btn-secondary { background: var(--s-white); border-color: var(--s-line-2); color: var(--s-ink); }
.s-btn-secondary:hover { background: var(--s-soft); color: var(--s-ink); }
.s-btn-dark { background: var(--s-ink); color: #fff; }
.s-btn-dark:hover { background: #000; color: #fff; }
.s-btn-on-dark { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.s-btn-on-dark:hover { background: rgba(255,255,255,.1); color: #fff; }
.s-btn-sm { padding: 8px 14px; font-size: 14px; }
.s-btn-block { width: 100%; }
.s-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--s-brand); text-decoration: none; }
.s-link:hover { color: var(--s-brand-dark); gap: 9px; }
.s-link svg { width: 16px; height: 16px; transition: transform .15s; }

/* ---------- Top bar ---------- */
.s-topbar { background: var(--s-navy); color: #aab4c3; font-size: 13.5px; }
.s-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.s-topbar-info { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.s-topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.s-topbar-info svg { width: 14px; height: 14px; color: #7c8899; }
.s-topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.s-topbar a:hover { color: #fff; text-decoration: underline; }
.s-topbar a svg { width: 14px; height: 14px; }
@media (max-width: 767.98px) { .s-topbar-info { display: none; } .s-topbar-inner { justify-content: flex-end; } .s-topbar-guest { display: none; } }

/* ---------- Header / navigation ---------- */
.s-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--s-line); transition: box-shadow .2s; }
.s-header.is-scrolled { box-shadow: 0 4px 18px rgba(16, 24, 40, .07); }
.s-header-inner { display: flex; align-items: center; gap: 24px; height: var(--s-header-h); }
.s-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.s-brand img { height: 42px; width: auto; object-fit: contain; }
.s-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.s-nav-link { position: relative; padding: 8px 12px; color: var(--s-ink); font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 6px; white-space: nowrap; }
.s-nav-link:hover { color: var(--s-brand); }
.s-nav-link.active { color: var(--s-brand); }
.s-nav-link.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 2px; background: var(--s-brand); }
.s-header-cta { display: none; margin-left: 8px; }
.s-burger { margin-left: auto; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--s-line); border-radius: 8px; background: var(--s-white); color: var(--s-ink); }
.s-burger svg { width: 20px; height: 20px; }
@media (min-width: 992px) {
    .s-nav, .s-header-cta { display: flex; }
    .s-burger { display: none; }
}
.s-mobile-nav { display: none; border-top: 1px solid var(--s-line); background: var(--s-white); padding: 8px 20px 18px; }
.s-mobile-nav.open { display: block; }
.s-mobile-nav a.s-nav-link { display: block; padding: 12px 4px; border-bottom: 1px solid var(--s-line); border-radius: 0; }
.s-mobile-nav a.s-nav-link.active::after { display: none; }
.s-mobile-nav .s-btn { margin-top: 14px; }
@media (min-width: 992px) { .s-mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.s-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 420px at 92% -10%, rgba(200, 30, 30, .08), transparent 60%),
        linear-gradient(180deg, #fbfbfc 0%, #f4f6f8 100%);
    border-bottom: 1px solid var(--s-line);
}
.s-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--s-line) 1px, transparent 1px), linear-gradient(90deg, var(--s-line) 1px, transparent 1px);
    background-size: 44px 44px; opacity: .35;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.s-hero-inner { position: relative; display: grid; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.s-hero-inner > * { min-width: 0; }
@media (min-width: 992px) { .s-hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; padding-top: 80px; padding-bottom: 88px; } }
.s-hero h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.12; letter-spacing: -0.02em; margin: 14px 0 18px; }
.s-hero-lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--s-text); max-width: 600px; margin-bottom: 28px; }
.s-hero-lead strong { color: var(--s-ink); }
.s-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.s-hero-ctas .s-btn { padding: 13px 22px; font-size: 15.5px; }
/* Hero visual: our Back-office on a laptop + the Pré-Vendeur app on a phone (real screens) */
.s-hero-visual { position: relative; isolation: isolate; padding: 0 7% 11% 0; }
.s-hero-visual::before {
    content: ''; position: absolute; inset: 4% -4% -2% 6%; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(200, 30, 30, .13), rgba(200, 30, 30, .04) 60%, transparent);
}
.s-hero-laptop { position: relative; }
.s-hero-laptop .s-laptop { box-shadow: 0 30px 60px rgba(16, 24, 40, .20), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.s-hero-screen { border-radius: 4px; overflow: hidden; background: #fff; }
.s-hero-screen img, .s-hero-phone-screen img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }
.s-hero-phone { position: absolute; right: 0; bottom: 0; width: 27%; }
.s-hero-phone .s-phone { max-width: none; padding: 6px; border-radius: 24px; box-shadow: 0 26px 48px rgba(16, 24, 40, .28), 0 4px 12px rgba(16, 24, 40, .14), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.s-hero-phone-screen { border-radius: 18px; overflow: hidden; background: #fff; }
.s-hero-chip {
    position: absolute; left: 3%; bottom: 0; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: 999px; background: var(--s-white); border: 1px solid var(--s-line);
    box-shadow: var(--s-shadow-md); font-size: 13.5px; font-weight: 700; color: var(--s-ink); white-space: nowrap;
}
.s-live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; flex: none; }
.s-live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: s-live 1.8s ease-out infinite; }
@keyframes s-live { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .s-live-dot::after { animation: none; } }
@media (min-width: 1400px) { .s-hero-visual { margin-right: -80px; } }
@media (max-width: 991.98px) { .s-hero-visual { max-width: 640px; margin: 0 auto; width: 100%; } }
@media (max-width: 575.98px) {
    .s-hero-visual { padding: 0 9% 14% 0; }
    .s-hero-phone { width: 29%; }
    .s-hero-phone .s-phone { padding: 4px; border-radius: 16px; }
    .s-hero-phone-screen { border-radius: 12px; }
    .s-hero-chip { left: 0; bottom: 4%; padding: 7px 11px; font-size: 12px; }
}

/* ---------- Sections ---------- */
.s-section { padding: 64px 0; }
@media (min-width: 992px) { .s-section { padding: 88px 0; } }
.s-section-soft { background: var(--s-soft); border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.s-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-brand); }
.s-head { max-width: 760px; margin-bottom: 40px; }
.s-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 10px 0 14px; }
.s-head p { font-size: 17px; color: var(--s-muted); margin: 0; }

/* ---------- Key features (6 cards) ---------- */
.s-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .s-grid-2, .s-grid-3, .s-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .s-grid-3 { grid-template-columns: repeat(3, 1fr); } .s-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.s-card { background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 26px; transition: box-shadow .2s, border-color .2s, transform .2s; height: 100%; }
.s-card:hover { box-shadow: var(--s-shadow-md); border-color: var(--s-line-2); }
.s-feature { display: flex; flex-direction: column; }
.s-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--s-brand-soft); color: var(--s-brand); margin-bottom: 18px; }
.s-icon svg { width: 22px; height: 22px; }
/* Snake border: a line in the icon colour running around its frame */
@property --s-snake { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.s-icon { position: relative; }
.s-icon::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--s-snake), transparent 0 65%, currentColor 92%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: s-snake 2.6s linear infinite;
}
@keyframes s-snake { to { --s-snake: 360deg; } }
@media (prefers-reduced-motion: reduce) { .s-icon::before { animation: none; } }
.s-badge { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); margin-bottom: 6px; }
.s-feature h3 { font-size: 20px; margin: 0 0 8px; }
.s-feature p { color: var(--s-muted); font-size: 15.5px; margin-bottom: 18px; }
.s-feature .s-link { margin-top: auto; }

/* Callout */
.s-callout { margin-top: 40px; display: grid; gap: 8px; padding: 26px 28px; border-radius: var(--s-radius); background: var(--s-navy); color: #c3cad5; position: relative; overflow: hidden; }
.s-callout::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--s-brand); }
.s-callout h4 { color: #fff; font-size: clamp(18px, 2vw, 21px); margin: 0; font-weight: 600; line-height: 1.4; }
.s-callout p { margin: 0; font-size: 15.5px; }

/* ---------- Module explorer (19 modules) ---------- */
.s-modules-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 72px 0 24px; padding-top: 40px; border-top: 1px solid var(--s-line); }
.s-modules-head h3 { font-size: clamp(21px, 2.4vw, 26px); margin: 0; max-width: 720px; }
.s-modules { display: grid; gap: 20px; }
@media (min-width: 992px) { .s-modules { grid-template-columns: 330px 1fr; align-items: start; gap: 28px; } }
/* Module list: all 19 visible, no inner scrollbar */
.s-mod-nav { display: none; }
@media (min-width: 992px) {
    .s-mod-nav { display: grid; gap: 2px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-white); padding: 6px; }
}
.s-mod-tab { display: flex; width: 100%; text-align: left; gap: 10px; align-items: center; padding: 7px 10px; border: 0; background: transparent; border-radius: 7px; color: var(--s-text); cursor: pointer; transition: background-color .15s, color .15s; }
.s-mod-tab:hover { background: var(--s-soft); color: var(--s-ink); }
.s-mod-num { flex-shrink: 0; width: 28px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--s-soft-2); color: var(--s-muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .15s, color .15s; }
.s-mod-name { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.3; }
.s-mod-tab.active { background: var(--s-brand-soft); color: var(--s-brand-dark); }
.s-mod-tab.active .s-mod-num { background: var(--s-brand); color: #fff; }
.s-mod-select-wrap { display: block; }
@media (min-width: 992px) { .s-mod-select-wrap { display: none; } }
.s-mod-select-wrap label { display: block; font-size: 13.5px; font-weight: 600; color: var(--s-ink); margin-bottom: 6px; }
.s-mod-select { width: 100%; padding: 12px 14px; border: 1px solid var(--s-line-2); border-radius: var(--s-radius-sm); font-size: 15px; background: var(--s-white); color: var(--s-ink); font-family: inherit; }
.s-mod-panels { min-width: 0; }
/* Desktop: the details stay in view while scrolling down the list */
@media (min-width: 992px) { .s-mod-panels { position: sticky; top: calc(var(--s-header-h) + 20px); } }
.s-mod-panel { background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 28px; box-shadow: var(--s-shadow); }
@media (min-width: 768px) { .s-mod-panel { padding: 36px; } }
.js .s-mod-panel:not(.active) { display: none; }
.s-mod-panel h4 { font-size: clamp(21px, 2.4vw, 27px); margin: 6px 0 22px; line-height: 1.3; }
.s-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 28px; }
@media (min-width: 768px) { .s-checks.cols { grid-template-columns: 1fr 1fr; } }
.s-checks li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; }
.s-checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--s-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c81e1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.s-result { margin-top: 26px; padding: 16px 18px; border-radius: var(--s-radius-sm); background: var(--s-soft); border: 1px solid var(--s-line); display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--s-ink); }
.s-result svg { color: var(--s-ok); margin-top: 2px; width: 20px; height: 20px; }
.s-result strong { display: block; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--s-ok); margin-bottom: 2px; }
/* Previous / next module cards */
.s-mod-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; margin-top: 16px; }
.s-pager-btn { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-white); color: var(--s-ink); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
.s-pager-btn.is-next { justify-content: flex-end; text-align: right; }
.s-pager-btn:hover { border-color: var(--s-line-2); box-shadow: var(--s-shadow-md); }
.s-pager-arrow { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--s-soft); color: var(--s-ink); transition: background-color .15s, color .15s, transform .15s; }
.s-pager-arrow svg { width: 17px; height: 17px; }
.s-pager-btn:hover .s-pager-arrow { background: var(--s-brand); color: #fff; }
.s-pager-btn:not(.is-next):hover .s-pager-arrow { transform: translateX(-2px); }
.s-pager-btn.is-next:hover .s-pager-arrow { transform: translateX(2px); }
.s-pager-text { min-width: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.35; color: var(--s-text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.s-pager-count { align-self: center; padding: 0 4px; font-size: 13px; font-weight: 700; color: var(--s-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 575.98px) {
    .s-pager-text { display: none; }
    .s-pager-btn { justify-content: center; padding: 10px; }
    .s-pager-btn.is-next { justify-content: center; }
}

/* ---------- Application interfaces (5 phones playing the app recordings) ---------- */
.s-apps { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 12px; margin: 0 -4px; scrollbar-width: none; -ms-overflow-style: none; }
.s-apps::-webkit-scrollbar { display: none; }
/* Arrows + dots under the phone row (small screens only) */
.s-apps-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
@media (min-width: 992px) { .s-apps-nav { display: none; } }
.s-round-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--s-line-2); background: var(--s-white); color: var(--s-ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--s-shadow); transition: background-color .15s, color .15s, opacity .15s; }
.s-round-btn svg { width: 18px; height: 18px; }
.s-round-btn:not(:disabled):hover { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.s-round-btn:disabled { opacity: .35; cursor: default; }
.s-dots { display: flex; align-items: center; gap: 8px; }
.s-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--s-line-2); transition: width .25s, background-color .25s; }
.s-dot.active { width: 24px; background: var(--s-brand); }
.s-app { flex: 0 0 64%; max-width: 250px; margin: 0; scroll-snap-align: center; text-align: center; }
@media (min-width: 576px) { .s-app { flex-basis: 38%; } }
@media (min-width: 992px) {
    .s-apps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; overflow: visible; padding: 8px 0 0; margin: 0; }
    .s-app { max-width: none; }
}
.s-phone { position: relative; max-width: 220px; margin: 0 auto; padding: 7px; border-radius: 30px; background: #111827; box-shadow: 0 22px 44px rgba(16, 24, 40, .18), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .3s; }
.s-app:hover .s-phone { transform: translateY(-4px); }
.s-phone-screen { position: relative; aspect-ratio: 480 / 1068; border-radius: 23px; overflow: hidden; background: linear-gradient(180deg, #eef1f4, #f8f9fb); }
.s-phone-screen video, .s-laptop-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
/* Transparent shield: clicks and taps never reach the video (no pause, no fullscreen) */
.s-phone-screen::after, .s-laptop-screen::after { content: ''; position: absolute; inset: 0; }

/* Back-office screen in a laptop frame */
.s-desktop { max-width: 980px; margin: 0 auto 56px; text-align: center; }
.s-laptop { padding: 10px 10px 12px; border-radius: 14px 14px 0 0; background: #111827; box-shadow: 0 26px 50px rgba(16, 24, 40, .18), inset 0 0 0 1px rgba(255, 255, 255, .08); }
@media (min-width: 768px) { .s-laptop { padding: 14px 14px 16px; border-radius: 18px 18px 0 0; } }
.s-laptop-screen { position: relative; aspect-ratio: 1280 / 638; border-radius: 4px; overflow: hidden; background: linear-gradient(180deg, #eef1f4, #f8f9fb); }
.s-laptop-base { position: relative; height: 12px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #e4e7ec 0%, #c2c8d0 100%); box-shadow: 0 10px 18px rgba(16, 24, 40, .12); }
.s-laptop-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #aab2bd; }
@media (min-width: 768px) { .s-laptop-base { height: 16px; } .s-laptop-base::before { height: 6px; } }
.s-desktop figcaption { margin-top: 22px; }
.s-desktop figcaption .s-badge { color: var(--s-brand); margin-bottom: 4px; }
.s-desktop figcaption h4 { font-size: 18px; margin: 0; }
.s-app figcaption { margin-top: 18px; }
.s-app figcaption .s-badge { color: var(--s-brand); margin-bottom: 4px; }
.s-app figcaption h4 { font-size: 16.5px; margin: 0 0 6px; }
.s-app figcaption p { color: var(--s-muted); font-size: 14.5px; margin: 0; line-height: 1.5; }

/* ---------- Why inventairo ---------- */
.s-why { display: grid; gap: 32px; }
@media (min-width: 992px) { .s-why { grid-template-columns: 1.25fr .9fr; align-items: start; gap: 48px; } }
.s-why-intro { font-size: 17px; color: var(--s-muted); margin-bottom: 28px; }
.s-point { background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 22px; height: 100%; }
.s-point .s-badge { color: var(--s-brand); }
.s-point h5 { font-size: 18px; margin: 0 0 6px; }
.s-point p { color: var(--s-muted); font-size: 15px; margin: 0; }
.s-vision { background: var(--s-white); border: 1px solid var(--s-line); border-radius: 14px; padding: 28px; box-shadow: var(--s-shadow-md); }
@media (min-width: 992px) { .s-vision { position: sticky; top: calc(var(--s-header-h) + 24px); } }
.s-vision-title { font-size: 20px; margin: 6px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--s-line); letter-spacing: .02em; }
.s-vision-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--s-line); }
.s-vision-item:last-of-type { border-bottom: 0; }
.s-vision-item .s-icon { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
.s-vision-item h6 { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 2px; font-weight: 700; }
.s-vision-item .lead-line { font-weight: 600; color: var(--s-ink); margin: 0 0 2px; font-size: 15.5px; }
.s-vision-item p { margin: 0; color: var(--s-muted); font-size: 14.5px; }

/* ---------- Guarantees / commitments ---------- */
.s-tag-line { color: var(--s-brand); font-weight: 600; font-size: 15px; margin: 0 0 14px; }
.s-card h4, .s-card h3.h4 { font-size: 18.5px; margin: 0 0 6px; }
.s-card h3.h4 { font-weight: 700; color: var(--s-ink); line-height: 1.25; }
.s-card > p { color: var(--s-muted); font-size: 15px; margin: 0; }
.s-card .s-checks li { font-size: 14.5px; }
.s-card .s-checks { gap: 8px; }

/* ---------- FAQ (accordion) ---------- */
.s-faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.s-faq details { background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); transition: border-color .15s, box-shadow .15s; }
.s-faq details[open] { border-color: var(--s-line-2); box-shadow: var(--s-shadow-md); }
.s-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 16.5px; color: var(--s-ink); }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: ''; margin-left: auto; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--s-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141922' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.s-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--s-brand-soft); }
/* Same snake border as the icons: "+" on top, filled disc, rotating red line visible only on the outer ring */
.s-faq summary::after {
    --faq-fill: var(--s-soft);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141922' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat,
        radial-gradient(closest-side, var(--faq-fill) calc(100% - 1.5px), transparent calc(100% - 1px)),
        conic-gradient(from var(--s-snake), transparent 0 65%, var(--s-brand) 92%, transparent 100%);
    animation: s-snake 2.6s linear infinite;
}
.s-faq details[open] summary::after { --faq-fill: var(--s-brand-soft); }
@media (prefers-reduced-motion: reduce) { .s-faq summary::after { animation: none; } }
.s-faq summary:hover { color: var(--s-brand); }
.s-faq .s-faq-body { padding: 0 22px 20px; color: var(--s-text); font-size: 15.5px; }
.s-faq .s-faq-body p { margin: 0; }
.s-faq .s-faq-body strong { color: var(--s-ink); }

/* CTA band */
.s-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; border-radius: 14px; background: var(--s-navy); color: #c3cad5; background-image: radial-gradient(600px 240px at 100% 0%, rgba(200, 30, 30, .35), transparent 70%); }
.s-cta h4 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 6px; }
.s-cta p { margin: 0; }
.s-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.s-footer { background: var(--s-navy); color: #9aa5b5; font-size: 15px; padding: 64px 0 28px; }
.s-footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .s-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .s-footer-grid { grid-template-columns: 1.4fr 1fr .9fr 1fr; } }
.s-footer-logo { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 16px; }
.s-footer h6 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 8px; letter-spacing: 0; }
.s-footer h5 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; margin: 0 0 16px; }
.s-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.s-footer a { color: #c3cad5; text-decoration: none; }
.s-footer a:hover { color: #fff; }
.s-footer-label { color: #fff; font-weight: 600; margin: 0 0 2px; }
.s-footer-value { margin: 0 0 14px; }
.s-footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 14px; }
.s-footer-links-inline { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.s-footer-simple { padding: 40px 0 24px; }
.s-footer-simple .s-footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; flex-direction: column; text-align: center; }
@media (min-width: 768px) { .s-footer-simple .s-footer-bottom { flex-direction: row; text-align: left; } }

/* ---------- Inner pages (contact, public pages) ---------- */
body.s-inner { min-height: 100vh; display: flex; flex-direction: column; }
body.s-inner > main { flex: 1 0 auto; }
body.s-inner > :not(.s-wa-float):not(.s-top) { width: 100%; }
.s-page-hero { background: linear-gradient(180deg, #fbfbfc 0%, #f4f6f8 100%); border-bottom: 1px solid var(--s-line); padding: 44px 0 40px; }
.s-page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 8px; }
.s-crumb { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); }
.s-prose { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--s-text); }
.s-prose h2 { font-size: 26px; margin: 2em 0 .6em; }
.s-prose h2:first-child, .s-prose h3:first-child { margin-top: 0; }
.s-prose h3 { font-size: 21px; margin: 1.8em 0 .5em; }
.s-prose h4 { font-size: 18px; margin: 1.6em 0 .5em; }
.s-prose ul, .s-prose ol { padding-left: 1.3em; }
.s-prose li { margin-bottom: .4em; }
.s-prose a { color: var(--s-brand); }
.s-prose img { border-radius: var(--s-radius); }

/* Pricing page */
.s-pricing-hero { padding-bottom: 32px; }
.s-pricing-lead { max-width: 640px; margin: 10px auto 0; color: var(--s-text); font-size: 18px; }
.s-pricing-section { padding-top: 40px; }
.s-plans { display: grid; gap: 22px; align-items: start; }
@media (min-width: 992px) { .s-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 991.98px) { .s-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s-plan.is-featured { grid-column: 1 / -1; } }
.s-plan { position: relative; background: var(--s-white); border: 1px solid var(--s-line); border-radius: 16px; padding: 28px 24px; box-shadow: var(--s-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.s-plan:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 24, 40, .10); }
.s-plan.is-featured { border: 2px solid var(--s-brand); box-shadow: 0 18px 44px rgba(200, 30, 30, .14); }
.s-plan-badge { position: absolute; top: -13px; left: 24px; background: var(--s-brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.s-plan-name { font-size: 22px; margin: 0 0 4px; }
.s-plan-tag { color: var(--s-muted); margin: 0 0 16px; font-size: 15.5px; }
.s-plan-users { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--s-soft); color: var(--s-ink); font-size: 15px; margin-bottom: 18px; }
.s-plan-users svg { width: 17px; height: 17px; color: var(--s-brand); }
.s-plan-price { display: flex; align-items: flex-end; gap: 8px; color: var(--s-ink); }
.s-plan-price .amount { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.s-plan-price .unit { display: flex; flex-direction: column; font-weight: 700; font-size: 16px; line-height: 1.2; padding-bottom: 4px; }
.s-plan-price .unit small { font-weight: 600; font-size: 13px; color: var(--s-muted); }
.s-plan-renew { margin: 10px 0 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--s-line); color: var(--s-text); font-size: 15px; }
.s-plan-renew strong { color: var(--s-ink); }
.s-btn-block { width: 100%; justify-content: center; }
.s-plan-list { margin: 22px 0 0; }
.s-plan-list li { font-size: 15px; }
.s-plan-extras { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--s-brand-soft); }
.s-plan-extras-title { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--s-brand); }
.s-plan-extras .s-plan-list { margin-top: 10px; }
.s-plan-note { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 22px; border: 1px solid var(--s-line); border-radius: 14px; background: var(--s-white); }
.s-plan-note .s-icon { margin: 0; flex: none; }
.s-plan-note p { color: var(--s-text); }
.s-compare-wrap { background: var(--s-white); }
.s-compare th[scope="row"] { font-weight: 600; color: var(--s-ink); text-transform: none; letter-spacing: 0; font-size: 15px; background: none; min-width: 220px; }
.s-compare thead th:not(:first-child), .s-compare td { text-align: center; }
.s-compare thead th.is-featured { color: var(--s-brand); }
.s-compare td { white-space: nowrap; }
.s-yes { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: #ecfdf3; color: #16a34a; }
.s-yes svg { width: 15px; height: 15px; stroke-width: 3; }
.s-no { color: #98a2b3; }

/* Privacy policy: table of contents + numbered sections */
.s-policy-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--s-muted); font-size: 15px; font-weight: 600; }
.s-policy-meta svg { width: 16px; height: 16px; }
.s-policy-wrap { display: grid; gap: 28px; }
.s-policy-wrap > * { min-width: 0; }
@media (min-width: 992px) { .s-policy-wrap { grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; } .s-policy-wrap aside { position: sticky; top: calc(var(--s-header-h) + 20px); } }
.s-toc { background: var(--s-white); border: 1px solid var(--s-line); border-radius: 12px; padding: 14px; }
.s-toc summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--s-ink); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px 10px; }
.s-toc summary::-webkit-details-marker { display: none; }
.s-toc ol { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - 200px); overflow: auto; }
.s-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--s-text); font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.s-toc a span { color: var(--s-muted); font-weight: 700; font-size: 12.5px; min-width: 18px; padding-top: 1px; }
.s-toc a:hover, .s-toc a.active { background: var(--s-brand-soft); color: var(--s-brand); }
.s-toc a.active span { color: var(--s-brand); }
.s-policy { max-width: none; margin: 0; }
.s-policy-lead { font-size: 18px; color: var(--s-ink); margin-bottom: 32px; }
.s-policy section { scroll-margin-top: calc(var(--s-header-h) + 20px); padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--s-line); }
.s-policy section:last-child { border-bottom: 0; }
.s-policy h2 { display: flex; align-items: baseline; gap: 12px; font-size: 24px; margin: 0 0 .7em; }
.s-policy h2 .n { flex: none; font-size: 14px; font-weight: 700; color: var(--s-brand); background: var(--s-brand-soft); border-radius: 6px; padding: 3px 8px; }
.s-policy h3 { font-size: 18px; margin: 1.4em 0 .4em; }
.s-policy .s-legal { margin-top: 8px; }
.s-note { background: var(--s-soft); border-left: 3px solid var(--s-brand); border-radius: 8px; padding: 14px 16px; font-size: 16px; }
.s-table-wrap { overflow-x: auto; border: 1px solid var(--s-line); border-radius: 12px; margin: 8px 0 16px; }
.s-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.s-table th { background: var(--s-soft); color: var(--s-ink); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-align: left; padding: 12px 16px; }
.s-table td { padding: 12px 16px; border-top: 1px solid var(--s-line); vertical-align: top; }
.s-table code { font-size: 13.5px; color: var(--s-ink); background: var(--s-soft); padding: 2px 6px; border-radius: 4px; }

.s-contact { display: grid; gap: 24px; }
@media (min-width: 992px) { .s-contact { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 32px; } }
.s-contact-info { background: var(--s-navy); color: #c3cad5; border-radius: 14px; padding: 32px; background-image: radial-gradient(500px 220px at 100% 0%, rgba(200, 30, 30, .3), transparent 70%); }
.s-contact-info h3 { color: #fff; font-size: 22px; margin: 0 0 10px; letter-spacing: .02em; }
.s-contact-info > p { font-size: 15.5px; margin-bottom: 26px; }
.s-contact-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.s-contact-row .s-icon { margin: 0; width: 40px; height: 40px; background: rgba(255,255,255,.08); color: #fff; flex-shrink: 0; }
.s-contact-row .k { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #fff; margin-bottom: 2px; }
.s-contact-row .v { font-size: 15px; color: #c3cad5; }
.s-form-card { background: var(--s-white); border: 1px solid var(--s-line); border-radius: 14px; padding: 28px; box-shadow: var(--s-shadow-md); }
@media (min-width: 768px) { .s-form-card { padding: 36px; } }
.s-form-card h2 { font-size: 26px; margin: 0 0 6px; }
.s-form-card > p { color: var(--s-muted); margin-bottom: 24px; }
.s-form-card .form-label { font-size: 14px; font-weight: 600; color: var(--s-ink); margin-bottom: 6px; }
.s-form-card .form-control { border: 1px solid var(--s-line-2); border-radius: var(--s-radius-sm); padding: 11px 14px; font-size: 15px; font-family: inherit; }
.s-form-card .form-control:focus { border-color: #98a2b3; box-shadow: 0 0 0 4px rgba(152, 162, 179, .18); }
.s-alert-success { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--s-radius-sm); background: #ecfdf3; border: 1px solid #abefc6; color: #067647; font-weight: 600; margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   Quote form ("Demander un Devis"): choice cards, counters, chips, city picker
   ========================================================================== */
.s-contact { align-items: start; }
@media (min-width: 992px) { .s-contact-info { position: sticky; top: calc(var(--s-header-h) + 20px); } }
.s-form-section { padding: 24px 0; border-top: 1px solid var(--s-line); }
.s-form-section:first-of-type { border-top: 0; padding-top: 4px; }
.s-form-step { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 17px; font-weight: 700; color: var(--s-ink); }
.s-form-step span { width: 26px; height: 26px; border-radius: 50%; background: var(--s-ink); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.s-optional { font-weight: 400; color: var(--s-muted); font-size: 13px; }
.s-field-error { display: flex; gap: 6px; align-items: center; color: #b42318; font-size: 13.5px; margin-top: 8px; }
.s-field-error svg { width: 15px; height: 15px; }
.s-form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--s-radius-sm); background: #fef3f2; border: 1px solid #fecdca; color: #b42318; font-size: 14.5px; margin-bottom: 20px; }

/* Choice cards (radio inputs styled as cards) */
.s-choices { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .s-choices-3 { grid-template-columns: repeat(3, 1fr); } .s-choices-sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .s-choices-sectors { grid-template-columns: repeat(3, 1fr); } }
.s-choice { position: relative; display: block; margin: 0; cursor: pointer; }
.s-choice input { position: absolute; opacity: 0; pointer-events: none; }
.s-choice-body { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 14px; border: 1.5px solid var(--s-line-2); border-radius: var(--s-radius-sm); background: var(--s-white); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.s-choice:hover .s-choice-body { border-color: #98a2b3; }
.s-choice input:focus-visible + .s-choice-body { box-shadow: 0 0 0 4px rgba(200, 30, 30, .15); }
.s-choice input:checked + .s-choice-body { border-color: var(--s-brand); background: var(--s-brand-soft); box-shadow: 0 0 0 1px var(--s-brand) inset; }
.s-choice-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--s-soft); color: var(--s-ink); flex-shrink: 0; transition: background-color .15s, color .15s; }
.s-choice-icon svg { width: 19px; height: 19px; }
.s-choice input:checked + .s-choice-body .s-choice-icon { background: var(--s-brand); color: #fff; }
.s-choice-title { display: block; font-weight: 600; color: var(--s-ink); font-size: 15px; line-height: 1.3; }
.s-choice-hint { display: block; color: var(--s-muted); font-size: 13px; line-height: 1.35; margin-top: 3px; }
.s-choice-check { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--s-line-2); flex-shrink: 0; margin-top: 2px; transition: all .15s; }
.s-choice input:checked + .s-choice-body .s-choice-check { border-color: var(--s-brand); background: var(--s-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.s-choices-sectors .s-choice-body { align-items: center; padding: 11px 12px; }
/* Distribution cards: vertical layout (icon, title, hint) with the check in the corner */
@media (min-width: 576px) {
    .s-choices-3 .s-choice-body { position: relative; flex-direction: column; gap: 10px; padding: 16px; }
    .s-choices-3 .s-choice-check { position: absolute; top: 14px; right: 14px; margin: 0; }
}
/* Phones: the form first, company details after */
@media (max-width: 991.98px) { .s-contact .s-form-card { order: -1; } }
.s-choices-sectors .s-choice-icon { width: 32px; height: 32px; }

/* Team counters */
.s-teams { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 576px) { .s-teams { grid-template-columns: repeat(3, 1fr); } }
.js .s-team[hidden] { display: none; }
.s-team { padding: 14px; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); background: var(--s-soft); }
.s-team label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--s-ink); margin-bottom: 10px; line-height: 1.3; }
.s-team label svg { color: var(--s-brand); width: 17px; height: 17px; }
.s-stepper { display: flex; align-items: stretch; border: 1px solid var(--s-line-2); border-radius: var(--s-radius-sm); background: var(--s-white); overflow: hidden; }
.s-stepper button { width: 44px; border: 0; background: transparent; color: var(--s-ink); display: flex; align-items: center; justify-content: center; }
.s-stepper button:hover { background: var(--s-soft); }
.s-stepper button svg { width: 16px; height: 16px; }
.s-stepper input { flex: 1; min-width: 0; border: 0; text-align: center; font-size: 17px; font-weight: 600; color: var(--s-ink); padding: 9px 4px; outline: none; -moz-appearance: textfield; font-family: inherit; }
.s-stepper input::-webkit-outer-spin-button, .s-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.s-stepper:focus-within { border-color: #98a2b3; box-shadow: 0 0 0 4px rgba(152, 162, 179, .18); }
.s-team.is-invalid .s-stepper { border-color: #f04438; }

/* Contact-time chips */
.s-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s-chip { position: relative; margin: 0; cursor: pointer; }
.s-chip input { position: absolute; opacity: 0; pointer-events: none; }
.s-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--s-line-2); border-radius: 999px; background: var(--s-white); font-size: 14.5px; color: var(--s-ink); font-weight: 600; transition: all .15s; }
.s-chip span small { font-weight: 400; color: var(--s-muted); font-size: 13px; }
.s-chip span svg { width: 16px; height: 16px; color: var(--s-muted); }
.s-chip:hover span { border-color: #98a2b3; }
.s-chip input:checked + span { border-color: var(--s-brand); background: var(--s-brand); color: #fff; }
.s-chip input:checked + span small, .s-chip input:checked + span svg { color: rgba(255,255,255,.85); }
.s-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(200, 30, 30, .15); }

/* Searchable city picker */
.s-combo { position: relative; }
.s-combo-trigger { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--s-line-2); border-radius: var(--s-radius-sm); background: var(--s-white); font-size: 15px; color: var(--s-ink); text-align: left; font-family: inherit; }
.s-combo-trigger svg { color: var(--s-muted); width: 17px; height: 17px; }
.s-combo-trigger .s-combo-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-combo-trigger .s-combo-value.is-placeholder { color: #98a2b3; }
.s-combo-trigger .s-combo-chevron { transition: transform .15s; }
.s-combo.open .s-combo-trigger { border-color: #98a2b3; box-shadow: 0 0 0 4px rgba(152, 162, 179, .18); }
.s-combo.open .s-combo-chevron { transform: rotate(180deg); }
.s-combo.is-invalid .s-combo-trigger { border-color: #f04438; }
.s-combo-panel { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow-lg); overflow: hidden; }
.s-combo-panel[hidden] { display: none; }
.s-combo-search { position: relative; padding: 10px; border-bottom: 1px solid var(--s-line); }
.s-combo-search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--s-muted); width: 16px; height: 16px; }
.s-combo-search input { width: 100%; padding: 9px 12px 9px 36px; border: 1px solid var(--s-line-2); border-radius: 7px; font-size: 15px; outline: none; font-family: inherit; }
.s-combo-search input:focus { border-color: #98a2b3; }
.s-combo-list { list-style: none; margin: 0; padding: 6px; max-height: 280px; overflow-y: auto; }
.s-combo-group { padding: 10px 10px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--s-muted); }
.s-combo-option { padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 15px; color: var(--s-ink); display: flex; align-items: center; justify-content: space-between; }
.s-combo-option.is-active { background: var(--s-soft); }
.s-combo-option.is-selected { color: var(--s-brand); font-weight: 600; }
.s-combo-option.is-selected::after { content: ''; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c81e1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.s-combo-empty { padding: 18px; text-align: center; color: var(--s-muted); font-size: 14px; }
.s-combo-empty[hidden] { display: none; }
.s-other-field[hidden] { display: none; }

/* ==========================================================================
   "Qui sommes-nous" page
   ========================================================================== */
.s-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--s-muted); margin-bottom: 14px; }
.s-breadcrumb a { color: var(--s-muted); text-decoration: none; }
.s-breadcrumb a:hover { color: var(--s-brand); }
.s-breadcrumb [aria-current] { color: var(--s-ink); font-weight: 600; }
.s-about-hero h1 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 0; }

/* Key facts card */
.s-facts { background: var(--s-white); border: 1px solid var(--s-line); border-radius: 16px; box-shadow: var(--s-shadow-lg); overflow: hidden; }
.s-facts-head { padding: 22px 24px; border-bottom: 1px solid var(--s-line); background: var(--s-soft); }
.s-facts-head img { height: 40px; width: auto; object-fit: contain; }
.s-facts dl { margin: 0; padding: 8px 24px 14px; }
.s-facts dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.s-facts dl > div:last-child { border-bottom: 0; }
.s-facts dt { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--s-muted); font-size: 14.5px; }
.s-facts dt svg { width: 17px; height: 17px; color: var(--s-brand); }
.s-facts dd { margin: 0; text-align: right; font-weight: 600; color: var(--s-ink); font-size: 15px; }

/* Two-column intro + text */
.s-about-split { display: grid; gap: 24px; }
@media (min-width: 992px) { .s-about-split { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.s-about-h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 10px 0 12px; }
.s-about-text { font-size: 17px; line-height: 1.75; color: var(--s-text); }
.s-about-text p:last-child { margin-bottom: 0; }
.s-about-text-muted { color: var(--s-muted); font-size: 16px; }

/* Platform & strength cards */
.s-platform h3, .s-card-title { font-size: 18px; margin: 0 0 6px; }
.s-platform p, .s-card p { color: var(--s-muted); font-size: 15px; margin: 0; }
@media (min-width: 992px) { .s-platforms { grid-template-columns: repeat(4, 1fr); } }

/* Method steps */
.s-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 768px) { .s-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .s-steps { grid-template-columns: repeat(4, 1fr); } }
.s-step { position: relative; background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 24px; }
.s-step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--s-ink); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.s-step h3 { font-size: 18px; margin: 0 0 6px; }
.s-step p { color: var(--s-muted); font-size: 15px; margin: 0; }
@media (min-width: 1200px) {
    .s-step:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -17px; width: 18px; height: 2px; background: var(--s-line-2); }
}

/* Legal identity */
.s-legal { background: var(--s-white); border: 1px solid var(--s-line); border-radius: 14px; overflow: hidden; }
.s-legal dl { margin: 0; }
.s-legal dl > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 13px 22px; border-bottom: 1px solid var(--s-line); }
@media (min-width: 576px) { .s-legal dl > div { grid-template-columns: 200px 1fr; gap: 16px; align-items: baseline; } }
.s-legal dl > div:nth-child(odd) { background: var(--s-soft); }
.s-legal dl > div:last-child { border-bottom: 0; }
.s-legal dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--s-muted); }
.s-legal dd { margin: 0; color: var(--s-ink); font-weight: 600; font-size: 15.5px; word-break: break-word; }
.s-cta-title { color: #fff; font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 6px; }

/* ==========================================================================
   Floating WhatsApp button (number + message from the settings)
   ========================================================================== */
.s-wa-float {
    position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 1040;
    display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.s-wa-float img {
    position: relative; display: block; width: 56px; height: 56px; border-radius: 50%;
    box-shadow: 0 8px 22px rgba(16, 24, 40, .22), 0 2px 6px rgba(16, 24, 40, .12);
    transition: transform .2s ease, box-shadow .2s ease;
}
.s-wa-float::after {
    content: ''; position: absolute; right: 0; bottom: 0; width: 56px; height: 56px; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); animation: s-wa-ring 3s ease-out 1.5s infinite; pointer-events: none;
}
.s-wa-label {
    background: var(--s-ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1;
    padding: 10px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--s-shadow-md);
    opacity: 0; transform: translateX(8px); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.s-wa-float:hover img, .s-wa-float:focus-visible img { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 28px rgba(16, 24, 40, .26), 0 3px 8px rgba(16, 24, 40, .14); }
.s-wa-float:hover .s-wa-label, .s-wa-float:focus-visible .s-wa-label { opacity: 1; transform: none; }
.s-wa-float:focus-visible { outline: none; }
.s-wa-float:focus-visible img { outline: 3px solid rgba(37, 211, 102, .5); outline-offset: 3px; }
@keyframes s-wa-ring {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
    60%, 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (hover: none) { .s-wa-label { display: none; } }
@media (max-width: 575.98px) {
    .s-wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
    .s-wa-float img, .s-wa-float::after { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .s-wa-float::after { animation: none; } }
@media print { .s-wa-float { display: none; } }

/* ==========================================================================
   Visual accents (pure CSS, no extra requests)
   ========================================================================== */
/* Hero: two soft colour glows drifting slowly behind the content */
.s-hero::after {
    content: ''; position: absolute; z-index: 0; pointer-events: none; inset: -20% -10%;
    background:
        radial-gradient(420px 320px at 78% 30%, rgba(200, 30, 30, .10), transparent 70%),
        radial-gradient(380px 300px at 12% 85%, rgba(15, 22, 34, .07), transparent 70%);
    animation: s-glow 18s ease-in-out infinite alternate;
}
.s-hero-inner { z-index: 1; }
@keyframes s-glow { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-4%, 3%, 0); } }

/* Reading progress bar (created by partials/site/scripts) */
.s-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000; pointer-events: none;
    transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--s-brand), #ef4444 60%, #f97316);
    box-shadow: 0 0 8px rgba(200, 30, 30, .45);
}
@media print { .s-progress { display: none; } }

/* Hero title: rises in on load, then a red sheen sweeps across the text every few seconds */
.s-hero h1 {
    background: linear-gradient(100deg, var(--s-ink) 0 40%, var(--s-brand) 50%, var(--s-ink) 60% 100%);
    background-size: 250% 100%; background-position: 0 0;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    animation: s-h1-in .7s ease both, s-h1-shine 6s ease-in-out 1.2s infinite;
}
@keyframes s-h1-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes s-h1-shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .s-hero h1 { animation: none; } }

/* Header logo: drops in on load, a light sheen crosses it every few seconds, slight zoom on hover */
.s-brand { position: relative; display: inline-flex; overflow: hidden; border-radius: 6px; }
.s-brand img { animation: s-logo-in .6s cubic-bezier(.2, .9, .3, 1.2) both; transition: transform .25s ease; }
.s-brand:hover img { transform: scale(1.04); }
.s-brand::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .75), transparent);
    transform: skewX(-18deg); animation: s-logo-shine 5s ease-in-out 1.5s infinite;
}
@keyframes s-logo-in { from { opacity: 0; transform: translateY(-8px) scale(.94); } }
@keyframes s-logo-shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .s-brand img, .s-brand::after { animation: none; } .s-brand::after { display: none; } }

/* Hero description: the bold words get a red marker that draws itself, one after the other */
.s-hero-lead strong {
    padding: 0 2px; border-radius: 3px;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    background: linear-gradient(transparent 58%, rgba(200, 30, 30, .20) 58%) no-repeat 0 0 / 0% 100%;
    animation: s-mark .9s cubic-bezier(.4, 0, .2, 1) forwards;
}
.s-hero-lead strong:nth-of-type(1) { animation-delay: .7s; }
.s-hero-lead strong:nth-of-type(2) { animation-delay: 1.4s; }
.s-hero-lead strong:nth-of-type(3) { animation-delay: 2.1s; }
@keyframes s-mark { to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .s-hero-lead strong { animation: none; background-size: 100% 100%; } }

/* Content reveal on scroll (classes set by partials/site/scripts) */
.s-rv { opacity: 0; transform: translateY(18px); }
.s-rv.s-rv-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
@media print { .s-rv { opacity: 1 !important; transform: none !important; } }

/* Back-to-top button with reading ring, above the WhatsApp button */
.s-top {
    position: fixed; right: 30px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 1039;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--s-white); color: var(--s-ink);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 8px 22px rgba(16, 24, 40, .16);
    opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, background-color .2s ease, color .2s ease;
}
.s-top.show { opacity: 1; transform: none; pointer-events: auto; }
.s-top:hover, .s-top:focus-visible { background: var(--s-brand); color: #fff; outline: none; }
.s-top > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.s-top-track { fill: none; stroke: var(--s-line); stroke-width: 3; }
.s-top-ring { fill: none; stroke: var(--s-brand); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.s-top:hover .s-top-track { stroke: rgba(255, 255, 255, .35); }
.s-top:hover .s-top-ring { stroke: #fff; }
.s-top > svg:last-child { position: relative; width: 18px; height: 18px; }
@media (max-width: 575.98px) { .s-top { right: 22px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); width: 40px; height: 40px; } }
@media print { .s-top { display: none; } }

/* Inner pages header band: same grid pattern and soft glow as the home hero */
.s-page-hero { position: relative; overflow: hidden; }
.s-page-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--s-line) 1px, transparent 1px), linear-gradient(90deg, var(--s-line) 1px, transparent 1px);
    background-size: 44px 44px; opacity: .35;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.s-page-hero::after { content: ''; position: absolute; top: -160px; right: -120px; width: 520px; height: 360px; pointer-events: none; background: radial-gradient(closest-side, rgba(200, 30, 30, .10), transparent); }
.s-page-hero > .s-container { position: relative; z-index: 1; }

/* Main buttons: a light sheen crosses them on hover */
.s-btn-primary { position: relative; overflow: hidden; }
.s-btn-primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; pointer-events: none; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.s-btn-primary:hover::after { left: 130%; }

/* Text selection in the brand colour */
::selection { background: rgba(200, 30, 30, .16); color: var(--s-ink); }

/* Grey sections: discreet dot pattern */
.s-section-soft {
    background-image: radial-gradient(rgba(20, 25, 34, .07) 1px, transparent 1.3px);
    background-size: 22px 22px;
}

/* Cards: lift and red-tinted border on hover */
.s-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.s-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(16, 24, 40, .10); border-color: #f1c9c9; }
.s-card:hover .s-icon { background: var(--s-brand); color: #fff; }
.s-icon { transition: background-color .25s ease, color .25s ease; }

/* Section titles: short red underline under the main heading */
.s-head h2::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--s-brand), rgba(200, 30, 30, .25)); }
.s-head.center h2::after { margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
    .s-hero::after { animation: none; }
    .s-card, .s-card:hover { transition: none; transform: none; }
}
