/* ==========================================================================
   MGK Habitat — Feuille de style principale
   Sommaire :
   1. Polices & variables (design tokens)
   2. Base & typographie
   3. Utilitaires & mise en page
   4. Boutons, badges, chips
   5. En-tête & navigation
   6. Hero
   7. Sections & composants (cartes, gammes, process, avis, FAQ, CTA)
   8. Pied de page, barre mobile, bandeau cookies
   9. Configurateur
   10. Pages simples (légal, merci, contact, 404)
   11. Animations & accessibilité
   ========================================================================== */

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

:root {
  /* Couleurs */
  --navy-950: #060F1C;
  --navy-900: #0E1B2C;
  --navy-850: #122238;
  --navy-800: #172A44;
  --navy-700: #22395A;
  --slate-600: #4A5B72;
  --slate-500: #66768C;
  --slate-400: #8A99AD;
  --slate-300: #B8C3D1;
  --line: #E2E8F0;
  --line-strong: #CFD8E3;
  --bg: #F5F7FA;
  --bg-alt: #EDF1F7;
  --surface: #FFFFFF;
  --blue-700: #1C52DB;
  --blue-600: #2F6BFF;
  --blue-500: #4F83FF;
  --blue-300: #9CBBFF;
  --blue-100: #E3ECFF;
  --blue-50: #F1F5FF;
  --cyan-400: #5CC8FF;
  --success: #15924A;
  --success-bg: #E7F6EE;
  --warning: #B86A00;
  --warning-bg: #FFF4E0;
  --danger: #D1343B;
  --danger-bg: #FDECEC;
  --star: #FFB020;

  --text: var(--navy-900);
  --text-muted: var(--slate-600);
  --accent: var(--blue-600);
  --accent-hover: var(--blue-700);

  /* Typographie */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: clamp(1.2rem, 1.05rem + .6vw, 1.45rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-h1: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);

  /* Espacements & formes */
  --gutter: 20px;
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --section: clamp(64px, 5vw + 40px, 112px);

  --shadow-sm: 0 1px 2px rgba(14, 27, 44, .06), 0 1px 3px rgba(14, 27, 44, .05);
  --shadow: 0 4px 12px rgba(14, 27, 44, .06), 0 12px 32px rgba(14, 27, 44, .07);
  --shadow-lg: 0 10px 30px rgba(14, 27, 44, .10), 0 30px 80px rgba(14, 27, 44, .12);
  --shadow-blue: 0 8px 24px rgba(47, 107, 255, .32);

  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 64px; }
}

/* 2. Base & typographie -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.25; }
h4 { font-size: var(--fs-lg); letter-spacing: -.01em; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
strong { font-weight: 700; }
::selection { background: var(--blue-100); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }

/* 3. Utilitaires & mise en page ------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--white { background: var(--surface); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--dark .section-head p, .section--dark p { color: var(--slate-300); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--text-muted); font-size: var(--fs-lg); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--blue-300); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid > *, .split > *, .hero__grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-2m { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.stack > * + * { margin-top: 16px; }
.checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6BFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.hero .checklist li::before, .section--dark .checklist li::before { background-color: rgba(92, 200, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235CC8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* 4. Boutons, badges, chips --------------------------------------------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { box-shadow: var(--shadow-blue); }
.btn--primary:hover { --btn-bg: var(--accent-hover); box-shadow: 0 10px 28px rgba(47, 107, 255, .42); }
.btn--dark { --btn-bg: var(--navy-900); }
.btn--dark:hover { --btn-bg: var(--navy-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--navy-900); --btn-fg: var(--navy-900); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--light:hover { --btn-bg: var(--blue-50); --btn-fg: var(--navy-900); }
.btn--outline-light { --btn-bg: rgba(255,255,255,.04); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28); }
.btn--outline-light:hover { --btn-bd: #fff; --btn-fg: #fff; background: rgba(255,255,255,.1); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: var(--fs-xs); }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 800; letter-spacing: .02em; background: var(--blue-100); color: var(--blue-700);
}
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--neutral { background: var(--bg-alt); color: var(--slate-600); }
.badge--dark { background: var(--navy-900); color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; backdrop-filter: blur(6px);
}
.chip svg { width: 16px; height: 16px; }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

/* 5. En-tête & navigation ----------------------------------------------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(14, 27, 44, .06); background: rgba(255,255,255,.94); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); flex: none; }
.logo:hover { color: var(--navy-900); }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.logo__name span { color: var(--accent); }
.logo__tag { font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-500); margin-top: 4px; }
.site-footer .logo, .site-footer .logo:hover { color: #fff; }
.site-footer .logo__tag { color: var(--slate-400); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.main-nav a, .main-nav .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius-pill);
  color: var(--navy-900); text-decoration: none; font-weight: 700; font-size: var(--fs-sm);
  transition: background-color .2s, color .2s;
}
.main-nav a:hover, .main-nav .nav-trigger:hover, .main-nav a[aria-current="page"] { background: var(--bg-alt); color: var(--navy-900); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.has-dropdown { position: relative; }
.has-dropdown.is-open .nav-trigger svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) {
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-dropdown:hover .nav-trigger svg { transform: rotate(180deg); }
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.dropdown a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; white-space: normal; }
.dropdown a:hover { background: var(--blue-50); }
.dropdown__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; flex: none; color: var(--accent); }
.dropdown__icon svg { width: 26px; height: 26px; }
.dropdown strong { display: block; font-size: var(--fs-sm); }
.dropdown small { display: block; font-weight: 500; color: var(--text-muted); font-size: var(--fs-xs); line-height: 1.4; margin-top: 2px; }
.dropdown .dropdown__all { grid-column: 1 / -1; justify-content: center; background: var(--bg); font-size: var(--fs-xs); padding: 10px; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); text-decoration: none; font-weight: 800; font-size: var(--fs-sm); padding: 8px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
.header-phone small { display: block; font-size: .6875rem; font-weight: 600; color: var(--slate-500); line-height: 1; }
.header-phone span { line-height: 1.2; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--navy-900); border: 1px solid var(--line); background: #fff; transition: border-color .2s, color .2s; text-decoration: none; flex: none; }
.icon-btn:hover { border-color: var(--navy-900); color: var(--navy-900); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }

.site-header--lp .header-actions { margin-left: auto; }

@media (max-width: 1180px) { .header-phone small { display: none; } }
@media (max-width: 1080px) {
  .burger { display: inline-grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 20px var(--gutter) 40px; overflow-y: auto;
    transform: translateY(-12px); opacity: 0; transition: transform .3s var(--ease), opacity .25s, visibility .3s; margin: 0; visibility: hidden;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a, .main-nav .nav-trigger { width: 100%; justify-content: space-between; padding: 16px; font-size: 1.05rem; border-radius: 14px; }
  .dropdown { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 0 0 8px; grid-template-columns: 1fr; }
  .has-dropdown.is-open .dropdown { display: grid; transform: none; }
  .dropdown::before { display: none; }
  .header-actions { margin-left: auto; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); padding: 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) {
  .header-actions .btn { display: none; }
  .site-header--lp .header-actions .btn { display: inline-flex; padding-inline: 14px; }
  .logo__tag { display: none; }
}

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47, 107, 255, .45), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(92, 200, 255, .20), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding-block: clamp(48px, 6vw, 96px) clamp(56px, 7vw, 112px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__content > * + * { margin-top: 22px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue-300), var(--cyan-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--slate-300); max-width: 580px; }
.hero .checklist { color: #E6ECF5; font-weight: 600; }
.hero__actions { padding-top: 8px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.hero__visual { position: relative; }
.hero__frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4;
  background: linear-gradient(160deg, #1A3257, #0F2140);
  box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08);
}
.hero__frame > svg, .hero__frame > img, .media > svg, .media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media > img { z-index: 1; }
.floating-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(255,255,255,.96); color: var(--navy-900); border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: .95rem; font-weight: 800; }
.floating-card__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-100); color: var(--accent); flex: none; }
.floating-card__icon svg { width: 20px; height: 20px; }
.floating-card--tl { top: 8%; left: -6%; }
.floating-card--br { bottom: 8%; right: -4%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .floating-card--tl { left: 12px; } .floating-card--br { right: 12px; } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
}
@media (max-width: 520px) { .floating-card { padding: 9px 12px; font-size: .75rem; } .floating-card strong { font-size: .85rem; } .floating-card__icon { width: 32px; height: 32px; } }

/* Sélecteur de projet (accueil) */
.project-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 600px; }
.project-picker a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-weight: 700; font-size: var(--fs-sm); line-height: 1.25;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.project-picker a:hover { background: rgba(47,107,255,.25); border-color: var(--blue-500); color: #fff; transform: translateY(-2px); }
.project-picker__icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; color: var(--cyan-400); }
.project-picker__icon svg { width: 26px; height: 26px; }
.project-picker small { display: block; font-weight: 500; color: var(--slate-300); font-size: .75rem; margin-top: 2px; }
.project-picker .arrow { margin-left: auto; width: 18px; height: 18px; opacity: .6; flex: none; }
@media (max-width: 420px) { .project-picker { grid-template-columns: 1fr; } }

/* Hero de landing (plus compact) */
.hero--lp { padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 88px); }
.breadcrumb { font-size: var(--fs-xs); color: var(--slate-400); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--slate-300); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Barre de réassurance */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; }
.trustbar li { display: flex; align-items: center; gap: 14px; padding: 22px 16px; font-size: var(--fs-sm); line-height: 1.35; }
.trustbar li + li { border-left: 1px solid var(--line); }
.trustbar strong { display: block; font-size: var(--fs-base); }
.trustbar span { color: var(--text-muted); font-size: var(--fs-xs); }
.trustbar__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--accent); display: grid; place-items: center; flex: none; }
.trustbar__icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .trustbar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar li:nth-child(3) { border-left: 0; }
  .trustbar li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .trustbar li { padding: 16px 10px; gap: 10px; } .trustbar__icon { width: 36px; height: 36px; } }

/* 7. Sections & composants ---------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--shadow-sm);
}
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--accent); display: grid; place-items: center; }
.feature__icon svg { width: 26px; height: 26px; }
.feature p { color: var(--text-muted); font-size: var(--fs-sm); }
.section--dark .feature { background: var(--navy-850); border-color: rgba(255,255,255,.08); box-shadow: none; }
.section--dark .feature__icon { background: rgba(47,107,255,.18); color: var(--blue-300); }
.section--dark .feature p { color: var(--slate-300); }

/* Cartes produits (accueil) */
.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-300); }
.product-card .media { position: relative; aspect-ratio: 16 / 11; background: linear-gradient(160deg, #E9F0FF, #D6E3FF); overflow: hidden; }
.product-card .media svg { transition: transform .6s var(--ease); }
.product-card:hover .media svg { transform: scale(1.04); }
.product-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card__body p { color: var(--text-muted); font-size: var(--fs-sm); }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card__actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.product-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__actions .btn { position: relative; z-index: 2; }
.product-card h3 a { color: inherit; text-decoration: none; }

/* Gammes / modèles (landings) */
.range-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.range-card__media { border-radius: 16px; background: var(--blue-50); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; color: var(--accent); }
.range-card__media svg { width: 78%; height: auto; }
.range-card--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.range-card__flag { position: absolute; top: -12px; left: 24px; }
.range-card p { color: var(--text-muted); font-size: var(--fs-sm); }
.specs { display: grid; gap: 8px; font-size: var(--fs-sm); padding-top: 4px; border-top: 1px solid var(--line); margin-top: auto; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; }
.specs dt { color: var(--text-muted); }
.specs dd { font-weight: 700; text-align: right; }

/* Process */
.process { counter-reset: step; }
.process__item { position: relative; padding-top: 8px; }
.process__num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  background: var(--accent); color: #fff; box-shadow: var(--shadow-blue); margin-bottom: 18px; position: relative; z-index: 1;
}
.process__item::after { content: ""; position: absolute; top: 32px; left: 56px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-300) 0 6px, transparent 6px 12px); }
.process__item:last-child::after { display: none; }
.process__item p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 8px; }
.section--dark .process__item p { color: var(--slate-300); }
@media (max-width: 1000px) { .process__item::after { display: none; } }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.stat strong { display: block; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.stat span { display: block; margin-top: 10px; color: var(--slate-300); font-size: var(--fs-sm); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Avis */
.reviews { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.rating-card { text-align: center; padding: clamp(28px, 4vw, 44px); }
.rating-card__score { font-size: clamp(3.4rem, 2.5rem + 3vw, 4.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.rating-card__score small { font-size: .4em; color: var(--slate-500); letter-spacing: 0; }
.rating-card .stars svg { width: 26px; height: 26px; }
.rating-card .stars { margin: 14px 0 8px; }
.rating-card p { color: var(--text-muted); font-size: var(--fs-sm); }
.google-mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: var(--fs-sm); margin-top: 18px; }
.commitments { display: grid; gap: 14px; }
.commitment { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.commitment .feature__icon { width: 44px; height: 44px; flex: none; }
.commitment p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 4px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-300); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: var(--fs-base); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6BFF' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__answer { padding: 0 24px 22px; color: var(--text-muted); }
.faq .faq__answer p + p { margin-top: 10px; }

/* Bandeau CTA */
.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 5vw, 64px); color: #fff; isolation: isolate;
  background: radial-gradient(600px 300px at 90% 0%, rgba(92,200,255,.35), transparent 60%), linear-gradient(120deg, var(--blue-700), var(--blue-600) 55%, #4C8DFF);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); z-index: -1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 12px; font-size: var(--fs-lg); }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Zone d'intervention / encart */
.info-panel { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.info-panel svg { width: 28px; height: 28px; color: var(--accent); }
.info-panel p { color: var(--slate-600); font-size: var(--fs-sm); margin-top: 4px; }

/* Norme / tableau */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg); font-weight: 800; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--slate-600); }
.table tr:last-child td { border-bottom: 0; }

/* Teaser espace client */
.account-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.mock-dashboard { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px; color: var(--navy-900); }
.mock-dashboard__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 12px; background: var(--bg); font-size: var(--fs-sm); font-weight: 700; }
.mock-dashboard__row + .mock-dashboard__row { margin-top: 10px; }
.mock-dashboard__row small { display: block; font-weight: 500; color: var(--text-muted); font-size: .75rem; }
.mollie-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: var(--fs-xs); font-weight: 700; color: #fff; white-space: nowrap; }
.mollie-pill svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 900px) { .account-teaser { grid-template-columns: 1fr; } }

/* Illustration de page produit */
.illustration-card { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #E9F0FF, #D6E3FF); aspect-ratio: 4 / 3; position: relative; box-shadow: var(--shadow); }

/* 8. Pied de page, barre mobile, bandeau cookies ------------------------ */
.site-footer { background: var(--navy-950); color: var(--slate-300); padding-top: clamp(56px, 6vw, 88px); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--slate-300); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; margin-top: 20px; }
.footer-contact > a, .footer-contact > span { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-300); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: var(--fs-xs); color: var(--slate-400); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom button { color: var(--slate-400); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.footer-bottom button:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer--lp { padding-top: 40px; }
.site-footer--lp .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; padding-bottom: 32px; }
@media (max-width: 900px) { .site-footer--lp .footer-grid { grid-template-columns: 1fr; } }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14,27,44,.08);
  transition: transform .3s var(--ease);
}
.mobile-cta .btn { flex: 1; min-height: 48px; padding-inline: 12px; }
.mobile-cta.is-hidden { transform: translateY(110%); }
@media (max-width: 900px) { .mobile-cta { display: flex; } body.has-mobile-cta { padding-bottom: 76px; } }

.cookie-banner {
  position: fixed; z-index: 150; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px;
  font-size: var(--fs-sm); color: var(--text-muted);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.05rem; color: var(--navy-900); letter-spacing: -.01em; margin-bottom: 8px; }
.cookie-banner .btn-row { margin-top: 16px; }
.cookie-banner .btn { flex: 1; min-height: 44px; }
@media (max-width: 900px) { body.has-mobile-cta .cookie-banner { bottom: 88px; } }

/* 9. Configurateur ------------------------------------------------------ */
.cfg-section { background: linear-gradient(180deg, var(--bg-alt), var(--bg) 280px); }
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cfg__main { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.cfg__head { padding: 26px clamp(20px, 3vw, 36px) 0; }
.cfg__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cfg__title h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.cfg__title .badge { font-size: .75rem; }

.cfg-progress { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 6px; counter-reset: cfg; }
.cfg-progress li { flex: 1; min-width: 0; }
.cfg-progress button {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 0 18px; text-align: left;
  color: var(--slate-400); font-size: .75rem; font-weight: 700; cursor: default;
}
.cfg-progress button::before { content: ""; width: 100%; height: 5px; border-radius: 5px; background: var(--line); transition: background-color .3s; }
.cfg-progress .cfg-progress__label { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cfg-progress .cfg-progress__num { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg-alt); color: var(--slate-500); font-size: .6875rem; flex: none; }
.cfg-progress li.is-done button { color: var(--navy-900); cursor: pointer; }
.cfg-progress li.is-done button::before { background: var(--blue-300); }
.cfg-progress li.is-done .cfg-progress__num { background: var(--blue-100); color: var(--blue-700); }
.cfg-progress li.is-current button { color: var(--accent); }
.cfg-progress li.is-current button::before { background: var(--accent); }
.cfg-progress li.is-current .cfg-progress__num { background: var(--accent); color: #fff; }
.cfg-progress__mobile { display: none; font-size: var(--fs-xs); font-weight: 700; color: var(--text-muted); margin-top: 14px; }
@media (max-width: 760px) {
  .cfg-progress .cfg-progress__label { display: none; }
  .cfg-progress button { padding-bottom: 14px; }
  .cfg-progress__mobile { display: block; }
  .cfg-progress { margin-top: 10px; gap: 4px; }
}

.cfg__body { padding: 8px clamp(20px, 3vw, 36px) 28px; border-top: 1px solid var(--line); min-height: 420px; }
.cfg-step { animation: stepIn .35s var(--ease); }
.cfg-step[hidden] { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.cfg-q { padding-top: 26px; }
.cfg-q + .cfg-q { margin-top: 10px; border-top: 1px dashed var(--line); }
.cfg-q__title { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); letter-spacing: -.02em; }
.cfg-q__title .req { color: var(--accent); }
.cfg-q__help { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 6px; }
.cfg-q__content { margin-top: 18px; }

.cfg-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cfg-options--lg { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.cfg-options--sm { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.cfg-options--list { grid-template-columns: 1fr; }
@media (max-width: 480px) {
  .cfg-options, .cfg-options--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cfg-options--lg, .cfg-options--list { grid-template-columns: 1fr; }
}
.cfg-option { position: relative; display: block; cursor: pointer; }
.cfg-option input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-option__box {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 16px; border-radius: 18px;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, background-color .2s, transform .2s var(--ease);
}
.cfg-option:hover .cfg-option__box { border-color: var(--blue-300); transform: translateY(-2px); box-shadow: var(--shadow); }
.cfg-option input:focus-visible + .cfg-option__box { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.cfg-option input:checked + .cfg-option__box { border-color: var(--accent); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(47,107,255,.14); }
.cfg-option__check {
  position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff;
  display: grid; place-items: center; transition: all .2s; z-index: 1;
}
.cfg-option--multi .cfg-option__check { border-radius: 7px; }
.cfg-option__check svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.5); transition: all .2s; }
.cfg-option input:checked + .cfg-option__box .cfg-option__check { background: var(--accent); border-color: var(--accent); }
.cfg-option input:checked + .cfg-option__box .cfg-option__check svg { opacity: 1; transform: none; }
.cfg-option__media { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--bg); display: grid; place-items: center; overflow: hidden; color: var(--navy-800); transition: background-color .2s; }
.cfg-option input:checked + .cfg-option__box .cfg-option__media { background: #fff; }
.cfg-option__media svg { width: 84%; height: 84%; }
.cfg-option__label { font-weight: 800; font-size: var(--fs-sm); line-height: 1.3; padding-inline: 4px; padding-right: 20px; }
.cfg-option__text { display: flex; flex-direction: column; gap: 4px; }
.cfg-option__desc { font-size: .8125rem; color: var(--text-muted); line-height: 1.45; padding-inline: 4px; }
.cfg-option__badge { position: absolute; top: -9px; left: 14px; z-index: 1; font-size: .6875rem; padding: 3px 9px; box-shadow: 0 2px 8px rgba(14,27,44,.1); }
.cfg-option--nomedia .cfg-option__box { padding: 16px 16px 16px; justify-content: center; min-height: 72px; }
.cfg-option--nomedia .cfg-option__label { padding-right: 28px; }
.cfg-option--nomedia .cfg-option__check { top: 50%; transform: translateY(-50%); right: 14px; }
.cfg-options--list .cfg-option__box { flex-direction: row; align-items: center; gap: 14px; }
.cfg-options--list .cfg-option__text { display: flex; flex-direction: column; gap: 4px; padding-right: 30px; }
.cfg-options--list .cfg-option__desc { margin-top: 0; }
.cfg-options--list .cfg-option__media { width: 88px; flex: none; }

/* Couleurs */
.cfg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
@media (max-width: 480px) { .cfg-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.cfg-swatch { position: relative; cursor: pointer; }
.cfg-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-swatch__box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: center; height: 100%; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cfg-swatch:hover .cfg-swatch__box { border-color: var(--blue-300); transform: translateY(-2px); }
.cfg-swatch input:checked + .cfg-swatch__box { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,107,255,.14); background: var(--blue-50); }
.cfg-swatch input:focus-visible + .cfg-swatch__box { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.cfg-swatch__color { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(14,27,44,.12), 0 4px 10px rgba(14,27,44,.12); position: relative; }
.cfg-swatch__color--other { background: conic-gradient(#D1343B, #FFB020, #15924A, #2F6BFF, #7B4DFF, #D1343B); }
.cfg-swatch input:checked + .cfg-swatch__box .cfg-swatch__color::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/22px no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
}
.cfg-swatch__name { font-size: .78rem; font-weight: 700; line-height: 1.25; }
.cfg-swatch__code { font-size: .6875rem; color: var(--slate-500); font-weight: 600; }

/* Champs */
.cfg-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cfg-dim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cfg-dim__diagram { border-radius: 18px; background: var(--bg); border: 1px solid var(--line); padding: 14px; color: var(--navy-800); }
.cfg-dim__diagram svg { width: 100%; height: auto; }
.cfg-dim .cfg-fields { grid-template-columns: 1fr; }
@media (max-width: 760px) { .cfg-dim { grid-template-columns: 1fr; } .cfg-dim__diagram { max-width: 420px; } }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label, .field__label { font-weight: 700; font-size: var(--fs-sm); }
.field__label .opt { font-weight: 500; color: var(--slate-500); }
.field__hint { font-size: .8125rem; color: var(--text-muted); }
.input-wrap { position: relative; display: flex; align-items: stretch; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff;
  font-size: 1rem; font-weight: 600; color: var(--navy-900); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--slate-400); font-weight: 500; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--slate-400); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.input-wrap .input { padding-right: 60px; }
.input-wrap__unit { position: absolute; right: 6px; top: 6px; bottom: 6px; display: grid; place-items: center; min-width: 46px; padding: 0 10px; border-radius: 10px; background: var(--bg-alt); color: var(--slate-600); font-weight: 800; font-size: var(--fs-xs); pointer-events: none; }
.select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5B72' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 44px; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; font-weight: 500; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(209,52,59,.1); }
.field__error { font-size: .8125rem; color: var(--danger); font-weight: 700; display: none; }
.field.has-error .field__error { display: block; }
.field__warn { font-size: .8125rem; color: var(--warning); background: var(--warning-bg); padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.field__warn[hidden] { display: none; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 800; font-size: var(--fs-sm); line-height: 1.2; transition: border-color .2s, background-color .2s, color .2s;
}
.preset small { font-weight: 600; font-size: .6875rem; color: var(--slate-500); }
.preset:hover { border-color: var(--blue-300); }
.preset.is-active { border-color: var(--accent); background: var(--blue-50); color: var(--blue-700); }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: #fff; min-height: 52px; }
.stepper button { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; color: var(--navy-900); }
.stepper button:hover { background: var(--bg-alt); }
.stepper input { width: 64px; text-align: center; border: 0; font-weight: 800; font-size: 1.1rem; min-height: 50px; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

.checks { display: grid; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); line-height: 1.45; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, background-color .2s; }
.check:hover { border-color: var(--blue-300); }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-strong); flex: none; margin-top: 0; display: grid; place-items: center; background: #fff; transition: all .2s; cursor: pointer; }
.check input:checked { background: var(--accent) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--accent); }
.check:has(input:checked) { border-color: var(--accent); background: var(--blue-50); }
.check--plain { border: 0; padding: 0; background: none !important; }
.check--plain:hover { border: 0; }
.check--radio input { border-radius: 50%; }
.check--radio input:checked { background-image: radial-gradient(circle, #fff 34%, transparent 36%); }

.segmented { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 16px; background: var(--bg-alt); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: var(--fs-sm); color: var(--slate-600); transition: all .2s; }
.segmented input:checked + span { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--blue-500); }

.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px; border-radius: 16px; border: 2px dashed var(--line-strong); background: var(--bg); font-size: var(--fs-sm); color: var(--text-muted); transition: border-color .2s, background-color .2s; cursor: pointer; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: var(--blue-50); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { color: var(--navy-900); }
.dropzone svg { width: 28px; height: 28px; color: var(--accent); }
.file-list { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 10px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--bg-alt); font-size: var(--fs-xs); font-weight: 600; }
.file-list button { color: var(--danger); font-weight: 800; font-size: var(--fs-xs); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.legal-note { font-size: .8125rem; color: var(--slate-500); line-height: 1.5; }

.cfg-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(20px, 3vw, 36px); border-top: 1px solid var(--line); background: var(--bg); }
.cfg-nav .btn--ghost { background: #fff; }
.cfg-nav__info { font-size: var(--fs-xs); color: var(--slate-500); font-weight: 600; text-align: center; }
@media (max-width: 560px) { .cfg-nav__info { display: none; } .cfg-nav .btn { flex: 1; } }
.cfg-alert { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--danger-bg); color: var(--danger); font-weight: 700; font-size: var(--fs-sm); display: flex; gap: 10px; align-items: flex-start; }
.cfg-alert[hidden] { display: none; }
.cfg-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.cfg-alert--info { background: var(--blue-50); color: var(--blue-700); }
.cfg-q.has-error .cfg-q__title { color: var(--danger); }

/* Récapitulatif latéral */
.cfg__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.cfg-recap { background: var(--navy-900); color: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cfg-recap::before { content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.5), transparent 70%); }
.cfg-recap__head { display: flex; align-items: center; gap: 12px; position: relative; }
.cfg-recap__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--cyan-400); flex: none; }
.cfg-recap__icon svg { width: 26px; height: 26px; }
.cfg-recap h3 { font-size: 1.05rem; color: #fff; }
.cfg-recap__sub { font-size: .75rem; color: var(--slate-400); font-weight: 600; }
.cfg-recap dl { margin-top: 18px; display: grid; gap: 2px; position: relative; font-size: var(--fs-xs); }
.cfg-recap dl > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cfg-recap dt { color: var(--slate-400); font-weight: 600; }
.cfg-recap dd { grid-column: 1; font-weight: 700; color: #fff; font-size: var(--fs-sm); line-height: 1.35; }
.cfg-recap dd.is-empty { color: var(--slate-500); font-weight: 500; font-style: italic; }
.cfg-recap__edit { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--blue-300); font-size: .75rem; font-weight: 800; padding: 4px 8px; border-radius: 8px; }
.cfg-recap__edit:hover { background: rgba(255,255,255,.08); }
.cfg-recap__empty { margin-top: 16px; font-size: var(--fs-sm); color: var(--slate-400); position: relative; }
.cfg-reassure { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; display: grid; gap: 12px; font-size: var(--fs-xs); font-weight: 700; }
.cfg-reassure div { display: flex; gap: 10px; align-items: center; }
.cfg-reassure svg { width: 20px; height: 20px; color: var(--success); flex: none; }
.cfg-help { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 20px; padding: 18px 20px; font-size: var(--fs-xs); }
.cfg-help strong { display: block; font-size: var(--fs-sm); }
.cfg-help a { font-weight: 800; font-size: 1.05rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.cfg-help a svg { width: 18px; height: 18px; }
@media (max-width: 1060px) {
  .cfg { grid-template-columns: 1fr; }
  .cfg__aside { position: static; grid-template-columns: 1fr 1fr; }
  .cfg-recap { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .cfg__aside { grid-template-columns: 1fr; } }

/* Succès */
.cfg-success { text-align: center; padding: 48px clamp(20px, 4vw, 48px) 56px; animation: stepIn .4s var(--ease); }
.cfg-success__icon { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--success-bg); color: var(--success); position: relative; }
.cfg-success__icon::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--success-bg); animation: pulse 2s ease-out infinite; }
.cfg-success__icon svg { width: 44px; height: 44px; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.cfg-success h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.cfg-success p { color: var(--text-muted); max-width: 520px; margin: 12px auto 0; }
.cfg-success__ref { display: inline-block; margin-top: 18px; padding: 10px 18px; border-radius: 12px; background: var(--bg-alt); font-weight: 800; letter-spacing: .04em; }
.cfg-success .btn-row { justify-content: center; margin-top: 28px; }
.cfg-loading { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hub de devis (choix du produit) */
.cfg-hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .cfg-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cfg-hub .cfg-option__media { aspect-ratio: 16 / 11; }

/* 10. Pages simples ----------------------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; padding-block: clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 200%; background: radial-gradient(closest-side, rgba(47,107,255,.35), transparent); pointer-events: none; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); position: relative; z-index: 1; }
.page-hero p { color: var(--slate-300); margin-top: 14px; max-width: 640px; font-size: var(--fs-lg); position: relative; z-index: 1; }
.page-hero .breadcrumb { margin-bottom: 18px; position: relative; z-index: 1; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); margin-top: 40px; margin-bottom: 12px; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; font-size: 1.1rem; }
.prose p, .prose li { color: var(--slate-600); }
.prose p + p, .prose ul, .prose ol { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.placeholder { background: var(--warning-bg); color: var(--warning); padding: 1px 6px; border-radius: 6px; font-weight: 700; font-size: .92em; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .feature__icon { width: 46px; height: 46px; flex: none; }
.contact-item a { font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.contact-item p { color: var(--text-muted); font-size: var(--fs-sm); }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.error-page__code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 11. Animations & accessibilité --------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mobile-cta, .cookie-banner, .site-footer, .cfg__aside, .cfg-nav { display: none !important; }
  body { background: #fff; }
}

/* 12. Espace client ---------------------------------------------------- */
.account-auth { padding-block: clamp(32px, 5vw, 72px); }
.account-auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; padding: 0; max-width: calc(1080px + var(--gutter) * 2); }
.account-auth__card { border: 0; border-radius: 0; box-shadow: none; padding: clamp(24px, 4vw, 48px); }
.account-auth__aside {
  color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(500px 300px at 100% 0%, rgba(47,107,255,.45), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.account-pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.account-auth__aside .btn { align-self: flex-start; }
@media (max-width: 860px) { .account-auth__grid { grid-template-columns: 1fr; margin-inline: var(--gutter); width: auto; } }
@media (max-width: 600px) { .account-auth .container { padding-inline: 0; } .account-auth__grid { border-radius: 20px; } }
.account-tabs { display: flex; }
.account-tabs label { flex: 1; text-align: center; }

.account { padding-block: clamp(28px, 4vw, 56px); }
.demo-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--warning-bg); color: var(--warning); font-size: var(--fs-sm); margin-bottom: 22px; }
.demo-banner[hidden] { display: none; }
.demo-banner svg { width: 20px; height: 20px; flex: none; }
.account__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.account__nav { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; }
.account__user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; min-width: 0; }
.account__user strong { display: block; font-size: var(--fs-sm); }
.account__user small { display: block; font-size: .75rem; color: var(--slate-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.account__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; flex: none; }
.account__nav nav { display: grid; gap: 2px; }
.account__nav nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--navy-900); font-weight: 700; font-size: var(--fs-sm); }
.account__nav nav a svg { width: 20px; height: 20px; color: var(--slate-500); }
.account__nav nav a:hover { background: var(--bg); color: var(--navy-900); }
.account__nav nav a.is-active { background: var(--blue-50); color: var(--blue-700); }
.account__nav nav a.is-active svg { color: var(--accent); }
.account__title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.account__subtitle { font-size: 1.2rem; margin: 34px 0 14px; }
.account__main > .card + .card { margin-top: 14px; }
.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi .feature__icon { width: 42px; height: 42px; margin-bottom: 6px; }
.kpi strong { font-size: 1.8rem; letter-spacing: -.03em; line-height: 1.1; }
.kpi span:last-child { color: var(--text-muted); font-size: var(--fs-sm); }
.quote-card, .project-card { display: flex; flex-direction: column; gap: 10px; }
.quote-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.quote-card h3, .project-card h3 { font-size: 1.1rem; margin-top: 2px; }
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; font-size: .75rem; font-weight: 700; color: var(--slate-400); }
.timeline li { display: flex; flex-direction: column; gap: 8px; }
.timeline li span { height: 6px; border-radius: 6px; background: var(--line); }
.timeline li.is-done { color: var(--navy-900); }
.timeline li.is-done span { background: var(--blue-300); }
.timeline li.is-current { color: var(--accent); }
.timeline li.is-current span { background: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.doc-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-row > span:nth-child(2) { flex: 1; min-width: 0; }
.doc-row strong { display: block; font-size: var(--fs-sm); }
.doc-row small { color: var(--slate-500); font-size: .75rem; }
.doc-row .feature__icon { width: 40px; height: 40px; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pay-aside { background: var(--bg); }
.mollie-mark { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--slate-500); }
.mollie-mark strong { color: var(--navy-900); font-size: .95rem; letter-spacing: -.02em; }
@media (max-width: 900px) {
  .account__grid { grid-template-columns: 1fr; }
  .account__nav { position: static; }
  .account__nav nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account__nav nav a { flex-direction: column; gap: 4px; font-size: .75rem; text-align: center; padding: 10px 4px; }
  .pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } .timeline li { flex-direction: row; align-items: center; } .timeline li span { width: 28px; flex: none; } .quote-card__head { flex-direction: column-reverse; } }
