/* ============================================================
   LES ARTISANS FRANÇAIS — Design system V4 "Atelier"
   Typographie éditoriale, grain, mouvement, contraste.
   ============================================================ */

@font-face { font-display: swap; }

:root {
  /* Palette */
  --bone: #F4F1EC;
  --bone-2: #ECE7DF;
  --bone-3: #E2DCD1;
  --paper: #FFFFFF;
  --ink: #0E0E0E;
  --ink-2: #1A1A1A;
  --ink-3: #2A2A2A;
  --ink-4: #3D3D3D;
  --mute: #6E6A64;
  --mute-2: #9B968E;
  --line: rgba(14, 14, 14, 0.12);
  --line-strong: rgba(14, 14, 14, 0.22);
  --line-light: rgba(255, 255, 255, 0.14);
  --orange: #FF4D00;
  --orange-2: #FF6A2B;
  --orange-deep: #D93E00;
  --orange-soft: #FFE4D6;
  --green: #1C9A5B;
  --green-soft: #D9F3E4;

  /* Type */
  --f-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-body: 'Manrope', 'Inter', system-ui, sans-serif;

  /* Motion */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --e-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t: 0.4s;

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --header-h: 72px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--orange); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
h1 { font-size: clamp(3rem, 8.5vw, 8.5rem); }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.25; }
p { color: var(--mute); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.accent { color: var(--orange); }
strong { color: var(--ink); font-weight: 700; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 900px; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(6) infinite;
  mix-blend-mode: multiply;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, 2%); }
  80% { transform: translate(5%, 5%); }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; opacity: 0; transition: opacity 0.3s; }
.cursor.is-on { opacity: 1; }
.cursor-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; border-radius: 50%; }
.cursor-ring {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1.5px solid #fff; border-radius: 50%;
  transition: width 0.3s var(--e-out), height 0.3s var(--e-out), margin 0.3s var(--e-out), opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  font: 600 11px/1 var(--f-body); letter-spacing: 0.08em; color: #fff; text-transform: uppercase;
}
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-view .cursor-ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: #fff; color: #000; mix-blend-mode: normal; }
.cursor.is-view .cursor-dot { opacity: 0; }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--gutter);
}
.preloader-top { display: flex; justify-content: space-between; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.preloader-count { font-family: var(--f-display); font-size: clamp(6rem, 22vw, 20rem); line-height: 0.85; letter-spacing: -0.06em; font-weight: 700; }
.preloader-count small { font-size: 0.3em; letter-spacing: 0; vertical-align: top; margin-left: 8px; color: var(--orange); }
.preloader-bar { height: 2px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden; }
.preloader-bar::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--orange); transition: width 0.1s linear; }
.preloader { transition: transform 1s var(--e-in-out); will-change: transform; }
.preloader.is-done { pointer-events: none; transform: translateY(-100%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  transition: transform 0.5s var(--e-out), background 0.4s;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 241, 236, 0); backdrop-filter: blur(0);
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-header.is-solid::after { background: rgba(244, 241, 236, 0.85); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--line); }
.site-header.on-dark:not(.is-solid) { color: #fff; }
.site-header.on-dark:not(.is-solid) .brand { color: #fff; }
.site-header.on-dark:not(.is-solid) .nav a { color: #fff; }
.site-header.on-dark:not(.is-solid) .nav a:hover, .site-header.on-dark:not(.is-solid) .nav a.is-active { color: var(--ink); }
.site-header .nav .mega a, .site-header.on-dark:not(.is-solid) .nav .mega a { color: var(--ink); background: transparent; }
.site-header .nav .mega a:hover, .site-header.on-dark:not(.is-solid) .nav .mega a:hover { background: var(--bone); color: var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.15rem; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--orange); position: relative; overflow: hidden; }
.brand-mark::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.25)); }
.brand-mark span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; font-weight: 400; }
.brand small { display: block; font: 500 0.66rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: var(--r-full); background: rgba(14,14,14,0.05); border: 1px solid var(--line); }
.on-dark:not(.is-solid) .nav { background: rgba(255,255,255,0.08); border-color: var(--line-light); }
.nav a { padding: 9px 16px; border-radius: var(--r-full); font-size: 0.88rem; font-weight: 600; letter-spacing: -0.005em; transition: background var(--t), color var(--t); }
.nav a:hover, .nav a.is-active { background: var(--ink); color: var(--bone); }
.on-dark:not(.is-solid) .nav a:hover, .on-dark:not(.is-solid) .nav a.is-active { background: var(--bone); color: var(--ink); }
.nav-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: min(880px, calc(100vw - 40px));
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(14,14,14,0.18);
  padding: 22px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 22px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--e-out), transform 0.3s var(--e-out);
}
.nav-mega:hover .mega, .nav-mega:focus-within .mega { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega-cat { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); padding: 10px 10px 6px; grid-column: span 1; font-weight: 700; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; }
.mega a:hover { background: var(--bone); color: var(--ink); }
.mega a .ico { width: 18px; height: 18px; color: var(--orange); }
.mega-col { display: flex; flex-direction: column; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; }
.on-dark:not(.is-solid) .burger { border-color: var(--line-light); }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 100%; height: 100%; background: inherit; transition: transform 0.3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 600; background: var(--ink); color: var(--bone); padding: 110px var(--gutter) 40px; transform: translateY(-100%); transition: transform 0.6s var(--e-in-out); overflow-y: auto; }
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { display: block; font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-weight: 700; }
.mobile-nav .sub a { font-family: var(--f-body); font-size: 1.05rem; padding: 10px 0; font-weight: 500; opacity: 0.75; }
.mobile-nav-close { position: absolute; top: 18px; right: var(--gutter); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--bone);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px 16px 28px; border-radius: var(--r-full);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.35s var(--e-out), box-shadow 0.35s var(--e-out);
}
.btn .btn-bg { position: absolute; inset: 0; z-index: -1; background: var(--orange); border-radius: 50%; transform: scale(0); transform-origin: var(--x, 50%) var(--y, 50%); transition: transform 0.55s var(--e-out); }
.btn:hover .btn-bg { transform: scale(2.4); }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(255,77,0,0.32); }
.btn .arr { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.14); display: inline-flex; align-items: center; justify-content: center; margin-right: -10px; transition: background 0.3s, transform 0.4s var(--e-out); }
.btn .arr svg { width: 15px; height: 15px; }
.btn:hover .arr { background: rgba(255,255,255,0.22); transform: rotate(-45deg); }
.btn-orange { --bg: var(--orange); --fg: #fff; box-shadow: 0 14px 34px rgba(255,77,0,0.28); }
.btn-orange .btn-bg { background: var(--ink); }
.btn-orange:hover { box-shadow: 0 22px 44px rgba(14,14,14,0.32); }
.btn-light { --bg: var(--bone); --fg: var(--ink); }
.btn-light:hover { color: #fff; }
.btn-ghost { --bg: transparent; --fg: currentColor; border: 1px solid var(--line-strong); }
.on-dark .btn-ghost, .section-dark .btn-ghost, .hero .btn-ghost, .phero .btn-ghost, .est .btn-ghost { border-color: rgba(255,255,255,0.35); }
.hero .btn-ghost .arr, .section-dark .btn-ghost .arr { background: rgba(255,255,255,0.12); }
.btn-ghost .arr { background: rgba(0,0,0,0.06); }
.btn-sm { padding: 11px 18px 11px 20px; font-size: 0.86rem; }
.btn-sm .arr { width: 28px; height: 28px; }
.btn-lg { padding: 20px 30px 20px 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--e-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icons ---------- */
.ico { display: inline-flex; flex-shrink: 0; width: 1.1em; height: 1.1em; vertical-align: -0.2em; }
.xcalc-foot .ico { width: 14px; height: 14px; margin-right: 6px; color: #4ade80; }
.link-arrow .ico { width: 16px; height: 16px; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--bone); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: var(--bone); }
.section-dark p { color: rgba(244,241,236,0.62); }
.section-paper { background: var(--paper); }
.section-tight { padding: clamp(56px, 8vw, 100px) 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.section-dark .eyebrow { color: rgba(244,241,236,0.6); }
.head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.head-split { grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 40px; }
.head p.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 560px; }
.head h2 .serif { font-weight: 400; }

/* Reveal helpers (JS adds .in) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out); }
.reveal.in { opacity: 1; transform: none; }
.lines .line { display: block; overflow: hidden; }
.lines .line > span { display: block; transform: translateY(110%); transition: transform 1s var(--e-out); }
.lines.in .line > span { transform: none; }
.lines.in .line:nth-child(2) > span { transition-delay: 0.08s; }
.lines.in .line:nth-child(3) > span { transition-delay: 0.16s; }
.lines.in .line:nth-child(4) > span { transition-delay: 0.24s; }
.img-reveal { overflow: hidden; }
.img-reveal img { transform: scale(1.18); transition: transform 1.4s var(--e-out); }
.img-reveal.in img { transform: scale(1); }
.clip-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--e-out); }
.clip-reveal.in { clip-path: inset(0 0 0 0); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: var(--bone); overflow: hidden; padding-bottom: clamp(32px, 5vw, 64px); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transform: scale(1.06); }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,0.35) 0%, rgba(14,14,14,0.15) 35%, rgba(14,14,14,0.78) 78%, var(--ink) 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: end; padding-top: calc(var(--header-h) + 60px); }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: var(--r-full); border: 1px solid var(--line-light); background: rgba(14,14,14,0.35); backdrop-filter: blur(10px); font-size: 0.82rem; font-weight: 600; margin-bottom: 28px; }
.hero-tag .live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(28,154,91,0.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(28,154,91,0); } 100% { box-shadow: 0 0 0 0 rgba(28,154,91,0); } }
.hero-tag b { background: var(--orange); color: #fff; padding: 4px 10px; border-radius: var(--r-full); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { color: var(--bone); font-size: clamp(3.2rem, 9.2vw, 9rem); line-height: 0.92; letter-spacing: -0.045em; margin-bottom: 28px; }
.hero h1 .serif { color: var(--orange); font-weight: 400; }
.hero-lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); color: rgba(244,241,236,0.78); max-width: 560px; line-height: 1.55; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 0.88rem; color: rgba(244,241,236,0.72); }
.avatars { display: flex; }
.avatars img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.hero-proof strong { color: var(--bone); display: block; }
.hero-proof .stars { color: var(--orange); letter-spacing: 1px; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::after { content: ''; width: 1px; height: 32px; background: linear-gradient(to bottom, var(--bone), transparent); animation: scrollLine 2s var(--e-in-out) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ESTIMATEUR EXPRESS (hero card) ---------- */
.xcalc { position: relative; background: rgba(20,20,20,0.72); backdrop-filter: blur(24px) saturate(140%); border: 1px solid var(--line-light); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.45); }
.xcalc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(255,77,0,0.22), transparent 60%); pointer-events: none; }
.xcalc-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 18px; border-bottom: 1px solid var(--line-light); position: relative; }
.xcalc-title { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.xcalc-title small { display: block; font: 600 0.7rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; margin-bottom: 6px; }
.xcalc-steps { display: flex; gap: 5px; }
.xcalc-steps i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.22); transition: all 0.4s var(--e-out); }
.xcalc-steps i.on { width: 22px; border-radius: 3px; background: var(--orange); }
.xcalc-steps i.done { background: var(--bone); }
.xcalc-body { padding: 22px 26px 24px; position: relative; min-height: 340px; }
.xstep { display: none; }
.xstep.on { display: block; animation: xin 0.45s var(--e-out); }
@keyframes xin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.xq { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin-bottom: 14px; }
.xopts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 292px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.xopt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid transparent; text-align: left; font-size: 0.88rem; font-weight: 600; color: var(--bone); transition: all 0.25s var(--e-out); }
.xopt:hover { background: rgba(255,255,255,0.1); border-color: var(--line-light); transform: translateY(-1px); }
.xopt.on { background: var(--bone); color: var(--ink); }
.xopt .ico { width: 18px; height: 18px; color: var(--orange); }
.xslider { text-align: center; padding: 10px 0 4px; }
.xslider .val { font-family: var(--f-display); font-size: clamp(3.4rem, 7vw, 5.2rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.xslider .val small { font: 600 1rem/1 var(--f-body); letter-spacing: 0; opacity: 0.5; margin-left: 6px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.18); outline: 0; margin: 26px 0 8px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--orange); cursor: grab; transition: transform 0.2s; }
.range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); border: 4px solid var(--ink); cursor: grab; }
.xmarks { display: flex; justify-content: space-between; font-size: 0.72rem; opacity: 0.5; font-weight: 600; }
.xpresets { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 18px; }
.xpreset { padding: 7px 12px; border-radius: var(--r-full); border: 1px solid var(--line-light); font-size: 0.78rem; font-weight: 700; color: var(--bone); transition: all 0.25s; }
.xpreset:hover { border-color: var(--orange); color: var(--orange); }
.xpreset.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.xres { text-align: center; padding: 4px 0; }
.xres .lab { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; font-weight: 700; }
.xres .price { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.045em; line-height: 1.05; margin: 10px 0 8px; color: var(--bone); }
.xres .price .sep { color: var(--orange); font-family: var(--f-serif); font-style: italic; font-weight: 400; margin: 0 6px; }
.xres .det { font-size: 0.86rem; opacity: 0.6; margin-bottom: 16px; }
.xres .aid { display: flex; align-items: center; gap: 12px; text-align: left; background: rgba(28,154,91,0.14); border: 1px solid rgba(28,154,91,0.35); border-radius: 12px; padding: 12px 14px; font-size: 0.84rem; margin-bottom: 18px; }
.xres .aid .ico { width: 22px; height: 22px; color: #4ade80; }
.xres .aid b { color: #4ade80; }
.xres-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.xcalc-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 26px; border-top: 1px solid var(--line-light); font-size: 0.78rem; opacity: 0.85; position: relative; }
.xnav { display: flex; gap: 6px; }
.xnav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; color: var(--bone); transition: all 0.25s; }
.xnav button:hover:not(:disabled) { background: var(--bone); color: var(--ink); }
.xnav button:disabled { opacity: 0.3; cursor: not-allowed; }
.xnav svg { width: 14px; height: 14px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--bone); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 48px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -0.02em; white-space: nowrap; }
.marquee-item i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-dark { background: var(--ink); color: var(--bone); border-color: var(--line-light); }
.marquee-big .marquee-item { font-size: clamp(3rem, 9vw, 9rem); letter-spacing: -0.045em; }
.marquee-big { padding: 8px 0; }
.marquee-big .marquee-item i { width: 20px; height: 20px; }

/* ---------- Services list (hover image) ---------- */
.services { position: relative; }
.services-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.services-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.services-sticky h2 { margin-bottom: 20px; }
.services-preview { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bone-2); margin-top: 32px; }
.services-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.6s var(--e-out), transform 0.9s var(--e-out); }
.services-preview img.on { opacity: 1; transform: scale(1); }
.services-preview .lab { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: var(--r-full); background: rgba(244,241,236,0.92); backdrop-filter: blur(8px); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.cat-block { margin-bottom: 40px; }
.cat-title { display: flex; align-items: baseline; gap: 14px; padding: 0 0 14px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.cat-title h3 { font-size: 1.2rem; }
.cat-title span { font-size: 0.78rem; color: var(--mute); }
.srow { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 18px; padding: 18px 8px; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--e-out), background 0.3s; position: relative; }
.srow:hover { padding-left: 18px; background: var(--paper); }
.srow .num { font-family: var(--f-serif); font-style: italic; color: var(--mute-2); font-size: 1rem; }
.srow .name { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -0.025em; transition: transform 0.4s var(--e-out); }
.srow:hover .name { transform: translateX(6px); }
.srow .price { font-size: 0.82rem; color: var(--mute); white-space: nowrap; }
.srow .price b { color: var(--ink); font-size: 0.95rem; }
.srow .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--e-out); }
.srow .go svg { width: 15px; height: 15px; }
.srow:hover .go { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(-45deg); }
.srow-float { position: fixed; z-index: 400; width: 260px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.8) rotate(-3deg); transition: opacity 0.3s var(--e-out), transform 0.5s var(--e-out); box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.srow-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.srow-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--bone); padding: clamp(28px, 3.5vw, 48px); position: relative; transition: background 0.4s; }
.step:hover { background: var(--paper); }
.step .n { font-family: var(--f-display); font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 40px; transition: color 0.4s; }
.step:hover .n { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.step h3 { margin-bottom: 12px; }
.step p { font-size: 0.98rem; }

/* ---------- Stats (dark) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); }
.stat { background: var(--ink); padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.stat .v { font-family: var(--f-display); font-size: clamp(3rem, 6.5vw, 6.4rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; color: var(--bone); }
.stat .v small { font-size: 0.4em; color: var(--orange); font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.stat .l { margin-top: 16px; font-size: 0.9rem; color: rgba(244,241,236,0.6); }

/* ---------- Bento / réalisations ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 12px; }
.bento-item { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bone-2); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e-out); }
.bento-item:hover img { transform: scale(1.06); }
.bento-item .cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; color: #fff; }
.bento-item .cap::before { content: ''; position: absolute; inset: -40px -16px -16px; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); z-index: -1; }
.bento-item .cap b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -0.02em; display: block; }
.bento-item .cap span { font-size: 0.78rem; opacity: 0.8; }
.bento-item .cap i { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; }
.b-6 { grid-column: span 6; } .b-4 { grid-column: span 4; } .b-8 { grid-column: span 8; } .b-3 { grid-column: span 3; } .b-5 { grid-column: span 5; } .b-7 { grid-column: span 7; }
.r-2 { grid-row: span 2; }

/* ---------- Manifesto / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge { position: absolute; left: 20px; bottom: 20px; background: var(--bone); color: var(--ink); border-radius: 14px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.split-badge .v { font-family: var(--f-display); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--orange); }
.split-badge .l { font-size: 0.8rem; line-height: 1.3; color: var(--mute); }
.checks { margin: 32px 0 36px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks .c { width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.checks .c svg { width: 14px; height: 14px; stroke-width: 2.6; }
.checks b { display: block; margin-bottom: 2px; }
.checks span { font-size: 0.93rem; color: var(--mute); }

/* ---------- Testimonials (drag scroll) ---------- */
.tscroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; cursor: grab; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
.tscroll::-webkit-scrollbar { display: none; }
.tscroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.tcard { flex: 0 0 min(420px, 84vw); scroll-snap-align: start; background: var(--paper); border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 300px; user-select: none; }
.tcard .q { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.4; color: var(--ink); flex-grow: 1; }
.tcard .q::before { content: '“'; color: var(--orange); font-size: 2.2em; line-height: 0; vertical-align: -0.3em; margin-right: 4px; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.tcard .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.tcard .who b { display: block; font-size: 0.92rem; }
.tcard .who span { font-size: 0.8rem; color: var(--mute); }
.tcard .stars { color: var(--orange); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: grid; grid-template-columns: 48px 1fr 44px; align-items: center; gap: 18px; padding: 24px 0; text-align: left; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -0.02em; }
.faq-q .n { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--mute-2); font-size: 1rem; }
.faq-q .t { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--e-out); }
.faq-q .t svg { width: 16px; height: 16px; transition: transform 0.4s var(--e-out); }
.faq-item.open .faq-q .t { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.faq-item.open .faq-q .t svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--e-out); }
.faq-a-in { padding: 0 44px 28px 66px; color: var(--mute); font-size: 1rem; line-height: 1.7; }
.faq-a-in ul { padding-left: 18px; list-style: disc; margin-top: 8px; }
.section-dark .faq { border-color: var(--bone); } .section-dark .faq-item { border-color: var(--line-light); } .section-dark .faq-q .t { border-color: var(--line-light); } .section-dark .faq-item.open .faq-q .t { background: var(--bone); color: var(--ink); } .section-dark .faq-a-in { color: rgba(244,241,236,0.65); }

/* ---------- Big CTA ---------- */
.cta { background: var(--orange); color: #fff; padding: clamp(80px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: 0.95; letter-spacing: -0.045em; }
.cta h2 .serif { color: var(--ink); }
.cta p { color: rgba(255,255,255,0.85); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 560px; margin: 24px 0 36px; }
.cta .btn-light { --bg: var(--ink); --fg: #fff; }
.cta .btn-light .btn-bg { background: var(--bone); }
.cta .btn-light:hover { color: var(--ink); }
.cta-ring { position: absolute; right: -10%; top: 50%; width: 60vw; max-width: 720px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.cta-ring::before { content: ''; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; }
.cta-ring::after { content: ''; position: absolute; inset: 28%; border: 1px dashed rgba(255,255,255,0.3); border-radius: 50%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bone); padding: clamp(64px, 8vw, 110px) 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer h4 { color: rgba(244,241,236,0.5); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; font-family: var(--f-body); }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(244,241,236,0.72); font-size: 0.92rem; transition: color 0.25s, padding-left 0.3s var(--e-out); }
.footer ul a:hover { color: var(--orange); padding-left: 6px; }
.footer-about { color: rgba(244,241,236,0.6); font-size: 0.95rem; max-width: 380px; margin: 18px 0 24px; }
.footer-contact a { display: block; color: var(--bone); font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.footer-contact a:hover { color: var(--orange); }
.footer-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.6rem, 13.5vw, 14rem); letter-spacing: -0.06em; line-height: 0.85; color: var(--bone); padding: 48px 0 0; white-space: nowrap; opacity: 0.95; }
.footer-big .serif { color: var(--orange); font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 0; font-size: 0.8rem; color: rgba(244,241,236,0.45); border-top: 1px solid var(--line-light); margin-top: 32px; }
.footer-bottom a { color: rgba(244,241,236,0.6); margin-right: 20px; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; background: var(--ink); color: var(--bone); padding: calc(var(--header-h) + 80px) 0 clamp(48px, 7vw, 96px); overflow: hidden; min-height: 78svh; display: flex; align-items: flex-end; }
.phero-media { position: absolute; inset: 0; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.phero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,0.5) 0%, rgba(14,14,14,0.2) 40%, rgba(14,14,14,0.9) 100%); }
.phero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(244,241,236,0.6); margin-bottom: 28px; font-weight: 600; }
.crumbs a:hover { color: var(--orange); }
.crumbs i { opacity: 0.4; font-style: normal; }
.phero h1 { color: var(--bone); font-size: clamp(2.6rem, 7vw, 6.8rem); line-height: 0.95; letter-spacing: -0.045em; max-width: 1000px; }
.phero h1 .serif { color: var(--orange); font-weight: 400; }
.phero .lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: rgba(244,241,236,0.75); max-width: 640px; margin-top: 24px; line-height: 1.6; }
.phero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 40px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line-light); justify-content: start; }
.phero-stats .v { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--bone); }
.phero-stats .v i { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--orange); }
.phero-stats .l { font-size: 0.8rem; color: rgba(244,241,236,0.6); margin-top: 8px; }

/* ---------- Trade page layout ---------- */
.trade-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.prose > h2 { margin: 64px 0 22px; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 36px 0 12px; }
.prose p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 18px; color: var(--ink-4); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 20px; color: var(--ink-4); }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; line-height: 1.65; }
.prose li::marker { color: var(--orange); }

.ptable { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.95rem; }
.ptable th { text-align: left; padding: 14px 16px; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--ink); font-weight: 700; }
.ptable td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tr:hover td { background: var(--paper); }
.ptable td:nth-child(2) { font-family: var(--f-display); font-weight: 700; color: var(--orange); letter-spacing: -0.01em; white-space: nowrap; }

.callout { background: var(--ink); color: var(--bone); border-radius: var(--r-lg); padding: 28px 32px; margin: 36px 0; display: grid; grid-template-columns: 44px 1fr; gap: 18px; position: relative; overflow: hidden; }
.callout::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,0,0.35), transparent 70%); }
.callout .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; }
.callout .ico svg { width: 22px; height: 22px; }
.callout h4 { color: var(--bone); margin-bottom: 8px; font-family: var(--f-display); font-size: 1.15rem; }
.callout p { color: rgba(244,241,236,0.75); margin: 0; font-size: 0.98rem; }
.callout p strong { color: var(--bone); }

.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 32px 0; }
.cmp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: transform 0.4s var(--e-out), box-shadow 0.4s, border-color 0.3s; }
.cmp:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(14,14,14,0.1); border-color: transparent; }
.cmp .badge { display: inline-block; padding: 5px 10px; border-radius: var(--r-full); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.cmp .badge.pro { background: var(--green-soft); color: var(--green); }
.cmp .badge.con { background: var(--orange-soft); color: var(--orange-deep); }
.cmp h4 { font-family: var(--f-display); font-size: 1.25rem; margin-bottom: 4px; }
.cmp .pr { font-family: var(--f-display); color: var(--orange); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.cmp ul { list-style: none; padding: 0; margin: 0; }
.cmp li { font-size: 0.88rem; color: var(--mute); padding: 6px 0 6px 18px; position: relative; border-top: 1px solid var(--line); margin: 0; }
.cmp li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 1.5px; background: var(--orange); }

.proc { counter-reset: p; margin: 32px 0; border-top: 1px solid var(--ink); }
.proc li { counter-increment: p; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; align-items: start; transition: padding-left 0.4s var(--e-out); }
.proc li:hover { padding-left: 8px; }
.proc li::before { content: counter(p, decimal-leading-zero); font-family: var(--f-display); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.05em; color: var(--orange); line-height: 1; }
.proc h4 { margin-bottom: 4px; font-family: var(--f-display); }
.proc p { margin: 0; font-size: 0.95rem; color: var(--mute); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0; }
.gallery figure { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.gallery figure:first-child { grid-column: span 2; aspect-ratio: 21/9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: var(--r-full); background: rgba(244,241,236,0.92); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; }

.aides-list { display: grid; gap: 8px; margin: 24px 0; }
.aides-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--green-soft); border-radius: 12px; font-size: 0.95rem; color: var(--ink); margin: 0; }
.aides-list li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--green); margin-top: 2px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* Sticky sidebar mini-calc */
.side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-calc { background: var(--ink); color: var(--bone); border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden; }
.side-calc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 200px at 100% 0%, rgba(255,77,0,0.25), transparent 60%); pointer-events: none; }
.side-calc > * { position: relative; }
.side-calc .eyebrow { color: rgba(244,241,236,0.55); margin-bottom: 10px; }
.side-calc h3 { color: var(--bone); font-size: 1.4rem; margin-bottom: 20px; }
.side-calc .lbl { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; font-weight: 700; margin: 16px 0 8px; }
.side-calc select { width: 100%; appearance: none; -webkit-appearance: none; background: rgba(255,255,255,0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F1EC' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 14px center/16px no-repeat; border: 1px solid var(--line-light); border-radius: 12px; color: var(--bone); padding: 13px 40px 13px 14px; font: 600 0.92rem var(--f-body); }
.side-calc select option { color: var(--ink); }
.side-calc .sv { display: flex; justify-content: space-between; align-items: baseline; }
.side-calc .sv b { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -0.03em; }
.side-calc .range { margin: 10px 0 4px; }
.side-calc .out { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.side-calc .out .lab { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; font-weight: 700; }
.side-calc .out .pr { font-family: var(--f-display); font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin: 6px 0 4px; }
.side-calc .out .pr .sep { color: var(--orange); font-family: var(--f-serif); font-style: italic; font-weight: 400; margin: 0 4px; }
.side-calc .out .aid { font-size: 0.8rem; color: #4ade80; margin-bottom: 14px; }
.side-calc .btn { margin-top: 6px; }
.side-links { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.side-links h4 { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; }
.side-links a:hover { color: var(--orange); }
.side-links a svg { width: 14px; height: 14px; }

/* Related trades */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; color: #fff; }
.rel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--e-out); }
.rel:hover img { transform: scale(1.06); }
.rel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%); }
.rel .cap { position: absolute; left: 18px; bottom: 18px; right: 18px; z-index: 1; display: flex; justify-content: space-between; align-items: end; }
.rel .cap b { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -0.02em; display: block; }
.rel .cap span { font-size: 0.78rem; opacity: 0.8; }
.rel .cap i { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; font-style: normal; transition: all 0.3s; }
.rel .cap i svg { width: 14px; height: 14px; }
.rel:hover .cap i { background: var(--orange); transform: rotate(-45deg); }

/* ---------- ESTIMATEUR PLEIN ÉCRAN (Typeform-like) ---------- */
.est { min-height: 100svh; background: var(--ink); color: var(--bone); position: relative; display: flex; flex-direction: column; }
.est-top { position: fixed; top: 0; left: 0; right: 0; z-index: 400; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); color: var(--bone); }
.est-top .brand { color: var(--bone); }
.est-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.1); z-index: 401; }
.est-progress i { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.6s var(--e-out); }
.est-count { font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; opacity: 0.7; }
.est-count b { color: var(--orange); font-size: 1.4rem; letter-spacing: -0.03em; }
.est-live { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 10px; border-radius: var(--r-full); border: 1px solid var(--line-light); background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); font-size: 0.82rem; }
.est-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.est-live b { font-family: var(--f-display); letter-spacing: -0.02em; font-size: 0.95rem; }
.est-stage { flex: 1; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 120px; }
.est-q { display: none; width: 100%; }
.est-q.on { display: block; animation: qin 0.6s var(--e-out); }
.est-q.leaving { animation: qout 0.35s var(--e-in-out) forwards; }
@keyframes qin { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes qout { to { opacity: 0; transform: translateY(-40px); } }
.est-num { font-family: var(--f-serif); font-style: italic; color: var(--orange); font-size: 1.4rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.est-num::after { content: ''; width: 32px; height: 1px; background: var(--orange); opacity: 0.5; }
.est-q h2 { color: var(--bone); font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; max-width: 900px; margin-bottom: 14px; }
.est-q .help { color: rgba(244,241,236,0.55); font-size: 1rem; margin-bottom: 36px; max-width: 600px; }
.est-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; max-width: 1100px; }
.est-opt { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-light); background: rgba(255,255,255,0.04); text-align: left; color: var(--bone); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; transition: all 0.3s var(--e-out); position: relative; }
.est-opt:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }
.est-opt.on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.est-opt .k { width: 26px; height: 26px; border-radius: 7px; border: 1px solid currentColor; opacity: 0.45; font: 700 0.72rem/1 var(--f-body); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.est-opt .ico { width: 22px; height: 22px; color: var(--orange); }
.est-opt.on .ico { color: var(--orange-deep); }
.est-opt .sub { display: block; font-size: 0.78rem; font-weight: 500; opacity: 0.55; margin-top: 2px; }
.est-slider { max-width: 760px; }
.est-slider .big { font-family: var(--f-display); font-size: clamp(5rem, 15vw, 12rem); font-weight: 800; letter-spacing: -0.07em; line-height: 0.85; margin: 12px 0 24px; }
.est-slider .big small { font: 600 clamp(1rem, 2vw, 1.6rem)/1 var(--f-body); letter-spacing: 0; opacity: 0.5; margin-left: 10px; }
.est-slider .range { height: 6px; }
.est-slider .range::-webkit-slider-thumb { width: 34px; height: 34px; }
.est-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; }
.est-fields .full { grid-column: span 2; }
.fld { position: relative; }
.fld input, .fld textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-light); color: var(--bone); padding: 22px 0 12px; font: 600 1.15rem var(--f-body); letter-spacing: -0.01em; outline: 0; transition: border-color 0.3s; border-radius: 0; }
.fld textarea { resize: vertical; min-height: 80px; }
.fld label { position: absolute; left: 0; top: 22px; font-size: 1rem; color: rgba(244,241,236,0.5); pointer-events: none; transition: all 0.3s var(--e-out); }
.fld input:focus, .fld textarea:focus { border-color: var(--orange); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { top: 0; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.fld .ok { position: absolute; right: 0; bottom: 14px; font-size: 0.8rem; color: #4ade80; font-weight: 700; opacity: 0; transition: opacity 0.3s; }
.fld .ok.on { opacity: 1; }
.fld.err input { border-color: #f87171; }
.est-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; padding: 18px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; background: linear-gradient(to top, var(--ink) 60%, transparent); }
.est-hint { font-size: 0.8rem; color: rgba(244,241,236,0.5); display: flex; align-items: center; gap: 8px; }
.est-hint kbd { border: 1px solid var(--line-light); border-radius: 6px; padding: 3px 8px; font: 700 0.72rem var(--f-body); color: var(--bone); }
.est-nav { display: flex; gap: 8px; align-items: center; }
.est-nav .xnav button { width: 48px; height: 48px; }
/* Résultat */
.est-result { text-align: left; max-width: 1000px; }
.est-result .lab { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; font-weight: 700; }
.est-result .big-price { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 9vw, 8rem); letter-spacing: -0.06em; line-height: 0.9; margin: 14px 0 20px; }
.est-result .big-price .sep { color: var(--orange); font-family: var(--f-serif); font-style: italic; font-weight: 400; margin: 0 8px; }
.est-result .big-price small { font: 600 clamp(0.9rem, 1.6vw, 1.2rem)/1 var(--f-body); letter-spacing: 0; opacity: 0.5; }
.est-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; margin-top: 32px; }
.est-box { border: 1px solid var(--line-light); border-radius: var(--r-lg); padding: 24px 26px; background: rgba(255,255,255,0.03); }
.est-box h4 { color: var(--bone); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-bottom: 14px; font-family: var(--f-body); }
.est-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-light); font-size: 0.92rem; }
.est-box .row:first-of-type { border-top: 0; }
.est-box .row b { font-family: var(--f-display); letter-spacing: -0.01em; }
.est-box .row.tot { font-size: 1.05rem; padding-top: 14px; }
.est-box .row.aid { color: #4ade80; }
.est-box.green { border-color: rgba(28,154,91,0.5); background: rgba(28,154,91,0.08); }
.est-box.green .np { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.05em; color: #4ade80; line-height: 1; margin: 8px 0 12px; }
.est-box.green p { color: rgba(244,241,236,0.7); font-size: 0.9rem; margin: 0; }
.est-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 402; }

/* ---------- Forms (contact) ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); }
.form-card .fld input, .form-card .fld textarea, .form-card .fld select { color: var(--ink); border-bottom-color: var(--line-strong); font-size: 1.05rem; }
.form-card .fld label { color: var(--mute); }
.form-card .fld select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 22px 0 12px; font: 600 1.05rem var(--f-body); outline: 0; }
.form-ok { display: none; padding: 20px; border-radius: 14px; background: var(--green-soft); color: var(--green); font-weight: 700; margin-top: 16px; }

/* ---------- Aides page: grid ---------- */
.aid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 36px 0; }
.aid-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.aid-card .v { font-family: var(--f-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.05em; color: var(--orange); line-height: 1; margin: 8px 0 12px; }
.aid-card h4 { font-family: var(--f-display); font-size: 1.2rem; }
.aid-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Simple page ---------- */
.simple-hero { background: var(--ink); color: var(--bone); padding: calc(var(--header-h) + 80px) 0 clamp(48px, 6vw, 80px); }
.simple-hero h1 { color: var(--bone); font-size: clamp(2.6rem, 6.5vw, 5.6rem); }
.simple-hero h1 .serif { color: var(--orange); font-weight: 400; }
.simple-hero .lead { color: rgba(244,241,236,0.72); margin-top: 20px; font-size: 1.1rem; max-width: 640px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > div:first-child { grid-column: span 3; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-auto-rows: 200px; }
  .b-3, .b-4, .b-5 { grid-column: span 6; } .b-7, .b-8 { grid-column: span 12; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-sticky { position: static; }
  .services-preview { display: none; }
  .srow-float { display: none; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 16/10; }
  .trade-layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .related { grid-template-columns: 1fr 1fr; }
  .head-split { grid-template-columns: 1fr; }
  .est-grid { grid-template-columns: 1fr; }
  .phero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand { font-size: 1rem; white-space: nowrap; }
  .brand small { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .header-cta .btn { padding: 10px 14px 10px 16px; font-size: 0.82rem; }
  .header-cta .btn .arr { display: none; }
  .hero-tag { font-size: 0.74rem; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .xopts { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: span 2; }
  .related { grid-template-columns: 1fr; }
  .est-fields { grid-template-columns: 1fr; } .est-fields .full { grid-column: span 1; }
  .srow { grid-template-columns: 30px 1fr auto; }
  .srow .price { display: none; }
  .gallery { grid-template-columns: 1fr; } .gallery figure:first-child { grid-column: span 1; aspect-ratio: 16/10; }
  .faq-q { grid-template-columns: 1fr 44px; } .faq-q .n { display: none; } .faq-a-in { padding-left: 0; }
  .callout { grid-template-columns: 1fr; }
  .est-bottom { flex-direction: column; align-items: stretch; }
  .est-hint { display: none; }
  .est-top .est-live { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
}
/* ---------- BLOG ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.posts-grid-hub .post-big { grid-column: span 3; display: grid; grid-template-columns: 1.3fr 1fr; }
.posts-grid-hub .post-big .post-img { aspect-ratio: auto; min-height: 380px; }
.posts-grid-hub .post-big h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.post { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.4s var(--e-out), box-shadow 0.4s; }
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(14,14,14,0.12); }
.post-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bone-2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--e-out); }
.post:hover .post-img img { transform: scale(1.05); }
.post-tag { position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: var(--r-full); background: rgba(244,241,236,0.94); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.76rem; color: var(--mute); display: flex; gap: 8px; margin-bottom: 10px; font-weight: 600; }
.post h3 { font-size: 1.2rem; line-height: 1.15; margin-bottom: 10px; letter-spacing: -0.02em; }
.post p { font-size: 0.92rem; color: var(--mute); flex: 1; margin-bottom: 14px; }
.post-more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.post-more svg { width: 14px; height: 14px; transition: transform 0.3s var(--e-out); }
.post:hover .post-more { color: var(--orange); }
.post:hover .post-more svg { transform: translateX(4px); }
.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 36px; }
.chipn { padding: 9px 14px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--paper); font-size: 0.84rem; font-weight: 700; transition: all 0.25s; }
.chipn:hover { border-color: var(--ink); }
.chipn.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chipn-trade { font-weight: 600; font-size: 0.8rem; padding: 7px 12px; background: transparent; }
.chips-sep { width: 100%; height: 0; }
/* Article */
.post-hero { background: var(--ink); color: var(--bone); padding: calc(var(--header-h) + 72px) 0 0; }
.post-hero h1 { color: var(--bone); font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.04em; max-width: 1000px; }
.post-hero .lead { color: rgba(244,241,236,0.75); max-width: 720px; margin-top: 20px; font-size: 1.1rem; line-height: 1.6; }
.post-byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 0.85rem; color: rgba(244,241,236,0.65); }
.post-byline b { display: block; color: var(--bone); font-size: 0.95rem; }
.post-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.post-cover { margin-top: 40px; border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; aspect-ratio: 21/9; background: var(--ink-2); transform: translateY(1px); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.post-side { position: sticky; top: calc(var(--header-h) + 24px); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.toc-t { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-weight: 700; margin-bottom: 12px; }
.toc ol { counter-reset: t; }
.toc li { counter-increment: t; border-top: 1px solid var(--line); }
.toc li a { display: flex; gap: 10px; padding: 10px 0; font-size: 0.88rem; font-weight: 600; line-height: 1.3; transition: color 0.2s; }
.toc li a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-serif); font-style: italic; color: var(--orange); flex-shrink: 0; }
.toc li a:hover, .toc li a.on { color: var(--orange); }
.post-prose > h2 { scroll-margin-top: 100px; }
.post-prose table { width: 100%; border-collapse: collapse; margin: 24px 0 28px; font-size: 0.92rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.post-prose th { text-align: left; padding: 12px 14px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); background: var(--bone-2); font-weight: 700; }
.post-prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.post-prose h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.post-prose .faq { margin-top: 8px; }
.post-author { display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.post-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-author b { display: block; font-family: var(--f-display); font-size: 1.05rem; }
.post-author span { font-size: 0.8rem; color: var(--mute); display: block; margin-bottom: 8px; }
.post-author p { font-size: 0.9rem; margin: 0; }
.footer-top { grid-template-columns: 1.4fr repeat(5, 1fr); }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-top > div:first-child { grid-column: span 3; } .posts-grid { grid-template-columns: 1fr 1fr; } .posts-grid-hub .post-big { grid-column: span 2; } }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } .post-side { position: static; } .toc { display: none; } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } .posts-grid-hub .post-big { grid-column: span 1; grid-template-columns: 1fr; } .posts-grid-hub .post-big .post-img { min-height: 0; aspect-ratio: 16/10; } .post-cover { aspect-ratio: 16/10; border-radius: var(--r-lg) var(--r-lg) 0 0; } .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: span 2; } }

*:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ============================================================
   PAGES MÉTIERS — contenu approfondi (SEO)
   ============================================================ */
picture { display: contents; }
.table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; -webkit-overflow-scrolling: touch; }
.ptable-x td:nth-child(2) { color: var(--ink); font-family: var(--f-body); font-weight: 500; }
.ptable-x td:not(:first-child) { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink); }
.ptable-x td:first-child { font-weight: 600; }
.rtable td:first-child a { font-weight: 700; border-bottom: 1.5px solid var(--orange); }
.rtable td:first-child a:hover { color: var(--orange); }
.rtable .idx { display: inline-block; padding: 4px 10px; border-radius: var(--r-full); font-size: 0.78rem; font-weight: 800; background: var(--paper); border: 1px solid var(--line); font-family: var(--f-body); }
.rtable .idx.up { background: var(--orange-soft); color: var(--orange-deep); border-color: transparent; }
.rtable .idx.down { background: var(--green-soft); color: var(--green); border-color: transparent; }

.toc-inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 36px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.toc-inline > span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--mute); margin-right: 8px; }
.toc-inline a { font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: var(--r-full); background: var(--paper); border: 1px solid var(--line); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.toc-inline a:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Calculateur intégré à l'article */
.in-calc { background: var(--ink); color: var(--bone); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px); margin: 28px 0 8px; position: relative; overflow: hidden; }
.in-calc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 260px at 100% 0%, rgba(255,77,0,0.28), transparent 60%), radial-gradient(400px 200px at 0% 100%, rgba(255,77,0,0.12), transparent 60%); pointer-events: none; }
.in-calc > * { position: relative; }
.in-calc .eyebrow { color: rgba(244,241,236,0.55); }
.in-calc h3 { color: var(--bone); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 8px 0 8px; letter-spacing: -0.03em; }
.in-calc h3 .serif { color: var(--orange); }
.in-calc .ic-head p { color: rgba(244,241,236,0.62); font-size: 0.95rem; margin: 0 0 22px; }
.in-calc .ic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.in-calc label { display: block; }
.in-calc .lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; font-weight: 700; margin-bottom: 8px; }
.in-calc .lbl b { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -0.02em; opacity: 1; color: var(--bone); text-transform: none; }
.in-calc select { width: 100%; appearance: none; -webkit-appearance: none; background: rgba(255,255,255,0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F1EC' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 14px center/16px no-repeat; border: 1px solid var(--line-light); border-radius: 12px; color: var(--bone); padding: 13px 40px 13px 14px; font: 600 0.92rem var(--f-body); }
.in-calc select option { color: var(--ink); }
.in-calc .ic-qty { grid-column: 1 / -1; padding-top: 6px; }
.in-calc .range { width: 100%; margin: 6px 0 0; }
.in-calc .ic-out { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-light); flex-wrap: wrap; }
.in-calc .lab { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; font-weight: 700; }
.in-calc .pr { font-family: var(--f-display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin: 6px 0 4px; }
.in-calc .pr .sep { color: var(--orange); font-family: var(--f-serif); font-style: italic; font-weight: 400; margin: 0 8px; }
.in-calc .aid { font-size: 0.82rem; color: #4ade80; }
.in-calc .btn { white-space: nowrap; }

/* Citation d'artisan */
.art-quote { margin: 48px 0; padding: 36px 40px 32px 48px; border-left: 4px solid var(--orange); background: var(--paper); border-radius: 0 var(--r-lg) var(--r-lg) 0; position: relative; }
.art-quote::before { content: '“'; position: absolute; left: 18px; top: 8px; font-family: var(--f-serif); font-size: 5rem; line-height: 1; color: var(--orange); opacity: 0.5; }
.art-quote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; color: var(--ink); margin: 0 0 18px; }
.art-quote footer { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 0.85rem; color: var(--mute); }
.art-quote footer b { color: var(--ink); font-weight: 800; }

/* Devis type */
.devis { border: 1px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; margin: 28px 0 40px; background: #fff; }
.devis-head { padding: 22px 26px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.devis-head h4 { font-family: var(--f-display); font-size: 1.15rem; margin-top: 6px; }
.devis table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.devis th { text-align: left; padding: 12px 26px; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); }
.devis td { padding: 12px 26px; border-bottom: 1px solid var(--line); vertical-align: top; }
.devis td:nth-child(2) { color: var(--mute); white-space: nowrap; }
.devis td:nth-child(3) { text-align: right; font-family: var(--f-display); font-weight: 700; white-space: nowrap; }
.devis th:nth-child(3) { text-align: right; }
.devis-total { display: flex; justify-content: space-between; gap: 20px; padding: 18px 26px; background: var(--ink); color: var(--bone); align-items: baseline; flex-wrap: wrap; }
.devis-total b { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.devis-total span { font-size: 0.9rem; color: rgba(244,241,236,0.8); text-align: right; flex: 1; }

/* Erreurs à éviter */
.mistakes { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 8px; }
.mistakes li { position: relative; padding: 14px 16px 14px 48px; background: var(--orange-soft); border-radius: 12px; font-size: 0.95rem; color: var(--ink); margin: 0; }
.mistakes li::before { content: ''; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/11px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* Checklist interactive */
.checklist { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 8px 0; margin: 24px 0 36px; background: #fff; }
.checklist label { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 12px; cursor: pointer; font-size: 0.97rem; line-height: 1.5; transition: background 0.25s; }
.checklist label:hover { background: var(--paper); }
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.checklist .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--ink); position: relative; transition: background 0.25s, border-color 0.25s; margin-top: 1px; }
.checklist .box::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center/14px no-repeat; opacity: 0; transform: scale(0.4); transition: opacity 0.25s, transform 0.35s var(--e-out); }
.checklist input:checked + .box { background: var(--orange); border-color: var(--orange); }
.checklist input:checked + .box::after { opacity: 1; transform: scale(1); }
.checklist input:checked ~ span:last-child { color: var(--mute); text-decoration: line-through; text-decoration-color: rgba(14,14,14,0.3); }
.cl-progress { display: flex; align-items: center; gap: 14px; padding: 14px 16px 16px; border-top: 1px solid var(--line); margin-top: 6px; font-size: 0.78rem; font-weight: 800; color: var(--mute); }
.cl-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--paper); position: relative; overflow: hidden; display: block; }
.cl-progress i { background: linear-gradient(var(--orange), var(--orange)) left/0 100% no-repeat, var(--paper); transition: background-size 0.5s var(--e-out); }
.checklist.is-done .cl-progress { color: var(--green); }

/* Sources */
.sources { margin-top: 48px; padding: 24px 28px; background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); }
.sources h4 { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.sources ul { list-style: none; padding: 0; margin: 0 0 12px; }
.sources li { font-size: 0.9rem; margin: 0 0 6px; padding-left: 16px; position: relative; }
.sources li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 1.5px; background: var(--orange); }
.sources a { border-bottom: 1px solid var(--line); }
.sources a:hover { color: var(--orange); border-color: var(--orange); }
.sources p { font-size: 0.8rem; color: var(--mute); margin: 0; }

/* ============================================================
   PAGES VILLES
   ============================================================ */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.city-card { display: block; padding: 22px 22px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform 0.4s var(--e-out), box-shadow 0.4s, border-color 0.3s; }
.city-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(14,14,14,0.1); border-color: transparent; }
.city-card b { display: block; font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -0.03em; }
.city-card span { display: block; font-size: 0.82rem; color: var(--mute); margin-top: 4px; }
.city-card .idx { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: var(--r-full); font-size: 0.72rem; font-weight: 800; background: var(--orange-soft); color: var(--orange-deep); }
.local-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 28px 0 8px; }
.local-facts div { padding: 18px 18px 16px; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
.local-facts .v { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.local-facts .v i { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--orange); }
.local-facts .l { font-size: 0.74rem; color: var(--mute); margin-top: 8px; }
.trade-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 24px 0; }
.trade-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 0.92rem; transition: border-color 0.3s, transform 0.3s var(--e-out); }
.trade-links a:hover { border-color: var(--orange); transform: translateX(4px); }
.trade-links a .ico { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
.trade-links a .ico svg { width: 20px; height: 20px; }
.chips-cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.chips-cities a { padding: 8px 14px; border-radius: var(--r-full); background: var(--paper); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; transition: background 0.3s, color 0.3s; }
.chips-cities a:hover, .chips-cities a.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }

@media (max-width: 900px) {
  .in-calc .ic-grid { grid-template-columns: 1fr 1fr; }
  .in-calc .ic-out .btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .in-calc .ic-grid { grid-template-columns: 1fr; }
  .art-quote { padding: 30px 22px 26px 30px; }
  .devis th, .devis td { padding: 10px 14px; }
  .devis td:nth-child(2) { display: none; } .devis th:nth-child(2) { display: none; }
}
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.mega-foot > span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); font-weight: 700; padding: 0 10px 0 10px; }
.mega-foot a { padding: 6px 10px; font-size: 0.82rem; }
.mega-foot a.more { margin-left: auto; color: var(--orange); }
.mega-foot a.more svg { width: 14px; height: 14px; }
.chips-cities a svg { width: 12px; height: 12px; vertical-align: -1px; margin-left: 4px; }
.phero .lead strong { color: var(--orange); }
@media (max-width: 640px) { .in-calc .ic-out .btn { white-space: normal; text-align: center; } .in-calc .ic-out { gap: 16px; } }
.chips-cities a { display: inline-flex; align-items: center; gap: 6px; }
.chips-cities a svg { display: inline-block; margin-left: 0; }
