/*
 * Effets visuels du site public (demande de CSB : un site très attirant, « plastique ») : verre dépoli, dégradés
 * animés, profondeur 3D, reflets. Tout est décoratif : le contenu reste lisible sans ces effets, et
 * `prefers-reduced-motion` les coupe (fin de fichier). Aucune ressource externe.
 */

/* ——— Texte en dégradé ——— */
.text-gradient { background: linear-gradient(100deg, var(--csb-blue) 0%, #2f6fe0 45%, var(--csb-orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-white-75, .section-title p.text-white-75 { color: rgba(255, 255, 255, .82); }
.eyebrow-light { color: #ffb067 !important; }

/* ——— Boutons « plastiques » ——— */
.btn-accent { background: linear-gradient(180deg, #ff9a3d 0%, var(--csb-orange) 55%, #e8720f 100%); border: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 -2px 0 rgba(0, 0, 0, .08) inset, 0 10px 24px rgba(245, 130, 32, .35); }
.btn-accent:hover, .btn-accent:focus { background: linear-gradient(180deg, #ffa752 0%, #f78a2c 55%, #e8720f 100%); }
.btn-primary { background: linear-gradient(180deg, #1f55c0 0%, var(--csb-blue) 60%, #0c2f73 100%); border: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 22px rgba(16, 59, 142, .28); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset; }
.btn-glass:hover, .btn-glass:focus { color: #fff; background: rgba(255, 255, 255, .22); }
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: fx-shine 3.6s ease-in-out infinite; }
@keyframes fx-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
[data-magnetic] { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; will-change: transform; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .55); animation: fx-ripple .6s ease-out; pointer-events: none; }
@keyframes fx-ripple { to { transform: scale(4); opacity: 0; } }

/* ——— Héros animé ——— */
.hero-fx { padding: 6rem 0 9rem; isolation: isolate; background: linear-gradient(135deg, #06173f 0%, #0b2a6b 40%, var(--csb-blue) 75%, #1c58c9 100%); }
.hero-fx::after { display: none; }
.hero-fx::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(600px circle at var(--spot-x, 70%) var(--spot-y, 30%), rgba(255, 255, 255, .10), transparent 45%); transition: background .1s linear; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .7; }
.hero-grid { position: absolute; inset: 0; z-index: 0; opacity: .14; background-image: linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; will-change: transform; }
.hero-blob-1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(245, 130, 32, .55), transparent 65%); animation: fx-float-a 14s ease-in-out infinite; }
.hero-blob-2 { width: 460px; height: 460px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(47, 111, 224, .65), transparent 65%); animation: fx-float-b 17s ease-in-out infinite; }
.hero-blob-3 { width: 300px; height: 300px; left: 42%; top: 18%; background: radial-gradient(circle, rgba(255, 176, 103, .28), transparent 70%); animation: fx-float-a 20s ease-in-out infinite reverse; }
@keyframes fx-float-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 50px) scale(1.12); } }
@keyframes fx-float-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -40px) scale(1.08); } }
.hero-fx h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; text-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.hero-slogan { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--csb-orange); box-shadow: 0 0 0 0 rgba(245, 130, 32, .7); animation: fx-pulse 2s infinite; }
@keyframes fx-pulse { 70% { box-shadow: 0 0 0 10px rgba(245, 130, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0); } }
.hero-rotator { font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 800; color: #fff; margin: -.3rem 0 1.1rem; display: flex; gap: .55rem; flex-wrap: wrap; }
.rotator { position: relative; display: inline-block; min-width: 8ch; }
.rotator-word { display: inline-block; background: linear-gradient(90deg, #ffb067, var(--csb-orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator-word.out { animation: fx-word-out .35s ease forwards; }
.rotator-word.in { animation: fx-word-in .45s cubic-bezier(.2, .8, .2, 1) forwards; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--csb-orange), transparent); opacity: .7; }
@keyframes fx-word-out { to { opacity: 0; transform: translateY(-60%) rotateX(60deg); filter: blur(4px); } }
@keyframes fx-word-in { from { opacity: 0; transform: translateY(60%) rotateX(-60deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .92rem; }
.hero-trust i { color: #4ade80; margin-right: .35rem; vertical-align: -.12em; font-size: 1.1rem; }

/* Maquette 3D en verre */
.hero-stage { position: relative; height: 460px; perspective: 1400px; }
.mockup { position: absolute; inset: 40px 30px 40px 20px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 40px 90px rgba(2, 10, 35, .55), 0 1px 0 rgba(255, 255, 255, .45) inset; transform: rotateY(-14deg) rotateX(8deg); transform-style: preserve-3d; transition: transform .2s ease-out; overflow: hidden; }
.mockup::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .35) 0%, transparent 30%); pointer-events: none; }
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .75); font-size: .72rem; }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-bar em { margin-left: .6rem; font-style: normal; }
.mockup-body { display: flex; height: calc(100% - 38px); }
.mockup-side { width: 52px; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 1rem; border-right: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: 1.2rem; }
.mockup-side .active { color: #fff; background: rgba(245, 130, 32, .9); border-radius: 10px; padding: .35rem; }
.mockup-main { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: .9rem; }
.mockup-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mockup-kpis div { background: rgba(255, 255, 255, .12); border-radius: 12px; padding: .6rem .7rem; color: #fff; }
.mockup-kpis small { display: block; font-size: .65rem; opacity: .75; }
.mockup-kpis strong { font-size: 1.05rem; }
.kpi-line { display: block; height: 4px; border-radius: 4px; margin-top: .4rem; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.kpi-line::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, #60a5fa, #93c5fd); border-radius: 4px; animation: fx-grow 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.kpi-line.orange::after { background: linear-gradient(90deg, var(--csb-orange), #ffb067); }
.mockup-chart { flex: 1; display: flex; align-items: flex-end; gap: 7px; padding: .7rem; background: rgba(255, 255, 255, .08); border-radius: 12px; min-height: 120px; }
.mockup-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #ffb067, var(--csb-orange)); transform-origin: bottom; animation: fx-bar 1.2s cubic-bezier(.2, .8, .2, 1) var(--d) both, fx-bar-breathe 4s ease-in-out calc(var(--d) + 1.2s) infinite; opacity: .9; }
.mockup-chart span:nth-child(odd) { background: linear-gradient(180deg, #93c5fd, #3b82f6); }
.mockup-rows { display: grid; gap: .45rem; }
.mockup-rows span { display: block; height: 9px; width: var(--w); border-radius: 6px; background: rgba(255, 255, 255, .18); }
@keyframes fx-grow { from { width: 0; } }
@keyframes fx-bar { from { transform: scaleY(0); } }
@keyframes fx-bar-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.86); } }
.float-chip { position: absolute; display: flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 14px; font-weight: 800; font-size: .85rem; color: var(--csb-ink); background: rgba(255, 255, 255, .92); box-shadow: 0 20px 40px rgba(2, 10, 35, .35), 0 1px 0 #fff inset; animation: fx-bob 6s ease-in-out infinite; z-index: 2; }
.float-chip i { font-size: 1.2rem; color: var(--csb-orange-dark); }
.chip-1 { top: 10px; right: 0; }
.chip-2 { bottom: 12px; left: 0; animation-delay: -2s; }
.chip-3 { top: 46%; right: -18px; animation-delay: -4s; }
.float-orb { position: absolute; width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; background: linear-gradient(145deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .08)); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); box-shadow: 0 16px 30px rgba(2, 10, 35, .35); animation: fx-bob 7s ease-in-out infinite; z-index: 2; }
.orb-1 { top: 0; left: 8%; animation-delay: -1s; }
.orb-2 { bottom: 0; right: 14%; animation-delay: -3s; background: linear-gradient(145deg, #ffb067, var(--csb-orange)); }
.orb-3 { top: 30%; left: -14px; animation-delay: -5s; }
@keyframes fx-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(2deg); } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; }
.hero-wave path { fill: var(--csb-bg); }
.scroll-hint { position: absolute; left: 50%; bottom: 70px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: fx-scroll 1.8s ease-in-out infinite; }
@keyframes fx-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ——— Cartes des domaines (3D + reflet) ——— */
.domains { position: relative; }
.domain-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.8rem 1.5rem; border-radius: 22px; text-decoration: none; color: var(--csb-ink); overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7f9ff 100%); border: 1px solid var(--csb-border); box-shadow: 0 1px 0 #fff inset, 0 18px 40px rgba(16, 59, 142, .08); transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .3s ease, border-color .3s ease; }
.domain-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--csb-blue), var(--csb-orange)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s ease; }
.domain-card:hover { color: var(--csb-ink); box-shadow: 0 30px 60px rgba(16, 59, 142, .18); border-color: transparent; }
.domain-card:hover::before { opacity: 1; }
.domain-icon { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin-bottom: 1.2rem; background: linear-gradient(145deg, #2f6fe0, var(--csb-blue)); box-shadow: 0 14px 28px rgba(16, 59, 142, .35), 0 1px 0 rgba(255, 255, 255, .4) inset; transform: translateZ(30px); transition: transform .3s ease; }
.domain-icon.orange { background: linear-gradient(145deg, #ffb067, var(--csb-orange)); box-shadow: 0 14px 28px rgba(245, 130, 32, .35), 0 1px 0 rgba(255, 255, 255, .4) inset; }
.domain-card:hover .domain-icon { transform: translateZ(40px) rotate(-6deg) scale(1.06); }
.domain-card h3 { font-size: 1.15rem; margin-bottom: .5rem; transform: translateZ(20px); }
.domain-card p { color: var(--csb-muted); font-size: .93rem; flex: 1; }
.domain-more { font-weight: 700; color: var(--csb-blue); display: inline-flex; align-items: center; gap: .25rem; }
.domain-card:hover .domain-more i { transform: translateX(4px); }
.domain-more i { transition: transform .25s ease; }
.domain-glare, .tilt-glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 40%); opacity: 0; transition: opacity .3s ease; mix-blend-mode: soft-light; }
.domain-card:hover .domain-glare, [data-tilt]:hover > .tilt-glare { opacity: 1; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* Les cartes de contenu héritent du relief et d'une bordure lumineuse au survol */
.csb-card { background: linear-gradient(180deg, #fff 0%, #fbfcff 100%); box-shadow: 0 1px 0 #fff inset, var(--csb-shadow); }
.csb-card-media img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.csb-card:hover .csb-card-media img { transform: scale(1.06); }

/* ——— Bandeau défilant ——— */
.marquee { overflow: hidden; background: linear-gradient(90deg, var(--csb-blue-dark), var(--csb-blue)); color: #fff; padding: 1.1rem 0; transform: rotate(-1.2deg); margin: 1rem -2rem; box-shadow: 0 20px 40px rgba(16, 59, 142, .25); }
.marquee-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: fx-marquee 32s linear infinite; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; white-space: nowrap; }
.marquee-track i { color: var(--csb-orange); font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes fx-marquee { to { transform: translateX(-50%); } }

/* ——— Bande « Pourquoi CSB » ——— */
.values-band { position: relative; overflow: hidden; background: radial-gradient(800px circle at 0% 0%, rgba(245, 130, 32, .3), transparent 50%), linear-gradient(135deg, #071a45, var(--csb-blue)); margin-top: 3rem; }
.values-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 111, 224, .6), transparent 70%); filter: blur(30px); }
.glass-card { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.4rem; border-radius: 20px; color: #fff; background: linear-gradient(150deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 20px 40px rgba(2, 10, 35, .3); transition: transform .2s ease-out; }
.glass-card strong { font-size: 1.15rem; }
.glass-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; background: linear-gradient(145deg, #ffb067, var(--csb-orange)); box-shadow: 0 10px 20px rgba(245, 130, 32, .4); }

/* ——— Frise de la méthode ——— */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 4px; border-radius: 4px; background: var(--csb-border); }
.timeline::after { content: ""; position: absolute; top: 28px; left: 8%; height: 4px; border-radius: 4px; width: 0; background: linear-gradient(90deg, var(--csb-blue), var(--csb-orange)); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.timeline.is-drawn::after { width: 84%; }
.timeline li { position: relative; text-align: center; z-index: 1; }
.timeline-dot { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.3rem; color: #fff; background: linear-gradient(145deg, #2f6fe0, var(--csb-blue)); border: 5px solid #fff; box-shadow: 0 12px 26px rgba(16, 59, 142, .3); }
.timeline li:nth-child(even) .timeline-dot { background: linear-gradient(145deg, #ffb067, var(--csb-orange)); }
.timeline p { font-weight: 600; color: var(--csb-ink); max-width: 240px; margin: 0 auto; }
@media (max-width: 767.98px) { .timeline::before, .timeline::after { display: none; } }

/* ——— En-têtes des pages intérieures : même ambiance que l'accueil ——— */
.page-hero { background: radial-gradient(700px circle at 85% -20%, rgba(245, 130, 32, .35), transparent 55%), linear-gradient(135deg, #06173f 0%, var(--csb-blue) 100%); padding-bottom: 4.5rem; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--csb-bg); clip-path: ellipse(75% 100% at 50% 100%); }
.page-hero h1 { animation: csb-rise .8s cubic-bezier(.2, .7, .2, 1) both; }

/* ——— Transitions entre pages ——— */
.js body { animation: fx-page-in .45s ease both; }
.js body.is-leaving { opacity: 0; transition: opacity .2s ease; }
@keyframes fx-page-in { from { opacity: 0; } to { opacity: 1; } }

/* ——— Mobile ——— */
@media (max-width: 991.98px) {
    .hero-fx { padding: 4rem 0 7rem; }
    .scroll-hint { display: none; }
    .hero-stage { height: 380px; }
    .marquee { transform: none; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-particles, .hero-blob, .scroll-hint { display: none; }
    .btn-glow::after { display: none; }
    .marquee-track { animation: none; }
}

/* =====================================================================================================================
   Maquette validée par CSB (2026-10-11) : en-tête, accueil, pied de page.
   ===================================================================================================================== */

/* ——— Barre du haut ——— */
.topbar { background: linear-gradient(90deg, #0a2763, var(--csb-blue)); font-size: .85rem; }
.topbar .container { min-height: 44px; }
.topbar-items i { font-size: 1.05rem; color: #fff; opacity: .9; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-social { display: flex; gap: .45rem; }
.topbar-social a, .footer-social a { width: 26px; height: 26px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; text-decoration: none !important; background: rgba(255, 255, 255, .12); transition: transform .2s ease; }
.topbar-social a:hover, .footer-social a:hover { transform: translateY(-2px); color: #fff; }
.social-facebook { background: #1877f2 !important; }
.social-whatsapp { background: #25d366 !important; }
.social-youtube { background: #ff0000 !important; }
.social-linkedin { background: #0a66c2 !important; }
.social-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af) !important; }
.social-tiktok { background: #111 !important; }
.topbar-cta { background: linear-gradient(180deg, #ff9a3d, var(--csb-orange)); color: #1b1203 !important; font-weight: 800; padding: .55rem 1.3rem; border-radius: 0 0 12px 12px; text-decoration: none !important; align-self: stretch; display: flex; align-items: center; box-shadow: 0 6px 16px rgba(245, 130, 32, .35); }
.topbar-cta:hover { filter: brightness(1.06); }

/* ——— Logo et menu ——— */
.site-header .navbar { padding: .45rem 0; }
.brand-img { height: 58px; width: auto; filter: drop-shadow(0 4px 10px rgba(16, 59, 142, .15)); }
.brand-text strong { font-size: 1.02rem; font-weight: 900; line-height: 1.05; letter-spacing: .01em; display: block; color: var(--csb-blue); }
.brand-text strong span { color: var(--csb-blue); }
.brand-text strong em { font-style: normal; color: var(--csb-orange); }
.brand-text small { color: var(--csb-ink); font-weight: 600; }
@media (min-width: 576px) { .brand-text strong { max-width: 190px; } }
.site-header .nav-link { font-size: .93rem; }
.site-header .nav-link.dropdown-toggle::after { vertical-align: .15em; }
.nav-tools { display: flex; align-items: center; gap: .3rem; margin-left: .6rem; }
.nav-icon-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; color: var(--csb-ink); text-decoration: none; }
.nav-icon-btn:hover { background: var(--csb-blue-soft); color: var(--csb-blue); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--csb-orange); color: #1b1203; font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mega-menu { border: 0; border-radius: 18px; padding: 1rem; box-shadow: 0 30px 70px rgba(16, 59, 142, .2); min-width: 520px; margin-top: .6rem !important; animation: csb-pop .25s ease; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .3rem; }
.mega-item { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 12px; text-decoration: none; color: var(--csb-ink); }
.mega-item:hover { background: var(--csb-blue-soft); color: var(--csb-ink); }
.mega-item img, .mega-icon { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--csb-border); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--csb-blue); font-size: 1.3rem; }
.mega-item strong { display: block; font-size: .92rem; }
.mega-item small { color: var(--csb-muted); font-size: .78rem; }
.mega-all { display: block; text-align: right; font-weight: 700; padding: .6rem .7rem 0; text-decoration: none; border-top: 1px solid var(--csb-border); margin-top: .5rem; }
@media (max-width: 1199.98px) {
    .mega-menu { min-width: 0; box-shadow: none; padding: .3rem 0; }
    .mega-grid { grid-template-columns: 1fr; }
    .nav-tools { margin: .4rem 0 0; }
}

/* ——— Bandeau de l'accueil ——— */
.home-hero { position: relative; overflow: hidden; color: #fff; padding: 3.2rem 0 5.5rem; isolation: isolate;
    background: radial-gradient(900px 500px at 62% 45%, rgba(56, 132, 255, .45), transparent 60%), radial-gradient(500px 300px at 95% 10%, rgba(245, 130, 32, .25), transparent 60%), linear-gradient(120deg, #031033 0%, #082462 45%, #0d3a92 75%, #0a2a6e 100%); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(120, 170, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 255, .08) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.home-hero .hero-particles { z-index: -1; opacity: .5; }
.home-hero-glow { position: absolute; left: 52%; bottom: 8%; width: 520px; height: 90px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(64, 160, 255, .55), transparent 70%); filter: blur(10px); z-index: -1; }
.home-kicker { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: .92rem; color: rgba(255, 255, 255, .9); margin-bottom: .6rem; }
.home-hero h1 { color: #fff; text-transform: uppercase; font-weight: 800; font-size: clamp(2rem, 3.6vw, 3.2rem); text-wrap: balance; line-height: 1.02; letter-spacing: -.01em; margin-bottom: .9rem; text-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.home-hero h1 .accent { display: block; color: var(--csb-orange); background: linear-gradient(180deg, #ffb067, var(--csb-orange) 60%, #e86f0c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-subtitle { font-size: 1.12rem; font-weight: 600; color: #fff; margin-bottom: 1.6rem; }
.home-hero .hero-actions { margin-top: 0; gap: .6rem; }
.home-hero .hero-actions .btn-lg { padding: .75rem 1.15rem; font-size: .95rem; }
.home-hero .home-hero-text { flex: 0 0 auto; }
@media (min-width: 992px) { .home-hero .col-lg-5.home-hero-text { width: 44%; } .home-hero .col-lg-4.home-hero-visual { width: 31%; } .home-hero .col-lg-3 { width: 25%; } }
.home-hero .btn-glass { border-color: rgba(255, 255, 255, .7); }
.home-hero-visual { text-align: center; }
.home-hero-visual img { width: 118%; max-width: none; margin-left: -9%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 10, 40, .6)); animation: fx-bob 8s ease-in-out infinite; }
.hero-points { list-style: none; margin: 0; padding: 0; }
.hero-points li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hero-points li:last-child { border-bottom: 0; }
.hero-point-icon { width: 52px; height: 52px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--csb-orange); border-radius: 14px; background: rgba(245, 130, 32, .1); border: 1px solid rgba(245, 130, 32, .35); transition: transform .3s ease, background .3s ease; }
.hero-points li:hover .hero-point-icon { transform: scale(1.08) rotate(-4deg); background: rgba(245, 130, 32, .2); }
.hero-points strong { display: block; color: #fff; font-size: 1rem; }
.hero-points li > span:last-child { color: rgba(255, 255, 255, .85); font-size: .93rem; }
@media (min-width: 992px) { .hero-points { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 1.2rem; } }
@media (max-width: 991.98px) { .home-hero-visual img { width: 100%; margin: 0; } .home-hero { padding-bottom: 4.5rem; } }

/* ——— Bande des valeurs (chevauche le bandeau) ——— */
.values-strip-wrap { position: relative; z-index: 3; margin-top: -2.6rem; }
.values-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(16, 59, 142, .14); padding: 1.1rem .5rem; }
.value-item { display: flex; align-items: center; gap: .9rem; padding: .4rem 1.2rem; border-right: 1px solid var(--csb-border); }
.value-item:last-child { border-right: 0; }
.value-icon { font-size: 2.6rem; line-height: 1; color: var(--csb-orange); }
.value-icon.v1, .value-icon.v3 { color: #1f5fd6; }
.value-item strong { display: block; color: var(--csb-blue); font-size: 1.08rem; }
.value-item div span { color: var(--csb-ink); font-size: .9rem; line-height: 1.35; display: block; }
@media (max-width: 991.98px) { .values-strip { grid-template-columns: repeat(2, 1fr); } .value-item:nth-child(2) { border-right: 0; } .value-item { padding: .7rem 1rem; } }
@media (max-width: 575.98px) { .values-strip { grid-template-columns: 1fr; } .value-item { border-right: 0; border-bottom: 1px solid var(--csb-border); } .value-item:last-child { border-bottom: 0; } }

/* ——— Blocs de l'accueil ——— */
.home-block { padding: 2.6rem 0; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.block-head h2, .block-title { position: relative; font-size: 1.45rem; color: var(--csb-blue); padding-left: .9rem; margin: 0; }
.block-head h2::before, .block-title::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; border-radius: 3px; background: var(--csb-orange); }
.block-head a { font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.block-head a i { transition: transform .2s ease; vertical-align: -.15em; }
.block-head a:hover i { transform: translateX(4px); }

.solution-card, .hardware-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--csb-border); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(16, 59, 142, .08); display: flex; flex-direction: column; transition: transform .2s ease-out, box-shadow .3s ease; }
.solution-card:hover, .hardware-card:hover { box-shadow: 0 24px 50px rgba(16, 59, 142, .18); }
.solution-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eef3ff, #f8fbff); overflow: hidden; color: #b9c6e2; font-size: 3rem; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.solution-card:hover .solution-media img { transform: scale(1.07); }
.solution-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.solution-body h3 { font-size: 1.05rem; margin: 0; }
.solution-body h3 a { color: var(--csb-ink); text-decoration: none; }
.solution-tagline { color: #1f5fd6; font-size: .82rem; font-weight: 600; margin: .15rem 0 .45rem; }
.solution-text { color: var(--csb-text); font-size: .82rem; line-height: 1.45; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .7rem; }
.solution-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; flex-wrap: wrap; }
.solution-tags { display: flex; gap: .3rem; }
.solution-tags span { font-size: .7rem; padding: .18rem .5rem; border-radius: 6px; border: 1px solid var(--csb-border); color: var(--csb-muted); }
.solution-foot .btn-sm { font-size: .78rem; padding: .35rem .65rem; }

.hardware-card { padding: .9rem; text-align: center; }
.hardware-badge { position: absolute; top: .6rem; right: .6rem; background: var(--csb-orange); color: #1b1203; font-size: .68rem; font-weight: 800; padding: .15rem .55rem; border-radius: 999px; z-index: 1; }
.hardware-media { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; margin-bottom: .6rem; color: #b9c6e2; font-size: 3rem; }
.hardware-media img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s ease; }
.hardware-card:hover .hardware-media img { transform: scale(1.08) translateY(-4px); }
.hardware-card h3 { font-size: .93rem; margin-bottom: .2rem; }
.hardware-card p { color: var(--csb-muted); font-size: .78rem; margin-bottom: .7rem; flex: 1; }
.hardware-card .btn-sm { font-size: .78rem; }

.project-thumb { display: block; text-decoration: none; color: var(--csb-ink); }
.project-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--csb-bg-alt); color: #b9c6e2; font-size: 2.4rem; box-shadow: 0 8px 20px rgba(16, 59, 142, .1); margin-bottom: .45rem; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-thumb:hover .project-media img { transform: scale(1.08); }
.project-thumb strong { display: block; font-size: .86rem; line-height: 1.25; }
.project-thumb small { color: var(--csb-muted); font-size: .76rem; }
.project-thumb:hover strong { color: var(--csb-blue); }

.why-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: center; height: 100%; }
.why-list { list-style: none; padding: 0; margin: 1rem 0 .4rem; display: grid; gap: .55rem; }
.why-list li { display: flex; gap: .55rem; align-items: center; color: var(--csb-ink); font-weight: 500; }
.why-list i { color: var(--csb-orange); font-size: 1.3rem; }
.why-photo img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 40px rgba(16, 59, 142, .18); }
@media (max-width: 575.98px) { .why-box { grid-template-columns: 1fr; } }

/* ——— Chiffres clés ——— */
.stats-band { background: linear-gradient(90deg, #0a2763, var(--csb-blue) 50%, #0a2763); color: #fff; padding: 1.4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(var(--stats, 4), 1fr); }
.stat-item { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .4rem 1rem; border-right: 1px solid rgba(255, 255, 255, .18); }
.stat-item:last-child { border-right: 0; }
.stat-item > i { font-size: 2.6rem; }
.stat-item strong { display: block; font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.stat-item div > span { font-size: .9rem; opacity: .9; display: block; }
@media (min-width: 992px) and (max-width: 1199.98px) { .stats-grid { gap: 0; } .stat-item { padding: .4rem .6rem; gap: .6rem; } .stat-item > i { font-size: 2.1rem; } }
@media (max-width: 991.98px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; } .stat-item:nth-child(2n) { border-right: 0; } .stat-item:last-child:nth-child(odd) { grid-column: span 2; } }

/* ——— Pied de page ——— */
.site-footer { background: #071a45; padding-top: 3rem; }
.footer-brand img { height: 54px; width: auto; }
.footer-brand .brand-text strong span { color: #fff; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, .75); }
.footer-cols { grid-template-columns: 1fr 1fr; }
.site-footer h2 { font-size: .98rem; text-transform: none; letter-spacing: 0; }
.footer-social { margin-top: .9rem; }
.newsletter-form { margin-top: 1.2rem; }
.newsletter-title { display: block; color: #fff; font-weight: 800; margin-bottom: .5rem; }
.newsletter-row { display: flex; gap: .4rem; }
.newsletter-row input { flex: 1; min-width: 0; border: 0; border-radius: 8px; padding: .55rem .7rem; font-size: .88rem; }
.newsletter-row button { border: 0; border-radius: 8px; padding: 0 .9rem; font-weight: 800; color: #1b1203; background: linear-gradient(180deg, #ff9a3d, var(--csb-orange)); }
.newsletter-form small { display: block; margin-top: .4rem; font-size: .74rem; color: rgba(255, 255, 255, .6); }
.newsletter-form .form-success { padding: 1rem; background: rgba(255, 255, 255, .08); border: 0; color: #fff; }
.newsletter-form .form-success h2 { color: #fff; font-size: 1rem; }
.site-footer .form-success p { color: rgba(255, 255, 255, .85); font-size: .85rem; }
.site-footer .form-success-icon { width: 44px; height: 44px; font-size: 1.6rem; }
@media (min-width: 1400px) { .container { max-width: 1440px; } }
.hardware-card .btn-sm, .solution-foot .btn-sm { white-space: nowrap; }
.hardware-card .btn-sm { font-size: .74rem; padding: .35rem .4rem; }

/* ——— Espace client ——— */
.client-hero { padding-bottom: 3.5rem; }
.client-nav { background: #fff; border: 1px solid var(--csb-border); border-radius: var(--csb-radius); padding: .6rem; box-shadow: var(--csb-shadow); display: grid; gap: .2rem; position: sticky; top: 100px; }
.client-nav a, .client-nav button { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 10px; color: var(--csb-ink); text-decoration: none; font-weight: 600; border: 0; background: none; width: 100%; text-align: left; }
.client-nav a i, .client-nav button i { font-size: 1.25rem; color: var(--csb-blue); }
.client-nav a:hover, .client-nav button:hover { background: var(--csb-blue-soft); }
.client-nav a.active { background: var(--csb-blue); color: #fff; }
.client-nav a.active i { color: var(--csb-orange); }
.client-stat { display: flex; flex-direction: column; gap: .2rem; padding: 1.2rem; border-radius: var(--csb-radius); background: #fff; border: 1px solid var(--csb-border); box-shadow: var(--csb-shadow); text-decoration: none; color: var(--csb-ink); height: 100%; transition: transform .2s ease; }
.client-stat:hover { transform: translateY(-3px); color: var(--csb-ink); }
.client-stat i { font-size: 1.8rem; color: var(--csb-orange); }
.client-stat strong { font-size: 1.8rem; font-weight: 900; color: var(--csb-blue); line-height: 1; }
.client-stat span { color: var(--csb-muted); font-size: .88rem; }
.client-docs li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--csb-border); }
.client-docs li:last-child { border-bottom: 0; }
.client-docs li > i { font-size: 1.6rem; color: var(--csb-blue); }
.client-docs small { display: block; color: var(--csb-muted); }
@media (max-width: 991.98px) { .client-nav { position: static; grid-template-columns: repeat(2, 1fr); } }
.ticket-thread { display: grid; gap: .8rem; }
.ticket-msg { max-width: 85%; padding: .8rem 1rem; border-radius: 14px; background: var(--csb-bg-alt); border: 1px solid var(--csb-border); }
.ticket-msg.from-client { justify-self: end; background: var(--csb-blue-soft); border-color: #cddcf7; }
.ticket-msg.from-team { justify-self: start; background: #fff7ef; border-color: #fde3cb; }
.ticket-msg-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; margin-bottom: .35rem; color: var(--csb-muted); }
.ticket-msg-head strong { color: var(--csb-ink); }
.ticket-msg-body { white-space: normal; }

/* Promotions du matériel : prix normal barré, prix promotionnel, ruban sur la carte */
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; line-height: 1.15; }
.price-old { color: var(--csb-muted); font-size: .85rem; text-decoration-thickness: 2px; text-decoration-color: #e11d48; }
.price-promo { color: #e11d48; font-weight: 800; }
.price-lg .price-old { font-size: 1.05rem; }
.price-lg .price-promo { font-size: 1.85rem; }
.price-badge { background: linear-gradient(135deg, #e11d48, #f58220); color: #fff; font-weight: 700; font-size: .8rem; padding: .2rem .55rem; border-radius: 999px; }
.price-until { flex-basis: 100%; font-size: .8rem; color: #b45309; }
.csb-card-media { position: relative; }
.promo-ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; background: linear-gradient(135deg, #e11d48, #f58220); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .02em; padding: .3rem .7rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(225, 29, 72, .35); animation: promo-pulse 2.2s ease-in-out infinite; }
@keyframes promo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .promo-ribbon { animation: none; } }

/* Carrousels (réalisations, matériel du moment) : défilement automatique, flèches, points, glissement au doigt */
.csb-carousel { position: relative; }
.csb-carousel-viewport { overflow: hidden; margin: -14px; padding: 14px; }
.csb-carousel-track { display: flex; transition: transform .7s cubic-bezier(.22, .8, .25, 1); will-change: transform; }
.csb-carousel.dragging .csb-carousel-track { transition: none; }
.csb-carousel-slide { flex: 0 0 100%; padding: 0 10px; min-width: 0; }
.csb-carousel-slide > * { height: 100%; }
@media (min-width: 576px) { .csb-carousel-slide.per-4 { flex-basis: 50%; } }
@media (min-width: 992px) { .csb-carousel-slide.per-4 { flex-basis: 33.3333%; } }
@media (min-width: 1200px) { .csb-carousel-slide.per-4 { flex-basis: 25%; } }
.csb-carousel-btn { position: absolute; top: 42%; z-index: 3; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--csb-blue); font-size: 1.8rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(16, 59, 142, .22); transition: transform .2s, background .2s, color .2s; }
.csb-carousel-btn:hover { background: var(--csb-blue); color: #fff; transform: scale(1.08); }
.csb-carousel-btn.prev { left: -12px; }
.csb-carousel-btn.next { right: -12px; }
.csb-carousel-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1rem; }
.csb-carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #c8d3ea; transition: width .3s, background .3s; }
.csb-carousel-dots button.active { width: 28px; background: var(--csb-orange, #f58220); }

.projects-showcase { background: linear-gradient(180deg, #f3f6fc 0%, #fff 100%); }
.showcase .csb-carousel-btn { top: 38%; }
.showcase-slide { display: grid; grid-template-columns: 1.35fr 1fr; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(16, 59, 142, .14); min-height: 380px; }
.showcase-media { position: relative; display: flex; align-items: center; justify-content: center; background: #0d2c6b; color: #9fb4e0; font-size: 4rem; overflow: hidden; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s ease-out; }
.csb-carousel-slide.is-active .showcase-media img { transform: scale(1); }
.showcase-body { padding: 2rem 2.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; justify-content: center; }
.showcase-body > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.csb-carousel-slide.is-active .showcase-body > * { opacity: 1; transform: none; }
.csb-carousel-slide.is-active .showcase-body > *:nth-child(2) { transition-delay: .08s; }
.csb-carousel-slide.is-active .showcase-body > *:nth-child(3) { transition-delay: .16s; }
.csb-carousel-slide.is-active .showcase-body > *:nth-child(4) { transition-delay: .24s; }
.csb-carousel-slide.is-active .showcase-body > *:nth-child(5) { transition-delay: .32s; }
.csb-carousel-slide.is-active .showcase-body > *:nth-child(n+6) { transition-delay: .4s; }
.showcase-count { font-weight: 800; letter-spacing: .12em; color: var(--csb-orange-dark); font-size: .85rem; }
.showcase-body h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin: 0; }
.showcase-body h3 a { color: var(--csb-ink); text-decoration: none; }
.showcase-body h3 a:hover { color: var(--csb-blue); }
.showcase-client { margin: 0; color: var(--csb-muted); font-weight: 600; }
.showcase-summary { margin: 0; color: #3d4a66; }
.showcase-techs { display: flex; flex-wrap: wrap; gap: .4rem; }
.showcase-techs span { background: var(--csb-blue-soft); color: var(--csb-blue); font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.csb-carousel-progress { height: 4px; background: #dde5f4; border-radius: 4px; margin: 1.1rem auto 0; overflow: hidden; max-width: 320px; }
.csb-carousel-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--csb-blue), var(--csb-orange, #f58220)); }
.csb-carousel-progress span.run { width: 100%; transition: width var(--carousel-interval, 5s) linear; }
.showcase-thumbs { display: flex; gap: .7rem; margin-top: 1rem; overflow-x: auto; padding: .3rem .2rem .6rem; scrollbar-width: thin; justify-content: safe center; }
.showcase-thumb { flex: 0 0 auto; width: 150px; border: 2px solid transparent; border-radius: 12px; padding: 0; background: #fff; overflow: hidden; text-align: left; box-shadow: 0 6px 16px rgba(16, 59, 142, .1); opacity: .6; transition: opacity .3s, border-color .3s, transform .3s; }
.showcase-thumb img, .showcase-thumb i { display: block; width: 100%; height: 84px; object-fit: cover; }
.showcase-thumb i { display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #9fb4e0; background: var(--csb-bg-alt); }
.showcase-thumb span { display: block; padding: .35rem .5rem; font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--csb-ink); }
.showcase-thumb:hover { opacity: .9; transform: translateY(-2px); }
.showcase-thumb.active { opacity: 1; border-color: var(--csb-orange, #f58220); transform: translateY(-3px); }
@media (max-width: 991.98px) {
  .showcase-slide { grid-template-columns: 1fr; }
  .showcase-media { aspect-ratio: 16 / 10; }
  .showcase-body { padding: 1.4rem; }
  .csb-carousel-btn { width: 40px; height: 40px; font-size: 1.5rem; }
  .csb-carousel-btn.prev { left: 2px; }
  .csb-carousel-btn.next { right: 2px; }
  .showcase .csb-carousel-btn { top: 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .csb-carousel-track, .showcase-media img, .showcase-body > * { transition: none !important; }
}
.site-header button.nav-link { border: 0; background: none; box-shadow: none; text-decoration: none; }
.site-header button.nav-link:focus:not(:focus-visible) { box-shadow: none; }
.showcase .csb-carousel-viewport { margin: -14px 0; padding: 14px 0 30px; }
.showcase .csb-carousel-slide { padding: 0; }
.csb-card-footer .price-block { flex: 1 1 auto; }

/* Bandes en boucle continue (solutions logicielles, matériel) : cartes compactes qui défilent sans fin */
.loop-rail { position: relative; overflow: hidden; padding: 12px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.loop-track { display: flex; column-gap: 16px; width: max-content; }
.loop-rail.loop-ready .loop-track { animation: loop-slide var(--loop-duration, 30s) linear infinite; }
.loop-rail.loop-reverse .loop-track { animation-direction: reverse; }
.loop-rail:hover .loop-track, .loop-rail.loop-paused .loop-track { animation-play-state: paused; }
@keyframes loop-slide { from { transform: translateX(0); } to { transform: translateX(var(--loop-distance, -50%)); } }
.loop-rail.loop-static { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.loop-item { flex: 0 0 auto; height: auto; }
.loop-item.solution-card { width: 230px; }
.loop-item.solution-card .solution-media { aspect-ratio: 16 / 9; }
.loop-item.solution-card .solution-body { padding: .7rem .8rem .8rem; }
.loop-item.solution-card h3 { font-size: .95rem; }
.loop-item.solution-card .solution-tagline { font-size: .76rem; margin-bottom: .3rem; }
.loop-item.solution-card .solution-text { font-size: .76rem; -webkit-line-clamp: 2; margin-bottom: .5rem; }
.loop-item.hardware-card { width: 165px; padding: .7rem; }
.loop-item.hardware-card .hardware-media { aspect-ratio: 4 / 3; margin-bottom: .4rem; }
.loop-item.hardware-card h3 { font-size: .85rem; }
.loop-item.hardware-card p { font-size: .72rem; margin-bottom: .5rem; }
.loop-item:hover { transform: translateY(-4px); }
@media (max-width: 575.98px) {
  .loop-item.solution-card { width: 200px; }
  .loop-item.hardware-card { width: 145px; }
}
.loop-item.hardware-card .hardware-media { aspect-ratio: auto; height: 110px; }

/* Boutique : panier, commande, suivi */
.card-cart-form { position: relative; z-index: 2; margin: 0; }
.btn-cart-mini { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--csb-orange); color: #1b1203; font-size: 1.35rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(245, 130, 32, .35); transition: transform .2s, background .2s; }
.btn-cart-mini:hover { transform: translateY(-2px) scale(1.06); background: #ff9a3d; }
.btn-cart-mini.added { animation: cart-pop .5s ease; }
@keyframes cart-pop { 40% { transform: scale(1.25) rotate(-8deg); } 100% { transform: scale(1); } }
.buy-row { display: flex; gap: .5rem; }
.buy-row input { width: 80px; flex: 0 0 auto; }
.cart-count.bump { animation: cart-pop .5s ease; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--csb-border); transition: opacity .3s, transform .3s; }
.cart-line:last-child { border-bottom: 0; }
.cart-line.removing { opacity: 0; transform: translateX(30px); }
.cart-thumb { width: 96px; height: 72px; border-radius: 10px; background: var(--csb-bg-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 2rem; color: #b9c6e2; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-info a { color: var(--csb-ink); text-decoration: none; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--csb-border); border-radius: 10px; overflow: hidden; margin: 0; }
.cart-qty input { width: 48px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.cart-qty input::-webkit-outer-spin-button, .cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 34px; height: 36px; border: 0; background: var(--csb-bg-alt); font-weight: 800; color: var(--csb-blue); }
.qty-btn:hover { background: var(--csb-blue-soft); }
.cart-line-total { min-width: 110px; text-align: right; white-space: nowrap; }
.cart-remove { border: 0; background: transparent; color: #c2410c; font-size: 1.3rem; }
.cart-summary { position: sticky; top: 100px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .7rem; }
.choice-grid.four { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice-card { position: relative; display: block; cursor: pointer; margin: 0; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card > span { display: block; height: 100%; padding: .8rem 1rem; border: 2px solid var(--csb-border); border-radius: 12px; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice-card small { display: block; color: var(--csb-muted); margin-top: .25rem; font-size: .78rem; }
.choice-card.compact > span { text-align: center; padding: .7rem; font-size: .9rem; }
.choice-card input:checked + span { border-color: var(--csb-blue); background: var(--csb-blue-soft); box-shadow: 0 6px 16px rgba(16, 59, 142, .12); }
.choice-card input:focus-visible + span { outline: 3px solid var(--csb-orange); outline-offset: 2px; }
.order-steps { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; counter-reset: step; }
.order-steps li { position: relative; padding-left: 2.2rem; color: var(--csb-muted); counter-increment: step; }
.order-steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--csb-bg-alt); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.order-steps li.done { color: var(--csb-ink); font-weight: 600; }
.order-steps li.done::before { content: '✓'; background: #16a34a; color: #fff; }
.pay-box { padding: .8rem 1rem; border-radius: 12px; background: #fff7ef; border: 1px solid #fde3cb; font-size: .9rem; }
@media (max-width: 767.98px) {
  .cart-line { grid-template-columns: 72px 1fr auto; grid-template-areas: "thumb info remove" "thumb qty total"; gap: .5rem .8rem; }
  .cart-thumb { grid-area: thumb; width: 72px; height: 60px; }
  .cart-info { grid-area: info; }
  .cart-qty { grid-area: qty; justify-self: start; }
  .cart-line-total { grid-area: total; min-width: 0; }
  .cart-line > form[data-cart-remove] { grid-area: remove; }
}

/* Témoignages en vidéo */
.video-testimonial { height: 100%; background: #fff; border: 1px solid var(--csb-border); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(16, 59, 142, .1); display: flex; flex-direction: column; transition: box-shadow .3s; }
.video-testimonial:hover { box-shadow: 0 24px 50px rgba(16, 59, 142, .2); }
.vt-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: linear-gradient(135deg, #0d2c6b, #1d5bc4); overflow: hidden; cursor: pointer; text-decoration: none; }
.vt-media img, .vt-media .vt-frame { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vt-media .vt-frame { display: block; pointer-events: none; background: #0d2c6b; }
.video-testimonial:hover .vt-media img, .video-testimonial:hover .vt-media .vt-frame { transform: scale(1.06); }
.vt-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 20, 50, .55)); }
.vt-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .5); font-size: 4rem; }
.vt-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--csb-orange); color: #1b1203; font-size: 2.6rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(245, 130, 32, .6); animation: vt-pulse 2.4s infinite; transition: transform .25s; }
.vt-media:hover .vt-play, .vt-media:focus-visible .vt-play { transform: scale(1.12); }
@keyframes vt-pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 130, 32, .55); } 70% { box-shadow: 0 0 0 22px rgba(245, 130, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0); } }
.vt-duration { position: absolute; z-index: 1; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .78rem; font-weight: 700; padding: .15rem .5rem; border-radius: 6px; }
.vt-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.vt-quote { margin: 0; color: #3d4a66; font-style: italic; font-size: .92rem; flex: 1; }
.vt-author { display: flex; align-items: center; gap: .6rem; }
.vt-author img, .testimonial-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.vt-author strong, .vt-author small { display: block; line-height: 1.2; }
.vt-author small { color: var(--csb-muted); font-size: .78rem; }
.stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 1px; }
.share-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.6rem 2rem; border-radius: 20px; background: linear-gradient(135deg, var(--csb-blue-soft), #fff7ef); border: 1px solid var(--csb-border); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; color: #d3dae8; cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f5a623; }
.star-input input:focus-visible + label { outline: 3px solid var(--csb-orange); outline-offset: 2px; border-radius: 6px; }
.star-input label:hover { transform: scale(1.15); }
.video-upload-preview { width: 100%; max-height: 260px; border-radius: 12px; background: #000; }
/* Lecteur plein écran */
.video-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 12, 30, .92); display: flex; align-items: center; justify-content: center; padding: 4vh 4vw; opacity: 0; transition: opacity .25s; }
.video-lightbox.open { opacity: 1; }
.video-lightbox video { max-width: 100%; max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: #000; }
.video-lightbox-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.video-lightbox-close:hover { background: var(--csb-orange); color: #1b1203; }
.video-lightbox-title { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: rgba(255, 255, 255, .85); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .vt-play { animation: none; } }
