/* ==========================================================================
   CMING — feuille de style du site public
   Les couleurs --primary / --secondary sont injectées depuis le dashboard.
   ========================================================================== */
:root {
    --primary: #28c9ff;
    --secondary: #376053;
    --bg: #04070b;
    --bg-soft: #0a1017;
    --surface: rgba(255, 255, 255, .045);
    --surface-2: rgba(255, 255, 255, .075);
    --border: rgba(255, 255, 255, .10);
    --border-strong: rgba(255, 255, 255, .18);
    --text: #eef3f7;
    --muted: #a3b1bf;
    --ink-on-primary: #02131a;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
    --container: 1180px;
    --nav-h: 76px;
    --font-display: "Play", "Josefin Sans", system-ui, sans-serif;
    --font-body: "Josefin Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* Fond animé d'origine, fixé (compatible mobile) + voile sombre pour la lisibilité */
body::before {
    content: "";
    position: fixed; inset: 0; z-index: -2;
    background-image: var(--bg-img);
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
body::after {
    content: "";
    position: fixed; inset: 0; z-index: -1;
    background:
        radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 60%),
        linear-gradient(180deg, rgba(4, 7, 11, .74), rgba(4, 7, 11, .9));
}
body.is-protected { -webkit-user-select: none; user-select: none; }
body.is-protected input, body.is-protected textarea { -webkit-user-select: text; user-select: text; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: #fff; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0b1118; }
::-webkit-scrollbar-thumb { background: #3a4652; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

/* ------------------------------------------------------------- préchargement */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    display: grid; place-content: center; justify-items: center; gap: 18px;
    background: var(--bg);
    transition: opacity .5s ease, visibility .5s;
}
#preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-mark { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--primary); letter-spacing: .04em; }
.preloader-bar { width: 140px; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; position: relative; }
.preloader-bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--primary); border-radius: 3px; animation: load 1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ------------------------------------------------------------- boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 26px;
    border-radius: 999px; border: 1px solid transparent;
    font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: .02em;
    cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
    white-space: nowrap;
}
.btn i { font-size: 13px; transition: transform .2s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: var(--ink-on-primary); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-primary:hover { color: var(--ink-on-primary); transform: translateY(-2px); box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-ghost { border-color: var(--border-strong); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }

/* ------------------------------------------------------------- navigation */
.navbar {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--nav-h);
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.navbar.is-scrolled, body:not(.page-home) .navbar {
    background: rgba(5, 9, 14, .78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { max-height: 42px; width: auto; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--primary); letter-spacing: .03em; line-height: 1; }
.brand:hover .brand-word { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
    position: relative; padding: 8px 14px;
    font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}
.nav-links a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
    background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; min-height: 42px; padding: 0 22px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; z-index: 2; }
    .nav-links {
        position: fixed; inset: 0; z-index: 1;
        flex-direction: column; justify-content: center; gap: 10px;
        background: rgba(4, 7, 11, .97); backdrop-filter: blur(10px);
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    }
    .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-links a:not(.btn) { font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; }
    .nav-cta { margin: 16px 0 0; min-height: 50px; padding: 0 34px; }
    .nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------- toasts */
.toast-stack { position: fixed; top: calc(var(--nav-h) + 14px); right: 18px; z-index: 200; display: grid; gap: 10px; max-width: min(420px, calc(100% - 36px)); }
.toast { padding: 14px 18px; border-radius: var(--radius-sm); background: #0f1a24; border: 1px solid var(--border-strong); box-shadow: var(--shadow); animation: toast-in .4s var(--ease), toast-out .4s ease 6s forwards; }
.toast-success { border-left: 4px solid #2ecc8f; }
.toast-error { border-left: 4px solid #ff6b6b; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes toast-out { to { opacity: 0; visibility: hidden; } }

/* ------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(100vh, 1000px); min-height: min(100svh, 1000px); display: flex; align-items: center; overflow: hidden; }
.hero-slider { position: relative; width: 100%; min-height: inherit; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-slide {
    grid-area: 1 / 1; display: flex; align-items: center; min-width: 0;
    padding: calc(var(--nav-h) + 40px) 0 120px;
    opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s;
}
.hero-slide.has-bg { background: linear-gradient(90deg, rgba(4, 7, 11, .92), rgba(4, 7, 11, .45)), var(--slide-bg) center / cover no-repeat; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-content { max-width: var(--container); }
.hero-title {
    font-size: clamp(38px, 6.4vw, 78px); line-height: 1.04; text-transform: uppercase;
    max-width: 15ch; margin-bottom: 22px;
    background: linear-gradient(100deg, #fff 30%, var(--primary) 120%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-slide .eyebrow, .hero-slide .hero-title, .hero-slide .hero-sub, .hero-slide .hero-actions { transform: translateY(28px); opacity: 0; transition: transform .9s var(--ease), opacity .9s; }
.hero-slide.is-active .eyebrow { transform: none; opacity: 1; transition-delay: .1s; }
.hero-slide.is-active .hero-title { transform: none; opacity: 1; transition-delay: .2s; }
.hero-slide.is-active .hero-sub { transform: none; opacity: 1; transition-delay: .3s; }
.hero-slide.is-active .hero-actions { transform: none; opacity: 1; transition-delay: .4s; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 48px; display: flex; gap: 18px; }
.hero-dot {
    background: none; border: 0; padding: 0 0 8px; cursor: pointer;
    font-family: var(--font-display); font-size: 17px; color: rgba(255, 255, 255, .45);
    position: relative; transition: color .3s;
}
.hero-dot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .2); }
.hero-dot.is-active { color: #fff; }
.hero-dot.is-active::after { background: var(--primary); }
.scroll-hint { position: absolute; right: max(20px, calc((100% - var(--container)) / 2)); bottom: 44px; width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--primary); animation: wheel 1.8s ease infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-tight { padding-top: 40px; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01)); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--primary);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.section-title { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; position: relative; padding-bottom: 22px; margin-bottom: 18px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 5px; border-radius: 5px; background: var(--primary); }
.center .section-title::after { left: 50%; transform: translateX(-50%); }
.prose { font-size: 17px; }
.prose-muted, .prose-muted p { color: var(--muted); }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-sm); margin: 1em 0; }
.prose blockquote { margin: 1em 0; padding-left: 18px; border-left: 3px solid var(--primary); color: var(--muted); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 45%, transparent); background: var(--surface-2); box-shadow: var(--shadow); }

/* services */
.services-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.services-intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { padding: 30px 26px; }
.service-icon {
    width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
    background: color-mix(in srgb, var(--primary) 14%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
}
.service-icon img { width: 34px; height: 34px; object-fit: contain; }
.invert { filter: invert(1); }
.service-card h3 { font-size: 18px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 14px; }
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.check-list li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px; font-size: 12px; color: var(--primary); }
.summary { margin-top: 48px; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent); color: var(--text); }
.summary p:last-child { margin: 0; }

/* bandeau points forts */
.band { border-block: 1px solid var(--border); background: rgba(0, 0, 0, .45); }
.band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.band-item { display: flex; gap: 22px; padding: 44px 32px; }
.band-item + .band-item { border-left: 1px solid var(--border); }
.band-num { font-family: var(--font-display); font-size: 15px; color: var(--primary); padding-top: 6px; }
.band-item h3 { font-size: 22px; margin-bottom: 8px; }
.band-item p { color: var(--muted); margin: 0; }

/* avantages */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.benefit-card { padding: 18px 18px 26px; text-align: center; }
.benefit-media { background: #fff; border-radius: var(--radius-sm); padding: 26px; margin-bottom: 22px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.benefit-media img { max-height: 100%; object-fit: contain; }
.benefit-card h3 { font-size: 20px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag { padding: 5px 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* solutions */
.grid-solutions { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.solution-card { padding: 30px 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.solution-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.solution-card:hover::before { transform: scaleX(1); }
.pill { display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.solution-card h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .01em; }
.solution-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); margin-top: 6px; }
.link-arrow i { font-size: 12px; transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow.muted { color: rgba(255, 255, 255, .7); }

/* citation */
.quote-band { padding: clamp(60px, 8vw, 100px) 0; background: rgba(0, 0, 0, .5); border-block: 1px solid var(--border); }
.quote { margin: 0 auto; max-width: 900px; text-align: center; }
.quote > i { font-size: 34px; color: var(--primary); margin-bottom: 20px; display: block; }
.quote .prose, .quote .prose p { font-size: clamp(19px, 2vw, 24px); line-height: 1.55; color: #fff; font-weight: 300; }

/* clients */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 45s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
.logo-tile { flex: 0 0 auto; width: 190px;padding: 18px 26px; border-radius: var(--radius-sm); background: #fff; display: grid; place-items: center; }
.logo-tile img { max-height: 100%; width: 100%; object-fit: contain; filter: grayscale(.9); opacity: .8; transition: filter .5s, opacity .5s; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* contact */
.contact-section { background: linear-gradient(0deg, rgba(0, 0, 0, .7) 20%, color-mix(in srgb, var(--primary) 12%, transparent) 140%); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-title { font-size: clamp(30px, 3.8vw, 46px); }
.cta-sub { font-size: 20px; color: var(--muted); }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 28px 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.contact-list a:hover { color: var(--primary); }
.ci { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.contact-form { padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.contact-form:hover { transform: none; }
.form-title { font-size: 22px; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 13px 15px; border-radius: 12px;
    border: 1px solid var(--border-strong); background: rgba(0, 0, 0, .35); color: #fff;
    font: 400 16px/1.4 var(--font-body); text-transform: none; letter-spacing: 0;
    transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
.contact-form ::placeholder { color: rgba(255, 255, 255, .35); }
.hp-wrap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* pages internes */
.page-hero { padding: calc(var(--nav-h) + clamp(50px, 8vw, 100px)) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2)); }
.page-title { font-size: clamp(32px, 5vw, 58px); text-transform: uppercase; max-width: 22ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--primary); }
.solution-intro.has-media { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.media-frame { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; place-items: center; }
.media-frame.small { padding: 34px; aspect-ratio: 4 / 3; }
.media-frame.small img { max-height: 100%; max-width: 70%; object-fit: contain; }
.features { display: grid; gap: clamp(28px, 4vw, 48px); }
.feature-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-row.is-reversed .feature-copy { order: 2; }
.feature-row.no-media { grid-template-columns: 1fr; max-width: 820px; }
.feature-row.no-media.is-reversed .feature-copy { order: 0; }
.feature-num { font-family: var(--font-display); color: var(--primary); font-size: 15px; display: block; margin-bottom: 8px; }
.feature-copy h3 { font-size: clamp(22px, 2.4vw, 28px); }
.feature-copy p { color: var(--muted); margin: 0; }
.prose-card { padding: clamp(26px, 4vw, 56px); }
.prose-card:hover { transform: none; }
.cta-band { padding: 0 0 clamp(60px, 8vw, 100px); }
.section-alt + .cta-band { padding-top: clamp(60px, 8vw, 100px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); background: linear-gradient(110deg, color-mix(in srgb, var(--primary) 18%, transparent), rgba(0, 0, 0, .4)); }
.cta-inner .cta-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 6px; }
.cta-inner .cta-sub { margin: 0; font-size: 18px; }

/* ------------------------------------------------------------- pied de page */
.footer { background: rgba(0, 0, 0, .82); border-top: 1px solid var(--border); padding-top: clamp(56px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin: 18px 0 22px; max-width: 42ch; }
.footer-title { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-contact a, .footer-contact span { color: var(--muted); font-size: 15px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 12px; align-items: baseline; }
.footer-contact i { color: var(--primary); width: 16px; text-align: center; flex: 0 0 16px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border-strong); color: #fff; }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--ink-on-primary); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

/* ------------------------------------------------------------- boutons flottants */
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s var(--ease); }
.whatsapp-fab:hover { color: #fff; transform: scale(1.08); }
.to-top { position: fixed; right: 26px; bottom: 88px; z-index: 89; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(10, 16, 23, .85); border: 1px solid var(--border-strong); color: #fff; font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ------------------------------------------------------------- animations d'apparition */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .services-layout, .contact-grid, .solution-intro.has-media, .feature-row { grid-template-columns: 1fr; }
    .services-intro { position: static; }
    .feature-row.is-reversed .feature-copy { order: 0; }
    .band-item + .band-item { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 32px); }
    .services-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .hero-slide { padding-bottom: 130px; }
    .hero-actions .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
    .hero-title { font-size: clamp(30px, 9vw, 40px); overflow-wrap: anywhere; }
    .eyebrow { letter-spacing: .12em; }
    .scroll-hint { display: none; }
    .band-item { padding: 32px 4px; }
    .logo-tile { width: 150px; height: 86px; }
    .cta-inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
