/* StudioGLSC — feuille de style unique (sans framework, sans ressource externe).
   Polices : Inter (hébergée ici). Thèmes clair et sombre via [data-theme]. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-display-600.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-display-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --ink: #0b1220;
  --muted: #566074;
  --line: #e1e5ed;
  --line-strong: #cfd5e1;
  --accent: #2447d6;
  --accent-strong: #1b37b0;
  --accent-soft: #e9eefe;
  --accent-ink: #ffffff;
  --ok: #107a57;
  --ok-soft: #e3f5ee;
  --wa: #0f7b40;
  --nav: rgba(246, 247, 249, .86);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 1px rgba(11, 18, 32, .04);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, .18), 0 2px 6px rgba(11, 18, 32, .05);
  --shadow-lg: 0 30px 60px -28px rgba(27, 55, 176, .35), 0 12px 24px -14px rgba(11, 18, 32, .18);
  --radius: 16px;
  --radius-lg: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0f1c;
  --surface: #111829;
  --surface-2: #172037;
  --ink: #edf0f7;
  --muted: #9aa6bd;
  --line: #202a42;
  --line-strong: #2c3857;
  --accent: #8aa4ff;
  --accent-strong: #aabcff;
  --accent-soft: #16213f;
  --accent-ink: #0a0f1c;
  --ok: #4cc9a0;
  --ok-soft: #0f2a24;
  --wa: #3fcf86;
  --nav: rgba(10, 15, 28, .82);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-lg: 0 34px 70px -30px rgba(0, 0, 0, .7), 0 12px 24px -14px rgba(0, 0, 0, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
h1, h2, h3, .wordmark { font-family: var(--font-display); font-weight: 700; letter-spacing: -.022em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.028em; }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -.012em; font-weight: 600; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-top: 16px; }
.section-head > p { color: var(--muted); max-width: 46ch; }
.accent { color: var(--accent); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font: 600 .98rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s var(--ease), color .18s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-wa { background: transparent; color: var(--wa); border-color: color-mix(in srgb, var(--wa) 45%, var(--line)); }
.btn-wa:hover { background: color-mix(in srgb, var(--wa) 10%, transparent); border-color: var(--wa); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--nav); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header:not(.is-scrolled):not(:has(.mobile-menu.is-open)) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 18, 32, .35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 700 1.15rem/1 var(--font-display); letter-spacing: -.02em; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.wordmark { font-size: 1.15rem; letter-spacing: -.03em; }
.wordmark span { color: var(--accent); }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: .94rem; font-weight: 500; text-decoration: none; transition: color .15s, background .15s; }
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="location"] { color: var(--accent); background: var(--accent-soft); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn .icon { width: 18px; height: 18px; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }
.nav-cta { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu.is-open { display: block; }
.mobile-menu .wrap { display: grid; padding: 8px 0 20px; }
.mobile-menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; text-decoration: none; }
.mobile-menu .btn { margin-top: 16px; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  #menu-toggle { display: none; }
  .mobile-menu, .mobile-menu.is-open { display: none; }
}

/* ---------- Héros ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 140px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 62% 30%, #000, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 66%); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .86rem; font-weight: 500; box-shadow: var(--shadow-sm); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.hero h1 { margin-top: 24px; max-width: 12ch; font-size: clamp(2.35rem, 9.2vw, 5.2rem); line-height: 1.04; letter-spacing: -.038em; }
.hero h1 span { display: block; }
.hero h1 .accent { background: linear-gradient(100deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7c3aed)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { max-width: 52ch; margin-top: 24px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; }
.hero-promise { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 500; }
.hero-promise .icon { color: var(--ok); }
.hero-promise b { color: var(--accent); font-weight: 600; }
.hero .btn-row { margin-top: 30px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.hero-rotator-line { display: flex; align-items: center; gap: 10px; margin-top: 10px; min-height: 1.6em; color: var(--muted); font-size: .92rem; }
.hero-rotator-line::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-rotator { display: inline-block; color: var(--ink); font-weight: 500; }
.hero-rotator.changing { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Maquette du héros */
.mock { position: relative; width: min(100%, 560px); margin-inline: auto; padding: 0 0 40px; }
.mock-browser { border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-url { flex: 1; max-width: 280px; padding: 5px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .76rem; text-align: center; }
.mock-body { padding: 22px 22px 26px; }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); }
.mock-pill { height: 8px; width: 44px; border-radius: 4px; background: var(--line-strong); }
.mock-nav .mock-pill:first-of-type { margin-left: auto; }
.mock-btn { padding: 6px 12px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 600; }
.mock-hero { margin-top: 26px; display: grid; gap: 10px; }
.mock-h { height: 20px; border-radius: 6px; background: var(--ink); opacity: .9; }
.mock-h.w1 { width: 78%; } .mock-h.w2 { width: 52%; background: var(--accent); }
.mock-p { height: 8px; border-radius: 4px; background: var(--line-strong); }
.mock-p.w1 { width: 88%; } .mock-p.w2 { width: 64%; }
.mock-actions { display: flex; gap: 10px; margin-top: 8px; }
.mock-actions b { padding: 9px 16px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: .74rem; font-weight: 600; }
.mock-actions u { padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line-strong); color: var(--ink); font-size: .74rem; font-weight: 600; text-decoration: none; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.mock-card { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.mock-card i { display: block; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.mock-card s { display: block; height: 7px; margin-top: 10px; border-radius: 4px; background: var(--line-strong); text-decoration: none; }
.mock-card s + s { width: 60%; margin-top: 6px; }
.mock-phone { position: absolute; right: -14px; bottom: 0; width: 138px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.mock-screen { padding: 12px 10px 14px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.mock-screen .mock-h { height: 12px; margin-top: 12px; }
.mock-screen .mock-p { margin-top: 8px; height: 6px; }
.mock-call { margin-top: 14px; padding: 9px 0; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: .66rem; font-weight: 600; text-align: center; }
.mock-call.wa { margin-top: 7px; background: var(--wa); }
.mock-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; }
.mock-chip .icon { color: var(--ok); width: 16px; height: 16px; }
.mock-chip.c1 { left: -26px; top: 61%; animation: float 8s ease-in-out infinite; }
.mock-chip.c2 { left: 10%; bottom: 6px; animation: float 9s ease-in-out -3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Chiffres clés */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 72px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.metric { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric:nth-child(2n) { border-right: 0; }
.metric:nth-last-child(-n+2) { border-bottom: 0; }
.metric strong { display: block; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--font-display); letter-spacing: -.03em; }
.metric span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; line-height: 1.4; }
@media (min-width: 900px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metric { border-bottom: 0; }
  .metric:nth-child(2n) { border-right: 1px solid var(--line); }
  .metric:last-child { border-right: 0; }
}

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 20px; }
.service { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.service-icon .icon { width: 22px; height: 22px; }
.service p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Offres ---------- */
.pricing-label { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pricing-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.price-grid { display: grid; gap: 20px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.price-card.featured { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.badge { display: inline-flex; align-self: flex-start; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.price-card:not(.featured) .badge { background: var(--surface-2); color: var(--muted); }
.price { margin-top: 14px; font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); letter-spacing: -.035em; }
.price-desc { margin-top: 14px; color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 26px 0 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; }
.check-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.price-card .btn { margin-top: auto; }
.hosting { display: grid; gap: 24px; align-items: center; margin-top: 20px; padding: 28px 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.hosting h3 { margin-top: 10px; }
.hosting p { margin-top: 8px; color: var(--muted); max-width: 56ch; }
.hosting-prices { display: grid; gap: 6px; justify-items: start; }
.hosting-prices strong { font: 700 1.7rem/1.1 var(--font-display); letter-spacing: -.03em; }
.hosting-prices .btn { margin-top: 10px; }
.timeline { display: grid; gap: 0; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); overflow: hidden; counter-reset: step; }
.timeline-step { position: relative; padding: 24px 28px 24px 76px; border-bottom: 1px solid var(--line); counter-increment: step; }
.timeline-step:last-child { border-bottom: 0; }
.timeline-step::before { content: counter(step); position: absolute; left: 26px; top: 24px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 600 .85rem/1 var(--font); }
.timeline-step strong { display: block; font-weight: 600; }
.timeline-step span { display: block; margin-top: 4px; color: var(--muted); font-size: .95rem; }
.price-note { margin-top: 26px; color: var(--muted); font-size: .86rem; line-height: 1.6; max-width: 90ch; }
@media (min-width: 800px) {
  .price-grid { grid-template-columns: 1.1fr .9fr; }
  .hosting { grid-template-columns: 1fr auto; gap: 48px; }
  .hosting-prices { justify-items: end; text-align: right; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline-step { padding: 28px 28px 28px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .timeline-step:last-child { border-right: 0; }
  .timeline-step::before { position: static; margin-bottom: 16px; }
}

/* ---------- Réalisations ---------- */
.callout { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 32px; padding: 18px 22px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: .96rem; }
.callout strong { color: var(--ink); font-weight: 600; }
.callout .icon { margin-top: 3px; color: var(--accent); }
.project-grid { display: grid; gap: 22px; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.project-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.project-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.project:hover .project-shot img { transform: scale(1.03); }
.project-tag { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(11, 18, 32, .78); color: #fff; font-size: .74rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.project-tag.live { background: rgba(16, 122, 87, .92); }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.project-body p { margin-top: 8px; color: var(--muted); font-size: .96rem; }
.project-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--accent); font-size: .92rem; font-weight: 600; }
.project-link .icon { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.project:hover .project-link .icon { transform: translate(3px, -3px); }
@media (min-width: 800px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Méthode ---------- */
.steps { --steps-progress: 0; position: relative; display: grid; gap: 20px; }
.step { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.step-num { display: block; margin-bottom: 22px; color: var(--accent); font: 700 2.4rem/1 var(--font-display); letter-spacing: -.05em; }
.step p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.steps-progress { display: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps-progress { display: block; position: absolute; left: 30px; right: 30px; top: -14px; height: 2px; border-radius: 2px; background: var(--line); }
  .steps-progress::after { content: ""; position: absolute; inset: 0; border-radius: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--steps-progress)); }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 4px; font: 600 1.08rem/1.4 var(--font-display); letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { max-width: 62ch; padding: 0 44px 24px 4px; color: var(--muted); }
@media (min-width: 900px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-layout .section-head { display: block; margin: 0; } .faq-layout .section-head > p { margin-top: 20px; } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: var(--ink); color: var(--bg); position: relative; overflow: hidden; isolation: isolate; }
:root[data-theme="dark"] .contact { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
:root[data-theme="dark"] .contact::before { opacity: .45; }
:root[data-theme="dark"] .contact-form { background: var(--bg); border: 1px solid var(--line); box-shadow: none; }
:root[data-theme="dark"] .contact-form input, :root[data-theme="dark"] .contact-form select, :root[data-theme="dark"] .contact-form textarea { background: var(--surface); }
.contact::before { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -280px; top: -320px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 50%, transparent), transparent); }
.contact .eyebrow { color: #aebfff; }
:root[data-theme="dark"] .contact .eyebrow { color: var(--accent); }
.contact h2 { margin-top: 16px; }
.contact-copy { margin-top: 20px; max-width: 44ch; opacity: .78; }
.contact .btn-row { margin-top: 28px; }
.contact .btn-secondary { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: inherit; box-shadow: none; }
.contact .btn-secondary:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: inherit; }
.contact .btn-wa { color: #7ee3ab; border-color: rgba(126, 227, 171, .4); }
:root[data-theme="dark"] .contact .btn-secondary { background: var(--surface-2); border-color: var(--line-strong); }
.contact-email { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font: 600 1.05rem/1 var(--font); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 4px; }
.contact-email:hover { border-color: currentColor; }
.contact-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.contact-form label { display: grid; gap: 8px; font-size: .88rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); font: 400 1rem/1.4 var(--font); transition: border-color .15s, box-shadow .15s; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-note { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.form-status { min-height: 1.4em; color: var(--ok); font-size: .9rem; font-weight: 500; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- Pied de page ---------- */
footer { padding: 72px 0 36px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-top { display: grid; gap: 36px; }
.footer-note { margin-top: 14px; color: var(--muted); font-size: .94rem; max-width: 36ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: start; }
.footer-links a { color: var(--muted); font-size: .94rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal-label { color: var(--ink); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 18px; color: var(--muted); font-size: .84rem; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1fr auto; } .footer-links { max-width: 420px; justify-content: flex-end; } }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.theme-transition, .theme-transition *, .theme-transition *::before, .theme-transition *::after { transition: background-color .35s, color .35s, border-color .35s !important; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .btn-row .btn { flex: 1 1 100%; }
  .mock-phone { right: -6px; width: 118px; }
  .mock-chip.c1 { left: -6px; }
  .section-head { grid-template-columns: 1fr; }
}
@media (max-width: 899px) { .section-head { grid-template-columns: 1fr; align-items: start; } }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .header, .scroll-progress, .mock, .contact-form { display: none; } .reveal { opacity: 1; transform: none; } }

/* =====================================================================
   Ajouts : sommaire latéral, comparateur, estimation, engagements,
   démos en direct, formulaire en étapes
   ===================================================================== */
.small { font-size: .9rem; }
.opt { color: var(--muted); font-weight: 400; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice > span { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); transition: border-color .15s, background .15s, box-shadow .15s; }
.choice strong { font-weight: 600; font-size: .98rem; }
.choice small { color: var(--muted); font-size: .84rem; }
.choice:hover > span { border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong)); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Sommaire latéral */
.rail { position: fixed; right: 18px; top: 50%; z-index: 40; transform: translateY(-50%); display: none; }
.rail ol { display: grid; gap: 6px; }
.rail a { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; }
.rail a::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--line-strong); transition: background .2s, transform .2s var(--ease); }
.rail a:hover::before, .rail a[aria-current="location"]::before { background: var(--accent); transform: scale(1.5); }
.rail a span { position: absolute; right: 26px; top: 50%; transform: translate(6px, -50%); padding: 5px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: .78rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 1360px) { .rail { display: block; } }

/* Comparateur */
.compare { margin-top: 56px; }
.compare-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.table-wrap table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap thead th { background: var(--surface-2); font: 600 .95rem/1.3 var(--font-display); letter-spacing: -.01em; }
.table-wrap thead th small { display: block; margin-top: 2px; color: var(--muted); font: 500 .72rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; }
.table-wrap tbody th { width: 32%; font-weight: 500; color: var(--muted); }
.table-wrap td small { display: block; color: var(--muted); font-size: .82rem; }
.table-wrap td.yes { color: var(--ok); }
.table-wrap td.no { color: var(--muted); }
.table-wrap td .icon { width: 20px; height: 20px; }
.table-wrap td.yes .icon { stroke-width: 2.4; }

/* Estimation */
.estimate { margin-top: 28px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.estimate-head h3 { margin-top: 10px; font-size: 1.5rem; }
.estimate-grid { display: grid; gap: 28px; margin-top: 26px; }
.estimate fieldset, .contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.estimate legend { margin-bottom: 12px; padding: 0; font-size: .85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.estimate fieldset { display: grid; gap: 10px; align-content: start; }
.estimate fieldset legend { grid-column: 1 / -1; }
.estimate-result { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.estimate-label { color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.estimate-total { margin-top: 6px; font: 700 clamp(2.2rem, 4vw, 3rem)/1.1 var(--font-display); letter-spacing: -.03em; }
.estimate-lines { display: grid; gap: 8px; margin: 16px 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 16px; }
.estimate-lines li span:last-child { font-weight: 600; white-space: nowrap; }
.estimate-note { margin-bottom: 18px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
@media (min-width: 900px) { .estimate-grid { grid-template-columns: 1fr 1fr 1.1fr; } }

/* Engagements */
.pledge-grid { display: grid; gap: 20px; }
.pledge { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.pledge p { margin-top: 10px; color: var(--muted); font-size: .96rem; }
.pledge-note { margin-top: 28px; color: var(--muted); font-size: .92rem; }
.pledge-note a { color: var(--accent); font-weight: 500; }
@media (min-width: 700px) { .pledge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pledge-grid { grid-template-columns: repeat(4, 1fr); } }

/* Démos en direct */
.demo-lab { display: grid; gap: 40px; align-items: center; margin-top: 56px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-sm); }
.demo-lab h3 { margin-top: 12px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.demo-lab .muted { margin-top: 12px; max-width: 46ch; }
.seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 4px; margin: 24px 0; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.seg button { padding: 9px 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 .9rem/1 var(--font); cursor: pointer; transition: background .15s, color .15s; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.demo-phone { max-width: 100%; justify-self: center; padding: 10px; border: 1px solid var(--line-strong); border-radius: 40px; background: var(--ink); box-shadow: var(--shadow-lg); }
:root[data-theme="dark"] .demo-phone { background: #020409; }
.demo-lab > * { min-width: 0; }
.demo-screen { position: relative; width: min(300px, calc(100vw - 112px)); aspect-ratio: 1 / 2; overflow: hidden; border-radius: 30px; background: var(--surface-2); }
.demo-screen iframe { position: absolute; left: 0; top: 0; width: 390px; height: 780px; border: 0; transform: scale(var(--s, .7692)); transform-origin: 0 0; background: #fff; }
.demo-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.demo-placeholder .icon { width: 34px; height: 34px; padding: 8px; box-sizing: content-box; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 900px) { .demo-lab { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

/* Formulaire en étapes */
.js .contact-form .step-pane:not(.is-active) { display: none; }
.contact-form legend { margin-bottom: 14px; padding: 0; font: 600 1.25rem/1.3 var(--font-display); letter-spacing: -.02em; }
.form-top { display: grid; gap: 10px; }
.form-step-label { color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.form-progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.form-progress span { display: block; height: 100%; border-radius: 4px; background: var(--accent); width: 25%; transition: width .35s var(--ease); }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.choice-grid.one { grid-template-columns: 1fr; }
.choice-grid .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
.contact-form fieldset > label { display: grid; gap: 8px; margin-top: 14px; font-size: .88rem; font-weight: 600; }
.contact-form fieldset > label:first-of-type { margin-top: 0; }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #c2410c; box-shadow: 0 0 0 4px rgba(194, 65, 12, .12); }
.field-error { min-height: 0; margin-top: 8px; color: #b42318; font-size: .85rem; font-weight: 500; }
:root[data-theme="dark"] .field-error { color: #ff8f7a; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; gap: 10px; align-items: center; }
.form-nav .btn-primary { flex: 1; }
.contact-form .choice > span { background: var(--bg); }
.form-done { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form-done[hidden], .contact-form[hidden] { display: none; }
:root[data-theme="dark"] .form-done { background: var(--bg); border: 1px solid var(--line); box-shadow: none; }
.done-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.done-icon .icon { width: 24px; height: 24px; stroke-width: 2.4; }
.form-done h3 { font-size: 1.6rem; }
.form-done p { color: var(--muted); }
.done-steps { display: grid; gap: 12px; margin: 6px 0; counter-reset: d; }
.done-steps li { position: relative; padding-left: 40px; counter-increment: d; }
.done-steps li::before { content: counter(d); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .8rem; font-weight: 600; }
.done-steps strong { display: block; font-weight: 600; }
.done-steps span { color: var(--muted); font-size: .94rem; }
.done-fallback { display: grid; gap: 10px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 12px; font-size: .9rem; }
.done-fallback textarea { width: 100%; padding: 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); color: var(--ink); font: .85rem/1.5 var(--font); resize: vertical; }
.contact-booking { margin-top: 14px; }
.footer-status { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-status + .footer-legal { margin-top: 14px; padding-top: 0; border-top: 0; }
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } .form-nav { flex-wrap: wrap; } .form-nav .btn { flex: 1 1 100%; } .btn { white-space: normal; text-align: center; } }

/* =====================================================================
   Pages de contenu : à propos, métiers, villes, blog
   ===================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0 56px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -200px; top: -300px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); }
.page-hero h1 { margin-top: 14px; max-width: 20ch; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.032em; }
.page-lead { max-width: 62ch; margin-top: 20px; color: var(--muted); font-size: 1.15rem; line-height: 1.65; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { margin-bottom: 22px; font-size: .86rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.narrow { max-width: 780px; }
.two-col { display: grid; gap: 40px; }
.two-col h2 { margin: 14px 0 18px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }
.chips-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-list li { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: .96rem; box-shadow: var(--shadow-sm); }
.chips-list a { text-decoration: none; font-weight: 500; }
.chips-list a:hover { color: var(--accent); }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23107a57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cross-list { display: grid; gap: 12px; }
.cross-list li { position: relative; padding-left: 30px; color: var(--muted); }
.cross-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: #fdeceb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 10px no-repeat; }
:root[data-theme="dark"] .cross-list li::before { background-color: #3a1a17; }
.pledge-grid.three { grid-template-columns: 1fr; }
@media (min-width: 800px) { .pledge-grid.three { grid-template-columns: repeat(3, 1fr); } }
.pledge h3 { margin-bottom: 0; }
.price-inline { margin-top: 10px; font: 700 1.8rem/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink) !important; }
.inline-link { color: var(--accent); font-weight: 500; }
.cta-band-wrap { padding-top: clamp(40px, 6vw, 72px); }
.cta-band { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--ink); color: var(--bg); }
:root[data-theme="dark"] .cta-band { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band p { margin-top: 10px; opacity: .78; max-width: 52ch; }
.cta-band .btn-secondary { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: inherit; box-shadow: none; }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, .14); color: inherit; }
:root[data-theme="dark"] .cta-band .btn-secondary { background: var(--surface-2); border-color: var(--line-strong); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.link-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .link-grid { grid-template-columns: repeat(3, 1fr); } }
.link-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.link-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.link-card strong { font: 600 1.15rem/1.3 var(--font-display); letter-spacing: -.012em; }
.link-card > span:not(.tag):not(.meta):not(.link-more) { color: var(--muted); font-size: .95rem; }
.link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--accent); font-size: .9rem; font-weight: 600; }
.link-more .icon { width: 1em; height: 1em; }
.tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.meta { margin-top: auto; color: var(--muted); font-size: .84rem; }

/* Article */
.article { padding-top: 128px; }
.article h1 { margin-top: 12px; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em; }
.article-meta { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.toc-inline { margin: 32px 0 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc-inline p { margin-bottom: 10px; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.toc-inline ol { display: grid; gap: 6px; list-style: decimal; padding-left: 20px; }
.toc-inline a { color: var(--accent); text-decoration: none; font-size: .95rem; }
.toc-inline a:hover { text-decoration: underline; }
.prose { margin-top: 36px; }
.prose h2 { margin: 44px 0 14px; font-size: clamp(1.45rem, 2.6vw, 1.9rem); scroll-margin-top: 96px; }
.prose p { margin-bottom: 16px; max-width: 68ch; }
.prose ul { margin: 0 0 20px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }

/* À propos */
.about-grid { display: grid; gap: 48px; align-items: start; }
.about-grid .prose { margin-top: 0; }
.about-grid .prose h2:first-child { margin-top: 0; }
.about-side { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); text-align: center; }
.about-photo { width: 160px; height: 160px; margin: 0 auto 18px; border-radius: 28px; object-fit: cover; }
.about-monogram { display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 4.5rem/1 var(--font-display); }
.about-name { font: 700 1.3rem/1.2 var(--font-display); }
.about-side .btn-row { justify-content: center; margin-top: 18px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.6fr .8fr; gap: 72px; } .about-side { position: sticky; top: 100px; } }

/* Pied de page enrichi */
.footer-cols { display: grid; gap: 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-col-title { margin-bottom: 12px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.footer-cols ul { display: grid; gap: 8px; }
.footer-cols a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.footer-cols a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Remplacent d'anciens styles en ligne (pour une politique CSP stricte) */
.sprite { position: absolute; }
.mock-logo.sm { width: 18px; height: 18px; border-radius: 6px; }
.section.flush-top { padding-top: 0; }
.badge.flat { margin: 0; }
.mt { margin-top: 20px; }

/* =====================================================================
   Page de suivi de projet (suivi/)
   ===================================================================== */
.suivi-top { border-bottom: 1px solid var(--line); background: var(--surface); }
.suivi-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.suivi-badge { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 600; }
.suivi { max-width: 760px; padding: 40px 0 72px; display: grid; gap: 20px; }
.suivi h1 { margin-top: 8px; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; }
.suivi-card { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.suivi-card h2 { font-size: 1.25rem; margin-bottom: 14px; }
.p-steps { display: grid; gap: 0; counter-reset: s; }
.p-step { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 0 12px 0; color: var(--muted); }
.p-step + .p-step::before { content: ""; position: absolute; left: 11px; top: -12px; width: 2px; height: 24px; background: var(--line-strong); }
.p-step.done + .p-step::before, .p-step.current::before { background: var(--accent); }
.p-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); }
.p-step.done .p-dot { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.p-step.current .p-dot { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); background: var(--accent); }
.p-step.done .p-label { color: var(--ink); }
.p-step.current .p-label { color: var(--ink); font-weight: 600; }
.p-done { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 500; }
.thread { display: grid; gap: 12px; max-height: 24rem; overflow: auto; margin-bottom: 16px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.bubble.client { justify-self: end; background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); }
.bubble p { margin-top: 4px; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-form { display: grid; gap: 12px; }
.msg-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); font: 400 1rem/1.5 var(--font); resize: vertical; }
.msg-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.drop { display: grid; gap: 4px; place-items: center; margin-top: 12px; padding: 28px 16px; border: 2px dashed var(--line-strong); border-radius: 14px; background: var(--bg); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.f-name { overflow-wrap: anywhere; font-weight: 500; }
.suivi-foot { padding: 0 0 48px; color: var(--muted); font-size: .86rem; }
.suivi-foot a { color: var(--accent); }

/* Démos : galerie et lien depuis l'accueil */
.all-demos { margin-top: 26px; }
.demo-notes { margin-top: 32px; }
.seg { max-width: 100%; }
.seg button { white-space: nowrap; }
.seg { display: flex; flex-wrap: wrap; }
