/* LEDCity — porcelaine, pétrole profond et bronze. Big Shoulders pour les titres, Hanken Grotesk pour le texte. */
@font-face {
  font-family: "Big Shoulders";
  src: url("/fonts/big-shoulders.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #eef0ec;
  --surface: #f8f9f6;
  --ink: #0d1f26;
  --muted: #4b5b60;
  --line: #cfd6d3;
  --accent: #8a6a3b;          /* bronze, sur fond clair */
  --deep: #0d1f26;            /* pétrole profond : en-têtes, calculateur, appel final */
  --deep-2: #132d37;
  --deep-line: #24434e;
  --on-deep: #e8ece7;
  --on-deep-muted: #9fb1b4;
  --champagne: #d8c3a0;       /* bronze clair, sur fond sombre */
  --focus: #b8873f;
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a181e;
    --surface: #0f242c;
    --ink: #e6eae5;
    --muted: #9cadb0;
    --line: #22404a;
    --accent: #d8c3a0;
    --deep: #051015;
    --deep-2: #0b1d24;
    --deep-line: #1c3842;
    --focus: #d8c3a0;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--text);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -0.005em; margin: 0; }
h1 { font-size: clamp(48px, 8.4vw, 116px); font-weight: 700; white-space: nowrap; letter-spacing: -0.012em; }
h2 { font-size: clamp(34px, 4.4vw, 54px); }
h3 { font-size: 26px; font-weight: 600; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }

/* ---------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink); border-radius: 3px;
  font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-light { background: var(--on-deep); color: #0d1f26; border-color: var(--on-deep); }
.btn-light:hover { background: var(--champagne); border-color: var(--champagne); color: #0d1f26; }
.btn-ghost { background: transparent; color: var(--on-deep); border-color: rgba(232, 236, 231, .32); }
.btn-ghost:hover { border-color: var(--champagne); color: var(--champagne); background: transparent; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; border-color: #178a45; color: #fff; }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.btn-small.btn-wa svg { width: 18px; height: 18px; }
.nav .btn.btn-wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.nav .btn.btn-wa:hover { background: #178a45; border-color: #178a45; color: #fff; }
.nav .btn-wa + .btn { margin-left: 8px; }
.wa-first { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 8px; border: 1px solid color-mix(in srgb, #1fa855 45%, var(--line)); background: color-mix(in srgb, #1fa855 8%, var(--surface)); border-radius: 8px; }
.wa-first strong { display: block; font: 600 28px/1.05 var(--display); margin-bottom: 4px; }
.wa-first span { color: var(--muted); }
.wa-first .btn span { color: inherit; }
.or { margin: 22px 0 18px; color: var(--muted); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- en-tête */
.site-header { background: var(--deep); color: var(--on-deep); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--deep-line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-mark { --accent: var(--champagne); color: var(--on-deep); }
.logo-word { font: 600 27px/1 var(--display); letter-spacing: .01em; }
.logo-word b { font-weight: 800; color: var(--champagne); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-solutions > summary {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  color: var(--on-deep-muted); text-decoration: none; font-weight: 500; font-size: 15.5px;
  border-radius: 3px; cursor: pointer; list-style: none;
}
.nav > a:hover, .nav-solutions > summary:hover, .nav > a[aria-current], .nav-solutions[data-current] > summary { color: var(--on-deep); }
.nav > a[aria-current]:not(.btn) { box-shadow: inset 0 -2px 0 var(--champagne); border-radius: 0; }
.nav .btn { margin-left: 10px; background: var(--on-deep); color: #0d1f26; border-color: var(--on-deep); }
.nav .btn:hover { background: var(--champagne); border-color: var(--champagne); }
.nav .btn[aria-current] { color: #0d1f26; background: var(--champagne); border-color: var(--champagne); }
.nav-solutions { position: relative; }
.nav-solutions > summary::-webkit-details-marker { display: none; }
.nav-solutions > summary::after {
  content: ""; width: 7px; height: 7px; margin-left: 9px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  transition: transform .2s;
}
.nav-solutions[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.nav-solutions ul {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 380px; margin: 0; padding: 8px; list-style: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 24px 60px -20px rgba(5, 16, 21, .45);
}
.nav-solutions li a { display: block; padding: 10px 12px; border-radius: 4px; text-decoration: none; }
.nav-solutions li a:hover, .nav-solutions li a[aria-current] { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.nav-name { display: block; font-weight: 600; }
.nav-desc { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.menu-btn {
  display: none; min-height: 42px; padding: 0 16px; background: transparent; color: var(--on-deep);
  border: 1px solid var(--deep-line); border-radius: 3px; font: 600 15px var(--text); cursor: pointer;
}

/* ---------------------------------------------------------------- accueil : héros */
.hero { background: var(--deep); color: var(--on-deep); padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero h1 { color: var(--on-deep); font-size: clamp(48px, 6.4vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.hero .lead { max-width: 46ch; margin: 22px 0 32px; color: var(--on-deep-muted); font-size: 19px; }
.hero-points { list-style: none; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--deep-line); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--on-deep-muted); }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; background: var(--champagne); border-radius: 1px; }
.hero-img { margin: 0; }
.hero-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 660px; object-fit: cover; object-position: 80% 50%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(216, 195, 160, .18), 0 40px 90px -40px rgba(0, 0, 0, .8); }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-lead { color: var(--muted); max-width: 46ch; margin-top: 18px; font-size: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.split-head { position: sticky; top: 32px; }

/* solutions : grandes cartes */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: 48px; }
.sec-head .section-lead { margin: 0; max-width: 44ch; justify-self: end; font-size: 19px; }
.sol-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sol-card {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.sol-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 24px 50px -28px rgba(5, 16, 21, .45); }
.sol-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--deep); }
.sol-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
html body .sol-card:hover .sol-img { transform: scale(1.04); }
.sol-icon { display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.sol-icon svg { width: 96px; height: 96px; }
.sol-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex: 1; }
.sol-name { font: 600 clamp(30px, 2.6vw, 38px)/1.02 var(--display); }
.sol-desc { color: var(--muted); font-size: 18px; line-height: 1.5; }
.sol-more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 16px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.sol-help {
  display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 26px 28px; text-decoration: none;
  border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--accent) 7%, var(--bg));
}
.sol-help-icon { flex: none; width: 56px; height: 56px; color: var(--accent); }
.sol-help-icon svg { width: 100%; height: 100%; }
.sol-help-txt { display: grid; gap: 4px; flex: 1; }
.sol-help-txt strong { font: 600 30px/1.05 var(--display); }
.sol-help-txt span { color: var(--muted); font-size: 17px; }
.sol-help:hover .btn { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Tanger : quatre contraintes */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }
.notes > div { padding-top: 18px; border-top: 2px solid var(--accent); }
.notes h3 { margin-bottom: 10px; }
.notes p { color: var(--muted); margin: 0; }

/* méthode : une vraie séquence */
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
.process { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.process li { counter-increment: step; }
.process li::before { content: counter(step); display: block; font: 300 64px/1 var(--display); color: var(--accent); margin-bottom: 18px; }
.process h3 { font-size: 23px; margin-bottom: 10px; }
.process p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------------------------------------------------------------- calculateur */
.calc-section { background: var(--deep); color: var(--on-deep); padding: clamp(64px, 9vw, 112px) 0; }
.calc-section h2 { color: var(--on-deep); }
.calc-intro { color: var(--on-deep-muted); max-width: 56ch; margin: 18px 0 40px; font-size: 18px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; align-items: start; }
.calc-form { display: grid; gap: 28px; padding: 28px; background: var(--deep-2); border: 1px solid var(--deep-line); border-radius: 6px; }
.calc-form label, .calc-form legend { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15.5px; margin-bottom: 8px; padding: 0; }
.calc-form output { font: 700 22px/1 var(--display); color: var(--champagne); }
.calc-form .hint { display: block; font-size: 14px; color: var(--on-deep-muted); margin: -4px 0 12px; line-height: 1.45; }
.seg-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: rgba(0, 0, 0, .25); border: 1px solid var(--deep-line); border-radius: 4px; }
.seg label { margin: 0; display: block; font-weight: 500; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 3px; cursor: pointer; color: var(--on-deep-muted); }
.seg input:checked + span { background: var(--on-deep); color: #0d1f26; font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }
.calc-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-form input[type="number"] {
  width: 100%; min-height: 48px; padding: 0 12px; background: rgba(0, 0, 0, .25); color: var(--on-deep);
  border: 1px solid var(--deep-line); border-radius: 3px; font: 600 18px var(--text);
}
.calc-form input[type="range"] { width: 100%; height: 32px; margin: 0; accent-color: var(--champagne); background: transparent; -webkit-appearance: none; appearance: none; }
.calc-form input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--deep-line); }
.calc-form input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--champagne); border: 3px solid var(--deep-2); box-shadow: 0 0 0 1px var(--champagne); }
.calc-form input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--deep-line); }
.calc-form input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--champagne); border: 3px solid var(--deep-2); }
.calc-result { min-width: 0; }
.calc-headline { font: 500 clamp(22px, 2.4vw, 28px)/1.3 var(--text); margin: 0 0 14px; }
.calc-headline strong { font-weight: 700; }
.calc-big { display: inline-block; font: 700 1.6em/1 var(--display); color: var(--champagne); vertical-align: -.08em; }
.calc-why { color: var(--on-deep-muted); max-width: 64ch; }
.calc-warn { padding: 12px 16px; border-left: 2px solid var(--champagne); background: rgba(216, 195, 160, .08); color: var(--on-deep); }
.calc-svg { width: 100%; height: auto; margin: 18px 0; background: rgba(0, 0, 0, .2); border: 1px solid var(--deep-line); border-radius: 6px; }
.calc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 16px; }
.calc-stats div { padding: 16px; border: 1px solid var(--deep-line); border-radius: 4px; }
.calc-stats dt { font-size: 14px; color: var(--on-deep-muted); }
.calc-stats dd { margin: 4px 0 0; font: 700 30px/1.1 var(--display); }
.calc-tech { margin: 0 0 22px; border: 1px solid var(--deep-line); border-radius: 4px; }
.calc-tech summary { padding: 14px 16px; cursor: pointer; font-weight: 600; color: var(--on-deep); }
.calc-tech dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 20px; padding: 0 16px; margin: 0; }
.calc-tech dt { font-size: 14px; color: var(--on-deep-muted); }
.calc-tech dd { margin: 0; font-weight: 600; }
.calc-note { padding: 14px 16px 16px; margin: 0; font-size: 14.5px; color: var(--on-deep-muted); }

/* ---------------------------------------------------------------- FAQ */
.faq h2 { margin-bottom: 8px; }
.faq-hint { color: var(--muted); margin-bottom: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 4px; cursor: pointer; list-style: none; font-weight: 600; font-size: 18.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px; position: relative;
  background: linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat,
              linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat;
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.answer { padding: 0 4px 22px; max-width: 70ch; color: var(--muted); }
.answer p { margin: 0; }

/* ---------------------------------------------------------------- appel final */
.cta-band { background: var(--deep); color: var(--on-deep); padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.cta-inner h2 { color: var(--on-deep); margin-bottom: 14px; }
.cta-inner p { color: var(--on-deep-muted); max-width: 52ch; margin: 0; }

/* ---------------------------------------------------------------- pied de page */
.site-footer { background: var(--deep); color: var(--on-deep-muted); border-top: 1px solid var(--deep-line); padding: 64px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 32ch; }
.site-footer h2 { font: 600 15px/1 var(--text); color: var(--on-deep); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--champagne); }
.site-footer .logo { color: var(--on-deep); }
.areas { margin-top: 16px; }
.foot-legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; font-size: 14px;
  background: linear-gradient(var(--deep-line), var(--deep-line)) var(--gut) 0 / calc(100% - 2 * var(--gut)) 1px no-repeat; }
.foot-legal p { margin: 0; }
.demo-note { max-width: 70ch; }

/* ---------------------------------------------------------------- pages intérieures */
.page-head { background: var(--deep); color: var(--on-deep); padding: 28px 0 clamp(48px, 6vw, 80px); }
.page-head h1 { color: var(--on-deep); font-size: clamp(44px, 7vw, 96px); margin-top: 28px; }
.page-head .lead { color: var(--on-deep-muted); max-width: 58ch; font-size: 19px; margin: 20px 0 0; }
.page-head .actions { margin-top: 28px; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: end; }
.page-head.has-img h1 { font-size: clamp(40px, 5.6vw, 84px); }
.page-head-img { margin: 0; }
.page-head-img img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(216, 195, 160, .18); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--on-deep-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--champagne); }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 32px; align-items: start; }
.prose { max-width: 70ch; }
.block { margin-bottom: 48px; }
.block h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
.prose h3 { font-size: 24px; margin: 28px 0 10px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--ink); }
.steps-list { padding-left: 0; list-style: none; counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -2px; font: 600 26px/1 var(--display); color: var(--accent); }
.note { padding: 16px 20px; border-left: 2px solid var(--accent); background: var(--surface); color: var(--muted); font-size: 16px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.pitch-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.pitch-table caption { text-align: left; padding: 14px 16px; color: var(--muted); font-size: 14.5px; }
.pitch-table th, .pitch-table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); }
.pitch-table thead th { font-weight: 600; }
.pitch-table tbody th { font: 700 20px/1 var(--display); color: var(--accent); }

.page-aside { position: sticky; top: 24px; }
.aside-cta { padding: 28px; background: var(--deep); color: var(--on-deep); border-radius: 6px; }
.aside-title { font: 600 28px/1.05 var(--display); margin-bottom: 10px; }
.aside-cta p:not(.aside-title) { color: var(--on-deep-muted); font-size: 16px; }
.aside-cta .actions { flex-direction: column; }
.aside-cta .btn { width: 100%; }

/* fiche technique repliée */
.tech { margin: 8px 0 48px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.tech summary { display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.tech summary::-webkit-details-marker { display: none; }
.tech-icon { width: 24px; height: 24px; color: var(--accent); flex: none; }
.tech-txt { display: grid; flex: 1; }
.tech-txt strong { font-size: 17px; }
.tech-txt small { color: var(--muted); font-size: 14.5px; }
.tech-toggle::after { content: "Afficher"; font-size: 14.5px; font-weight: 600; color: var(--accent); }
.tech[open] .tech-toggle::after { content: "Masquer"; }
.tech-body { padding: 4px 20px 20px; border-top: 1px solid var(--line); }
.tech-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 24px; margin: 16px 0 8px; }
.tech-specs dt { font-size: 14px; color: var(--muted); }
.tech-specs dd { margin: 0; font-weight: 600; }

.related { padding: 32px 0 80px; }
.related h2 { font-size: 34px; margin-bottom: 20px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.related a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.related a:hover .r-name { color: var(--accent); }
.r-name { display: block; font: 600 22px/1.1 var(--display); }
.r-desc { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.page .faq { padding-top: 32px; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 96px; align-items: start; }
.quote { display: grid; gap: 22px; }
.field label, .field .two label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 8px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote input, .quote select, .quote textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px; font: 400 16.5px/1.4 var(--text);
}
.quote textarea { resize: vertical; }
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.quote .btn { justify-self: start; }
.form-out:empty { display: none; }
.form-out { padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; }
.contact-side h2 { font-size: 30px; margin-bottom: 14px; }
.contact-side .plain { padding-left: 18px; color: var(--muted); }
.contact-side a { color: var(--accent); }
.direct { list-style: none; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.direct span { display: block; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- WhatsApp flottant */
.wa-float {
  position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 14px; min-height: 84px; padding: 0 34px 0 24px;
  background: #1fa855; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 21px;
  box-shadow: 0 14px 36px -8px rgba(5, 16, 21, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transition: background .18s, transform .18s;
}
.wa-float svg { width: 46px; height: 46px; flex: none; }
.wa-float:hover { background: #178a45; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-footer { padding-bottom: 140px; }

/* ---------------------------------------------------------------- conseils, comparatifs */
.byline { margin: 14px 0 0; font-size: 15px; color: var(--on-deep-muted); }
.byline a { color: var(--champagne); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cmp-table caption { text-align: left; padding: 14px 16px; color: var(--muted); font-size: 14.5px; }
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th { font-weight: 700; }
.cmp-table tbody th { font-weight: 600; color: var(--accent); white-space: nowrap; }
.hub { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 80px; }
.hub-intro { margin-bottom: 40px; color: var(--muted); font-size: 18px; }
.hub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hub-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.hub-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 24px 50px -28px rgba(5, 16, 21, .45); }
.hub-name { font: 600 30px/1.05 var(--display); }
.hub-desc { color: var(--muted); font-size: 17px; }
.hub-card .sol-more { margin-top: auto; }

/* ---------------------------------------------------------------- légal, consentement */
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.legal-links a { text-decoration: underline; text-underline-offset: 3px; }
.legal { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 80px; }
.updated { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.form-note { margin: -6px 0 0; font-size: 14.5px; color: var(--muted); }
.form-note a { color: var(--accent); }
.consent {
  position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  width: min(440px, calc(100% - 32px)); padding: 20px 22px; display: grid; gap: 14px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 24px 60px -20px rgba(5, 16, 21, .5); font-size: 15px; line-height: 1.5;
}
.consent p { margin: 0; }
.consent a { color: var(--accent); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .bar { min-height: 64px; }
  .logo-word { font-size: 25px; }
  .nav {
    display: none; position: fixed; left: 0; right: 0; top: 64px; bottom: 0; flex-direction: column; align-items: stretch;
    padding: 16px var(--gut) calc(32px + env(safe-area-inset-bottom)); background: var(--deep); border-top: 1px solid var(--deep-line);
    gap: 0; overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open { display: flex; }
  .nav > a, .nav-solutions > summary {
    min-height: 58px; padding: 0 4px; font: 600 30px/1 var(--display); color: var(--on-deep);
    border-bottom: 1px solid var(--deep-line); border-radius: 0; justify-content: space-between;
  }
  .nav > a[aria-current]:not(.btn) { box-shadow: none; color: var(--champagne); }
  .nav-solutions > summary { display: flex; width: 100%; }
  .nav-solutions > summary::after { margin-left: auto; margin-right: 6px; }
  .nav-solutions ul { position: static; width: auto; margin: 0; padding: 4px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--deep-line); border-radius: 0; box-shadow: none; }
  .nav-solutions li a { padding: 12px 4px; color: var(--on-deep); }
  .nav-solutions li a:hover, .nav-solutions li a[aria-current] { background: rgba(255, 255, 255, .05); }
  .nav-solutions .nav-desc { color: var(--on-deep-muted); }
  .nav .btn-wa + .btn { margin-left: 0; margin-top: 10px; }
  .nav .btn { margin: 24px 0 0; min-height: 54px; font: 600 17px/1 var(--text); justify-content: center; border-bottom: 0; }
  body.menu-open { overflow: hidden; }
  body.menu-open .wa-float { display: none; }
  .site-header .bar { position: static; }
  .page-grid, .contact-grid, .calc-grid, .hero-grid, .page-head-grid { grid-template-columns: minmax(0, 1fr); }
  .page-aside { position: static; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 40px; }
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head .section-lead { justify-self: start; }
  .hero-img img { aspect-ratio: 4 / 3; max-height: none; object-position: 50% 15%; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .consent { left: 0; bottom: 0; width: 100%; border-radius: 12px 12px 0 0; border-width: 1px 0 0; padding: 18px var(--gut) calc(18px + env(safe-area-inset-bottom)); }
  .consent-actions .btn { flex: 1; min-height: 48px; }
  .consent-open .wa-float { bottom: calc(var(--banner-h, 0px) + 12px); }
  .section { padding: 64px 0; }
  .hero { padding: 28px 0 48px; }
  .hero .lead, .page-head .lead { font-size: 17.5px; }
  .hero .lead { margin: 16px 0 24px; }
  .hero-points { margin-top: 24px; padding-top: 18px; gap: 8px 20px; }
  .page-head { padding: 20px 0 40px; }
  .page-head h1 { margin-top: 18px; }
  .process { gap: 28px; }
  .process li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; }
  .process li::before { grid-row: span 2; font-size: 40px; margin: 0; }
  .calc-form { padding: 20px; gap: 22px; }
  .calc-stats dd { font-size: 24px; }
  .calc-result .btn, .quote .btn { width: 100%; }
  .quote .btn { justify-self: stretch; }
  .faq-list summary { font-size: 17px; padding: 18px 2px; }
  .site-footer { font-size: 15.5px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: block; padding: 7px 0; }
  .foot-grid { gap: 32px 24px; }
  .wa-float { width: 76px; min-height: 76px; padding: 0; justify-content: center; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .wa-float svg { width: 42px; height: 42px; }
  .site-footer { padding-bottom: 120px; }
  .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body { font-size: 16.5px; }
  .cta-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
  .sol-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hub-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-name { font-size: 27px; }
  .cmp-table { font-size: 14.5px; }
  .cmp-table th, .cmp-table td { padding: 10px 12px; }
  .cmp-table tbody th { white-space: normal; }
  .sec-head { margin-bottom: 32px; }
  .sec-head .section-lead { font-size: 17.5px; }
  .sol-body { padding: 20px 20px 22px; }
  .sol-name { font-size: 32px; }
  .sol-desc { font-size: 17px; }
  .sol-help { flex-wrap: wrap; gap: 16px; padding: 22px 20px; }
  .sol-help-icon { width: 44px; height: 44px; }
  .sol-help .btn { width: 100%; }
  .notes, .process { grid-template-columns: minmax(0, 1fr); }
  .field.two { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------------------------------------------------------------- animations (générées par build.py) */
html.js .hero h1, html.js .hero .lead, html.js .hero .actions, html.js .hero-points, html.js .page-head .crumbs, html.js .page-head h1, html.js .page-head .lead, html.js .page-head .actions, html.js .split-head, html.js .section > .wrap > h2, html.js .section > .wrap > .section-lead, html.js .sec-head, html.js .sol-grid > li, html.js .hub-grid > li, html.js .sol-help, html.js .notes > div, html.js .process > li, html.js .faq-list > details, html.js .calc-section h2, html.js .calc-intro, html.js .calc-form, html.js .calc-result, html.js .cta-inner > *, html.js .block, html.js .tech, html.js .aside-cta, html.js .related h2, html.js .related li, html.js .page .faq > h2, html.js .page .faq-hint, html.js .contact-grid > *, html.js .foot-grid > * { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
html.js .hero h1.in, html.js .hero .lead.in, html.js .hero .actions.in, html.js .hero-points.in, html.js .page-head .crumbs.in, html.js .page-head h1.in, html.js .page-head .lead.in, html.js .page-head .actions.in, html.js .split-head.in, html.js .section > .wrap > h2.in, html.js .section > .wrap > .section-lead.in, html.js .sec-head.in, html.js .sol-grid > li.in, html.js .hub-grid > li.in, html.js .sol-help.in, html.js .notes > div.in, html.js .process > li.in, html.js .faq-list > details.in, html.js .calc-section h2.in, html.js .calc-intro.in, html.js .calc-form.in, html.js .calc-result.in, html.js .cta-inner > *.in, html.js .block.in, html.js .tech.in, html.js .aside-cta.in, html.js .related h2.in, html.js .related li.in, html.js .page .faq > h2.in, html.js .page .faq-hint.in, html.js .contact-grid > *.in, html.js .foot-grid > *.in { opacity: 1; transform: none; }
html.js .hero-img img, html.js .page-head-img img, html.js .sol-img { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.1s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform 1.4s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
html.js .hero-img img.in, html.js .page-head-img img.in, html.js .sol-img.in { clip-path: inset(-120px); transform: none; }
@media print { html.js .hero h1, html.js .hero .lead, html.js .hero .actions, html.js .hero-points, html.js .page-head .crumbs, html.js .page-head h1, html.js .page-head .lead, html.js .page-head .actions, html.js .split-head, html.js .section > .wrap > h2, html.js .section > .wrap > .section-lead, html.js .sec-head, html.js .sol-grid > li, html.js .hub-grid > li, html.js .sol-help, html.js .notes > div, html.js .process > li, html.js .faq-list > details, html.js .calc-section h2, html.js .calc-intro, html.js .calc-form, html.js .calc-result, html.js .cta-inner > *, html.js .block, html.js .tech, html.js .aside-cta, html.js .related h2, html.js .related li, html.js .page .faq > h2, html.js .page .faq-hint, html.js .contact-grid > *, html.js .foot-grid > *, html.js .hero-img img, html.js .page-head-img img, html.js .sol-img { opacity: 1 !important; transform: none !important; clip-path: none !important; } }
