/* NOESIS — feuille de style principale */
:root {
  --bg: #0A0E14;
  --bg-alt: #0C1118;
  --surface: #0F141C;
  --surface-2: #121925;
  --line: #1C2430;
  --line-2: #1F2834;
  --line-3: #2A3442;
  --text: #E8ECF2;
  --text-strong: #FFFFFF;
  --text-soft: #D5DBE4;
  --muted: #B4BDCA;
  --muted-2: #9AA4B2;
  --accent: #8FA8FF;
  --accent-rgb: 143, 168, 255;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: #C9D4FF; }
a:hover { color: var(--text-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, dl, dd, ol, blockquote { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; color: var(--text-strong); max-width: 760px; }
.h2 .soft { color: var(--muted-2); }
.lead { color: var(--muted-2); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 26px; border-radius: 12px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { color: var(--bg); background: #A9BCFF; }
.btn-ghost { border-color: var(--line-3); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text-strong); }

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-strong); }
.brand-mark { flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -.01em; color: var(--text-strong); }
.brand-tag { margin-top: 4px; font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--muted-2); }
@media (max-width: 520px) { .brand-tag { display: none; } }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text-strong); }
.nav .btn { padding: 10px 20px; min-height: 44px; font-size: 15px; color: var(--bg); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, rgba(10,14,20,0), var(--bg)); pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 88px; }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.02em; color: var(--text-strong); }
.hero-sub { margin-top: 28px; max-width: 600px; font-size: 19px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 44px; padding: 0; list-style: none; font-size: 14px; color: var(--muted-2); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }

.arch { position: relative; overflow: hidden; flex: 1 1 400px; min-width: 0; background: rgba(15,20,28,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; }
.arch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-2); }
.arch-live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.arch-layers { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.arch-layers li { border: 1px solid #263040; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.arch-layers li.is-accent { border-color: var(--accent); }
.arch-layers strong { font-weight: 600; color: var(--text-strong); }
.arch-layers span { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.arch-note { margin-top: 22px; font-size: 14px; color: var(--muted-2); }
.arch-scan { position: absolute; left: 0; right: 0; height: 70px; background: linear-gradient(to bottom, rgba(var(--accent-rgb),0), rgba(var(--accent-rgb),.10), rgba(var(--accent-rgb),0)); border-bottom: 1px solid var(--accent); opacity: .55; pointer-events: none; }

/* Animations */
@keyframes nx-flow { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
@keyframes nx-flow-rev { from { transform: translateX(-1440px); } to { transform: translateX(0); } }
@keyframes nx-travel { from { stroke-dashoffset: 2960; } to { stroke-dashoffset: 0; } }
@keyframes nx-node { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: .9; transform: scale(1.4); } }
@keyframes nx-breathe { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .6; transform: scale(1.12); } }
@keyframes nx-scan { 0% { top: -10%; } 100% { top: 110%; } }
@keyframes nx-layer { 0%, 18%, 100% { background-color: transparent; } 6% { background-color: rgba(var(--accent-rgb), .12); } }
.nx-w1 { animation: nx-flow 22s linear infinite; }
.nx-w2 { animation: nx-flow-rev 30s linear infinite; }
.nx-w3 { animation: nx-flow 38s linear infinite; }
.nx-w4 { animation: nx-flow-rev 26s linear infinite; }
.nx-travel { stroke-dasharray: 90 2870; animation: nx-travel 7s linear infinite; }
.nx-travel.d2 { animation-duration: 9s; animation-delay: -3s; }
.nx-travel.d3 { animation-duration: 11s; animation-delay: -6s; }
.nx-node { transform-box: fill-box; transform-origin: center; animation: nx-node 4s ease-in-out infinite; }
.nx-glow { transform-box: fill-box; transform-origin: center; animation: nx-breathe 8s ease-in-out infinite; }
.nx-glow.g1 { filter: blur(90px); }
.nx-glow.g2 { filter: blur(110px); animation-delay: -4s; }
.nx-n2 { animation-delay: -1s; } .nx-n3 { animation-delay: -2.2s; } .nx-n4 { animation-delay: -.6s; } .nx-n5 { animation-delay: -3.1s; }
.nx-n6 { animation-delay: -1.7s; } .nx-n7 { animation-delay: -2.7s; } .nx-n8 { animation-delay: -.3s; } .nx-n9 { animation-delay: -3.6s; }
.arch-scan { animation: nx-scan 4.5s linear infinite; }
.arch-layers li { animation: nx-layer 6s ease-in-out infinite; }
.arch-layers li:nth-child(2) { animation-delay: 1.5s; }
.arch-layers li:nth-child(3) { animation-delay: 3s; }
.arch-layers li:nth-child(4) { animation-delay: 4.5s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nx-w1, .nx-w2, .nx-w3, .nx-w4, .nx-travel, .nx-node, .nx-glow, .arch-scan, .arch-layers li { animation: none; }
  .btn:hover { transform: none; }
}

/* Bandeau clients */
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.trust h2 { font-size: 14px; font-weight: 500; color: var(--muted-2); max-width: 260px; }
.logos { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; padding: 0; list-style: none; }
.logo-capi { height: 46px; width: auto; }
.logo-idelpro { height: 42px; width: auto; }
.logo-jcg { height: 50px; width: auto; }
.logo-methode { display: inline-flex; align-items: center; gap: 10px; height: 42px; }
.logo-methode span { font-family: var(--font-body); font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--text-strong); }
.logo-methode span b { color: #3FB97A; font-weight: 800; }

/* Chiffres clés */
.kpis { padding-top: 88px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin: 0; }
.kpi { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.kpi dt { margin-top: 12px; color: var(--muted); font-size: 15px; }
.kpi dd { font-family: var(--font-display); font-size: 52px; font-weight: 600; color: var(--text-strong); line-height: 1; }
.kpi dd small { font-size: 28px; color: var(--muted-2); }

/* Expertises */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head .lead { max-width: 380px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 0; list-style: none; }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; }
.card h3 { margin: 20px 0 10px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text-strong); }
.card p { color: var(--muted-2); font-size: 15px; }
.icon { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Réalisations */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 48px; padding: 0; list-style: none; }
.project { display: block; height: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 18px; padding: 20px 20px 32px; text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.project:hover { border-color: var(--line-3); color: inherit; transform: translateY(-2px); }
.browser { border: 1px solid #263040; border-radius: 12px; overflow: hidden; background: var(--surface-2); margin-bottom: 28px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #263040; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A4556; }
.browser-bar span { margin-left: 10px; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; }
.project-body { padding: 0 12px; }
.project-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.project-name { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--text-strong); }
.tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); border: 1px solid var(--line-3); border-radius: 999px; padding: 4px 12px; }
.project p { margin-top: 16px; color: var(--muted-2); font-size: 15px; }
.project .more { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; padding: 0; list-style: none; margin-top: 56px; }
.step { border-top: 2px solid var(--line-3); padding-top: 24px; }
.step:first-child { border-top-color: var(--accent); }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.step h3 { margin: 10px 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--text-strong); }
.step p { color: var(--muted-2); font-size: 15px; }

/* Fondateur */
.founder { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.founder-photo { flex: 0 0 260px; width: 260px; height: 300px; object-fit: cover; object-position: center top; border-radius: 18px; border: 1px solid #263040; background: #FFFFFF; }
.founder-body { flex: 999 1 460px; min-width: 0; }
.founder h2 { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1.1; color: var(--text-strong); }
.founder-title { margin-top: 8px; font-size: 18px; color: var(--text-soft); }
.founder blockquote { margin-top: 28px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding: 0; list-style: none; }
.chips li { font-size: 13px; color: var(--text-soft); border: 1px solid var(--line-3); border-radius: 999px; padding: 6px 14px; }
.founder .link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent); }

/* Engagements */
.commitments { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; padding: 0; list-style: none; margin-top: 32px; }
.commitments h3 { margin-bottom: 8px; font-size: 17px; font-weight: 600; color: var(--text-strong); }
.commitments p { color: var(--muted-2); font-size: 15px; }
.h3-title { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--text-strong); }

/* Contact */
.contact .container { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 380px; min-width: 0; }
.contact-copy .lead-lg { margin-top: 24px; color: var(--muted); font-size: 17px; }
.contact-info { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-soft); font-style: normal; }
.form { flex: 1 1 480px; min-width: 0; background: var(--bg); border: 1px solid var(--line-2); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.field input, .field textarea { background: var(--surface); border: 1px solid var(--line-3); border-radius: 10px; padding: 12px 14px; color: var(--text-strong); font: inherit; font-size: 15px; min-height: 44px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .25); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-note { font-size: 12px; color: var(--muted-2); }
.form-status { font-size: 15px; border-radius: 10px; padding: 12px 14px; }
.form-status:empty { display: none; }
.form-status.ok { background: rgba(63,185,122,.12); border: 1px solid rgba(63,185,122,.5); color: #B8F0D2; }
.form-status.err { background: rgba(255,120,120,.10); border: 1px solid rgba(255,120,120,.5); color: #FFC9C9; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; font-size: 13px; color: var(--muted-2); }
.site-footer .legal { display: flex; flex-direction: column; gap: 6px; }
.site-footer .legal strong { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; color: var(--text-strong); font-size: 15px; }
.site-footer .links { align-self: flex-end; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.site-footer .links a { color: var(--muted-2); }

/* Page mentions légales */
.legal-page { max-width: 820px; margin: 0 auto; padding: 80px 24px 96px; line-height: 1.7; }
.legal-page h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; color: var(--text-strong); }
.legal-page .intro { margin-top: 20px; color: var(--muted-2); font-size: 15px; }
.legal-page section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.legal-page h2 { margin-bottom: 16px; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--text-strong); }
.legal-page p { color: var(--text-soft); font-size: 15px; }
.legal-page p + p { margin-top: 16px; }
.legal-page dl { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px 24px; color: var(--text-soft); font-size: 15px; }
.legal-page dt { color: var(--muted-2); }
.legal-page .updated { margin-top: 56px; color: var(--muted-2); font-size: 13px; }

@media (max-width: 640px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; gap: 40px; }
  .founder { padding: 28px; gap: 28px; }
  .founder-photo { flex-basis: 100%; width: 100%; height: 320px; }
  .form { padding: 22px; }
  .projects, .cards { grid-template-columns: 1fr; }
  .legal-page dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal-page dd { margin-bottom: 10px; }
  .nav { gap: 8px 18px; }
}

/* Captcha ALTCHA, aux couleurs du site */
altcha-widget {
  --altcha-color-base: var(--surface);
  --altcha-color-base-content: var(--text);
  --altcha-color-neutral: var(--line-3);
  --altcha-color-neutral-content: var(--muted);
  --altcha-color-primary: var(--accent);
  --altcha-color-primary-content: var(--bg);
  --altcha-border-color: var(--line-3);
  --altcha-border-radius: 12px;
  --altcha-max-width: 100%;
  display: block;
  font-family: var(--font-body);
}
altcha-widget a { color: var(--muted); }

/* ---------- Pages de contenu (expertises, réalisations, zone) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
picture { display: contents; }
.card { display: flex; flex-direction: column; }
.card-link { margin-top: auto; padding-top: 18px; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
.card-link:hover { color: var(--text-strong); }

.page { max-width: 860px; margin: 0 auto; padding: 48px 24px 96px; }
.page h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; color: var(--text-strong); }
.page-lead { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--text-soft); }
.page-section { margin-top: 56px; }
.page-section h2 { margin-bottom: 18px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; color: var(--text-strong); }
.page-section p, .page-section li, .page-section dd { color: var(--text-soft); font-size: 16px; line-height: 1.7; }
.page-section p + p, .page-section p + ul, .page-section ul + p, .page-section ol + p, .page-section p + ol { margin-top: 16px; }
.page-section strong { color: var(--text-strong); font-weight: 600; }
.page a:not(.btn):not(.related-card) { color: var(--accent); }
.page a:not(.btn):not(.related-card):hover { color: var(--text-strong); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 36px; font-size: 13px; color: var(--muted-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-3); }
.breadcrumb a { color: var(--muted-2) !important; text-decoration: none; }
.breadcrumb a:hover { color: var(--text-strong) !important; }

.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.steps-list { padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.steps-list li::marker { color: var(--accent); font-family: var(--font-mono); }
.facts { display: grid; grid-template-columns: minmax(120px, 180px) 1fr; gap: 12px 24px; }
.facts dt { color: var(--muted-2); font-size: 15px; }

.cta-box { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--line-3); border-radius: 18px; }
.cta-box .cta-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text-strong); }
.cta-box p { color: var(--muted); font-size: 15px; }
.cta-box div { flex: 1 1 320px; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.faq-home { margin-top: 56px; }
.faq-card { position: relative; padding: 36px 40px 38px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; transition: border-color .2s ease; }
.faq-card:hover { border-color: var(--line-3); }
.faq-num { display: inline-block; margin-bottom: 18px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--accent); }
.faq-card h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--text-strong); }
.faq-card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.page .faq-grid { grid-template-columns: 1fr; gap: 16px; }

.related { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; text-decoration: none; transition: border-color .15s ease; }
.related-card:hover { border-color: var(--accent); }
.related-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-strong); }
.related-desc { color: var(--muted-2); font-size: 14px; line-height: 1.55; }
.related-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 14px; font-weight: 600; }

.page-shot { margin-top: 40px; }
.page-note { margin-top: 28px; color: var(--muted-2); font-size: 14px; }

/* Pied de page : plan du site, 4 colonnes équilibrées */
.site-footer .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; font-size: 14px; }
.footer-nav { display: contents; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 360px; }
.footer-brand p { color: var(--muted-2); font-size: 14px; line-height: 1.65; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: var(--accent) !important; font-weight: 600; text-decoration: none; }
.footer-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--muted-2); text-decoration: none; transition: color .15s ease; }
.footer-nav a:hover { color: var(--text-strong); }
.footer-title { margin-bottom: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.site-footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
}

@media (max-width: 640px) {
  .page { padding-top: 32px; }
  .page-lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr; gap: 2px 0; }
  .facts dd { margin-bottom: 10px; }
  .cta-box { padding: 22px; }
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }
  .faq-card { padding: 24px 22px 26px; }
}
