/* ==========================================================================
   NexusLab, feuille de style unique
   Les couleurs et les réglages de base sont centralisés ici, en haut.
   ========================================================================== */

/* ---------- Police : Manrope, hébergée sur nos serveurs (SIL OFL) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variables ---------- */
:root {
  --navy: #14213D;
  --navy-deep: #0D1730;
  --navy-soft: #1D2D52;
  --ink: #14213D;
  --ink-2: #4A5568;
  --ink-3: #6B7280;
  --cream: #F6F2EC;
  --cream-2: #EFE9E0;
  --card: #FFFDFA;
  --white: #FFFFFF;
  --line: #E4DDD2;
  --line-strong: #CFC6B8;
  --coral: #FF6B57;
  --coral-deep: #B5402D;
  --coral-soft: #FFE9E4;
  --on-navy: #F6F2EC;
  --on-navy-2: #C9D1E0;

  /* Couleurs des outils sur mesure : vive (points, barres), douce (fonds), foncée (texte, ≥ 4.8:1) */
  --t-factures: #FF6B57; --t-factures-soft: #FFE9E4; --t-factures-ink: #B5402D;
  --t-planning: #5B7FB8; --t-planning-soft: #E7EDF7; --t-planning-ink: #34548A;
  --t-tableau: #6E9C7E;  --t-tableau-soft: #E4EFE7;  --t-tableau-ink: #2F6544;
  --t-clients: #D9A23A;  --t-clients-soft: #FAF0DA;  --t-clients-ink: #80560A;
  --t-rh: #8F7BC8;       --t-rh-soft: #EEEAF8;       --t-rh-ink: #5A4699;
  --t-autre: #8A9099;    --t-autre-soft: #EDEEF0;    --t-autre-ink: #4A5568;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --radius-s: 12px;
  --radius-pill: 999px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 104px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 2px 4px rgba(20, 33, 61, 0.04), 0 12px 24px -8px rgba(20, 33, 61, 0.10), 0 32px 64px -24px rgba(20, 33, 61, 0.18);
  --shadow-s: 0 1px 2px rgba(20, 33, 61, 0.05), 0 8px 24px -12px rgba(20, 33, 61, 0.14);
  --header-h: 86px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
::selection { background: var(--coral); color: var(--navy); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--on-navy);
  padding: 10px 16px; border-radius: var(--radius-s);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Typographie ---------- */
h1, .h1 {
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
h3, .h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-2); }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 20px;
}
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.on-navy .tag { color: var(--coral); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lede { margin-top: 20px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem; line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--navy); color: var(--on-navy); box-shadow: 0 10px 24px rgba(20, 33, 61, 0.18); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20, 33, 61, 0.24); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--navy); }
.btn-coral:hover { background: #FF7D6B; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16); }
.btn-light { background: var(--card); color: var(--navy); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid rgba(20, 33, 61, 0.45); }
.btn-outline-dark:hover { border-color: var(--navy); background: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 0.9375rem; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 13px; color: var(--navy); }
.logo-mark { width: 48px; height: 22px; flex: none; }
.logo-mark .dot-a { fill: currentColor; }
.logo-mark .link { fill: currentColor; }
.logo-mark .dot-b { fill: var(--coral); }
.logo-word { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.035em; line-height: 1; }
.on-navy .logo { color: var(--on-navy); }

/* ---------- Navigation : barre flottante en verre dépoli ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 12px var(--gutter) 0;
  pointer-events: none;
}
.site-header .nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--container) - 2 * var(--gutter) + 40px);
  margin: 0 auto; padding: 0 9px 0 22px; min-height: 64px;
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 250, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(20, 33, 61, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(20, 33, 61, 0.05), 0 12px 32px -12px rgba(20, 33, 61, 0.22);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-scrolled .nav {
  background: rgba(255, 253, 250, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 4px rgba(20, 33, 61, 0.06), 0 18px 44px -14px rgba(20, 33, 61, 0.30);
}
main { padding-top: var(--header-h); }
.nav-links { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.9375rem; }
.nav-links a { position: relative; padding: 9px 14px; border-radius: var(--radius-pill); color: var(--ink-2); transition: color 0.2s, background 0.25s; }
.nav-links a:hover { color: var(--navy); background: rgba(20, 33, 61, 0.06); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex; gap: 2px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em;
}
.lang a, .lang span { padding: 6px 8px; border-radius: 8px; color: var(--ink-3); }
.lang a:hover { color: var(--navy); background: var(--cream-2); }
.lang span[aria-current] { color: var(--navy); background: var(--cream-2); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  align-items: center; justify-content: center;
}
.nav-toggle:hover { background: var(--cream-2); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .nav { padding: 0 6px 0 18px; min-height: 58px; }
  .nav-panel {
    pointer-events: auto;
    display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    background: rgba(255, 253, 250, 0.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(20, 33, 61, 0.09); border-radius: 24px;
    padding: 10px 20px 20px;
    box-shadow: var(--shadow);
  }
  .nav-panel[data-open="true"] { display: block; }
  .nav-panel a { display: block; padding: 14px 0; font-weight: 700; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav-panel a:last-of-type { border-bottom: 0; }
  .nav-panel .btn { display: flex; justify-content: center; margin-top: 12px; width: 100%; padding: 15px 26px; border-bottom: 0; font-size: 1rem; }
}
@media (min-width: 921px) { .nav-panel { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse 120% 90% at 50% 0%, #FBF8F3 0%, var(--cream) 55%, #EEE7DC 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 65% at 24% 48%, rgba(246, 242, 236, 0.94) 0%, rgba(246, 242, 236, 0.6) 45%, rgba(246, 242, 236, 0) 75%),
    radial-gradient(circle 420px at 80% 42%, rgba(255, 107, 87, 0.18) 0%, rgba(255, 107, 87, 0) 70%),
    linear-gradient(180deg, rgba(246, 242, 236, 0) 70%, rgba(246, 242, 236, 0.9) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(48px, 8vh, 96px);
  min-height: inherit;
}
.hero-copy { max-width: 820px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: var(--radius-pill);
  background: rgba(255, 253, 250, 0.85); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 0.8125rem; font-weight: 700; color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 87, 0.18); }
.hero h1 { max-width: 15ch; font-size: clamp(2.75rem, 7vw, 6rem); }
.hero h1 .accent { color: var(--coral-deep); }
.hero .lede { margin-top: 28px; font-size: clamp(1.125rem, 1.7vw, 1.375rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 253, 250, 0.74);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  border: 1px solid rgba(20, 33, 61, 0.09); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 4px rgba(20, 33, 61, 0.04), 0 24px 48px -20px rgba(20, 33, 61, 0.22);
}
.fact { position: relative; padding: 22px 26px 22px 54px; }
.fact + .fact { border-left: 1px solid rgba(20, 33, 61, 0.09); }
.fact::before {
  content: ""; position: absolute; left: 26px; top: 28px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 107, 87, 0.16);
}
.fact strong { display: block; font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; }
.fact span { display: block; color: var(--ink-2); font-size: 0.9375rem; margin-top: 4px; }
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-inner { gap: 48px; }
  .hero-facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(20, 33, 61, 0.09); }
  .hero-actions .btn { width: 100%; }
}


/* Mot de l'accueil qui bascule en glitch (lien vers nexus) */
.glitch {
  position: relative; display: inline-block; white-space: nowrap; vertical-align: top;
  color: inherit; cursor: default; outline: none;
  transition: color 0.3s ease, width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.glitch-text { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-shown); position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0;
}
.glitch::before { color: var(--coral); }
.glitch::after { color: #3B5BDB; }
.glitch.is-glitching::before { opacity: 0.85; animation: glitch-a 0.42s steps(2, end) both; }
.glitch.is-glitching::after { opacity: 0.75; animation: glitch-b 0.42s steps(2, end) both; }
.glitch.is-glitching .glitch-text { animation: glitch-jitter 0.42s steps(3, end) both; }
.glitch.is-alt { color: var(--coral-deep); }
.glitch:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 8px; }
@keyframes glitch-a {
  0%   { clip-path: inset(10% 0 62% 0); transform: translate(-4px, -2px); }
  25%  { clip-path: inset(58% 0 12% 0); transform: translate(5px, 1px); }
  50%  { clip-path: inset(28% 0 44% 0); transform: translate(-3px, 2px); }
  75%  { clip-path: inset(72% 0 4% 0);  transform: translate(4px, -1px); }
  100% { clip-path: inset(40% 0 40% 0); transform: translate(0, 0); opacity: 0; }
}
@keyframes glitch-b {
  0%   { clip-path: inset(66% 0 8% 0);  transform: translate(4px, 2px); }
  25%  { clip-path: inset(6% 0 70% 0);  transform: translate(-5px, -1px); }
  50%  { clip-path: inset(46% 0 26% 0); transform: translate(3px, -2px); }
  75%  { clip-path: inset(18% 0 56% 0); transform: translate(-4px, 1px); }
  100% { clip-path: inset(40% 0 40% 0); transform: translate(0, 0); opacity: 0; }
}
@keyframes glitch-jitter {
  0%   { transform: translate(0, 0) skewX(0); }
  33%  { transform: translate(2px, -1px) skewX(-6deg); }
  66%  { transform: translate(-2px, 1px) skewX(4deg); }
  100% { transform: translate(0, 0) skewX(0); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-dark {
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(255, 107, 87, 0.14) 0%, rgba(255, 107, 87, 0) 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(59, 91, 219, 0.16) 0%, rgba(59, 91, 219, 0) 60%),
    var(--navy);
  color: var(--on-navy); border-top: 0 !important;
}
.section-dark + .section { border-top: 0; }
.section-dark .tag { color: var(--coral); }
.section-dark h2, .section-dark h3 { color: var(--on-navy); }
.section-dark .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}
.section-dark .card:hover { border-color: rgba(255, 107, 87, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 60px -24px rgba(0, 0, 0, 0.6); }
.section-dark .step p, .section-dark .principle p { color: var(--on-navy-2); }
.section-dark .step-num { box-shadow: 0 0 0 6px rgba(255, 107, 87, 0.16), 0 8px 20px -6px rgba(255, 107, 87, 0.6); }
.section-dark .aside { background: rgba(255, 255, 255, 0.05); color: var(--on-navy-2); }
.section-dark .principle .icon { background: rgba(255, 107, 87, 0.14); color: var(--coral); }
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h2, .on-navy h3 { color: var(--on-navy); }
.on-navy .lede, .on-navy .muted { color: var(--on-navy-2); }
.on-navy.section + .section, .section + .on-navy.section { border-top: 0; }

/* ---------- Cartes ---------- */
.card {
  background: linear-gradient(180deg, #FFFEFC 0%, var(--card) 100%);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-s);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
.card:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow); border-color: transparent; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Offres ---------- */
.offer { display: flex; flex-direction: column; position: relative; }
.offer-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.offer-price { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.offer-price .from { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.offer-price .amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--coral-deep); line-height: 1; }
.offer-price .period { font-size: 0.9375rem; color: var(--ink-2); font-weight: 600; }
.offer-text { margin-top: 18px; color: var(--ink-2); }
.offer-list { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; align-content: start; }
.offer-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; font-weight: 600; }
.offer-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--coral-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.5' fill='none' stroke='%23B5402D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.offer.featured {
  background: radial-gradient(ellipse 90% 60% at 100% 0%, rgba(255, 107, 87, 0.22) 0%, rgba(255, 107, 87, 0) 60%), var(--navy);
  color: var(--on-navy); border-color: var(--navy);
  box-shadow: 0 2px 4px rgba(20, 33, 61, 0.1), 0 30px 60px -20px rgba(20, 33, 61, 0.55);
  transform: translateY(-10px);
}
.offer.featured:hover { transform: translateY(-15px); }
.offer.featured .offer-text, .offer.featured .offer-price .from, .offer.featured .offer-price .period { color: var(--on-navy-2); }
.offer.featured .offer-price .amount { color: var(--coral); }
.offer.featured .offer-list { border-top-color: rgba(255, 255, 255, 0.14); }
.offer.featured .offer-list li::before {
  background-color: rgba(255, 107, 87, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.5' fill='none' stroke='%23FF6B57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.offer-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--coral); color: var(--navy); padding: 6px 10px; border-radius: var(--radius-pill);
}
.offers-note { margin-top: 24px; color: var(--ink-2); font-size: 0.9375rem; max-width: 70ch; }
.more {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background: var(--cream-2); border: 1px solid var(--line);
}
.more h3 { font-size: 1.25rem; }
.more p { color: var(--ink-2); margin-top: 6px; max-width: 60ch; }

/* ---------- Méthode ---------- */
.steps { counter-reset: step; }
.step { position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral); color: var(--navy);
  font-weight: 800; font-size: 1.125rem; margin-bottom: 20px;
}
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 0.9875rem; }
.aside {
  margin-top: 28px; display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 24px; border-left: 4px solid var(--coral); background: var(--card); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ink-2); max-width: 72ch;
}
.principles { margin-top: clamp(48px, 6vw, 80px); }
.principles h3.h2 { margin-bottom: 32px; }
.principle .icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--coral-soft); color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.principle .icon svg { width: 24px; height: 24px; }
.principle p { margin-top: 10px; color: var(--ink-2); font-size: 0.9875rem; }

/* ---------- Équipe ---------- */
.member { display: flex; flex-direction: column; gap: 18px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); color: var(--on-navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
}
.member h3 { font-size: 1.25rem; }
.member p { color: var(--ink-2); margin-top: 4px; }
.team-text { margin-top: 32px; max-width: 72ch; color: var(--ink-2); }

/* ---------- Réalisations ---------- */
.work-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
.work-featured { grid-row: span 2; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.work-shot { background: var(--cream-2); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; overflow: hidden; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-body { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.work-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.work-place { color: var(--ink-3); font-weight: 600; font-size: 0.9375rem; }
.work-body p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 0.8125rem; font-weight: 700; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--cream-2); color: var(--ink-2); }
.work-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--coral-deep); }
.work-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.work-link:hover svg { transform: translateX(4px); }
.badge-soon { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); background: var(--coral-soft); padding: 6px 10px; border-radius: var(--radius-pill); }
.work-yours { background: var(--navy); color: var(--on-navy); border-color: var(--navy); display: flex; flex-direction: column; gap: 14px; }
.work-yours p { color: var(--on-navy-2); }
.work-yours .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 920px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-featured { grid-row: auto; }
}


/* Projets : inclinaison 3D + lumière corail qui suit le curseur (pilotées en JS, voir main.js) */
.project {
  --mx: 50%; --my: 50%; --on: 0;
  position: relative; cursor: pointer; outline: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
  transition: box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}
.project.card:hover { transform: none; }
/* contour lumineux : un dégradé corail centré sur le curseur, visible seulement dans la bordure */
.project::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: var(--radius); padding: 2.5px;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 107, 87, 1), rgba(255, 107, 87, 0.55) 30%, rgba(255, 107, 87, 0.12) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: var(--on);
}
/* lueur douce à l'intérieur, sous le curseur */
.project::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: var(--radius);
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(255, 107, 87, 0.18), rgba(255, 107, 87, 0) 60%);
  mix-blend-mode: multiply; opacity: var(--on);
}
.work-yours.project::after { mix-blend-mode: screen; }
.project.is-on {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(255, 107, 87, 0.15), 0 30px 70px -28px rgba(255, 107, 87, 0.45), 0 26px 60px -24px rgba(20, 33, 61, 0.28);
}
.project .work-shot { overflow: hidden; }
.project .work-shot img { will-change: transform; }
.project h3 { transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.project.is-on h3 { color: var(--coral-deep); }
.project .work-link svg { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.project.is-on .work-link svg { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%2314213D' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 16px; background-position: center; background-repeat: no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Contact ---------- */
.contact { background: var(--coral); color: var(--navy); padding-bottom: calc(var(--section) + clamp(40px, 6vw, 80px)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact .tag { color: var(--navy); }
.contact .tag::before { background: var(--navy); }
.contact h2 { max-width: 14ch; }
.contact-questions { margin-top: 28px; display: grid; gap: 10px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 600; }
.contact-questions li { display: flex; gap: 12px; align-items: flex-start; }
.contact-questions li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); margin-top: 0.6em; }
.contact-note { margin-top: 20px; color: rgba(20, 33, 61, 0.78); max-width: 48ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-reply { margin-top: 18px; font-size: 0.9375rem; font-weight: 600; color: rgba(20, 33, 61, 0.78); }
.form-card { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: 0 24px 60px rgba(20, 33, 61, 0.18); }
.form-card h3 { font-size: 1.25rem; margin-bottom: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 0.9375rem; }
.field label small { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 33, 61, 0.10); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.form-privacy { font-size: 0.8125rem; color: var(--ink-3); max-width: 32ch; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .contact-actions .btn { width: 100%; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 32px; }
.footer-brand .logo { color: var(--on-navy); }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-col h4 { color: var(--on-navy); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a:hover { color: var(--on-navy); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pages simples (légal, merci, 404) ---------- */
.page { padding: clamp(56px, 8vw, 96px) 0; }
.page-inner { max-width: 760px; }
.page h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.page .updated { margin-top: 16px; color: var(--ink-3); font-size: 0.9375rem; }
.page .intro { margin-top: 28px; font-size: 1.125rem; color: var(--ink-2); }
.page h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 12px; }
.page p { color: var(--ink-2); }
.page p + p { margin-top: 12px; }
.page a:not(.btn) { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }
.page .btn { margin-top: 40px; }
.page-center { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.page-center .page-inner { margin: 0 auto; }
.page-center .lede { margin: 20px auto 0; }


/* ---------- Montagnes (touche suisse) ---------- */
.hero-alps {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 1600 / 520; min-height: 220px;
  pointer-events: none; z-index: 0;
}
.hero-alps .alps-layer { transform: translate3d(0, 0, 0); will-change: transform; }
.site-footer { position: relative; }
.footer-alps { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(48px, 7vw, 96px); pointer-events: none; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 8px; }
.swiss-flag { width: 16px; height: 16px; flex: none; }


/* ---------- Méthode : paysage nocturne ---------- */
.night {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #070E22 0%, #0E1834 38%, #172649 72%, #22325A 100%);
  padding-bottom: calc(var(--section) + clamp(90px, 14vw, 260px));
}
.night-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.night-moon {
  position: absolute; z-index: 0; pointer-events: none;
  top: clamp(56px, 8vw, 110px); right: clamp(24px, 10vw, 180px);
  width: clamp(56px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 38%, rgba(200, 206, 220, 0.55) 0 9%, transparent 10%),
    radial-gradient(circle at 62% 64%, rgba(200, 206, 220, 0.45) 0 7%, transparent 8%),
    radial-gradient(circle at 58% 30%, rgba(200, 206, 220, 0.35) 0 5%, transparent 6%),
    radial-gradient(circle at 40% 40%, #FFFDF6 0%, #F1ECDF 60%, #DCD6C8 100%);
  box-shadow: 0 0 40px 10px rgba(255, 248, 230, 0.18), 0 0 140px 50px rgba(201, 209, 224, 0.10);
}
.night-alps { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 1600 / 300; min-height: 150px; z-index: 0; pointer-events: none; }
.night-alps .village { fill: #FFB37A; filter: drop-shadow(0 0 3px rgba(255, 160, 100, 0.9)); animation: village 6s ease-in-out infinite; }
@keyframes village { 0%, 100% { opacity: 0.95; } 45% { opacity: 0.55; } 55% { opacity: 1; } }
.night-content { position: relative; z-index: 1; }
.night .card, .night .aside {
  background: linear-gradient(180deg, rgba(31, 46, 80, 0.72), rgba(20, 33, 61, 0.62));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ---------- La preuve par notre site ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric {
  background: linear-gradient(180deg, #FFFEFC 0%, var(--card) 100%);
  border: 1px solid rgba(20, 33, 61, 0.08); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-s);
  padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 6px;
}
.metric-value { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.metric-value small { font-size: 0.4em; letter-spacing: 0; color: var(--ink-3); font-weight: 700; }
.metric:first-child .metric-value b { color: var(--coral-deep); }
.metric-label { color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; }
.compare { margin-top: 20px; }
.compare-row + .compare-row { margin-top: 18px; }
.compare-label { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; margin-bottom: 8px; }
.compare-label span { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { height: 14px; border-radius: var(--radius-pill); background: var(--cream-2); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1); }
.bar-us { background: linear-gradient(90deg, var(--coral), #FF9A8B); box-shadow: 0 0 12px rgba(255, 107, 87, 0.6); min-width: 0; }
.bar-web { background: linear-gradient(90deg, #8A94A8, #5B6478); }
.compare-ratio { margin-top: 26px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.compare-ratio b { color: var(--coral-deep); font-variant-numeric: tabular-nums; }
.compare-why { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }
.compare-source { margin-top: 14px; font-size: 0.8125rem; }
.compare-source a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 920px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Méthode : trait corail qui relie les étapes au défilement ---------- */
.steps { position: relative; }
.steps-line { position: absolute; z-index: 0; pointer-events: none; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.steps-line .fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), #FFB0A3);
  box-shadow: 0 0 14px rgba(255, 107, 87, 0.7);
  transform-origin: 0 0; transform: scaleX(0);
}
.steps-line.vertical .fill { background: linear-gradient(180deg, var(--coral), #FFB0A3); transform: scaleY(0); }
.section-dark .steps .card { position: relative; z-index: 1; }
.step-num { position: relative; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease, background 0.4s; }
.section-dark .step-num { background: #2A3858; color: var(--on-navy-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.section-dark .step.is-reached .step-num { background: var(--coral); color: var(--navy); transform: scale(1.08); box-shadow: 0 0 0 7px rgba(255, 107, 87, 0.18), 0 10px 26px -6px rgba(255, 107, 87, 0.75); }
.section-dark .step.is-reached { border-color: rgba(255, 107, 87, 0.35); }
.section-dark .steps.is-vertical .card { background: #1D2B4B; }
.no-js .section-dark .step-num { background: var(--coral); color: var(--navy); }


/* ---------- Mises en page variées (passe anti-« template ») ---------- */
/* En-tête en deux colonnes : titre à gauche, texte à droite */
.split-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.split-head .lede { margin: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; gap: 16px; } }

/* Règles de la méthode : liste éditoriale, pas de cartes */
.rules { margin-top: clamp(56px, 7vw, 96px); }
.rules-title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.rules-list { list-style: none; }
.rule { display: grid; grid-template-columns: 72px minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.rule:first-child { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rule-num { font-weight: 800; color: var(--coral); font-size: 0.9375rem; letter-spacing: 0.08em; }
.rule h3 { font-size: 1.375rem; }
.rule p { color: var(--on-navy-2); }
@media (max-width: 760px) { .rule { grid-template-columns: 48px 1fr; } .rule p { grid-column: 2; } }

/* Équipe : texte à gauche, personnes en liste à droite, grande photo optionnelle */
.team-photo { margin: 0 0 clamp(40px, 5vw, 64px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-photo img { width: 100%; height: auto; display: block; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.team-grid h2 { max-width: 14ch; }
.team .team-text { margin-top: 24px; max-width: 52ch; }
.people { list-style: none; }
.person { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.person:first-child { padding-top: 6px; }
.person .avatar { width: 56px; height: 56px; font-size: 1.0625rem; }
.person p { color: var(--ink-2); font-size: 1.0625rem; }
.person strong { color: var(--navy); font-weight: 800; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }

/* Étude de cas : grande capture à gauche qui déborde, texte à droite */
.case-head { margin-bottom: clamp(28px, 4vw, 44px); }
.case-head h2 { max-width: none; }
.case-meta { margin-top: 10px; color: var(--ink-2); font-weight: 600; }
.case-meta a { color: var(--coral-deep); display: inline-flex; align-items: center; gap: 6px; }
.case-meta a svg { width: 14px; height: 14px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.case-shot { margin: 0 0 0 calc(-1 * clamp(0px, 4vw, 64px)); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-2); }
.case-shot img { width: 100%; height: auto; display: block; }
.case-intro { font-size: 1.1875rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.case-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.case-block h3 { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 6px; }
.case-block p { color: var(--ink-2); }
.case-figure { margin-top: 22px; font-size: 1.125rem; color: var(--ink-2); }
.case-figure b { display: block; font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.case-next { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.case-next span { color: var(--navy); font-weight: 700; }
.case-next a { color: var(--coral-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.case-next a svg { width: 14px; height: 14px; }
@media (max-width: 920px) { .case-grid { grid-template-columns: 1fr; } .case-shot { margin-left: 0; } }

/* Preuve : terminal (seule exception à Manrope : police à chasse fixe du système, rien à télécharger) */
.proof-grid2 { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.proof-grid2 h2 { max-width: 12ch; }
.proof-grid2 .lede { margin-top: 18px; }
.term {
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-family: var(--mono); font-size: 0.9375rem; line-height: 1.7;
  background: #0B1430; color: #C9D1E0; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(20, 33, 61, 0.1), 0 34px 70px -28px rgba(20, 33, 61, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.term-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #111C3B; color: #7F8AA3; font-size: 0.8125rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.term-lights { display: inline-flex; gap: 7px; }
.term-lights i { width: 11px; height: 11px; border-radius: 50%; background: #2A3858; }
.term-lights i:first-child { background: var(--coral); }
.term-body { padding: 22px 24px 24px; }
.term-cmd { color: #E8EDF7; margin-bottom: 12px; }
.term-prompt { color: var(--coral); margin-right: 6px; }
.term-row { display: flex; align-items: baseline; gap: 10px; }
.term-key { color: #9AA6BF; white-space: nowrap; }
.term-dots { flex: 1; border-bottom: 2px dotted rgba(201, 209, 224, 0.25); transform: translateY(-5px); min-width: 20px; }
.term-val { color: #FFFFFF; white-space: nowrap; font-variant-numeric: tabular-nums; }
.term-val b { font-weight: 700; color: #FFB0A3; }
.term-compare { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(201, 209, 224, 0.18); display: grid; gap: 10px; }
.term-bar-row { display: grid; grid-template-columns: 12.5em 1fr auto; gap: 12px; align-items: center; }
.term .bar { height: 10px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); }
.term .bar-fill { border-radius: 2px; }
.term .bar-web { background: repeating-linear-gradient(90deg, #5B6478 0 6px, transparent 6px 8px); }
.term .bar-us { background: repeating-linear-gradient(90deg, var(--coral) 0 6px, transparent 6px 8px); box-shadow: none; }
.term-out { margin-top: 16px; color: #E8EDF7; }
.term-out b { color: var(--coral); }
.term-caret { display: inline-block; width: 0.6em; height: 1.1em; margin-left: 6px; vertical-align: text-bottom; background: var(--coral); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.term-na { display: none; margin-top: 14px; color: #9AA6BF; }
.no-measure .term-na, .no-js .term-na { display: block; }
.no-measure .term-row, .no-measure .term-compare, .no-measure .term-out, .no-js .term-row, .no-js .term-compare, .no-js .term-out { display: none; }
@media (max-width: 920px) { .proof-grid2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .term { font-size: 0.8125rem; } .term-bar-row { grid-template-columns: 1fr auto; } .term-bar-row .bar { grid-column: 1 / -1; grid-row: 2; } }

/* FAQ : titre à gauche (fixe au défilement), questions à droite */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.faq-side .muted { margin-top: 14px; }
.faq-side a { color: var(--coral-deep); font-weight: 700; white-space: nowrap; }
.faq-grid .faq-list { max-width: none; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }


/* ---------- Outils sur mesure ---------- */
.tools-sec { background: linear-gradient(180deg, var(--cream) 0%, #EFE8DD 100%); }
.tools-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tools-grid h2 { max-width: 13ch; }
.tools-grid .lede { margin-top: 20px; }
.tools-list { list-style: none; margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
[data-tool="factures"] { --acc: var(--t-factures); --acc-soft: var(--t-factures-soft); --acc-ink: var(--t-factures-ink); }
[data-tool="planning"] { --acc: var(--t-planning); --acc-soft: var(--t-planning-soft); --acc-ink: var(--t-planning-ink); }
[data-tool="tableau"]  { --acc: var(--t-tableau);  --acc-soft: var(--t-tableau-soft);  --acc-ink: var(--t-tableau-ink); }
[data-tool="clients"]  { --acc: var(--t-clients);  --acc-soft: var(--t-clients-soft);  --acc-ink: var(--t-clients-ink); }
[data-tool="rh"]       { --acc: var(--t-rh);       --acc-soft: var(--t-rh-soft);       --acc-ink: var(--t-rh-ink); }
[data-tool="autre"]    { --acc: var(--t-autre);    --acc-soft: var(--t-autre-soft);    --acc-ink: var(--t-autre-ink); }
.tool { position: relative; padding: 14px 14px 15px; border-radius: var(--radius-s); border: 1px solid transparent; transition: background 0.25s, border-color 0.25s; }
.tool::before { content: ""; position: absolute; left: 14px; right: 14px; top: -3px; border-top: 1px solid var(--line); }
.tool h3 { font-size: 1.0625rem; }
.tool-btn { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; font: inherit; color: inherit; font-weight: 700; }
.tool-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; transition: transform 0.25s var(--ease); }
.tool-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* tout le bloc est cliquable */
.tool:hover { background: rgba(255, 253, 250, 0.6); }
.tool:has(.tool-btn:focus-visible) { outline: 2px solid var(--acc-ink); outline-offset: 2px; }
.tool-btn[aria-pressed="true"] { font-weight: 800; }
.tool-btn[aria-pressed="true"]::before { transform: scale(1.6); }
.tool:has(.tool-btn[aria-pressed="true"]) { background: var(--acc-soft); border-color: color-mix(in srgb, var(--acc) 35%, transparent); }
.tool:has(.tool-btn[aria-pressed="true"])::before, .tool:has(.tool-btn[aria-pressed="true"]) + .tool::before { opacity: 0; }
.tool p { margin-top: 4px; padding-left: 18px; color: var(--ink-2); font-size: 0.9375rem; }
.tool[data-tool="autre"] .tool-btn::before { background: transparent; border: 2px dashed var(--acc); width: 10px; height: 10px; box-sizing: border-box; }
.tools-proof { margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-s); background: rgba(255, 253, 250, 0.7); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.9375rem; }
.tools-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.tools-cta span { color: var(--ink-3); font-weight: 600; font-size: 0.9375rem; }
@media (max-width: 960px) { .tools-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tools-list { grid-template-columns: 1fr; } }

/* Maquette d'interface, dessinée en HTML (pas d'image) */
.mock { margin: 0; position: sticky; top: 110px; }
.mock-win { border-radius: 16px; overflow: hidden; background: #FFFFFF; border: 1px solid rgba(20, 33, 61, 0.1);
  box-shadow: 0 2px 4px rgba(20, 33, 61, 0.06), 0 40px 80px -30px rgba(20, 33, 61, 0.45); transform: rotate(-1.2deg); }
.mock-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #F3EFE8; border-bottom: 1px solid var(--line); font-size: 0.75rem; color: var(--ink-3); font-family: ui-monospace, Menlo, Consolas, monospace; }
.mock-top .term-lights i { background: #D9D2C6; }
.mock-top .term-lights i:first-child { background: var(--coral); }
.mock-app { display: grid; grid-template-columns: 148px 1fr; min-height: 372px; }
.mock-nav { list-style: none; background: var(--navy); padding: 16px 10px; display: grid; gap: 4px; align-content: start; }
.mock-nav-btn { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 8px 10px 8px 12px; border-radius: 8px;
  color: #9AA6BF; font-size: 0.8125rem; font-weight: 600; border-left: 3px solid transparent; transition: background 0.2s, color 0.2s; }
.mock-nav-btn:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
.mock-nav-btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 1px; }
.mock-nav-btn[aria-pressed="true"] { color: #FFFFFF; background: color-mix(in srgb, var(--acc) 22%, transparent); border-left-color: var(--acc); }
.mock-main { padding: 18px 18px 14px; min-width: 0; }
.mock-screen { animation: mock-in 0.25s var(--ease); }
@keyframes mock-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-head h4 { font-size: 1.125rem; font-weight: 800; }
.mock-btn { background: var(--navy); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.mock-kpi { margin: 14px 0 10px; padding: 12px 14px; border-radius: 12px; background: var(--acc-soft); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
.mock-kpi span { font-size: 0.75rem; color: var(--ink-2); font-weight: 600; }
.mock-kpi b { grid-row: 2; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; color: var(--acc-ink); }
.mock-spark { grid-row: 1 / 3; grid-column: 2; width: 96px; height: 34px; color: var(--acc); }
.mock-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.mock-table td { padding: 9px 6px; border-bottom: 1px solid #EFEAE2; white-space: nowrap; }
.mock-table td:nth-child(2) { white-space: normal; color: var(--ink-2); }
.mock-table .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.75rem; color: var(--ink-3); }
.mock-table .num { color: var(--navy); font-weight: 700; text-align: right; }
.chip { display: inline-block; font-size: 0.6875rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.chip.paid { background: #E3F4EA; color: #1F7A4A; }
.chip.wait { background: #EEF0F5; color: #4A5568; }
.chip.late { background: var(--coral-soft); color: var(--coral-deep); }
.chip.acc { background: var(--acc-soft); color: var(--acc-ink); }
.mock-badge { display: inline-block; font-style: normal; font-size: 0.625rem; font-weight: 800; letter-spacing: 0.02em; padding: 2px 6px; border-radius: 999px; background: var(--acc-ink); color: #FFFFFF; }
.mock-label { margin: 14px 0 6px; font-size: 0.6875rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

/* Planning */
.mock-plan { width: 100%; margin-top: 14px; border-collapse: separate; border-spacing: 3px 5px; table-layout: fixed; font-size: 0.6875rem; }
.mock-plan thead th { font-weight: 700; color: var(--ink-3); text-align: center; padding-bottom: 2px; }
.mock-plan thead td, .mock-plan tbody th { width: 58px; }
.mock-plan tbody th { text-align: left; font-weight: 700; color: var(--ink); font-size: 0.75rem; }
.slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 40px; padding: 4px 2px; border-radius: 7px; font-weight: 700; color: var(--acc-ink); text-align: center; white-space: nowrap; }
.slot-a { background: var(--acc-soft); }
.slot-b { background: #FFFFFF; border: 1.5px solid var(--acc); }
.slot-c { background: var(--acc-soft); box-shadow: inset 3px 0 0 var(--acc); }
.slot-free { background: repeating-linear-gradient(135deg, #F4F1EC 0 4px, #FFFFFF 4px 8px); }
.slot-swap { flex-direction: row; flex-wrap: wrap; gap: 3px 6px; background: #FFFFFF; border: 1.5px dashed var(--acc-ink); }

/* Tableau de bord */
.mock-stats { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-stat { padding: 10px 11px; border-radius: 10px; background: var(--cream); display: grid; gap: 2px; }
.mock-stat span { font-size: 0.6875rem; color: var(--ink-2); font-weight: 600; }
.mock-stat b { white-space: nowrap; font-size: clamp(0.9375rem, 1.4vw, 1.125rem); font-weight: 800; letter-spacing: -0.02em; }
.mock-stat small { font-size: 0.6875rem; font-weight: 700; color: var(--acc-ink); }
.mock-stat.is-main { background: var(--acc-soft); }
.mock-stat.is-main b { color: var(--acc-ink); }
.mock-chart { margin-top: 10px; padding: 12px 14px 8px; border: 1px solid #EFEAE2; border-radius: 12px; }
.mock-chart > span { font-size: 0.75rem; font-weight: 700; color: var(--ink-2); }
.mock-bars { list-style: none; margin-top: 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 130px; }
.mock-bars li { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; }
.mock-bars i { width: 100%; max-width: 30px; height: var(--h); border-radius: 6px 6px 3px 3px; background: color-mix(in srgb, var(--acc) 40%, #FFFFFF); }
.mock-bars .is-now i { background: var(--acc); }
.mock-bars span { font-size: 0.625rem; font-weight: 700; color: var(--ink-3); }
.mock-bars .is-now span { color: var(--acc-ink); }

/* Clients et chantiers */
.mock-client { margin-top: 14px; display: grid; gap: 2px; font-size: 0.75rem; color: var(--ink-2); }
.mock-client b { font-size: 0.9375rem; color: var(--ink); }
.mock-site { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--acc-soft); display: grid; gap: 6px; font-size: 0.75rem; color: var(--ink-2); }
.mock-site-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mock-site-top b { font-size: 0.875rem; color: var(--ink); }
.mock-progress { height: 8px; border-radius: 999px; background: #FFFFFF; overflow: hidden; }
.mock-progress i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: var(--acc); }
.mock-docs { list-style: none; display: grid; gap: 2px; font-size: 0.75rem; }
.mock-docs li { display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-bottom: 1px solid #EFEAE2; }
.mock-docs svg { width: 15px; height: 15px; color: var(--acc-ink); flex: none; }
.mock-docs span { font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-docs small { color: var(--ink-3); }

/* RH */
.mock-counter b small { font-size: 0.75rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.mock-req td:nth-child(1) { font-weight: 700; color: var(--ink); }
.mock-req td:nth-child(3) { text-align: right; }
.mock-tags { list-style: none; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.mock-tags li { font-size: 0.6875rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); color: var(--acc-ink); }

/* Autre chose */
.mock-empty { margin-top: 14px; min-height: 270px; padding: 24px; border: 2px dashed var(--line-strong); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 0.8125rem; color: var(--ink-2); }
.mock-empty b { font-size: 1.0625rem; color: var(--ink); }
.mock-empty span:not(.mock-plus) { max-width: 30ch; }
.mock-plus { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); font-size: 1.75rem; font-weight: 500; line-height: 1; border: 2px dashed var(--acc); }
.mock-empty .btn { margin-top: 8px; padding: 11px 18px; font-size: 0.875rem; }

.mock figcaption { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-3); text-align: right; }
@media (max-width: 1180px) and (min-width: 961px) { #ecran-factures .mock-table td:nth-child(1) { display: none; } }
@media (max-width: 960px) { .mock { position: static; scroll-margin-top: 110px; } .mock-win { transform: none; } }
@media (max-width: 520px) {
  .mock-app { grid-template-columns: 1fr; } .mock-nav { display: none; } .mock-table td:nth-child(1) { display: none; }
  .mock-req td:nth-child(1) { display: table-cell; } .mock-req td:nth-child(2) { display: none; }
  .mock-plan thead td, .mock-plan tbody th { width: 48px; } .slot { min-height: 34px; font-size: 0.625rem; }
  .mock-stats { grid-template-columns: 1fr 1fr; } .mock-stat.is-main { grid-column: 1 / -1; }
}

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .hero-canvas, .hero-veil, .nav-panel, .btn, .contact form { display: none !important; }
  body { background: #fff; color: #000; }
  .on-navy, .contact, .site-footer { background: #fff !important; color: #000 !important; }
}
