/* =========================================================
   nicolasguilhot.com — feuille de style principale
   Mobile-first · palette gris / blanc / orange
   ========================================================= */

/* Polices hébergées sur le site (aucun appel à Google) — Inter et Sora, licence SIL Open Font License 1.1 */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("fonts/sora-latin.woff2") format("woff2");
  font-weight: 600 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-2: #f2f0ec;
  --line: #e4e0da;
  --line-strong: #d3cec6;
  --ink: #1c1f23;
  --ink-2: #3a4049;
  --muted: #5c636d;

  --accent: #c2410c;          /* boutons & texte — contraste AA sur blanc */
  --accent-hover: #9a3412;
  --accent-bright: #f97316;   /* décoratif */
  --accent-soft: #fff0e6;

  --dark: #1c1f23;
  --dark-2: #262a30;
  --dark-line: #3a3f47;
  --dark-muted: #b5bac2;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 31, 35, .06), 0 2px 8px rgba(28, 31, 35, .04);
  --shadow-md: 0 10px 28px rgba(28, 31, 35, .09);
  --shadow-lg: 0 24px 60px rgba(28, 31, 35, .14);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-bright); color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; min-height: 48px;
  font: 600 .98rem/1.2 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); }
.btn-accent:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); box-shadow: 0 10px 26px rgba(194, 65, 12, .3); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn-dark:hover { --btn-bg: #000; }
.btn-ghost { --btn-bg: transparent; }
.btn-ghost:hover { --btn-bg: var(--surface); border-color: var(--ink); }
.btn-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn-light:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 1em 1.7em; font-size: 1.03rem; }
.btn-sm { min-height: 44px; padding: .6em 1.15em; font-size: .92rem; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 247, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(28,31,35,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.05rem/1 var(--font-head); color: var(--ink); text-decoration: none; letter-spacing: -.02em;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 1rem;
  position: relative; transition: transform .3s var(--ease);
}
.logo-mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent-bright); border: 2px solid var(--bg);
}
.logo:hover .logo-mark { transform: rotate(-6deg); }
.logo-tld { color: var(--accent); }

.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 12px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile (panneau déroulant) */
.nav-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  display: flex; flex-direction: column; gap: 18px;
  padding: 20px 20px 28px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(28,31,35,.08);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .25s, visibility .25s;
}
.nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }
.nav-links { list-style: none; display: flex; flex-direction: column; }
.nav-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  font: 600 1.1rem var(--font-head); color: var(--ink); text-decoration: none;
}
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-contact { display: flex; gap: 10px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: var(--ink); background: var(--surface); border: 1.5px solid var(--line);
  transition: transform .25s var(--ease), border-color .2s, color .2s, background-color .2s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-contact-label { display: inline; font-size: .92rem; color: var(--muted); align-self: center; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; flex-direction: row; align-items: center; gap: 22px;
    padding: 0; background: none; border: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible;
  }
  .nav-links { flex-direction: row; gap: 4px; }
  .nav-links a {
    position: relative; padding: 8px 14px; border: 0;
    font: 500 .97rem var(--font-body); color: var(--ink-2);
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
    background: var(--accent-bright); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links a[aria-current="page"] { color: var(--ink); }
  .nav-contact { padding-left: 18px; border-left: 1px solid var(--line); }
  .nav-contact-label { display: none; }
  .icon-btn { width: 40px; height: 40px; }
}

/* ---------- Sections génériques ---------- */
.section { padding: 76px 0; position: relative; }
.section-alt { background: var(--surface-2); }
.section-white { background: var(--surface); }
.section-dark { background: var(--dark); color: var(--dark-muted); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

@media (min-width: 768px) { .section { padding: 104px 0; } }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: var(--dark-muted); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.section-head-row .section-head { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent-bright); border-radius: 2px; }
.eyebrow .num { color: var(--muted); font-variant-numeric: tabular-nums; }
.section-dark .eyebrow { color: #fdba74; }
.section-dark .eyebrow .num { color: var(--dark-muted); }
.center .eyebrow { justify-content: center; }

.accent-text { color: var(--accent); }
.hl {
  background: linear-gradient(transparent 62%, rgba(249, 115, 22, .28) 62%, rgba(249, 115, 22, .28) 92%, transparent 92%);
  padding: 0 .08em;
}

/* Motifs décoratifs */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(28,31,35,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28,31,35,.055) 1px, transparent 1px);
  background-size: 44px 44px;
}
.bg-dots { background-image: radial-gradient(rgba(28,31,35,.13) 1px, transparent 1.2px); background-size: 18px 18px; }
.section-dark.bg-dots { background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px); }

/* ---------- Hero ---------- */
/* Téléphone et tablette : le texte, puis une pile de sites qui s'étale en arrivant à l'écran.
   Ordinateur : le haut de page reste en place et la pile s'étale autour du titre pendant le défilement.
   L'avancement va de 0 (pile) à 1 (étalée) : variable --p, calculée par main.js (1 sans JavaScript). */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.js .hero { --p: 0; }
.hero-stage { position: relative; padding: 56px 0 64px; }
.hero .bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute; width: 520px; height: 520px; right: -140px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.22), transparent 65%); pointer-events: none;
}
.hero-copy { position: relative; z-index: 20; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .88rem; color: var(--ink-2);
}
.hero-badge .dot {
  display: inline-grid; place-items: center; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .78rem;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: .93rem; color: var(--ink-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--accent); }

/* Fenêtre de navigateur (cartes de la pile) */
.browser {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-dots i:first-child { background: var(--accent-bright); }
.browser-url {
  flex: 1; padding: 5px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
  font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.float-card {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  font-size: .85rem; color: var(--ink-2); line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
.float-card .fc-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.float-card .fc-icon svg { width: 18px; height: 18px; }
.float-card.fc-2 { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 519px) {
  .float-card { padding: 9px 12px; font-size: .78rem; }
  .float-card .fc-icon { width: 30px; height: 30px; }
}

@media (min-width: 960px) {
  .hero-stage { padding: 84px 0 96px; }
  .hero h1 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); }
}

/* Pile de réalisations : chaque carte va de sa place dans la pile (--sx, --sy, --sr, --ss)
   à sa place dans l'éventail (--ex, --ey, --er) selon --p. Positions en % du cadre .spread (cqw / cqh). */
.spread {
  position: relative; z-index: 1;
  height: clamp(390px, 118vw, 540px); max-width: 600px; margin: 44px auto 0;
  container-type: size; pointer-events: none;
}
.spread-card {
  position: absolute; left: 50%; top: 50%; z-index: var(--z, 1);
  width: var(--w, 50cqw);
  transform:
    translate(-50%, -50%)
    translate(calc(var(--sx) + (var(--ex) - var(--sx)) * var(--p, 1) - var(--mx, 0) * var(--d, 1) * var(--p, 1) * 1.2cqw),
              calc(var(--sy) + (var(--ey) - var(--sy)) * var(--p, 1) - var(--my, 0) * var(--d, 1) * var(--p, 1) * 1.2cqh))
    rotate(calc(var(--sr) + (var(--er) - var(--sr)) * var(--p, 1)))
    scale(calc(var(--ss, .8) + (1 - var(--ss, .8)) * var(--p, 1)));
  will-change: transform;
}
.spread-card .browser { border-radius: 12px; box-shadow: 0 18px 40px rgba(28, 31, 35, .18); }
.spread-card .browser-bar { gap: 8px; padding: 7px 10px; }
.spread-card .browser-dots { gap: 4px; }
.spread-card .browser-dots i { width: 7px; height: 7px; }
.spread-card .browser-url { padding: 2px 8px; border-radius: 6px; font-size: .66rem; line-height: 1.5; }
.spread-card picture, .spread-card img, .spread-card .browser > svg { display: block; width: 100%; height: auto; }
.phone { position: relative; padding: 5px; border-radius: 20px; background: var(--ink); box-shadow: 0 18px 40px rgba(28, 31, 35, .22); }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; z-index: 1; width: 30%; height: 6px; border-radius: 99px; background: var(--ink); transform: translateX(-50%); }
.phone img { border-radius: 15px; }
.spread-card .float-card { white-space: nowrap; }
.spread-card.is-float { width: auto; opacity: clamp(0, calc(var(--p, 1) * 3 - 1), 1); }
.spread-card.is-desktop { display: none; }
.spread-hint { display: none; }

/* Téléphone / tablette : éventail en deux colonnes sous le texte */
.sc-olmo    { --w: 60cqw; --z: 3; --ss: .82; --sx: -2cqw; --sy: 1cqh;  --sr: -9deg; --ex: -17cqw; --ey: -26cqh; --er: -4deg; }
.sc-ardoise { --w: 60cqw; --z: 4; --ss: .82; --sx: 2cqw;  --sy: -1cqh; --sr: 7deg;  --ex: 18cqw;  --ey: -3cqh;  --er: 3deg; }
.sc-tel-olmo    { --w: 23cqw; --z: 6; --ss: .9; --sx: -4cqw; --sy: 2cqh; --sr: -5deg; --ex: -33cqw; --ey: 22cqh; --er: -7deg; }
.sc-tel-ardoise { --w: 23cqw; --z: 7; --ss: .9; --sx: 4cqw;  --sy: 0cqh; --sr: 6deg;  --ex: 34cqw;  --ey: 25cqh; --er: 6deg; }
.sc-vous   { --w: 40cqw; --z: 8; --ss: .9; --sx: 0cqw; --sy: 0cqh; --sr: 2deg; --ex: 0cqw; --ey: 28cqh; --er: -2deg; }
.sc-delai  { --z: 9; --ss: .6; --sx: 0cqw; --sy: 0cqh; --sr: 0deg; --ex: 9cqw;   --ey: -45cqh; --er: 2deg; }
.sc-mobile { --z: 9; --ss: .6; --sx: 0cqw; --sy: 0cqh; --sr: 0deg; --ex: -20cqw; --ey: 46cqh;  --er: -2deg; }

/* Ordinateur : le texte au centre, l'éventail tout autour (souris, pas d'écran tactile) */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .hero-stage {
    display: grid; place-items: center;
    height: calc(100vh - var(--header-h)); min-height: 600px; padding: 0; overflow: hidden;
  }
  .hero .bg-grid {
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 30%, transparent 80%);
            mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 30%, transparent 80%);
  }
  .hero-copy { max-width: 800px; text-align: center; transform: translateY(calc((1 - var(--p, 1)) * -5vh)); }
  /* halo clair derrière le texte : les cartes passent dessous sans gêner la lecture */
  .hero-copy::before {
    content: ""; position: absolute; inset: -6% -5%; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(250, 249, 247, .94) 55%, rgba(250, 249, 247, 0));
  }
  .hero h1 { font-size: clamp(2.7rem, 4.3vw, 4rem); }
  .hero-lead { max-width: 600px; margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-proof { margin: 0; }
  .spread { position: absolute; inset: 0; height: auto; max-width: none; margin: 0; }
  .spread-card.is-desktop { display: block; }

  .sc-olmo        { --w: clamp(200px, 19cqw, 380px); --z: 3; --d: 1;   --ss: .74; --sx: -4cqw; --sy: 43cqh; --sr: -12deg; --ex: -37cqw; --ey: -18cqh; --er: -5deg; }
  .sc-resa        { --w: clamp(170px, 16cqw, 300px); --z: 4; --d: .7;  --ss: .8;  --sx: -2cqw; --sy: 45cqh; --sr: -6deg;  --ex: -32cqw; --ey: 25cqh;  --er: 3deg; }
  .sc-tel-olmo    { --w: clamp(84px, 7.2cqw, 130px); --z: 6; --d: 1.3; --ss: .86; --sx: -7cqw; --sy: 41cqh; --sr: -16deg; --ex: -45cqw; --ey: 6cqh;   --er: -8deg; }
  .sc-ardoise     { --w: clamp(200px, 19cqw, 380px); --z: 3; --d: 1;   --ss: .74; --sx: 4cqw;  --sy: 43cqh; --sr: 11deg;  --ex: 37cqw;  --ey: -16cqh; --er: 5deg; }
  .sc-carte       { --w: clamp(170px, 16cqw, 300px); --z: 4; --d: .7;  --ss: .8;  --sx: 2cqw;  --sy: 45cqh; --sr: 6deg;   --ex: 31cqw;  --ey: 26cqh;  --er: -3deg; }
  .sc-tel-ardoise { --w: clamp(84px, 7.2cqw, 130px); --z: 6; --d: 1.3; --ss: .86; --sx: 7cqw;  --sy: 41cqh; --sr: 15deg;  --ex: 45cqw;  --ey: 4cqh;   --er: 8deg; }
  .sc-vous        { --w: clamp(150px, 12cqw, 240px); --z: 8; --d: .5;  --ss: .8;  --sx: 0cqw;  --sy: 41cqh; --sr: 0deg;   --ex: 0cqw;   --ey: 43cqh;  --er: -2deg; }
  .sc-delai       { --z: 9; --d: .8; --ss: .6; --sx: -3cqw; --sy: 38cqh; --sr: -4deg; --ex: -17cqw; --ey: -40cqh; --er: -3deg; }
  .sc-mobile      { --z: 9; --d: .8; --ss: .6; --sx: 3cqw;  --sy: 38cqh; --sr: 4deg;  --ex: 19cqw;  --ey: -39cqh; --er: 3deg; }
}
/* Écrans d'ordinateur peu hauts : titre plus compact */
@media (min-width: 1024px) and (max-height: 780px) and (hover: hover) and (pointer: fine) {
  .hero h1 { font-size: clamp(2.4rem, 3.6vw, 3.2rem); }
  .hero-lead { margin-bottom: 22px; }
  .hero-actions { margin-bottom: 22px; }
  .hero-proof { display: none; }
}
/* Ordinateur, animations autorisées : le haut de page reste affiché le temps que la pile s'étale */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .hero { height: calc(200vh - var(--header-h)); overflow: visible; }
  .js .hero-stage { position: sticky; top: var(--header-h); }
  .js .spread-hint {
    position: absolute; left: 50%; bottom: 20px; z-index: 30;
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font: 600 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
    opacity: clamp(0, calc(1 - var(--p, 1) * 8), 1); transform: translateX(-50%);
  }
  .js .spread-hint svg { width: 14px; height: 14px; animation: hint 1.6s ease-in-out infinite; }
}
@keyframes hint { 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .js .hero { --p: 1; } }

/* Bandeau de chiffres */
.stats { background: var(--dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 26px 16px; text-align: center; border-color: var(--dark-line); border-style: solid; border-width: 0; }
.stat:nth-child(odd) { border-right-width: 1px; }
.stat:nth-child(-n+2) { border-bottom-width: 1px; }
.stat strong { display: block; font: 700 clamp(1.5rem, 4vw, 2rem)/1.1 var(--font-head); color: #fff; }
.stat strong em { font-style: normal; color: var(--accent-bright); }
.stat span { font-size: .88rem; color: var(--dark-muted); }
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-width: 0 1px 0 0 !important; padding: 34px 16px; }
  .stat:last-child { border-right-width: 0 !important; }
}

/* ---------- Qui suis-je ---------- */
.about { display: grid; gap: 44px; align-items: center; }
.about-card {
  position: relative; padding: 30px; border-radius: var(--radius-lg);
  background: var(--dark); color: var(--dark-muted); overflow: hidden;
}
.about-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 16px 16px;
}
.about-card > * { position: relative; }
.monogram {
  display: grid; place-items: center; width: 88px; height: 88px; border-radius: 24px; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  font: 700 2rem var(--font-head); color: #fff; letter-spacing: -.04em;
  box-shadow: 0 14px 30px rgba(249,115,22,.3);
}
.about-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.about-card .role { font-size: .95rem; margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 500; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
}
.about-card .tag { background: rgba(255,255,255,.06); border-color: var(--dark-line); color: #e5e7eb; }
.about-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--dark-line); }
.about-meta div { font-size: .82rem; }
.about-meta strong { display: block; color: #fff; font: 600 1.05rem var(--font-head); }

.about-text .pitch { font-size: 1.15rem; line-height: 1.75; color: var(--ink-2); border-left: 3px solid var(--accent-bright); padding-left: 20px; margin-bottom: 28px; }
.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
@media (min-width: 900px) { .about { grid-template-columns: .85fr 1.15fr; gap: 72px; } }

/* ---------- Pourquoi me choisir ---------- */
.features { display: grid; gap: 18px; }
.feature {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  overflow: hidden;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature-num {
  position: absolute; top: 18px; right: 22px;
  font: 700 3.4rem/1 var(--font-head); color: var(--surface-2); letter-spacing: -.05em;
}
.feature-icon {
  position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 22px;
  background: var(--accent-soft); color: var(--accent);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { position: relative; font-size: 1.3rem; }
.feature p { color: var(--muted); margin-bottom: 18px; }
.feature-foot { display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: .88rem; font-weight: 600; color: var(--ink); }
.feature-foot svg { width: 16px; height: 16px; color: var(--accent); }
@media (min-width: 820px) { .features { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- Cartes offres ---------- */
.plans { display: grid; gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.plan-name { font: 700 1.35rem var(--font-head); color: var(--ink); margin: 0; }
.plan-sub { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.plan-price strong { font: 700 clamp(2.4rem, 6vw, 2.9rem)/1 var(--font-head); color: var(--ink); letter-spacing: -.04em; }
.plan-price span { color: var(--muted); font-size: .95rem; }
.plan-price-alt { margin: 0 0 6px; font-size: .95rem; color: var(--ink-2); }
.plan-price-alt strong { color: var(--ink); font-family: var(--font-head); }
.plan-tax { margin: 0 0 18px; font-size: .78rem; color: var(--muted); }
.plan-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.plan-meta div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .8rem; color: var(--muted); line-height: 1.35; }
.plan-meta strong { display: block; color: var(--ink); font-size: .95rem; font-family: var(--font-head); }
.plan-list { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; font-size: .96rem; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--accent); }
.plan-list li.is-option { color: var(--muted); }
.plan-list li.is-option svg { color: var(--muted); }
.plan-cta { margin-top: auto; display: grid; gap: 14px; }
.plan-note { font-size: .88rem; color: var(--muted); text-align: center; margin: 0; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.plan-note a { font-weight: 600; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  background: var(--surface-2); color: var(--ink-2); white-space: nowrap;
}
.badge-accent { background: var(--accent-bright); color: #1c1f23; }

.plan.featured { background: var(--dark); border-color: var(--dark); color: var(--dark-muted); box-shadow: var(--shadow-lg); }
.plan.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 100% 0, rgba(249,115,22,.25), transparent 50%);
}
.plan.featured > * { position: relative; }
.plan.featured .plan-name, .plan.featured .plan-price strong { color: #fff; }
.plan.featured .plan-sub, .plan.featured .plan-price span, .plan.featured .plan-tax { color: var(--dark-muted); }
.plan.featured .plan-price-alt { color: #e5e7eb; }
.plan.featured .plan-price-alt strong { color: #fff; }
.plan.featured .plan-meta div { background: rgba(255,255,255,.07); color: var(--dark-muted); }
.plan.featured .plan-meta strong { color: #fff; }
.plan.featured .plan-list svg { color: var(--accent-bright); }
.plan.featured .plan-list li { color: #e5e7eb; }
.plan.featured .plan-note { color: var(--dark-muted); border-color: var(--dark-line); }
.plan.featured .plan-note a { color: #fdba74; }
.plan.featured .btn-accent { --btn-bg: var(--accent-bright); --btn-bd: var(--accent-bright); --btn-fg: #1c1f23; }
.plan.featured .btn-accent:hover { --btn-bg: #fb923c; --btn-bd: #fb923c; }

/* Aperçu offres (accueil) : plus compact */
.plans-preview .plan-list { gap: 8px; font-size: .93rem; }

@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plans-full .plan.featured { margin: -14px 0 14px; }
}

.plans-extra { display: grid; gap: 14px; margin-top: 34px; }
.plans-extra div { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: .93rem; }
.plans-extra svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
@media (min-width: 768px) { .plans-extra { grid-template-columns: repeat(3, 1fr); } }

/* Précisions sous les offres (accueil : une ligne ; page Offres : encart « Bon à savoir ») */
.plans-note { margin: 26px 0 0; font-size: .9rem; color: var(--muted); text-align: center; }
.plans-note a { font-weight: 600; }
.plans-info { margin-top: 34px; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.plans-info h2 { font-size: 1.3rem; margin-bottom: 16px; }
.plans-info ul { list-style: none; display: grid; gap: 12px; }
.plans-info li { position: relative; padding-left: 20px; font-size: .96rem; }
.plans-info li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent-bright); }
.plans-info li strong { color: var(--ink); }
.plans-info .plans-legal { margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) { .plans-info { padding: 34px 38px; } .plans-info ul { grid-template-columns: 1fr 1fr; gap: 14px 40px; } }

/* ---------- Portfolio ---------- */
.projects { display: grid; gap: 22px; }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.project-card:hover, .project-card:focus-within { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.project-media { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--surface-2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.project-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(28,31,35,.55); opacity: 0; transition: opacity .35s var(--ease);
}
.project-overlay span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem;
  transform: translateY(8px); transition: transform .35s var(--ease);
}
.project-overlay svg { width: 16px; height: 16px; }
.project-card:hover .project-media img, .project-media:focus-visible img { transform: scale(1.05); opacity: .9; }
.project-card:hover .project-overlay, .project-media:focus-visible .project-overlay { opacity: 1; }
.project-card:hover .project-overlay span, .project-media:focus-visible .project-overlay span { transform: none; }
.project-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.project-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.project-body h3 { font-size: 1.15rem; margin: 0; }
.project-body p { margin: 0; font-size: .92rem; color: var(--muted); }
.project-body .tag { flex: none; background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }
.project-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.project-demo { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.project-demo svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
.demo-note { max-width: 760px; margin: 30px auto 0; font-size: .92rem; color: var(--muted); text-align: center; }

/* Carte "votre projet ici" */
.project-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px;
  min-height: 100%; padding: 36px 26px; border-radius: var(--radius-lg);
  border: 2px dashed var(--line-strong); background: var(--bg);
  color: var(--muted); text-decoration: none;
  transition: border-color .3s, background-color .3s, transform .35s var(--ease);
}
.project-empty:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink-2); transform: translateY(-3px); }
.project-empty .plus {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
}
.project-empty .plus svg { width: 24px; height: 24px; }
.project-empty strong { font: 600 1.15rem var(--font-head); color: var(--ink); }
.project-empty p { margin: 0; max-width: 260px; font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-aside { position: sticky; top: calc(var(--header-h) + 30px); } }
.faq-aside-card { margin-top: 26px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.faq-aside-card p { font-size: .95rem; color: var(--muted); }
.faq-aside-card .links { display: grid; gap: 10px; }
.contact-line { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; word-break: break-word; }
.contact-line:hover { color: var(--accent); }
.contact-line .ci { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.contact-line .ci svg { width: 18px; height: 18px; }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none;
  font: 600 1.02rem/1.35 var(--font-head); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-num { font: 600 .78rem var(--font-body); color: var(--accent); min-width: 22px; }
.faq summary .q-icon {
  margin-left: auto; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-2); transition: transform .3s var(--ease), background-color .2s;
}
.faq summary .q-icon svg { width: 14px; height: 14px; }
.faq details[open] .q-icon { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq .answer { padding: 0 20px 20px 56px; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq .answer ul { list-style: none; display: grid; gap: 8px; }
.faq .answer li { position: relative; padding-left: 18px; }
.faq .answer li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-bright); }
.faq .answer strong { color: var(--ink); }
@media (max-width: 520px) { .faq .answer { padding-left: 20px; } }

.steps { list-style: none; counter-reset: step; display: grid; gap: 10px !important; }
.steps li { counter-increment: step; padding-left: 40px !important; }
.steps li::before {
  content: counter(step) !important; top: -1px !important; width: 26px !important; height: 26px !important; border-radius: 50% !important;
  display: grid; place-items: center; font: 700 .78rem var(--font-body); color: var(--accent);
  background: var(--accent-soft) !important;
}

/* ---------- Processus (contact) ---------- */
.process { display: grid; gap: 14px; list-style: none; counter-reset: p; }
.process li {
  counter-increment: p; position: relative; padding: 18px 18px 18px 64px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); font-size: .93rem; color: var(--muted);
}
.process li::before {
  content: "0" counter(p); position: absolute; left: 18px; top: 18px;
  font: 700 1.05rem var(--font-head); color: var(--accent);
}
.process strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(5, 1fr); } .process li { padding: 54px 16px 18px; } .process li::before { left: 16px; } }

/* ---------- Page header (pages internes) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 60px 0 56px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero .bg-grid { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 5.5vw, 3.3rem); max-width: 760px; }
.page-hero p { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin: 0; }
.breadcrumb { padding: 0; display: flex; gap: 8px; list-style: none; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 768px) { .page-hero { padding: 84px 0 76px; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.35fr .9fr; gap: 36px; align-items: start; } }
.form-card { padding: 28px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .form-card { padding: 38px; } }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1f23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #b9b2a8; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background-color: var(--surface); box-shadow: 0 0 0 4px rgba(249,115,22,.16); }
.field .error { display: none; margin-top: 6px; font-size: .85rem; color: #b91c1c; }
.field.invalid input, .field.invalid textarea { border-color: #b91c1c; }
.field.invalid .error { display: block; }
.field .optional { font-weight: 400; color: var(--muted); }
/* Case de consentement */
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.field-check input {
  width: 22px; height: 22px; margin: 2px 0 0; padding: 0; flex: none; cursor: pointer;
  accent-color: var(--accent);
}
.field-check label { margin: 0; font-weight: 400; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.field-check label a { font-weight: 600; }
.field-check .error { grid-column: 1 / -1; margin-top: 0; }
.field-check.invalid input { outline: 2px solid #b91c1c; outline-offset: 2px; }
/* Champ piège anti-spam : invisible pour les visiteurs, rempli par les robots */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Bouton pendant l'envoi */
.btn-spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading svg.arrow { display: none; }
.btn:disabled { cursor: wait; opacity: .8; transform: none; box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: .85rem; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form-status.success { display: block; background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.form-status.error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-status a { color: inherit; font-weight: 600; }

.contact-aside { display: grid; gap: 16px; }
.contact-box { padding: 26px; border-radius: var(--radius-lg); background: var(--dark); color: var(--dark-muted); position: relative; overflow: hidden; }
.contact-box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 16px 16px; }
.contact-box > * { position: relative; }
.contact-box h2 { color: #fff; font-size: 1.3rem; }
.contact-box .contact-line { color: #fff; padding: 12px 0; border-top: 1px solid var(--dark-line); }
.contact-box .contact-line:hover { color: #fdba74; }
.contact-box .contact-line .ci { background: rgba(249,115,22,.16); color: #fdba74; }
.contact-box .contact-line small { display: block; font-weight: 400; color: var(--dark-muted); font-size: .8rem; }
.contact-box .alt { margin: 14px 0 0; font-size: .9rem; }
.info-box { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.info-box h3 { font-size: 1.05rem; margin-bottom: 12px; }
.info-box ul { list-style: none; display: grid; gap: 10px; font-size: .93rem; }
.info-box li { display: flex; gap: 10px; }
.info-box svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; padding: 44px 26px; border-radius: var(--radius-lg);
  background: var(--dark); color: var(--dark-muted);
  display: grid; gap: 24px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 18px 18px; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.35), transparent 65%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 540px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-accent { --btn-bg: var(--accent-bright); --btn-bd: var(--accent-bright); --btn-fg: #1c1f23; }
.cta-band .btn-accent:hover { --btn-bg: #fb923c; --btn-bd: #fb923c; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 56px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo-mark { background: #fff; color: var(--ink); }
.site-footer .logo-mark::after { border-color: var(--dark); }
.site-footer .logo-tld { color: #fdba74; }
.site-footer h3 { color: #fff; font: 600 .82rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #e5e7eb; text-decoration: none; }
.site-footer a:hover { color: #fdba74; }
.footer-desc { max-width: 360px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; word-break: break-all; }
.footer-contact svg { width: 17px; height: 17px; color: #fdba74; flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; font-size: .85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer .footer-legal a { color: var(--dark-muted); }
.site-footer .footer-legal a:hover { color: #fdba74; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr; gap: 48px; } }

/* ---------- Animations au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.footer-contact .footer-note { display: flex; align-items: center; gap: 10px; }
.faq .answer ul + p { margin-top: 12px; }

/* Page hero avec encart latéral */
.page-hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.5fr 1fr; gap: 56px; } }
.hero-aside { padding: 24px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hero-aside h2 { font-size: .8rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hero-aside ul { list-style: none; display: grid; gap: 12px; }
.hero-aside li { display: flex; gap: 12px; align-items: center; font-size: .95rem; color: var(--ink-2); }
.hero-aside li .ci { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.hero-aside li .ci svg { width: 17px; height: 17px; }
.hero-aside li strong { color: var(--ink); }
@media (max-width: 899px) { .about-card { order: 2; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 780px; }
.legal-meta { font-size: .9rem; color: var(--muted); }
.legal h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); margin: 2.2em 0 .6em; }
.legal h2:first-of-type { margin-top: 1.2em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; display: grid; gap: 6px; }
.legal li::marker { color: var(--accent-bright); }
.legal a { word-break: break-word; }
.legal-summary { margin: 26px 0 0; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.legal-summary p { margin: 0; }

/* ---------- Page 404 ---------- */
.error-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
