/* =========================================================
   Seventh Tech Ere – feuille de style publique
   Thème clair (lisibilité, hiérarchie) + bandes sombres (.dark)
   pour le héros, la vitrine 3D, le devis et le pied de page.
   ========================================================= */
:root {
    --navy: #061433;
    --navy-2: #0a2361;
    --blue: #1d5bff;
    --blue-2: #2f7bff;
    --cyan: #22d3ee;
    --cyan-2: #67e8f9;

    /* Jetons du thème clair */
    --bg: #ffffff;
    --bg-soft: #f4f7fd;
    --bg-tint: #eaf1ff;
    --heading: #0b1736;
    --text: #33415f;
    --muted: #64748f;
    --surface: #ffffff;
    --border: #e1e8f5;
    --border-strong: #c9d6ee;
    --accent: #1d5bff;
    --shadow-sm: 0 2px 6px rgba(11, 23, 54, .05);
    --shadow: 0 12px 34px -14px rgba(11, 33, 90, .22);
    --shadow-lg: 0 30px 70px -28px rgba(11, 33, 90, .35);

    --radius: 18px;
    --radius-sm: 12px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1280px;
    --gutter: clamp(16px, 3vw, 48px);
    --header-h: 84px;
}

/* Bandes sombres : on redéfinit simplement les jetons */
.dark {
    --heading: #ffffff;
    --text: #d3def8;
    --muted: #9fb2d9;
    --surface: rgba(14, 34, 88, .55);
    --border: rgba(110, 160, 255, .22);
    --border-strong: rgba(103, 232, 249, .45);
    --accent: #22d3ee;
    color: var(--text);
    background:
        radial-gradient(900px 500px at 85% 0%, rgba(29, 91, 255, .4), transparent 65%),
        radial-gradient(700px 400px at 0% 100%, rgba(34, 211, 238, .12), transparent 60%),
        linear-gradient(180deg, #071a45, var(--navy));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.text-accent { color: var(--accent); }
.text-gradient { background: linear-gradient(90deg, #67e8f9, #22d3ee 45%, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--cyan-2); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.5em; border-radius: 12px; font-weight: 700; font-size: .95rem; font-family: inherit;
    border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 10px 24px -10px rgba(29, 91, 255, .7); }
.btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(29, 91, 255, .8); }
.btn-cyan { color: #04163d; background: linear-gradient(90deg, #67e8f9, var(--cyan)); box-shadow: 0 10px 30px -10px rgba(34, 211, 238, .8); }
.btn-outline { color: var(--accent); border-color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.dark .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.dark .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn-ghost { color: var(--accent); border-color: var(--border-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: .95em 1.8em; font-size: 1rem; }
.btn-sm { padding: .55em 1.05em; font-size: .85rem; border-radius: 10px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eyebrow-pill { padding: 6px 14px; border-radius: 999px; background: rgba(29, 91, 255, .1); }
.dark .eyebrow-pill { background: var(--blue); color: #fff; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--blue); color: #fff; line-height: 1.4; }
.badge-cat { background: #ef4444; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; }
.logo { display: block; height: 64px; width: auto; }
.logo-sm { height: 48px; }
.logo-lg { height: 96px; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); margin-inline: auto; }
.main-nav > a, .nav-drop > button { white-space: nowrap; font: inherit; font-weight: 600; font-size: .93rem; color: var(--heading); position: relative; padding: 8px 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.main-nav > a:hover, .main-nav > a.active, .nav-drop > button:hover { color: var(--blue); }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-drop[data-open] .icon { transform: rotate(180deg); }
.drop-menu {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 290px; padding: 8px; border-radius: 14px;
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: none;
}
.nav-drop[data-open] .drop-menu { display: grid; }
.drop-menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; }
.drop-menu a:hover { background: var(--bg-soft); }
.drop-menu b { display: block; color: var(--heading); font-size: .93rem; }
.drop-menu small { color: var(--muted); font-size: .8rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--heading); border: 1px solid var(--border); }
.icon-link:hover { color: var(--blue); border-color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--heading); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-cta-mobile { display: none !important; }

/* ---------- Héros ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 4rem); margin-bottom: .4em; }
.lead { font-size: clamp(1rem, 1.2vw, 1.18rem); color: var(--text); max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 0; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 22px; -webkit-mask-image: radial-gradient(120% 110% at 55% 45%, #000 62%, transparent 100%); mask-image: radial-gradient(120% 110% at 55% 45%, #000 62%, transparent 100%); animation: float 7s ease-in-out infinite; }
.hero-glow { position: absolute; inset: 15% 10% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 238, .35), transparent); filter: blur(30px); z-index: -1; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(30px, 4vw, 56px); padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.hero-strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; color: #e6eeff; }
.hero-strip .icon { width: 38px; height: 38px; padding: 8px; border-radius: 50%; border: 1.5px solid rgba(103, 232, 249, .55); color: var(--cyan-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-tight-top { padding-top: 0; }
.section-head { margin-bottom: clamp(26px, 3vw, 40px); max-width: 720px; }
.section-head h2, .section-title { font-size: clamp(1.8rem, 2.8vw, 2.6rem); margin-bottom: .3em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.section-center { text-align: center; margin-inline: auto; }
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; max-width: none; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Icônes d'application */
.app-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #fff; box-shadow: 0 10px 20px -10px currentColor; }
.app-icon .icon { width: 26px; height: 26px; stroke-width: 2; color: #fff; }
.app-icon-sm { width: 34px; height: 34px; border-radius: 10px; }
.app-icon-sm .icon { width: 18px; height: 18px; }
.tone-blue { --tone: #1d6bff; --tone-2: #22a6f2; }
.tone-green { --tone: #10b981; --tone-2: #34d399; }
.tone-orange { --tone: #f97316; --tone-2: #fb923c; }
.tone-purple { --tone: #7c3aed; --tone-2: #a855f7; }
.tone-indigo { --tone: #4338ca; --tone-2: #6366f1; }
.tone-brand { --tone: #0a2361; --tone-2: #22d3ee; }
.app-icon[class*="tone-"] { background: linear-gradient(135deg, var(--tone-2), var(--tone)); color: var(--tone); }

/* Solutions */
.solutions-grid, .real-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.solutions-grid > *, .real-grid > * { grid-column: span 2; }
.solutions-grid > :nth-last-child(2):nth-child(3n + 1), .real-grid > :nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
.solution-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.solution-head { display: flex; gap: 14px; align-items: center; }
.solution-head h3 { font-size: 1.3rem; margin: 0; }
.solution-head small { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; }
.solution-card p { color: var(--text); font-size: .93rem; margin: 0; }
.solution-card .btn { margin-top: auto; align-self: stretch; }
.app-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--accent); }
.app-link:hover { text-decoration: underline; }
.app-link .icon { width: 15px; height: 15px; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; color: #047857; background: #d1fae5; padding: 3px 9px; border-radius: 99px; }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.dark .live-badge { color: #6ee7b7; background: rgba(16, 185, 129, .15); }

/* Maquette d'écran (en attendant les vraies captures) */
.mock-screen { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #f7f9fe; border: 1px solid var(--border); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; background: linear-gradient(135deg, var(--tone-2), var(--tone)); }
.mock-top .app-icon { background: rgba(255, 255, 255, .22); box-shadow: none; }
.mock-top b { font-size: 1rem; }
.mock-top i { font-style: normal; font-size: .78rem; opacity: .85; margin-left: auto; }
.mock-body { flex: 1; padding: 14px; display: grid; gap: 12px; align-content: start; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stats span { height: 46px; border-radius: 10px; background: #fff; border: 1px solid var(--border); position: relative; }
.mock-stats span::after { content: ""; position: absolute; left: 10px; bottom: 10px; width: 45%; height: 8px; border-radius: 4px; background: var(--tone); opacity: .7; }
.mock-rows { display: grid; gap: 8px; }
.mock-rows span { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #dfe7f6 60%, transparent 60%); }
.mock-rows span:nth-child(2) { width: 85%; } .mock-rows span:nth-child(3) { width: 70%; } .mock-rows span:nth-child(4) { width: 55%; }

/* Pourquoi nous */
.why-panel { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 16px; align-items: stretch; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--bg-tint); }
.why-title { align-self: center; }
.why-title h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.why-title p { color: var(--muted); margin: 0; font-size: .95rem; }
.why-card { padding: 20px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform .3s; }
.why-card:hover { transform: translateY(-4px); }
.why-card .icon { width: 40px; height: 40px; color: var(--blue); }
.why-card h3 { font-size: .98rem; margin: 0; }
.why-card p { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* Processus */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 26px 22px; position: relative; }
.step-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--navy-2)); margin-bottom: 16px; box-shadow: 0 12px 24px -12px rgba(29, 91, 255, .8); }
.step-icon .icon { width: 26px; height: 26px; }
.step-num { position: absolute; top: 18px; right: 20px; font-size: 2rem; font-weight: 800; color: var(--bg-tint); line-height: 1; }
.step h3 { font-size: 1.08rem; margin-bottom: .3em; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Réalisations */
.real-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.real-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.real-visual { padding: 14px 14px 0; background: var(--bg-soft); }
.real-visual img, .real-visual .mock-screen { border-radius: 12px 12px 0 0; box-shadow: none; aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; }
.real-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.real-body h3 { font-size: 1.05rem; margin: 0; }
.real-body p { font-size: .88rem; color: var(--muted); margin: 0; }
.real-body .link-arrow { margin-top: auto; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); font-size: .9rem; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

/* ---------- Vitrine 3D (bande sombre) ---------- */
.showcase { position: relative; overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: center; }
.showcase h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.showcase-panel { margin: 22px 0; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); min-height: 200px; }
.showcase-panel h3 { font-size: 1.45rem; margin-bottom: .1em; }
.showcase-panel small { display: block; color: var(--cyan-2); font-weight: 700; margin-bottom: 8px; }
.showcase-panel p { font-size: .95rem; margin-bottom: 12px; }
.showcase-panel.is-changing { animation: panelIn .45s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .92rem; }
.check-list li { display: flex; gap: 9px; align-items: center; }
.check-list .icon { color: var(--accent); width: 19px; height: 19px; }
.showcase-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; border: 1px solid var(--border-strong); background: rgba(10, 30, 80, .55); }
.round-btn:hover { border-color: var(--cyan); color: var(--cyan-2); }
.icon.flip { transform: scaleX(-1); }
.sc-dots { display: flex; gap: 8px; }
.sc-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: rgba(160, 190, 255, .35); transition: width .3s, background .3s; }
.sc-dots button[aria-selected="true"] { width: 28px; background: var(--cyan); }
.showcase-controls .btn { margin-left: auto; }
.stage { --r: 300px; --card-w: 240px; position: relative; height: 480px; perspective: 1300px; cursor: grab; touch-action: pan-y; user-select: none; }
.stage.is-dragging { cursor: grabbing; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-10deg); }
.ring { position: absolute; left: 50%; top: 54%; width: 0; height: 0; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.ring-card {
    position: absolute; width: var(--card-w); left: calc(var(--card-w) / -2); top: -80px; padding: 8px; font: inherit; color: #fff; cursor: pointer;
    border-radius: 16px; border: 1px solid var(--border-strong); background: linear-gradient(160deg, rgba(25, 55, 130, .9), rgba(6, 16, 46, .95));
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, .9), 0 0 30px -8px rgba(34, 211, 238, .35);
    transition: opacity .6s, filter .6s, box-shadow .6s; opacity: .45; filter: saturate(.6) brightness(.8);
}
.ring-card.is-active { opacity: 1; filter: none; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 50px -6px rgba(34, 211, 238, .75); }
/* Position de chaque carte sur l'anneau : calculée en JS selon le nombre de solutions */
.ring-card img, .ring-card .mock-screen { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; pointer-events: none; box-shadow: none; border: 0; }
.ring-card .mock-screen { font-size: .8rem; }
.ring-label { display: flex; align-items: center; gap: 10px; padding: 10px 4px 4px; font-weight: 800; font-size: 1.02rem; }
.emblem { position: absolute; left: 50%; top: 30%; width: 150px; height: 150px; margin: -75px 0 0 -75px; transform-style: preserve-3d; animation: spin3d 14s linear infinite; }
.emblem-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.emblem-layer:first-child { filter: drop-shadow(0 0 16px rgba(103, 232, 249, .7)); }
.emblem-layer:not(:first-child) { filter: brightness(.38) saturate(1.3); }
.emblem-layer:last-child { filter: brightness(.9); }
@keyframes spin3d { from { transform: rotateY(0) rotateX(6deg); } to { transform: rotateY(360deg) rotateX(6deg); } }
.orbit { position: absolute; left: 50%; top: 30%; border-radius: 50%; border: 1px solid rgba(103, 232, 249, .35); transform-style: preserve-3d; }
.orbit span { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-2); box-shadow: 0 0 14px 3px rgba(34, 211, 238, .8); }
.orbit-1 { width: 260px; height: 260px; margin: -130px 0 0 -130px; animation: orbit1 9s linear infinite; }
.orbit-2 { width: 340px; height: 340px; margin: -170px 0 0 -170px; border-color: rgba(47, 123, 255, .3); animation: orbit2 13s linear infinite; }
@keyframes orbit1 { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit2 { from { transform: rotateX(68deg) rotateY(14deg) rotateZ(360deg); } to { transform: rotateX(68deg) rotateY(14deg) rotateZ(0); } }
.floor { position: absolute; left: 50%; bottom: 18px; width: 82%; height: 90px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 238, .45), rgba(29, 91, 255, .15) 55%, transparent); filter: blur(6px); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.tilting { transition: transform .08s linear !important; }

/* ---------- Équipe & témoignages ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 340px)); justify-content: center; gap: 24px; }
.team-card { text-align: center; padding: 30px 24px 26px; display: flex; flex-direction: column; align-items: center; transition: box-shadow .3s; }
.team-card:hover { box-shadow: var(--shadow); }
.face-frame { position: relative; width: 140px; height: 140px; border-radius: 50%; padding: 5px; margin-bottom: 18px; background: conic-gradient(from var(--angle, 0deg), var(--cyan), var(--blue), transparent 60%, var(--cyan)); animation: ringSpin 6s linear infinite; }
.face-frame img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ringSpin { to { --angle: 360deg; } }
.face-avatar { display: block; overflow: hidden; background: radial-gradient(circle at 35% 25%, #1d3f99, #061a4d 75%); }
.face-frame .face-avatar { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; }
.avatar-svg { display: block; width: 100%; height: 100%; }
.team-card h3 { font-size: 1.2rem; margin-bottom: .1em; }
.team-role { color: var(--blue); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.team-bio { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.skills { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.skills li { font-size: .75rem; font-weight: 700; padding: 4px 11px; border-radius: 99px; color: var(--blue); background: var(--bg-tint); }
.social { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s; }
.social:hover { transform: translateY(-3px); }
.social .icon { width: 19px; height: 19px; }
.social-facebook { background: #1877f2; }
.social-linkedin { background: #0a66c2; }
.social-youtube { background: #ff0000; }
.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-whatsapp { background: #22c55e; }
.social-link { background: var(--navy-2); border: 0; cursor: pointer; }

.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 22px; }
.testi-card { margin: 0; padding: 28px 26px 24px; position: relative; display: flex; flex-direction: column; }
.testi-mark { position: absolute; top: 18px; right: 22px; color: var(--bg-tint); }
.testi-mark .icon { width: 44px; height: 44px; color: #c9d9fb; }
.stars { color: #f59e0b; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 10px; }
.stars-off { color: #d6deec; }
.testi-card blockquote { margin: 0 0 20px; font-size: 1rem; color: var(--heading); line-height: 1.65; }
.testi-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testi-card figcaption span { display: flex; flex-direction: column; }
.testi-card strong { color: var(--heading); }
.testi-card small { color: var(--muted); }
.testi-face { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg-tint); }
.review-box { margin-top: 34px; display: grid; grid-template-columns: .8fr 1.6fr; gap: 28px; padding: clamp(20px, 3vw, 34px); border-radius: var(--radius); border: 1.5px dashed var(--border-strong); background: #fff; }
.review-intro h3 { font-size: 1.35rem; }
.review-intro p { color: var(--muted); }
.review-form .btn { margin-top: 16px; }
.rating-input { border: 0; padding: 0; margin: 0 0 14px; }
.rating-input legend { font-size: .85rem; font-weight: 700; color: var(--heading); margin-bottom: 6px; padding: 0; }
.rating-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 2rem; line-height: 1; cursor: pointer; color: #d6deec; transition: color .15s, transform .15s; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f59e0b; }
.rating-input label:hover { transform: scale(1.15); }
.rating-input input:focus-visible + label { outline: 2px solid var(--blue); border-radius: 4px; }
abbr[title] { text-decoration: none; color: var(--accent); }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid label { display: block; font-size: .86rem; font-weight: 700; color: var(--heading); }
.form-grid label > input, .form-grid label > select, .form-grid label > textarea { display: block; margin-top: 6px; }
.span-2 { grid-column: span 2; }
input, select, textarea { font: inherit; font-size: .95rem; color: var(--heading); width: 100%; background: #fff; border: 1.5px solid var(--border-strong); border-radius: 10px; padding: .72em .9em; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: #94a3bf; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 91, 255, .15); }
.dark input, .dark select, .dark textarea { color: #fff; background: rgba(9, 25, 70, .7); border-color: rgba(110, 160, 255, .3); }
.dark input::placeholder, .dark textarea::placeholder { color: #7f93bf; }
.dark input:focus, .dark select:focus, .dark textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .2); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #7184a8 50%), linear-gradient(135deg, #7184a8 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4em; }
.dark select option { background: #0b1d4d; }
textarea { resize: vertical; min-height: 110px; }
.field-error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, .14) !important; }
.error-text { display: block; margin-top: 4px; color: #dc2626; font-size: .78rem; font-weight: 600; }
.dark .error-text { color: #fca5a5; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-size: .92rem; font-weight: 600; }
.alert-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #047857; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; }
.dark .alert-success { background: rgba(16, 185, 129, .14); border-color: rgba(52, 211, 153, .5); color: #a7f3d0; }
.dark .alert-error { background: rgba(239, 68, 68, .12); border-color: rgba(248, 113, 113, .5); color: #fecaca; }

/* Devis (bande sombre) */
.quote-panel { display: grid; grid-template-columns: .9fr 2fr; gap: clamp(22px, 3vw, 40px); }
.quote-intro h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; }
.perks span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); background: rgba(29, 91, 255, .25); color: var(--cyan-2); }
.contact-lines { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: .92rem; }
.contact-lines a { display: inline-flex; gap: 10px; align-items: center; color: #e3ebff; }
.contact-lines a:hover { color: var(--cyan-2); }
.contact-lines .icon { color: var(--cyan-2); }
.quote-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); }
.dark .form-grid label { color: #e3ebff; }
.quote-send { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.quote-to { display: flex; gap: 12px; align-items: center; margin: 0; font-size: .86rem; }
.quote-to strong { color: #fff; }
.quote-to .icon { width: 30px; height: 30px; color: var(--cyan-2); }
.privacy-note { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Blog : cartes ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-cover .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.12rem; margin: 0 0 8px; line-height: 1.3; }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--muted); font-size: .92rem; }
.post-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--muted); }
.arrow-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex-shrink: 0; transition: transform .2s; }
.arrow-btn:hover { transform: translateX(3px); }
.arrow-btn .icon { width: 17px; height: 17px; }

/* Couverture générée (identité visuelle uniforme quand il n'y a pas d'image) */
.gen-cover { width: 100%; height: 100%; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, rgba(34, 211, 238, .35), transparent 50%), linear-gradient(135deg, var(--navy-2), var(--navy)); }
.gen-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(103, 232, 249, .08) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(103, 232, 249, .08) 1px, transparent 1px) 0 0 / 28px 28px; }
.gen-cover .icon { width: 30%; height: auto; max-width: 90px; color: var(--cyan-2); position: relative; filter: drop-shadow(0 0 18px rgba(34, 211, 238, .7)); }

/* ---------- Blog : page liste ---------- */
.mag-hero { padding: clamp(46px, 6vw, 80px) 0; }
.mag-hero.has-featured { padding-bottom: clamp(120px, 12vw, 170px); }
.mag-hero:not(.has-featured) + .section { padding-top: clamp(40px, 5vw, 64px); }
.mag-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: .15em; }
.mag-hero .lead-title { font-size: clamp(1.15rem, 1.8vw, 1.6rem); color: var(--cyan-2); font-weight: 600; margin-bottom: .6em; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin-top: 24px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); }
.search-form .icon { width: 20px; height: 20px; color: var(--muted); align-self: center; margin-left: 10px; }
.search-form input { border: 0; box-shadow: none !important; padding-left: 4px; color: var(--heading); background: transparent; }
.cat-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.cat-pills a { display: inline-flex; align-items: center; gap: 8px; padding: .62em 1.15em; border-radius: 12px; font-weight: 600; font-size: .9rem; color: #e3ebff; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); }
.cat-pills a:hover { border-color: var(--cyan); }
.cat-pills a.active { background: var(--cyan); border-color: var(--cyan); color: #04163d; }
.cat-pills .icon { width: 17px; height: 17px; }
.featured { margin-top: calc(-1 * clamp(96px, 10vw, 140px)); position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy); color: #d3def8; min-height: 320px; }
.featured-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; align-items: flex-start; }
.featured h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 0; }
.featured h2 a:hover { color: var(--cyan-2); }
.featured p { margin: 0; }
.featured-meta { display: flex; align-items: center; gap: 14px; font-size: .86rem; color: #9fb2d9; width: 100%; }
.featured-meta .arrow-btn { margin-left: auto; width: 48px; height: 48px; background: #fff; color: var(--navy); }
.featured-cover { min-height: 260px; }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.list-head { margin-top: clamp(40px, 5vw, 64px); }
.mag-hero + .section .list-head:first-child { margin-top: 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); font-weight: 700; padding: 0 12px; color: var(--heading); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination a:hover { border-color: var(--blue); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---------- Article ---------- */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { opacity: .5; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); padding: 34px 0 60px; align-items: start; }
.article-head h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin: 14px 0 12px; }
.article-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text); margin-bottom: 22px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .86rem; margin-bottom: 26px; }
.article-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.author { display: flex; align-items: center; gap: 10px; }
.author .face-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author b { display: block; color: var(--heading); font-size: .92rem; }
.share { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.share .social { width: 32px; height: 32px; }
.share .social .icon { width: 16px; height: 16px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 0 0 34px; aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.side-box { padding: 20px; }
.side-box h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.side-box h2 .icon { color: var(--blue); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .9rem; }
.toc a { color: var(--text); }
.toc a:hover, .toc a.active { color: var(--blue); font-weight: 700; }
.takeaways { background: var(--bg-tint); border-color: transparent; }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; color: var(--heading); }
.takeaways li { display: flex; gap: 9px; align-items: flex-start; }
.takeaways li .icon { color: var(--blue); margin-top: 2px; }
.related { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.related a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.related .thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.related .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related b { display: block; font-size: .88rem; color: var(--heading); line-height: 1.35; }
.related small { color: var(--muted); font-size: .78rem; }
.related a:hover b { color: var(--blue); }
.cta-box { margin-top: 44px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); text-align: center; }
.cta-box h2 { font-size: 1.6rem; }
.cta-box p { color: var(--text); }

/* ---------- Page solution ---------- */
.sol-hero { padding: clamp(40px, 5vw, 70px) 0; }
.sol-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.sol-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 10px 0 .3em; }
.sol-icon.app-icon { width: 64px; height: 64px; border-radius: 18px; }
.sol-note { margin: 18px 0 0; font-size: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sol-note a { color: var(--cyan-2); text-decoration: underline; text-underline-offset: 3px; }
.sol-visual img, .sol-visual .mock-screen { border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .12); width: 100%; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.feature-card { padding: 22px; }
.feature-card .icon { width: 28px; height: 28px; color: var(--blue); margin-bottom: 10px; }
.feature-card h3 { font-size: 1rem; margin: 0; }
.other-solutions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.other-solutions a { display: flex; align-items: center; gap: 14px; padding: 18px; }
.other-solutions a:hover { border-color: var(--blue); }
.other-solutions small { display: block; color: var(--muted); }
.other-solutions b { color: var(--heading); }

/* ---------- Pied de page ---------- */
.site-footer { padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.4fr 1fr; gap: 28px; padding-bottom: 32px; }
@media (min-width: 1181px) { .footer-grid:not(:has(.socials)) { grid-template-columns: 1.4fr 1.2fr 1.2fr 1.2fr; } }
.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 26em; }
.footer-grid h3 { font-size: .98rem; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.footer-links.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.footer-links a:hover { color: var(--cyan-2); }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--cyan-2); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: var(--muted); }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #22c55e; box-shadow: 0 10px 30px -5px rgba(34, 197, 94, .7); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* ---------- Page d'erreur ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.error-box { text-align: center; max-width: 480px; }
.error-box .brand { justify-content: center; margin-bottom: 30px; }
.error-code { font-size: 5rem; font-weight: 800; margin: 0; line-height: 1; color: #fff; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
/* Menu hamburger dès que les 8 liens ne tiennent plus sur une ligne */
@media (max-width: 1240px) {
    .nav-toggle { display: inline-flex; }
    .header-actions .btn { display: none; }
    .header-actions { margin-left: auto; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        background: #fff; border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 22px; box-shadow: var(--shadow-lg);
        transform: translateY(-110%); visibility: hidden; transition: transform .3s, visibility .3s;
    }
    .main-nav > a, .nav-drop > button { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1.02rem; width: 100%; justify-content: space-between; }
    .main-nav > a::after { display: none; }
    .drop-menu { position: static; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px; min-width: 0; }
    .nav-cta-mobile { display: inline-flex !important; margin-top: 16px; }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }
}

@media (max-width: 1180px) {
    .solutions-grid, .real-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid > *, .real-grid > *, .solutions-grid > :nth-last-child(2):nth-child(3n + 1), .real-grid > :nth-last-child(2):nth-child(3n + 1) { grid-column: auto; }
    .solutions-grid > :last-child:nth-child(odd), .real-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 12px); justify-self: center; width: 100%; }
    .why-panel { grid-template-columns: repeat(2, 1fr); }
    .why-title { grid-column: span 2; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: span 3; }
    .article-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 980px) {
    :root { --header-h: 70px; }
    .logo { height: 52px; }

    .hero-grid, .sol-hero-grid, .showcase-grid, .quote-panel, .review-box { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .hero-strip { grid-template-columns: repeat(2, 1fr); }
    .stage { order: -1; height: 400px; --r: 230px; --card-w: 190px; }
    .stage .emblem, .stage .orbit { top: 24%; }
    .stage .ring { top: 61%; }
    .posts-grid { grid-template-columns: 1fr 1fr; }
    .featured { grid-template-columns: 1fr; }
    .featured-cover { order: -1; min-height: 200px; aspect-ratio: 16 / 8; }
    .article-layout { grid-template-columns: 1fr; }
    .article-side { position: static; }
    .other-solutions { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .logo { height: 46px; }
    .header-actions .icon-link { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-strip { grid-template-columns: 1fr 1fr; gap: 14px; }
    .hero-strip li { font-size: .82rem; }
    .solutions-grid, .real-grid, .feature-grid, .steps, .posts-grid { grid-template-columns: 1fr; }
    .solutions-grid > :last-child:nth-child(odd), .real-grid > :last-child:nth-child(odd) { max-width: none; }
    .why-panel { grid-template-columns: 1fr 1fr; padding: 18px; gap: 12px; }
    .stage { height: 330px; --r: 150px; --card-w: 150px; }
    .ring-card { top: -70px; padding: 6px; }
    .ring-label { font-size: .85rem; padding-top: 6px; }
    .emblem { width: 100px; height: 100px; margin: -50px 0 0 -50px; }
    .orbit-1 { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
    .orbit-2 { width: 230px; height: 230px; margin: -115px 0 0 -115px; }
    .showcase-controls .btn { margin-left: 0; width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .quote-send { flex-direction: column; align-items: stretch; }
    .quote-send .btn { width: 100%; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-brand, .footer-grid > div:nth-child(4) { grid-column: span 2; }
    .footer-bottom { flex-direction: column; }
    .share { margin-left: 0; }
    .search-form { flex-wrap: nowrap; }
    .search-form .btn { padding-inline: 1em; }
}

/* ---------- Affichages d'articles ---------- */
.preview-alert { margin-top: 20px; }
/* 2 – Magazine */
.mag-article-hero { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 130px) 0 clamp(36px, 5vw, 60px); min-height: 420px; display: flex; align-items: flex-end; }
.mag-article-bg { position: absolute; inset: 0; }
.mag-article-bg img, .mag-article-bg .gen-cover { width: 100%; height: 100%; object-fit: cover; }
.mag-article-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 51, .35) 0%, rgba(6, 20, 51, .75) 55%, #061433 100%); }
.mag-article-head { position: relative; z-index: 1; max-width: 900px; }
.mag-article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin: 14px 0 12px; color: #fff; }
.mag-article-head .article-sub { color: #d3def8; }
.mag-article-head .breadcrumb, .mag-article-head .breadcrumb a { color: #b9c8ea; }
.mag-article-head .article-meta { color: #b9c8ea; margin-bottom: 0; }
.mag-article-head .author b { color: #fff; }
.article-narrow { max-width: 860px; padding-top: 40px; padding-bottom: 20px; }
.mag-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 30px; }
/* 3 – Lecture */
.article-reading { max-width: 760px; padding-top: 40px; padding-bottom: 20px; }
.article-head.is-centered { text-align: center; }
.article-head.is-centered .breadcrumb, .article-head.is-centered .article-meta { justify-content: center; }
.article-head.is-centered h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.article-reading .prose { font-size: 1.12rem; line-height: 1.9; }
.article-reading .share { margin-left: 0; }
.toc-inline { padding: 16px 20px; margin-bottom: 30px; }
.toc-inline summary { cursor: pointer; font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: 8px; }
.toc-inline summary .icon { color: var(--blue); }
.toc-inline ol { margin: 12px 0 0; }
.article-reading .takeaways { margin-top: 34px; }
.related-section { margin-top: 40px; }
.related-section .posts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .related-section .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .related-section .posts-grid { grid-template-columns: 1fr; } }

/* ---------- Appel à l'action en fin d'article (bandeau pleine largeur) ---------- */
.article-cta {
    position: relative; isolation: isolate; overflow: hidden; margin: 10px 0 60px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); gap: clamp(28px, 4vw, 64px); align-items: center;
    padding: clamp(28px, 4.5vw, 64px); border-radius: 28px; color: #c7d5f3;
    background: radial-gradient(620px 360px at 92% 0%, rgba(34, 211, 238, .26), transparent 65%), radial-gradient(560px 340px at 0% 100%, rgba(29, 91, 255, .38), transparent 62%), linear-gradient(150deg, #0b2566 0%, #061433 100%);
    box-shadow: 0 40px 80px -40px rgba(6, 20, 51, .75);
}
.article-cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.article-cta-main { max-width: 820px; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(103, 232, 249, .12); border: 1px solid rgba(103, 232, 249, .25); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #67e8f9; margin-bottom: 18px; }
.cta-eyebrow > .icon { width: 18px; height: 18px; margin-left: 4px; }
.cta-eyebrow .app-icon-sm { width: 26px; height: 26px; border-radius: 8px; }
.article-cta h2 { color: #fff; font-size: clamp(1.7rem, 1.1rem + 1.9vw, 2.75rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 14px; }
.article-cta .cta-lead { color: #c7d5f3; font-size: clamp(1rem, .95rem + .2vw, 1.12rem); line-height: 1.65; margin: 0 0 24px; max-width: 680px; }
.cta-benefits { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.cta-benefits li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: .9rem; }
.cta-benefits .icon { width: 18px; height: 18px; color: #22d3ee; flex-shrink: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-light { color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: #fff; }
.cta-trust { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; font-size: .84rem; color: #9fb2da; }
.cta-trust .icon { width: 16px; height: 16px; color: #67e8f9; }

/* Carte de contact */
.cta-card { background: #fff; color: var(--text); border-radius: 22px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); display: grid; gap: 10px; }
.cta-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.cta-faces { display: flex; flex-shrink: 0; }
/* Taille fixe : une photo de n'importe quel format est recadrée dans un cercle de 48 px */
.cta-face { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; margin-left: -14px; background: radial-gradient(circle at 35% 25%, #1d3f99, #061a4d 75%); box-shadow: 0 4px 12px -4px rgba(6, 20, 51, .4); }
.cta-face:first-child { margin-left: 0; }
.cta-face img, .cta-face svg { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; display: block; }
.cta-card-title { margin: 0 !important; font-weight: 800; font-size: 1.02rem; color: var(--heading); line-height: 1.3; }
.cta-card-sub { margin: 3px 0 0 !important; font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.cta-contact { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); color: var(--heading); transition: border-color .2s, background .2s, transform .2s; min-width: 0; }
.cta-contact:hover { border-color: var(--blue); background: var(--bg-tint); transform: translateY(-1px); }
.cta-contact > .icon:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--bg-tint); color: var(--blue); flex-shrink: 0; }
.cta-contact span { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: .86rem; color: var(--muted); }
.cta-contact span b { color: var(--heading); font-size: .95rem; }
.cta-contact span { overflow-wrap: anywhere; }
.cta-contact > .icon:last-child { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; transition: transform .2s, color .2s; }
.cta-contact:hover > .icon:last-child { color: var(--blue); transform: translateX(3px); }
.cta-wa > .icon:first-child { background: #22c55e; color: #fff; }
.cta-wa:hover { border-color: #22c55e; background: #f0fdf4; }

@media (max-width: 1080px) {
    .article-cta { grid-template-columns: 1fr; }
    .cta-card { max-width: 560px; }
}
@media (max-width: 640px) {
    .article-cta { border-radius: 20px; margin-bottom: 40px; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    .cta-benefits li { width: 100%; }
    .cta-trust { align-items: flex-start; }
    .cta-card { padding: 18px; }
}

/* ---------- Accueil : articles les plus récents ---------- */
.latest-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.latest-cats a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); font-size: .86rem; font-weight: 600; transition: border-color .2s, color .2s; }
.latest-cats a:hover { border-color: var(--blue); color: var(--blue); }
.latest-cats .icon { width: 16px; height: 16px; color: var(--blue); }
.latest-cats small { color: var(--muted); font-weight: 500; }
.latest-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.latest-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.latest-featured { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s; }
.latest-featured:hover { box-shadow: var(--shadow); }
.latest-featured:hover .post-cover img { transform: scale(1.05); }
.latest-featured-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.latest-featured-body h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); line-height: 1.25; margin: 0 0 10px; }
.latest-featured-body h3 a:hover { color: var(--blue); }
.latest-featured-body p { color: var(--muted); }
.latest-featured-body .post-foot { margin-top: auto; }
.latest-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 12px; }
.latest-item { height: 100%; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; transition: border-color .2s, transform .2s; }
.latest-item:hover { border-color: var(--blue); transform: translateX(3px); }
.latest-thumb { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.latest-thumb img, .latest-thumb .gen-cover { width: 100%; height: 100%; object-fit: cover; }
.latest-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.latest-text b { color: var(--heading); font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.latest-text small { color: var(--muted); font-size: .8rem; }
.latest-text .latest-cat { color: var(--blue); font-weight: 700; }
@media (max-width: 900px) {
    .latest-grid { grid-template-columns: minmax(0, 1fr); }
    .latest-list { grid-auto-rows: auto; }
}
@media (max-width: 480px) {
    .latest-item { grid-template-columns: 76px minmax(0, 1fr); }
    .latest-featured-body { padding: 18px; }
}

/* ---------- Pages À propos et Contact ---------- */
.page-head { padding: clamp(26px, 4vw, 44px) 0 clamp(30px, 4vw, 48px); background: var(--bg-soft); }
.page-head h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin: 8px 0 12px; }
.page-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text); max-width: 780px; margin: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: start; padding-top: clamp(30px, 4vw, 48px); }
.about-grid .prose > h2:first-child { margin-top: 0; }
.about-values { display: grid; gap: 14px; }
.about-value { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.about-value .step-icon { flex-shrink: 0; margin: 0; }
.about-value h3 { font-size: 1.05rem; margin: 0 0 4px; }
.about-value p { font-size: .92rem; color: var(--muted); margin: 0; }
.about-solutions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.about-solutions a { display: flex; align-items: center; gap: 14px; padding: 16px; height: 100%; transition: border-color .2s; }
.about-solutions a:hover { border-color: var(--blue); }
.about-solutions b { display: block; color: var(--heading); }
.about-solutions small { color: var(--muted); }
.about-cta { text-align: center; }
.about-cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.contact-cards .cta-contact { background: var(--surface); }
@media (max-width: 900px) {
    .about-grid { grid-template-columns: minmax(0, 1fr); }
    .about-solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .about-solutions { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Finitions : invitation, haut de page, FAQ ---------- */
.promo-modal { width: min(880px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; overflow: auto; background: var(--surface); color: var(--text); box-shadow: 0 40px 100px -30px rgba(6, 20, 51, .7); }
.promo-modal[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); animation: promo-in .3s ease; }
.promo-modal::backdrop { background: rgba(6, 20, 51, .6); backdrop-filter: blur(3px); }
html:has(.promo-modal[open]) { overflow: hidden; }
@keyframes promo-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.promo-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--heading); cursor: pointer; }
.promo-close:hover { background: var(--bg-tint); }
.promo-close .icon { width: 18px; height: 18px; }
.promo-visual { display: flex; align-items: center; padding: 26px; background: radial-gradient(400px 300px at 100% 0%, rgba(34, 211, 238, .25), transparent 65%), linear-gradient(150deg, #0b2566, #061433); }
.promo-visual > * { width: 100%; }
.promo-body { padding: clamp(24px, 3vw, 36px); }
.promo-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; padding-right: 34px; }
.promo-body h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); line-height: 1.2; margin: 0 0 10px; }
.promo-body p { color: var(--muted); margin: 0 0 14px; }
.promo-features { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--heading); }
.promo-features li { display: flex; gap: 9px; align-items: flex-start; }
.promo-features .icon { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.promo-later { display: block; margin-top: 12px; padding: 4px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .86rem; cursor: pointer; text-decoration: underline; }
.promo-later:hover { color: var(--heading); }
.back-top { position: fixed; right: 26px; bottom: 86px; z-index: 40; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--heading); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { color: var(--blue); border-color: var(--blue); }
.back-top .icon { width: 18px; height: 18px; }
.nav-drop button.active { color: var(--blue); }
.faq { max-width: 820px; }
.faq-item { margin-bottom: 10px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 700; color: var(--heading); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.faq-note { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) {
    .promo-modal[open] { grid-template-columns: minmax(0, 1fr); }
    .promo-visual { display: none; }
    .promo-actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-modal[open] { animation: none; }
}

/* ---------- Liste du blog : 1, 2 ou 3 colonnes ---------- */
.posts-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.posts-grid.cols-1 { grid-template-columns: 1fr; gap: 20px; }
.posts-grid.cols-1 .post-card { flex-direction: row; }
.posts-grid.cols-1 .post-cover { flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; }
.posts-grid.cols-1 .post-body { padding: 24px 28px; justify-content: center; }
.posts-grid.cols-1 .post-body h3 { font-size: 1.35rem; }

@media (max-width: 980px) {
    .posts-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .posts-grid.cols-2 { grid-template-columns: 1fr; }
    .posts-grid.cols-1 .post-card { flex-direction: column; }
    .posts-grid.cols-1 .post-cover { min-height: 0; aspect-ratio: 16 / 9; }
    .mag-article-hero { min-height: 340px; }
}

/* ---------- Emplacements d'annonces ---------- */
.ad-slot { margin: 32px 0; padding: 10px 0 0; border-top: 1px solid var(--border); text-align: center; min-height: 120px; clear: both; }
.ad-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3bf; margin-bottom: 6px; }
.article-side .ad-slot { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: #fff; }
.ad-blog_list { margin: 40px 0 0; }
.legal { max-width: 820px; padding-top: 40px; padding-bottom: 60px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal .updated { color: var(--muted); margin-bottom: 30px; }

/* ---------- Modèles d'article en pleine largeur ---------- */
.container-wide { width: min(1760px, 100% - 2 * var(--gutter)); }
.article-grid { display: grid; gap: clamp(26px, 3vw, 48px); padding: 34px 0 50px; align-items: start; }
.grid-right { grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 380px); }
.grid-left { grid-template-columns: clamp(300px, 24vw, 380px) minmax(0, 1fr); }
.grid-three { grid-template-columns: clamp(220px, 17vw, 290px) minmax(0, 1fr) clamp(280px, 21vw, 340px); padding-top: 10px; }
.container-wide > .article-head { padding-top: 34px; }
.article-grid .article-head { margin-top: 0; }
.article-side.side-left { order: 0; }
.article-full { padding: 10px 0 40px; }
.cover-wide { aspect-ratio: 21 / 8; margin-bottom: 30px; }
.container-wide .mag-boxes { margin: 0 0 34px; }
.mag-article-head.container-wide { max-width: none; }
.mag-article-head .article-head h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 1100px; }
.mag-article-head .article-head .article-sub { color: #d3def8; max-width: 900px; }
.article-head.is-centered { text-align: center; }
.article-head.is-centered h1, .article-head.is-centered .article-sub { margin-inline: auto; max-width: 1100px; }
.article-head.is-centered .breadcrumb, .article-head.is-centered .article-meta { justify-content: center; }
.article-head.is-centered .share { margin-left: 0; }
.article-grid .prose, .article-full .prose { font-size: clamp(1.05rem, .95rem + .25vw, 1.15rem); line-height: 1.8; }
/* Titres d'article plus marqués : hiérarchie claire avec un texte plus large */
.article-grid .prose h2, .article-full .prose h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); margin: 1.9em 0 .7em; padding-top: .9em; border-top: 1px solid var(--border); position: relative; }
.article-grid .prose h2::before, .article-full .prose h2::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.article-grid .prose > h2:first-child, .article-full .prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.article-grid .prose > h2:first-child::before, .article-full .prose > h2:first-child::before { display: none; }
.article-grid .prose h3, .article-full .prose h3 { font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); margin: 1.6em 0 .55em; scroll-margin-top: 110px; }
.article-grid .prose > p:first-child, .article-full .prose > p:first-child { font-size: 1.12em; color: var(--heading); }
.toc ol { list-style: none; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc .toc-l2 > a::before { content: counter(toc) ". "; color: var(--blue); font-weight: 700; }
.toc .toc-l3 { counter-increment: none; padding-left: 16px; font-size: .86rem; }
.toc .toc-l3 > a::before { content: "– "; color: var(--muted); }
.toc .toc-l3 + .toc-l2 { margin-top: 2px; }
@media (max-width: 1180px) {
    .grid-three { grid-template-columns: clamp(200px, 22vw, 260px) minmax(0, 1fr); }
    .grid-three > .article-side:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; position: static; }
}
@media (max-width: 980px) {
    .grid-right, .grid-left, .grid-three { grid-template-columns: 1fr; }
    .grid-left > .article-side, .grid-three > .side-left { order: 1; }
    .grid-left > .article { order: 0; }
    .cover-wide { aspect-ratio: 16 / 9; }
}
/* Colonnes latérales : restent visibles pendant la lecture et défilent si elles dépassent l'écran */
.article-grid > .article-side { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
@media (max-width: 980px) {
    .article-grid > .article-side { position: static; max-height: none; overflow: visible; }
}
