/* =====================================================================
   SWUI TECH — Feuille de styles principale
   « Tous pour l'avenir technologique »
   Charte : Nuit #0B1530 · Orange #FF8A1F · Blanc · Bleu #1F5EFF
            Anthracite #121A2B · Gris #8A93A6 — Police : Poppins
   ===================================================================== */

:root {
    --nuit: #0B1530;
    --nuit-2: #101d3f;
    --nuit-3: #16254d;
    --orange: #FF8A1F;
    --orange-2: #ff9f45;
    --orange-soft: rgba(255, 138, 31, .12);
    --bleu: #1F5EFF;
    --bleu-soft: rgba(31, 94, 255, .1);
    --anthracite: #121A2B;
    --gris: #8A93A6;
    --gris-2: #5d6578;
    --blanc: #FFFFFF;
    --soft: #F4F5F9;
    --line: #E6E8EF;
    --line-dark: rgba(255, 255, 255, .09);
    --success: #17b26a;
    --danger: #e5484d;

    --font: 'Poppins', Arial, Helvetica, sans-serif;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(11, 21, 48, .06), 0 2px 8px rgba(11, 21, 48, .04);
    --shadow: 0 10px 30px -10px rgba(11, 21, 48, .18);
    --shadow-lg: 0 30px 60px -20px rgba(11, 21, 48, .35);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --header-h: 80px;
    --container: 1200px;

    --diamonds-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg fill='%23FF8A1F' opacity='.45'%3E%3Crect x='54' y='30' width='4' height='4' transform='rotate(45 56 32)'/%3E%3Crect x='194' y='86' width='4' height='4' transform='rotate(45 196 88)'/%3E%3Crect x='110' y='170' width='4' height='4' transform='rotate(45 112 172)'/%3E%3Crect x='250' y='226' width='4' height='4' transform='rotate(45 252 228)'/%3E%3C/g%3E%3C/svg%3E");
    --diamonds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg fill='%23FF8A1F'%3E%3Crect x='54' y='30' width='5' height='5' transform='rotate(45 56.5 32.5)' opacity='.85'/%3E%3Crect x='194' y='86' width='5' height='5' transform='rotate(45 196.5 88.5)' opacity='.6'/%3E%3Crect x='110' y='170' width='5' height='5' transform='rotate(45 112.5 172.5)' opacity='.75'/%3E%3Crect x='250' y='226' width='5' height='5' transform='rotate(45 252.5 228.5)' opacity='.5'/%3E%3Crect x='26' y='254' width='5' height='5' transform='rotate(45 28.5 256.5)' opacity='.65'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--anthracite);
    background: var(--blanc);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; color: var(--nuit); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--nuit); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--orange); color: var(--nuit); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 820px; }
.text-orange { color: var(--orange); }
.muted { color: var(--gris); }
.center { text-align: center; justify-content: center; }

/* ---------- Éléments de marque ---------- */
.diamond {
    display: inline-block; width: 8px; height: 8px; background: var(--orange);
    transform: rotate(45deg); border-radius: 1.5px; flex: none;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); border-radius: 1.5px; }
.eyebrow-dark { color: var(--nuit); }
.eyebrow-dark::before { background: var(--nuit); }
.lead { font-size: 1.12rem; color: var(--gris-2); font-weight: 300; line-height: 1.7; }

.pattern-dark {
    position: relative;
    background-color: var(--nuit);
    background-image:
        var(--diamonds-soft),
        radial-gradient(rgba(138, 147, 166, .16) 1.2px, transparent 1.4px);
    background-size: 280px 280px, 28px 28px;
    color: #fff;
}
.hero.pattern-dark, .page-hero.pattern-dark, .error-page.pattern-dark, .aside-card.pattern-dark, .mobile-menu-inner.pattern-dark { background-image: radial-gradient(rgba(138, 147, 166, .14) 1.2px, transparent 1.4px); background-size: 28px 28px; }
.pattern-dark h1, .pattern-dark h2, .pattern-dark h3 { color: #fff; }
.pattern-dark .lead, .pattern-dark .muted { color: #b3bacb; }

/* ---------- Boutons ---------- */
.btn {
    --bg: var(--nuit); --fg: #fff;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2;
    background: var(--bg); color: var(--fg); border: 1.5px solid transparent;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { --bg: var(--orange); --fg: var(--nuit); box-shadow: 0 10px 30px -10px rgba(255, 138, 31, .7); }
.btn-primary:hover { --bg: var(--orange-2); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 138, 31, .85); }
.btn-dark { --bg: var(--nuit); --fg: #fff; }
.btn-dark:hover { --bg: var(--nuit-3); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { --bg: rgba(255, 255, 255, .04); --fg: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--orange); --fg: var(--orange); }
.btn-ghost-dark { --bg: transparent; --fg: var(--nuit); border-color: rgba(11, 21, 48, .2); }
.btn-ghost-dark:hover { border-color: var(--nuit); --bg: var(--nuit); --fg: #fff; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: 46px; height: 46px; flex: none; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading .btn-label::after { content: "…"; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--nuit); transition: gap .3s var(--ease), color .2s; }
.link-arrow:hover { gap: 12px; color: var(--orange); }
.pattern-dark .link-arrow, .mega .link-arrow { color: #fff; }
.mega .link-arrow:hover { color: var(--orange); }

/* ---------- Progression de page ---------- */
.page-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), var(--bleu)); z-index: 200; }

/* ---------- En-tête ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
    display: flex; align-items: center;
    transition: background .35s, height .35s var(--ease), box-shadow .35s, border-color .35s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    --header-h: 68px;
    background: rgba(11, 21, 48, .82);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-color: var(--line-dark);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: transform .4s var(--ease), background .35s, height .35s var(--ease), box-shadow .35s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.logo-img { width: 150px; height: auto; }
.site-header.is-scrolled .logo-img { width: 136px; }
.logo-img { transition: width .35s var(--ease); }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    position: relative; display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: rgba(255, 255, 255, .78);
    transition: color .2s, background .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after {
    content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px;
    background: var(--orange); transform: rotate(45deg); border-radius: 1px;
}
.caret { transition: transform .3s var(--ease); }
.has-mega { position: relative; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.mega {
    position: absolute; top: calc(100% + 14px); left: 50%; width: min(720px, 90vw);
    transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
    background: rgba(16, 29, 63, .97); backdrop-filter: blur(16px);
    border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 14px;
    box-shadow: var(--shadow-lg); transition: all .3s var(--ease);
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.main-nav .mega-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; color: #fff; }
.main-nav .mega-item:hover { background: rgba(255, 255, 255, .06); }
.mega-item strong { display: block; font-size: .92rem; font-weight: 600; }
.mega-item small { display: block; font-size: .78rem; color: var(--gris); line-height: 1.4; margin-top: 2px; }
.mega-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 138, 31, .12); color: var(--orange); transition: background .2s, color .2s; }
.mega-item:hover .mega-icon { background: var(--orange); color: var(--nuit); }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 14px 12px 6px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: #b3bacb; }
.mega-foot > span { display: inline-flex; align-items: center; gap: 10px; }
.main-nav .mega-foot .link-arrow { padding: 0; font-size: .85rem; }
.main-nav .mega-foot .link-arrow:hover { background: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); position: relative; z-index: 120; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; right: 18px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.mobile-menu-inner {
    position: absolute; inset: 0; padding: calc(var(--header-h) + 24px) 24px 32px; display: flex; flex-direction: column; justify-content: space-between;
    clip-path: circle(0 at calc(100% - 47px) 40px); transition: clip-path .7s var(--ease); overflow-y: auto;
}
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
.menu-open .mobile-menu-inner { clip-path: circle(150% at calc(100% - 47px) 40px); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
    display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-size: 1.9rem; font-weight: 600; color: #fff; border-bottom: 1px solid var(--line-dark);
    opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
    transition-delay: calc(var(--i) * 50ms + 150ms);
}
.mobile-menu nav a .num { font-size: .8rem; color: var(--orange); font-weight: 500; }
.mobile-menu nav a.is-active, .mobile-menu nav a:hover { color: var(--orange); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu-foot { margin-top: 32px; }
.mobile-menu-foot p { display: flex; align-items: center; gap: 10px; color: #b3bacb; margin: 14px 0 0; font-size: .9rem; }

/* ---------- Héros (accueil) ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-glow {
    position: absolute; width: 900px; height: 900px; right: -300px; top: -260px; pointer-events: none;
    background: radial-gradient(circle, rgba(31, 94, 255, .28), transparent 60%);
    filter: blur(20px);
}
.hero-glow::after { content: ""; position: absolute; width: 520px; height: 520px; left: -420px; top: 640px; background: radial-gradient(circle, rgba(255, 138, 31, .18), transparent 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 24px; }
.hero-title .text-orange { font-weight: 300; }
.title-diamond { display: inline-block; width: .2em; height: .2em; background: var(--orange); transform: rotate(45deg) translateY(-.05em); border-radius: 3px; margin-left: .12em; animation: pulse-d 2.6s ease-in-out infinite; }
@keyframes pulse-d { 50% { transform: rotate(225deg) scale(.8); } }
.hero-lead { font-size: 1.15rem; font-weight: 300; color: #b9c0d0; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px; color: #b3bacb; font-size: .9rem; }
.hero-tags li { display: inline-flex; align-items: center; gap: 10px; }
.hero-tags .diamond { width: 6px; height: 6px; }

.hero-visual { position: relative; height: 520px; perspective: 1200px; }
.orbit { position: absolute; border: 1px dashed rgba(255, 255, 255, .12); border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; }
.orbit-1 { width: 480px; height: 480px; animation: spin 50s linear infinite; }
.orbit-2 { width: 340px; height: 340px; border-color: rgba(255, 138, 31, .22); animation: spin 35s linear infinite reverse; }
.orbit-1::before, .orbit-2::before { content: ""; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; background: var(--orange); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 20px var(--orange); }
.orbit-2::before { background: var(--bleu); box-shadow: 0 0 20px var(--bleu); top: auto; bottom: -6px; }
@keyframes spin { to { rotate: 360deg; } }

.code-window {
    position: absolute; left: 50%; top: 50%; width: min(460px, 100%); translate: -50% -50%;
    background: linear-gradient(160deg, rgba(22, 37, 77, .95), rgba(11, 21, 48, .96));
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
    transform-style: preserve-3d; transition: transform .2s ease-out;
}
.cw-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); }
.cw-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cw-bar span:nth-child(2) { background: #febc2e; }
.cw-bar span:nth-child(3) { background: #28c840; }
.cw-bar em { margin-left: auto; font-style: normal; font-size: .75rem; color: var(--gris); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.cw-code { margin: 0; padding: 22px 22px 26px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.75; color: #dfe4ef; white-space: pre; overflow: hidden; min-height: 260px; }
.cw-code code { font: inherit; }
.cw-code .caret-blink { display: inline-block; width: 8px; height: 1.1em; background: var(--orange); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tk-c { color: #6f7a93; font-style: italic; }
.tk-k { color: #7aa2ff; }
.tk-s { color: #ffb06b; }
.tk-f { color: #fff; font-weight: 600; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
    background: rgba(255, 255, 255, .96); color: var(--nuit); border-radius: 16px; box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .55);
    animation: float 6s ease-in-out infinite; z-index: 2;
}
.float-card strong { display: block; font-size: .85rem; font-weight: 600; line-height: 1.2; }
.float-card small { display: block; font-size: .72rem; color: var(--gris); }
.fc-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--orange-soft); color: var(--orange); }
.fc-icon.ok { background: rgba(23, 178, 106, .12); color: var(--success); }
.fc-deploy { left: -10px; bottom: 70px; }
.fc-perf { right: -10px; top: 40px; animation-delay: -2s; }
.fc-pay { right: 20px; bottom: 20px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }
.gauge {
    --val: 90; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--success) calc(var(--val) * 1%), #e7e9f0 0);
    position: relative; font-size: .78rem; font-weight: 700;
}
.gauge::before { content: ""; position: absolute; inset: 4px; background: #fff; border-radius: 50%; }
.gauge span { position: relative; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 6px; height: 6px; margin-left: -3px; background: var(--orange); transform: rotate(45deg); animation: scroll-d 2s var(--ease) infinite; }
@keyframes scroll-d { 0% { opacity: 0; top: 6px; } 30% { opacity: 1; } 100% { opacity: 0; top: 26px; } }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--anthracite); border-block: 1px solid var(--line-dark); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; color: #c9cfdc; font-weight: 500; font-size: 1.02rem; white-space: nowrap; }
.marquee .diamond { width: 7px; height: 7px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--nuit); color: #fff; }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head.split .lead { max-width: 460px; margin: 0; }
.section-head h2 { margin-bottom: 0; }
.section-head.center .lead { margin-top: 18px; }

/* ---------- Cartes services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
    position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, color .3s;
}
.service-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
    background: var(--nuit) var(--diamonds); background-size: 280px;
}
.service-card::after {
    content: ""; position: absolute; width: 260px; height: 260px; left: var(--mx, 50%); top: var(--my, 50%); translate: -50% -50%; z-index: -1;
    background: radial-gradient(circle, rgba(255, 138, 31, .28), transparent 60%); opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: #fff; }
.service-card:hover::before, .service-card:hover::after { opacity: 1; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: #b9c0d0; }
.sc-num { position: absolute; top: 24px; right: 26px; font-size: .8rem; font-weight: 600; color: var(--gris); letter-spacing: .1em; }
.sc-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--orange-soft); color: var(--orange); margin-bottom: 26px; transition: transform .5s var(--ease), background .3s, color .3s; }
.service-card:hover .sc-icon { background: var(--orange); color: var(--nuit); transform: rotate(-8deg) scale(1.05); }
.service-card h3 { margin-bottom: 10px; transition: color .3s; }
.service-card p { font-size: .92rem; color: var(--gris-2); flex: 1; transition: color .3s; }
.sc-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--orange); margin-top: 8px; }
.sc-link .icon { transition: transform .3s var(--ease); }
.service-card:hover .sc-link .icon { transform: translate(3px, -3px); }

/* ---------- Histoire ---------- */
.story { overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.story-card {
    position: relative; padding: 54px 44px; border-radius: 32px; overflow: hidden;
    background: linear-gradient(150deg, rgba(31, 94, 255, .18), rgba(255, 255, 255, .03) 50%, rgba(255, 138, 31, .14));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-lg);
}
.story-card::after { content: "swui"; position: absolute; right: -20px; bottom: -86px; font-size: 11rem; font-weight: 800; color: rgba(255, 255, 255, .03); letter-spacing: -.05em; line-height: 1; }
.story-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); margin-bottom: 36px; }
.story-word { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; margin: 0; letter-spacing: -.03em; }
.story-def { font-size: 1.15rem; color: #b3bacb; font-weight: 300; }
.story-def span { font-style: italic; color: var(--orange); margin-right: 6px; }
.story-quote { position: relative; margin: 30px 0 0; padding-left: 22px; border-left: 2px solid var(--orange); color: #dfe3ec; font-size: 1.02rem; font-weight: 300; }
.story-copy p { color: #b9c0d0; }
.story-copy strong { color: #fff; }
.values { margin-top: 32px; display: grid; gap: 2px; }
.values li { display: flex; align-items: center; gap: 22px; padding: 16px 4px; border-bottom: 1px solid var(--line-dark); transition: padding .4s var(--ease), background .3s; }
.values li:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(255, 138, 31, .08), transparent); }
.values .v-num { font-size: .78rem; color: var(--orange); font-weight: 600; letter-spacing: .1em; }
.values strong { display: block; font-weight: 600; color: #fff; }
.values li span:not(.v-num) { display: block; color: #9aa3b8; font-size: .9rem; }
.values li > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }

/* ---------- Chiffres ---------- */
.stats { background: var(--orange); color: var(--nuit); padding: 60px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 21, 48, .12) 1.2px, transparent 1.4px); background-size: 24px 24px; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: left; padding-left: 22px; border-left: 2px solid rgba(11, 21, 48, .2); }
.stat-value { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; margin: 0 0 8px; }
.stat-value em { font-style: normal; font-weight: 300; }
.stat-label { margin: 0; font-weight: 500; font-size: .95rem; }

/* ---------- Méthode ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px); opacity: .45; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-dot { position: relative; z-index: 1; width: 62px; height: 62px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 18px; background: #fff; color: var(--nuit); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transform: rotate(45deg); transition: transform .5s var(--ease), background .3s, color .3s; }
.step-dot .icon { transform: rotate(-45deg); }
.step:hover .step-dot { background: var(--nuit); color: var(--orange); transform: rotate(45deg) scale(1.08); }
.step-num { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .88rem; color: var(--gris-2); }

/* ---------- Projets ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.projects-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cols-4 .pc-cover { aspect-ratio: 4 / 3; }
.cols-4 .cover-title { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.cols-4 .pc-body { padding: 20px 22px 24px; }
.cols-4 .pc-body h3 { font-size: 1.15rem; }
.cols-4 .pc-body p { font-size: .88rem; }
.cols-4 .pc-meta { flex-wrap: wrap; gap: 4px 10px; font-size: .72rem; }
.project-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card.is-hidden { display: none; }
.pc-cover { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.pc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .pc-cover img, .project-card:hover .cover-title { transform: scale(1.06); }
.cover-nuit { background: var(--nuit); }
.cover-orange { background: linear-gradient(140deg, #ff9f45, var(--orange) 50%, #f07400); }
.cover-bleu { background: linear-gradient(140deg, #4a7dff, var(--bleu) 55%, #1446c9); }
.cover-pattern { position: absolute; inset: 0; background-image: var(--diamonds), radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.4px); background-size: 280px, 26px 26px; }
.cover-orange .cover-pattern { background-image: radial-gradient(rgba(11, 21, 48, .18) 1.2px, transparent 1.4px); background-size: 26px 26px; }
.cover-title { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; color: #fff; letter-spacing: -.03em; transition: transform .8s var(--ease); }
.cover-orange .cover-title { color: var(--nuit); }
.cover-title.big { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.pc-badge { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--nuit); font-size: .72rem; font-weight: 600; backdrop-filter: blur(6px); }
.pc-arrow { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--nuit); transform: scale(.6); opacity: 0; transition: all .45s var(--ease); }
.project-card:hover .pc-arrow { transform: none; opacity: 1; }
.pc-body { padding: 24px 26px 28px; }
.pc-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 10px; }
.tag-orange { color: var(--orange); }
.pc-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pc-body p { color: var(--gris-2); font-size: .93rem; margin: 0; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento-item { padding: 32px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.b-wide { grid-column: span 2; }
.bento-item.b-dark { border: 0; background-color: var(--nuit); background-image: var(--diamonds), radial-gradient(rgba(138, 147, 166, .16) 1.2px, transparent 1.4px); background-size: 280px 280px, 28px 28px; }
.b-dark p { color: #b9c0d0; }
.b-orange { background: var(--orange); border: 0; }
.b-orange h3 { color: var(--nuit); }
.b-orange p { color: rgba(11, 21, 48, .78); }
.b-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--orange-soft); color: var(--orange); margin-bottom: 22px; }
.b-dark .b-icon { background: rgba(255, 255, 255, .08); }
.b-orange .b-icon { background: var(--nuit); color: var(--orange); }
.bento-item p { color: var(--gris-2); font-size: .94rem; margin: 0; }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { margin: 0; padding: 34px 30px; border-radius: var(--radius-lg); background: var(--soft); position: relative; }
.t-quote { color: var(--orange); opacity: .5; display: block; margin-bottom: 14px; }
.t-stars { display: flex; gap: 2px; color: #d5d9e3; margin-bottom: 12px; }
.t-stars .on { color: var(--orange); }
.t-stars .on svg { fill: currentColor; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1rem; }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit); color: var(--orange); font-weight: 700; }
.testimonial small { display: block; color: var(--gris); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.accordion { display: grid; gap: 12px; }
.acc-item { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.section-soft .acc-item { border-color: transparent; }
.acc-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.acc-item summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 26px; font-weight: 600; color: var(--nuit); cursor: pointer; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-icon { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--soft); transition: background .3s, transform .4s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--nuit); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.acc-icon::after { transform: rotate(90deg); }
.acc-item[open] .acc-icon { background: var(--orange); transform: rotate(180deg); }
.acc-item[open] .acc-icon::after { transform: rotate(0); }
.acc-body { padding: 0 26px 22px; color: var(--gris-2); }
.acc-body p { margin: 0; }

/* ---------- Articles ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.section-soft .post-card { border-color: transparent; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.06); }
.post-cover-cat { position: absolute; left: 24px; bottom: 18px; font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.02em; max-width: 80%; line-height: 1.1; }
.cover-orange .post-cover-cat { color: var(--nuit); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--gris); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: #c96200; font-weight: 600; font-size: .72rem; }
.post-body h3 { font-size: 1.18rem; line-height: 1.35; }
.post-body > p { color: var(--gris-2); font-size: .92rem; flex: 1; }
.post-body .link-arrow { font-size: .9rem; }

/* ---------- Bandeau CTA ---------- */
.cta-band { padding: 0 0 110px; }
.section-soft + .cta-band, .stats + .cta-band { padding-top: 90px; }
.cta-card {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
    padding: 64px 60px; border-radius: 32px; background: var(--orange); color: var(--nuit);
}
.cta-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 21, 48, .14) 1.2px, transparent 1.4px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border: 2px solid rgba(11, 21, 48, .14); transform: rotate(45deg); border-radius: 40px; }
.cta-content, .cta-actions { position: relative; z-index: 1; }
.cta-card h2 { color: var(--nuit); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-card p { color: rgba(11, 21, 48, .78); margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-actions .btn-ghost-dark { border-color: rgba(11, 21, 48, .35); }

/* ---------- Pied de page ---------- */
.site-footer { padding: 90px 0 30px; }
.footer-top > * { min-width: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.3fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.logo-footer { width: 170px; margin-bottom: 20px; }
.footer-slogan { font-size: 1.15rem; font-weight: 300; color: var(--orange); margin-bottom: 10px; }
.footer-brand .muted { font-size: .9rem; }
.footer-brand strong { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-dark); color: #c9cfdc; transition: all .3s var(--ease); }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--nuit); transform: translateY(-3px); }
.footer-col h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 22px; font-weight: 600; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: #a9b1c3; font-size: .93rem; transition: color .2s, padding .3s var(--ease); }
.footer-col ul a:hover { color: var(--orange); padding-left: 4px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; color: #a9b1c3; font-size: .9rem; }
.contact-list .icon { color: var(--orange); margin-top: 3px; flex: none; }
.newsletter-form { margin-top: 24px; }
.input-inline { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); transition: border-color .2s; }
.input-inline:focus-within { border-color: var(--orange); }
.input-inline input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 16px; color: #fff; outline: none; font-size: .92rem; }
.input-inline input::placeholder { color: #7d869b; }
.newsletter-form small { display: block; margin-top: 10px; font-size: .78rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: .85rem; color: #7d869b; }
.footer-bottom p { margin: 0; }
.footer-sign { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Boutons flottants & notifications ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 80; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit); color: #fff; border: 1px solid var(--line-dark); opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .35s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); color: var(--nuit); }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--nuit); color: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid var(--success); font-size: .92rem; animation: toast-in .5s var(--ease); }
.toast.is-error { border-left-color: var(--danger); }
.toast.is-leaving { animation: toast-out .4s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 880px; font-size: clamp(2.2rem, 5vw, 3.9rem); letter-spacing: -.035em; }
.page-hero h1 .text-orange { font-weight: 300; }
.page-lead { font-size: 1.15rem; font-weight: 300; color: #b9c0d0; max-width: 680px; margin: 18px 0 0; }
.page-hero .hero-actions { margin-top: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: #8f98ad; margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { width: 5px; height: 5px; background: var(--orange); transform: rotate(45deg); }
.breadcrumb [aria-current] { color: #fff; }
.article-meta { display: flex; flex-wrap: wrap; gap: 22px; color: #b3bacb; font-size: .9rem; margin-top: 24px; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { color: var(--orange); }

/* À propos */
.about-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.signature-card { padding: 44px 38px; border-radius: 28px; box-shadow: var(--shadow-lg); }
.signature-card img { border-radius: 22px; margin-bottom: 28px; }
.signature-card p { color: #b9c0d0; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value-card { position: relative; padding: 30px 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); backdrop-filter: blur(4px); transition: transform .5s var(--ease), border-color .3s, background .3s; }
.value-card:hover { transform: translateY(-6px); border-color: rgba(255, 138, 31, .5); background: rgba(255, 138, 31, .06); }
.vc-num { position: absolute; top: 22px; right: 22px; font-size: .75rem; color: var(--orange); font-weight: 600; }
.vc-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: var(--orange); margin-bottom: 22px; }
.value-card p { color: #a9b1c3; font-size: .9rem; margin: 0; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mission { padding: 36px 32px; border-radius: var(--radius-lg); background: var(--soft); }
.mission p { color: var(--gris-2); margin: 0; }

/* Services : liste */
.services-list { display: grid; gap: 0; }
.service-row { display: grid; grid-template-columns: 140px 1.2fr 1fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-row:first-child { padding-top: 0; }
.sr-head { display: flex; flex-direction: column; gap: 16px; }
.sr-num { font-size: 3rem; font-weight: 700; color: var(--line); line-height: 1; letter-spacing: -.04em; transition: color .4s; }
.service-row:hover .sr-num { color: var(--orange); }
.sr-main h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.sr-accroche { color: var(--orange); font-weight: 500; }
.sr-main p:not(.sr-accroche) { color: var(--gris-2); }
.check-list { display: grid; gap: 14px; align-content: start; padding: 26px; background: var(--soft); border-radius: var(--radius); }
.check-list li { display: flex; gap: 14px; align-items: center; font-size: .93rem; font-weight: 500; }
.check-list .diamond { width: 7px; height: 7px; }

/* Détail */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.detail-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { padding: 30px 28px; border-radius: var(--radius-lg); }
.aside-card.pattern-dark p:not(.eyebrow) { color: #b9c0d0; font-size: .93rem; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-card.light { background: var(--soft); }
.aside-card h3 { font-size: 1.1rem; }
.detail-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: var(--orange-soft); color: var(--orange); margin-bottom: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 500; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.check-grid li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--soft); font-weight: 500; font-size: .93rem; }
.ck { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--nuit); color: var(--orange); }
.facts { margin: 0 0 22px; display: grid; gap: 14px; }
.facts div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--gris); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 8px; text-align: right; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.project-hero-cover { position: relative; aspect-ratio: 21 / 9; border-radius: 32px; overflow: hidden; margin-bottom: 70px; box-shadow: var(--shadow-lg); }
.project-hero-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Contenu riche */
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.65rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.prose p, .prose li { color: #3a4255; }
.prose ul, .prose ol { margin: 0 0 1.2em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); border-radius: 1px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose ul.check-grid li { padding-left: 18px; }
.prose ul.check-grid li::before { display: none; }
.prose a { color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 28px 32px; border-radius: var(--radius); background: var(--nuit); color: #fff; font-size: 1.15rem; font-weight: 300; position: relative; border-left: 4px solid var(--orange); }
.prose strong { color: var(--nuit); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose > .lead { font-size: 1.2rem; color: var(--nuit); font-weight: 400; }

/* Article */
.article-layout { display: grid; grid-template-columns: 70px minmax(0, 760px); justify-content: center; gap: 40px; }
.share-bar { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; gap: 10px; align-self: start; }
.share-bar span { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gris); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 8px; }
.share-bar a, .share-bar button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--nuit); transition: all .3s var(--ease); }
.share-bar a:hover, .share-bar button:hover { background: var(--nuit); color: var(--orange); border-color: var(--nuit); }
.article-cover { width: 100%; margin-top: 0 !important; }
.article-end { display: flex; align-items: center; gap: 14px; margin-top: 50px; padding: 22px 26px; border-radius: var(--radius); background: var(--soft); }
.article-end p { margin: 0; }

/* Blog */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.blog-toolbar .filters { margin: 0; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; transition: all .25s; background: #fff; }
.filter small { color: var(--gris); margin-left: 4px; }
.filter:hover { border-color: var(--nuit); }
.filter.is-active { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.filter.is-active small { color: var(--orange); }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 46px; border-radius: 999px; border: 1px solid var(--line); min-width: 280px; color: var(--gris); transition: border-color .2s; }
.search-box:focus-within { border-color: var(--orange); }
.search-box input { border: 0; outline: 0; flex: 1; background: none; min-width: 0; color: var(--nuit); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; }
.pagination a.is-active, .pagination a:hover { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gris); }
.empty-state .icon { margin: 0 auto 18px; color: var(--orange); }

/* ---------- Formulaires ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--soft); transition: transform .4s var(--ease), background .3s, box-shadow .4s; }
a.info-card:hover { transform: translateX(6px); background: #fff; box-shadow: var(--shadow); }
.info-card small { display: block; color: var(--gris); font-size: .78rem; }
.info-card strong { font-weight: 600; font-size: .98rem; word-break: break-word; }
.ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--nuit); color: var(--orange); flex: none; }
.ic-wa { background: #25D366; color: #fff; }
.map-card { border-radius: var(--radius); overflow: hidden; height: 220px; border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.form-card { padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card > h2 { font-size: 1.7rem; margin-bottom: 4px; }
.form { display: grid; gap: 20px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; position: relative; }
.field label, .field .label { font-size: .86rem; font-weight: 600; color: var(--nuit); }
.req { color: var(--orange); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft);
    font-size: .95rem; transition: border-color .2s, background .2s, box-shadow .2s; outline: none; color: var(--nuit);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B1530' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px var(--orange-soft); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); background: #fff6f6; }
.error { color: var(--danger); font-size: .8rem; min-height: 0; }
.error:empty { display: none; }
.counter { position: absolute; right: 12px; bottom: 10px; font-size: .72rem; color: var(--gris); pointer-events: none; }
.has-error .counter { bottom: 34px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: var(--gris); margin: 0; }
.alert { padding: 14px 18px; border-radius: 12px; font-size: .92rem; margin-top: 16px; }
.alert-error { background: #fff1f1; color: #b3261e; border: 1px solid #ffd4d4; }
.alert-success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.success-state { text-align: center; padding: 50px 30px; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 22px; background: var(--success); color: #fff; transform: rotate(45deg); animation: pop .7s var(--ease); }
.success-icon .icon { transform: rotate(-45deg); }
@keyframes pop { from { transform: rotate(45deg) scale(0); } }
.success-state p { color: var(--gris-2); }
.ref { font-size: 1.2rem; color: var(--orange); letter-spacing: .05em; }
.hero-actions.center { justify-content: center; margin-top: 26px; }

/* Assistant de devis */
.quote-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.quote-layout > .success-state { grid-column: 1 / -1; max-width: 720px; margin: 0 auto; }
.quote-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.next-steps { display: grid; gap: 20px; margin-top: 8px; }
.next-steps li { display: flex; gap: 16px; font-size: .9rem; color: #b9c0d0; }
.next-steps strong { display: block; color: #fff; }
.next-steps li > span { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--orange); color: var(--nuit); font-weight: 700; font-size: .85rem; }
.contact-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 500; font-size: .93rem; }
.contact-line .icon { color: var(--orange); }
.contact-line:hover { color: var(--orange); }
.wizard { margin-top: 0; }
.wizard-progress { margin-bottom: 8px; }
.wp-bar { height: 4px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.wp-bar span { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); border-radius: 4px; transition: width .6s var(--ease); }
.wizard-progress ol { display: flex; justify-content: space-between; margin-top: 16px; }
.wizard-progress li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--gris); transition: color .3s; }
.wizard-progress li span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: .78rem; font-weight: 700; transition: all .3s; }
.wizard-progress li.is-current, .wizard-progress li.is-done { color: var(--nuit); }
.wizard-progress li.is-current span { background: var(--orange); color: var(--nuit); }
.wizard-progress li.is-done span { background: var(--nuit); color: var(--orange); }
.wizard-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.js .wizard-step:not(.is-active) { display: none; }
.wizard-step.is-active { animation: step-in .5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }
.wizard-step legend { font-size: 1.5rem; font-weight: 700; color: var(--nuit); letter-spacing: -.02em; padding: 0; margin-bottom: 4px; }
.wizard-step legend + .muted { margin: -14px 0 0; font-size: .9rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-box { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: all .25s; position: relative; height: 100%; }
.choice-box:hover { border-color: var(--gris); }
.choice-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--nuit); transition: all .25s; }
.choice-label { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.choice-check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--nuit); transform: scale(0); transition: transform .3s var(--ease); }
.choice input:checked + .choice-box { border-color: var(--orange); background: rgba(255, 138, 31, .05); box-shadow: 0 0 0 4px var(--orange-soft); }
.choice input:checked + .choice-box .choice-icon { background: var(--orange); }
.choice input:checked + .choice-box .choice-check { transform: scale(1); }
.choice input:focus-visible + .choice-box, .pill input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .87rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.pill span:hover { border-color: var(--gris); }
.pill input:checked + span { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.recap { padding: 18px 20px; border-radius: 14px; background: var(--soft); font-size: .88rem; display: grid; gap: 6px; }
.recap strong { color: var(--nuit); }

/* Page 404 */
.error-page { min-height: 100vh; display: flex; align-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; }
.error-page .container { position: relative; }
.error-page .page-lead { margin-inline: auto; }
.error-page .hero-actions { justify-content: center; margin-top: 36px; }
.error-code { display: flex; align-items: center; justify-content: center; gap: .1em; font-size: clamp(7rem, 20vw, 13rem); font-weight: 800; line-height: 1; margin: 0 0 20px; letter-spacing: -.05em; }
.error-diamond { width: .6em; height: .6em; background: var(--orange); transform: rotate(45deg); border-radius: .08em; animation: wobble 3s var(--ease) infinite; }
@keyframes wobble { 50% { transform: rotate(225deg) scale(.85); } }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .projects-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .hero-grid { gap: 30px; }
    .fc-deploy { left: 0; }
}
@media (max-width: 980px) {
    :root { --header-h: 70px; }
    .main-nav, .header-cta { display: none; }
    .burger { display: block; }
    .hero { min-height: auto; padding-bottom: 110px; }
    .hero-grid, .story-grid, .about-intro, .faq-grid, .contact-grid, .detail-grid, .quote-layout { grid-template-columns: 1fr; }
    .hero-visual { height: 460px; max-width: 520px; width: 100%; margin: 20px auto 0; }
    .story-grid { gap: 50px; }
    .process { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
    .process::before { left: 30px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 8px, transparent 8px 16px); }
    .step { display: grid; grid-template-columns: 62px 1fr; column-gap: 24px; text-align: left; padding: 0 0 34px; }
    .step-dot { grid-row: span 3; margin: 0; }
    .projects-grid, .posts-grid, .testimonials, .mission-grid { grid-template-columns: 1fr 1fr; }
    .bento { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .cta-card { grid-template-columns: 1fr; padding: 48px 36px; }
    .faq-intro, .detail-aside, .quote-aside { position: static; }
    .service-row { grid-template-columns: 1fr; gap: 20px; }
    .sr-head { flex-direction: row; align-items: center; justify-content: space-between; }
    .section-head.split { flex-direction: column; align-items: flex-start; gap: 20px; }
    .article-layout { grid-template-columns: 1fr; }
    .share-bar { position: static; flex-direction: row; order: 2; justify-content: flex-start; }
    .share-bar span { writing-mode: initial; transform: none; margin: 0 8px 0 0; }
}
@media (max-width: 680px) {
    .container { padding-inline: 16px; }
    .section { padding: 80px 0; }
    .cta-band { padding-bottom: 80px; }
    .section-soft + .cta-band, .stats + .cta-band { padding-top: 80px; }
    .services-grid, .services-grid.cols-3, .projects-grid, .projects-grid.cols-4, .posts-grid, .testimonials, .mission-grid, .bento, .values-grid, .footer-top, .form-row, .choice-grid, .check-grid { grid-template-columns: 1fr; }
    .b-wide { grid-column: auto; }
    .hero-visual { height: 400px; }
    .orbit-1 { width: 340px; height: 340px; }
    .orbit-2 { width: 240px; height: 240px; }
    .cw-code { font-size: .68rem; padding: 18px; min-height: 220px; }
    .float-card { padding: 9px 12px 9px 9px; }
    .fc-perf { right: 0; top: 10px; }
    .fc-deploy { bottom: 50px; }
    .fc-pay { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .form-card { padding: 28px 20px; border-radius: 22px; }
    .cta-card { padding: 40px 24px; border-radius: 24px; }
    .search-box { min-width: 0; width: 100%; }
    .story-card { padding: 40px 28px; }
    .wizard-progress li { font-size: 0; gap: 0; }
    .wizard-progress li span { font-size: .78rem; }
    .wizard-nav .btn { flex: 1; }
    .project-hero-cover { aspect-ratio: 4 / 3; border-radius: 22px; margin-bottom: 44px; }
    .to-top { right: 27px; bottom: 90px; }
    .stat { padding-left: 16px; }
}

/* =====================================================================
   Réalisations : couleur de cadre & statuts dynamiques (gérés dans l'admin)
   ===================================================================== */
.pc-cover.no-image {
    background-color: var(--cover, #0B1530);
    background-image: linear-gradient(140deg, color-mix(in srgb, var(--cover, #0B1530) 70%, #fff) 0%, var(--cover, #0B1530) 55%, color-mix(in srgb, var(--cover, #0B1530) 75%, #000) 100%);
}
.pc-cover.no-image .cover-pattern { background-image: var(--diamonds), radial-gradient(color-mix(in srgb, var(--cover-fg, #fff) 20%, transparent) 1.2px, transparent 1.4px); background-size: 280px, 26px 26px; }
.pc-cover.no-image .cover-title { color: var(--cover-fg, #fff); }
.pc-cover.has-image { background: var(--cover, #0B1530); }
.pc-cover.has-image::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 21, 48, .28) 0%, transparent 32%); }
.pc-cover.tinted::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, color-mix(in srgb, var(--status, #8A93A6) 78%, transparent) 0%, transparent 100%);
    opacity: .9; transition: opacity .5s var(--ease);
}
.project-card:hover .pc-cover.tinted::after { opacity: 1; }
.pc-cover { border-bottom: 4px solid var(--status, #8A93A6); }
.project-hero-cover.pc-cover { border-bottom-width: 6px; }
.pc-badge, .pc-arrow { z-index: 2; }
.pc-badge { display: inline-flex; align-items: center; gap: 7px; }
.pc-badge i, .status-legend i, .status-filters .filter i, .status-dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--status, #8A93A6); flex: none; position: relative;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--status, #8A93A6) 25%, transparent);
}
.pc-badge i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--status, #8A93A6); animation: status-ping 2.2s ease-out infinite; }
@keyframes status-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.pc-badge.big { left: 24px; top: 24px; padding: 9px 16px; font-size: .85rem; }

.status-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -28px 0 30px; font-size: .86rem; color: var(--gris-2); }
.status-legend li { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.filter-bar { display: grid; gap: 12px; margin-bottom: 40px; }
.filter-bar .filters { margin: 0; }
.filter-bar .status-legend { margin: 4px 0 0; }
.status-filters .filter { display: inline-flex; align-items: center; gap: 8px; }
.status-filters .filter.is-active { background: color-mix(in srgb, var(--status, var(--nuit)) 12%, #fff); color: var(--nuit); border-color: var(--status, var(--nuit)); }
.status-filters .filter[data-filter="*"].is-active { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.filter-empty { text-align: center; color: var(--gris); padding: 40px 0; }
.status-dot { display: inline-block; }
