/* ClickPrint3D — feuille de style principale (thème sombre « liquid glass ») */

:root {
  --bg: #060913;
  --bg-2: #0B1024;
  --ink: #F2F4FF;
  --ink-2: #A9B0CE;
  --ink-3: #7A82A6;
  --line: rgba(255, 255, 255, .10);

  --glass-border: rgba(255, 255, 255, .14);
  --blur: saturate(170%) blur(20px);

  /* Palette « filaments » */
  --brand: #0170C3;
  --blue: #3AA0FF;
  --violet: #8E76FF;
  --pink: #FF62B3;
  --coral: #FF8A5E;
  --sun: #FFC94A;
  --mint: #33E0B2;
  --spectrum: linear-gradient(90deg, var(--blue), var(--violet), var(--pink), var(--coral), var(--sun), var(--mint));

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; position: relative;
  background: transparent; color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Fond : aurores de couleurs + grille ---------- */
body::before {
  content: ""; position: fixed; inset: -20vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(28vmax 28vmax at 18% 22%, rgba(58, 160, 255, .42), transparent 70%),
    radial-gradient(26vmax 26vmax at 82% 18%, rgba(255, 98, 179, .36), transparent 70%),
    radial-gradient(30vmax 30vmax at 70% 78%, rgba(142, 118, 255, .40), transparent 70%),
    radial-gradient(22vmax 22vmax at 22% 82%, rgba(51, 224, 178, .28), transparent 70%),
    radial-gradient(18vmax 18vmax at 50% 50%, rgba(255, 138, 94, .20), transparent 70%);
  filter: blur(30px);
  animation: aurora 28s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(3vmax, -2vmax, 0) rotate(8deg) scale(1.06); }
  100% { transform: translate3d(-3vmax, 2vmax, 0) rotate(-6deg) scale(1); }
}

/* ---------- Verre liquide ---------- */
.need, .uses li, .hero-visual, .quote-form, .table-scroll, .faq details, .strip-inner, .header-inner, .step-n, .visual-tag, .visual-label {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .06));
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -1px 0 rgba(255, 255, 255, .04),
    inset 0 0 24px rgba(255, 255, 255, .03),
    0 20px 50px -30px rgba(0, 0, 0, .8);
}
/* Reflet qui suit le pointeur */
.need, .uses li, .hero-visual, .quote-form, .table-scroll, .faq details { overflow: hidden; isolation: isolate; }
.need::after, .uses li::after, .hero-visual::after, .quote-form::after, .table-scroll::after, .faq details::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c, #fff) 22%, transparent), transparent 60%);
  transition: opacity .35s var(--ease);
}
.need:hover::after, .uses li:hover::after, .hero-visual:hover::after, .quote-form:hover::after, .table-scroll:hover::after, .faq details:hover::after { opacity: 1; }
/* Liseré lumineux sur le bord supérieur */
.need::before, .uses li::before, .quote-form::before, .hero-visual::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
}

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--f-body);
  padding: 1em 1.55em; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--violet) 70%, var(--pink));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px -8px rgba(142, 118, 255, .7), 0 0 0 1px rgba(255, 255, 255, .12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 16px 40px -8px rgba(255, 98, 179, .6), 0 0 0 1px rgba(255, 255, 255, .2); }
.btn-ghost {
  background: rgba(255, 255, 255, .06); border-color: var(--glass-border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-sm { padding: .72em 1.2em; font-size: .9375rem; }
.btn-block { width: 100%; }

/* ---------- En-tête : barre de verre flottante ---------- */
.site-header { position: sticky; top: 12px; z-index: 50; padding-inline: 12px; }
.header-inner {
  display: flex; align-items: center; gap: 28px; height: 64px;
  border-radius: 999px; padding: 0 10px 0 22px;
  width: min(100%, calc(var(--wrap) + 40px));
  background: rgba(10, 14, 32, .45);
}
.site-header.scrolled .header-inner { background: rgba(10, 14, 32, .7); }
.brand img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-inner { height: 58px; gap: 10px; padding: 0 6px 0 16px; }
  .brand img { height: 38px; }
  .header-cta { margin-left: auto; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; border-radius: 50%;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 2px; margin: 0; padding: 10px;
    border-radius: var(--r-md);
    background: rgba(10, 14, 32, .85); border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; color: var(--ink); }
}
@media (max-width: 420px) { .header-cta { display: none; } .nav-toggle { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .8125rem/1.3 var(--f-mono); letter-spacing: .02em; color: var(--ink-2);
  margin-bottom: 24px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: conic-gradient(var(--blue), var(--violet), var(--pink), var(--coral), var(--sun), var(--mint), var(--blue)); box-shadow: 0 0 12px rgba(142, 118, 255, .9); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--violet) 40%, var(--pink) 70%, var(--coral));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 24px rgba(142, 118, 255, .45));
}
@keyframes shimmer { to { background-position: 100% 0; } }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof {
  list-style: none; padding: 22px 0 0; margin: 42px 0 0;
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: .95rem;
}
.hero-proof strong { display: block; font: 800 1.9rem/1.1 var(--f-display); letter-spacing: -.02em; }
.hero-proof li:nth-child(1) strong { color: var(--blue); text-shadow: 0 0 22px rgba(58, 160, 255, .55); }
.hero-proof li:nth-child(2) strong { color: var(--pink); text-shadow: 0 0 22px rgba(255, 98, 179, .55); }
.hero-proof li:nth-child(3) strong { color: var(--mint); text-shadow: 0 0 22px rgba(51, 224, 178, .5); }

.hero-visual {
  margin: 0; border-radius: var(--r-lg);
  padding: clamp(16px, 3vw, 32px);
  aspect-ratio: 4 / 3.3;
  display: grid; place-items: center;
  --c: var(--violet);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(255, 255, 255, .04), 0 40px 120px -30px rgba(142, 118, 255, .65), 0 0 80px -40px rgba(255, 98, 179, .6);
}
.print-svg { width: 100%; height: 100%; overflow: visible; }
.layer-fill { fill: rgba(58, 160, 255, .25); }
.layer-line { fill: rgba(58, 160, 255, .6); }
.part { fill: url(#layers); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.part-ghost { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 5; opacity: .3; }
.bed { fill: var(--ink-3); }
.gantry { stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; }
.hotend { fill: var(--bg-2); stroke: var(--ink); stroke-width: 2; }
.nozzle { fill: var(--sun); }
.dims line { stroke: var(--ink-3); stroke-width: 1; }
.dims text, .tags text { font: 500 11px var(--f-mono); fill: var(--ink-2); }
.tags text { fill: var(--blue); }
.tags line { stroke: var(--blue); stroke-width: 1; }

.build-rect { transform-box: fill-box; transform-origin: 50% 100%; animation: build 10s steps(34, end) infinite; }
.head-y { animation: head-y 10s steps(34, end) infinite; }
.head-x { animation: head-x 1.3s ease-in-out infinite alternate; }
@keyframes build { 0% { transform: scaleY(0); } 82%, 100% { transform: scaleY(1); } }
@keyframes head-y { 0% { transform: translateY(300px); } 82% { transform: translateY(96px); } 100% { transform: translateY(60px); } }
@keyframes head-x { from { transform: translateX(112px); } to { transform: translateX(388px); } }

.visual-tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 .75rem var(--f-mono); color: var(--ink);
  border-radius: 999px; padding: 6px 12px;
}
.rec { width: 7px; height: 7px; border-radius: 50%; background: #FF5A5A; box-shadow: 0 0 10px #FF5A5A; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Vue 3D (remplace le dessin SVG quand WebGL est disponible) */
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; border-radius: inherit; }
.hero-visual.is-3d { cursor: grab; touch-action: pan-y; }
.hero-visual.is-3d.grabbing { cursor: grabbing; }
.hero-visual.is-3d canvas { display: block; }
.hero-visual.is-3d .print-svg { visibility: hidden; }
.visual-label, .visual-hint { display: none; position: absolute; z-index: 2; font: 500 .75rem var(--f-mono); }
.is-3d .visual-label { display: block; right: 16px; top: 16px; color: var(--ink); border-radius: 999px; padding: 6px 12px; }
.is-3d .visual-hint { display: block; left: 50%; bottom: 14px; transform: translateX(-50%); color: var(--ink-3); white-space: nowrap; }
.done .rec { background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; }
}

/* Titre qui « s'imprime » couche par couche */
.js .hero h1 { animation: print-in 1.1s steps(18, end) .15s both; }
.js .hero .lead, .js .hero-actions, .js .hero-proof, .js .hero .eyebrow { animation: fade-up .8s var(--ease) both; }
.js .hero .eyebrow { animation-delay: .05s; }
.js .hero .lead { animation-delay: 1.1s; }
.js .hero-actions { animation-delay: 1.25s; }
.js .hero-proof { animation-delay: 1.4s; }
.js .hero-visual { animation: fade-up 1s var(--ease) .4s both; }
@keyframes print-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-10% -5% -10% -5%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Apparition au défilement */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: fade-up .8s var(--ease) var(--d, 0s) backwards; }

/* ---------- Bandeau engagements ---------- */
.strip { padding-block: 8px 0; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 28px; padding: 20px 26px; border-radius: var(--r-md); }
.strip p { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--ink); }
.strip svg { width: 30px; height: 30px; flex: none; padding: 7px; border-radius: 50%; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; background: var(--c); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 70%, transparent); }
.strip p:nth-child(1) { --c: var(--blue); }
.strip p:nth-child(2) { --c: var(--pink); }
.strip p:nth-child(3) { --c: var(--coral); }
.strip p:nth-child(4) { --c: var(--mint); }
@media (max-width: 900px) { .strip-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .strip-inner { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 130px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { display: flex; align-items: center; gap: 10px; font: 500 .8125rem/1 var(--f-mono); color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--spectrum); box-shadow: 0 0 12px rgba(142, 118, 255, .7); flex: none; }
.section h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.section-lead { color: var(--ink-2); margin-top: 16px; font-size: 1.1rem; }
.section-lead a { color: var(--blue); }

.c-blue { --c: var(--blue); }
.c-violet { --c: var(--violet); }
.c-pink { --c: var(--pink); }
.c-coral { --c: var(--coral); }
.c-sun { --c: var(--sun); }
.c-mint { --c: var(--mint); }

/* Besoins */
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.need {
  display: flex; flex-direction: column; gap: 12px;
  border-radius: var(--r-md); padding: 26px 24px; color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.need:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 24px 50px -24px color-mix(in srgb, var(--c) 80%, transparent); }
.need-num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  font: 700 1rem var(--f-mono); color: #fff;
  background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 45%, #000));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px -6px var(--c);
}
.need h3 { font-size: 1.3rem; font-weight: 700; margin-top: 8px; }
.need p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.need-link { font-weight: 600; font-size: .92rem; color: var(--ink); }
.need-link span { color: var(--c); display: inline-block; transition: transform .25s var(--ease); }
.need:hover .need-link span { transform: translateX(4px); }
@media (max-width: 1000px) { .needs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .needs { grid-template-columns: 1fr; } }

/* Exemples */
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.uses li { border-radius: var(--r-md); padding: 24px 22px; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.uses li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.uses svg {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 16px; border-radius: 14px;
  fill: none; stroke: var(--c); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 20px -4px color-mix(in srgb, var(--c) 60%, transparent);
}
.uses h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.uses p { color: var(--ink-2); font-size: .94rem; margin-top: 6px; }
.uses li:nth-child(6n + 1) { --c: var(--blue); }
.uses li:nth-child(6n + 2) { --c: var(--coral); }
.uses li:nth-child(6n + 3) { --c: var(--mint); }
.uses li:nth-child(6n + 4) { --c: var(--violet); }
.uses li:nth-child(6n + 5) { --c: var(--pink); }
.uses li:nth-child(6n + 6) { --c: var(--sun); }
@media (max-width: 1000px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .uses { grid-template-columns: 1fr; } }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 22px; left: 24px; right: 24px; height: 4px; border-radius: 4px; background: var(--spectrum); box-shadow: 0 0 16px rgba(142, 118, 255, .8); transform: scaleX(var(--p, 0)); transform-origin: left; }
.steps li { position: relative; }
.steps li:nth-child(1) { --c: var(--blue); }
.steps li:nth-child(2) { --c: var(--violet); }
.steps li:nth-child(3) { --c: var(--pink); }
.steps li:nth-child(4) { --c: var(--coral); }
.step-n {
  z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font: 600 1rem var(--f-mono); color: var(--ink-2); margin-bottom: 22px;
  transition: background .4s, color .4s, box-shadow .4s, border-color .4s;
}
.steps li.lit .step-n { background: var(--c); border-color: transparent; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 26px var(--c); }
.steps h3 { font-size: 1.2rem; font-weight: 700; }
.steps p { color: var(--ink-2); margin-top: 8px; font-size: .98rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .steps::after { top: 24px; bottom: 24px; left: 22px; right: auto; width: 4px; height: auto; background: linear-gradient(180deg, var(--blue), var(--violet), var(--pink), var(--coral)); transform: scaleY(var(--p, 0)); transform-origin: top; }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 30px; }
  .step-n { grid-row: span 2; margin: 0; }
}

/* Bandeau matériaux défilant */
.marquee { overflow: hidden; padding-block: clamp(20px, 3vw, 40px); border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font: 800 clamp(3rem, 8vw, 7rem)/1 var(--f-display); letter-spacing: -.03em; text-transform: uppercase;
  color: var(--c); text-shadow: 0 0 40px color-mix(in srgb, var(--c) 55%, transparent);
  padding-inline: .35em; white-space: nowrap; display: inline-flex; align-items: center; gap: .7em;
}
.marquee span::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: rgba(255, 255, 255, .3); margin-left: .35em; }
.marquee span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1.5px var(--c); text-shadow: none; }
.marquee span:nth-child(6n + 1) { --c: var(--blue); }
.marquee span:nth-child(6n + 2) { --c: var(--coral); }
.marquee span:nth-child(6n + 3) { --c: var(--sun); }
.marquee span:nth-child(6n + 4) { --c: var(--mint); }
.marquee span:nth-child(6n + 5) { --c: var(--pink); }
.marquee span:nth-child(6n + 6) { --c: var(--violet); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Tableau des matériaux */
.table-scroll { overflow-x: auto; border-radius: var(--r-md); --c: var(--blue); }
.mat-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .97rem; }
.mat-table th, .mat-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mat-table td:last-child { white-space: normal; min-width: 220px; color: var(--ink-2); }
.mat-table thead th { font: 500 .75rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.mat-table tbody tr:last-child > * { border-bottom: 0; }
.mat-table tbody tr { transition: background .2s; }
.mat-table tbody tr:hover { background: rgba(255, 255, 255, .04); }
.mat-table tbody th a { display: inline-flex; align-items: center; gap: 12px; font: 700 1.1rem var(--f-display); color: var(--ink); text-decoration: none; }
.mat-table tbody th a::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c), inset 0 1px 0 rgba(255, 255, 255, .5); }
.mat-table tbody th a:hover { color: var(--c); }
.mat-table tbody tr:nth-child(1) { --c: var(--mint); }
.mat-table tbody tr:nth-child(2) { --c: var(--blue); }
.mat-table tbody tr:nth-child(3) { --c: var(--sun); }
.mat-table tbody tr:nth-child(4) { --c: var(--coral); }
.mat-table tbody tr:nth-child(5) { --c: var(--pink); }
.mat-table tbody tr:nth-child(6) { --c: var(--violet); }
.mat-table tbody tr:nth-child(7) { --c: #9AA3C4; }
.r {
  --on: var(--c, var(--blue)); --off: rgba(255, 255, 255, .14);
  display: inline-block; vertical-align: middle; width: 46px; height: 10px; background:
  radial-gradient(circle 5px at 5px 5px, var(--c1) 98%, transparent) 0 0 / 18px 10px no-repeat,
  radial-gradient(circle 5px at 5px 5px, var(--c2) 98%, transparent) 18px 0 / 18px 10px no-repeat,
  radial-gradient(circle 5px at 5px 5px, var(--c3) 98%, transparent) 36px 0 / 18px 10px no-repeat; }
.r0 { --c1: var(--off); --c2: var(--off); --c3: var(--off); }
.r1 { --c1: var(--on); --c2: var(--off); --c3: var(--off); }
.r2 { --c1: var(--on); --c2: var(--on); --c3: var(--off); }
.r3 { --c1: var(--on); --c2: var(--on); --c3: var(--on); }
.val { font: 400 .8rem var(--f-mono); color: var(--ink-3); margin-left: 10px; }
.table-note { margin-top: 20px; color: var(--ink-2); font-size: .97rem; }

/* Devis */
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.contact-list span { font: 500 .78rem/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue); }

.quote-form { border-radius: var(--r-lg); padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 18px; --c: var(--violet); }
.hp { position: absolute; left: -9999px; }
.drop {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center;
  border: 1.5px dashed rgba(142, 118, 255, .6); border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(58, 160, 255, .10), rgba(142, 118, 255, .12) 50%, rgba(255, 98, 179, .10));
  padding: 28px 16px; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .25s;
}
.drop:hover, .drop.over { border-color: var(--pink); box-shadow: 0 0 30px -6px rgba(255, 98, 179, .5); }
.drop.has-file { border-style: solid; border-color: var(--mint); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop-title { font-weight: 600; }
.drop-hint { font-size: .85rem; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--glass-border); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field select option { background: var(--bg-2); color: var(--ink); }
.field textarea { resize: vertical; min-height: 130px; }
.field ::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(142, 118, 255, .18); }
.field .invalid { border-color: #FF6B6B; }
.form-legal { font-size: .82rem; color: var(--ink-3); text-align: center; }
.form-legal a { color: var(--ink-2); }
.form-status { font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #FF7B7B; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); --c: var(--violet); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 700 1.08rem/1.35 var(--f-display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink-2), var(--ink-2)) center / 14px 2px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: rgba(142, 118, 255, .45); }
.faq details p { color: var(--ink-2); padding: 0 22px 22px; }

/* Pied de page */
.site-footer { position: relative; padding-top: 72px; margin-top: 40px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.site-footer::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: var(--spectrum); box-shadow: 0 0 20px rgba(142, 118, 255, .8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--ink-2); font-size: .95rem; max-width: 30em; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer h2 { font: 500 .78rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; font-size: .96rem; }
.site-footer nav a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 56px; padding-block: 24px; font-size: .88rem; color: var(--ink-3); }
.footer-bottom a { color: var(--ink-3); text-decoration: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #3BE07A, #1DAA55); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* Téléphones : flou plus léger pour rester fluide */
@media (max-width: 700px) {
  :root { --blur: saturate(160%) blur(12px); }
  body::before { animation: none; }
}

/* Mouvements réduits */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, .dot, .hero h1 em, .marquee-track, .build-rect, .head-x, .rec { animation: none; }
  .head-y { animation: none; transform: translateY(60px); }
  .head-x { transform: translateX(250px); }
  .js .hero h1, .js .hero .lead, .js .hero-actions, .js .hero-proof, .js .hero .eyebrow, .js .hero-visual { animation: none; }
  .js .reveal, .js .reveal.in { opacity: 1; animation: none; }
}

/* =========================================================
   Pages intérieures
   ========================================================= */
.main-nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .1); }

/* Fil d'Ariane */
.breadcrumb { font: 500 .8rem var(--f-mono); color: var(--ink-3); margin-bottom: 22px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* En-tête de page */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; }
.page-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--c, var(--blue)), var(--violet) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { max-width: 38em; }
.page-hero.solo .page-hero-grid { grid-template-columns: 1fr; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* Carte de faits clés */
.facts { border-radius: var(--r-lg); padding: 26px; display: grid; gap: 0; }
.facts dl { margin: 0; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-2); font-size: .95rem; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.facts .facts-title { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 6px; }

/* Grilles de cartes génériques */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { border-radius: var(--r-md); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
a.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c, var(--violet)) 60%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 24px 50px -24px color-mix(in srgb, var(--c, var(--violet)) 80%, transparent); }
.card h3 { font-size: 1.22rem; font-weight: 700; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card .card-link { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .92rem; }
.card .card-link span { color: var(--c, var(--blue)); }
.card .swatch { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), transparent 40%), var(--c); box-shadow: 0 0 22px -2px var(--c); }
.card .tag { align-self: flex-start; font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--c, var(--ink-2)); border: 1px solid color-mix(in srgb, var(--c, #fff) 45%, transparent); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 1000px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }
.card { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .06)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 20px 50px -30px rgba(0, 0, 0, .8); overflow: hidden; }

/* Liste de points validés */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; color: var(--ink-2); }
.checklist li strong { color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--mint)) 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%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 14px -2px var(--c, var(--mint)); }
.checklist.cross li::before { background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A5E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }

/* Deux colonnes texte + panneau */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.panel { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .06)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 20px 50px -30px rgba(0, 0, 0, .8); }
.panel h3 { font-size: 1.25rem; margin-bottom: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Texte long (guides, pages légales) */
.prose { max-width: 760px; color: var(--ink-2); font-size: 1.06rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h3 { color: var(--ink); font-size: 1.2rem; margin-top: 1.6em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--violet); }
.prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); }
.prose .note { border-left: 3px solid var(--violet); padding: 14px 18px; background: rgba(142, 118, 255, .08); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
@media (max-width: 960px) { .prose-layout { grid-template-columns: 1fr; } .prose-aside { position: static; } }
.todo { background: rgba(255, 201, 74, .15); color: var(--sun); border: 1px dashed var(--sun); border-radius: 6px; padding: 1px 6px; }
.updated { font: 500 .8rem var(--f-mono); color: var(--ink-3); }

/* Sommaire */
.toc { border-radius: var(--r-md); padding: 20px 22px; }
.toc h2 { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .95rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc, .aside-cta { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .06)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28); }
.aside-cta { border-radius: var(--r-md); padding: 22px; display: grid; gap: 12px; }
.aside-cta p { color: var(--ink-2); font-size: .95rem; }
.aside-cta strong { font: 700 1.15rem var(--f-display); }

/* Fiche technique matériau */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.spec th { color: var(--ink-2); font-weight: 500; width: 50%; }
.spec td { font-weight: 600; }
.spec tr:last-child > * { border-bottom: 0; }

/* Bandeau d'appel à l'action */
.cta-band { padding-block: clamp(40px, 7vw, 90px); }
.cta-box { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: linear-gradient(120deg, rgba(58, 160, 255, .22), rgba(142, 118, 255, .22) 45%, rgba(255, 98, 179, .2)); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 40px 100px -40px rgba(142, 118, 255, .7); }
.cta-box h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.cta-box p { color: var(--ink-2); margin-top: 10px; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .cta-box { grid-template-columns: 1fr; } }

/* Case de consentement et anti-robot */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--violet); }
.cf-turnstile { min-height: 0; }
.cf-turnstile:not(:empty) { min-height: 65px; }

/* Page 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font: 800 clamp(6rem, 20vw, 12rem)/1 var(--f-display); letter-spacing: -.05em; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(142, 118, 255, .5)); }
.notfound .cta-actions { justify-content: center; margin-top: 28px; }
.facts { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .06)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 40px 100px -40px color-mix(in srgb, var(--c, var(--violet)) 70%, transparent); }
.card { isolation: isolate; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c, #fff) 22%, transparent), transparent 60%); transition: opacity .35s var(--ease); }
.card:hover::after { opacity: 1; }
.card::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section .steps + .note, .center { text-align: center; }
.lead-sm { color: var(--ink-2); max-width: 44em; }
.stack > * + * { margin-top: 18px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.4rem !important; margin-bottom: 18px; }
/* Menu mobile : fond opaque et lien devis */
.nav-devis { display: none; }
@media (max-width: 900px) {
  .main-nav { background: #0A0E20; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
  .site-header:has(.main-nav.open) .header-inner { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0A0E20; }
  .main-nav .nav-devis { display: block; margin-top: 6px; text-align: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--brand), var(--violet) 70%, var(--pink)); }
}
/* =========================================================
   Lisibilité : contraste, tailles minimales, rythme vertical
   ========================================================= */
:root { --ink-3: #9CA3C4; }
.breadcrumb { font-size: .85rem; }
.kicker { font-size: .82rem; }
.facts .facts-title, .card .tag { font-size: .8rem; }
.visual-tag, .visual-label, .visual-hint { font-size: .8rem; }
.section { padding-block: clamp(56px, 7vw, 100px); }
.section-tight { padding-block: clamp(28px, 4vw, 56px); }
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.section-head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.cta-band { padding-block: clamp(32px, 5vw, 64px); }
@media (max-width: 700px) {
  .section { padding-block: 48px; }
  .section-tight { padding-block: 24px; }
  .lead { font-size: 1.05rem; }
  .card, .need, .panel, .uses li { padding: 20px 18px; }
}

/* Sélecteur « votre besoin → le bon matériau » */
.picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); text-decoration: none; color: var(--ink);
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .06)); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.pick:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 40px -22px var(--c); }
.pick-need { color: var(--ink-2); font-size: .98rem; }
.pick-mat { display: inline-flex; align-items: center; gap: 10px; font: 700 1.15rem var(--f-display); white-space: nowrap; }
.pick-mat::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
@media (max-width: 1000px) { .picker { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .picker { grid-template-columns: 1fr; } }

/* Tableau comparatif : cartes empilées sur mobile */
@media (max-width: 700px) {
  .table-scroll { overflow: visible; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .table-scroll::after { display: none; }
  .mat-table { min-width: 0; }
  .mat-table thead { display: none; }
  .mat-table, .mat-table tbody { display: block; }
  .mat-table tbody { display: grid; gap: 12px; }
  .mat-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .05); }
  .mat-table tbody th { grid-column: 1 / -1; padding: 0 0 4px; border: 0; }
  .mat-table tbody td { padding: 0; border: 0; white-space: normal; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
  .mat-table tbody td::before { content: attr(data-label); font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
  .mat-table tbody td:last-child { grid-column: 1 / -1; min-width: 0; }
  .val { margin-left: 0; }
}

/* Fiche matériau : profil noté */
.profile { display: grid; gap: 0; }
.profile div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.profile div:last-child { border-bottom: 0; }
.profile dt { color: var(--ink-2); }
.profile dd { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.profile .r { --on: var(--c); }

/* Verdict « choisissez-le si / évitez-le si » */
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.verdict-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .05); }
.verdict-item strong { display: block; font: 700 1.05rem var(--f-display); margin-bottom: 4px; }
.verdict-item p { color: var(--ink-2); }
.verdict-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.verdict .yes { border-color: color-mix(in srgb, var(--mint) 45%, transparent); }
.verdict .yes .verdict-icon { background: var(--mint); box-shadow: 0 0 16px -2px var(--mint); }
.verdict .no { border-color: color-mix(in srgb, var(--coral) 45%, transparent); }
.verdict .no .verdict-icon { background: var(--coral); box-shadow: 0 0 16px -2px var(--coral); }
@media (max-width: 700px) { .verdict { grid-template-columns: 1fr; } }

/* Étiquettes « idéal pour » */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; font-size: .92rem; color: var(--ink); background: color-mix(in srgb, var(--c, var(--violet)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c, var(--violet)) 40%, transparent); }
.block-title { font-size: 1.25rem !important; margin-bottom: 14px; }

/* Résumé en tête des pages légales */
.summary { border-radius: var(--r-md); padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--violet) 45%, transparent); background: rgba(142, 118, 255, .08); }
.summary h2 { margin-top: 0 !important; font-size: 1.2rem !important; }
.summary ul { margin: 10px 0 0; }
.legal-toc { columns: 2; column-gap: 32px; font-size: .95rem; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }
@media (max-width: 700px) { .legal-toc { columns: 1; } }
@media (max-width: 700px) {
  .steps li { padding-bottom: 20px; }
  .cards { gap: 10px; }
  .page-hero .lead { margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
}

/* Barre d'action fixe sur mobile */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
    padding: 8px; border-radius: 999px;
    background: rgba(10, 14, 32, .92); border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; padding: .9em 1em; }
  .mobile-cta-wa { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #3BE07A, #1DAA55); }
  .mobile-cta-wa svg { width: 24px; height: 24px; }
  .wa-float { display: none; }
  body { padding-bottom: 76px; }
}
/* Nouveau logo (déjà en version claire pour fond sombre) */
.brand img, .footer-brand img { filter: none; }
.brand img { height: 38px; }
.footer-brand img { height: 34px; }
@media (max-width: 900px) { .brand img { height: 32px; } }