/* =====================================================================
   TALIA AGENCY — design system 2026
   Direction : chaud et épuré. Fond ivoire, marine du logo, bleu électrique,
   teintes pastel par famille de métiers, photos réelles en masques arrondis,
   grilles bento, micro-interactions discrètes.
   Polices auto-hébergées : Instrument Sans (titres), Figtree (texte).
   ===================================================================== */

:root {
  --navy: #0a0a0f;          /* noir profond (sections sombres, boutons sombres) */
  --blue: #ff2d95;          /* rose fuchsia : accent, boutons, liens */
  --blue-deep: #c8006b;
  --blue-soft: #ffe4f1;     /* rose très pâle : fonds d'accent */
  --ink: #0a0a0f;
  --muted: #5b5f6e;
  --bg: #f7f9fc;            /* blanc froid */
  --bg-alt: #eef2f7;
  --card: #ffffff;
  --line: #e2e6ee;
  --line-strong: #c9cfdb;
  --tint-restauration: #ffe6d3; --tint-beaute: #fbe3eb; --tint-commerce: #e6eeff; --tint-artisans: #fff0c2; --tint-liberal: #dcf3e9;
  --tint-immo: #e7e5f9; --tint-auto: #e1ecf5; --tint-loisirs: #ffe1cf; --tint-famille: #fde8cf; --tint-asso: #e3f1df;
  --shadow-sm: 0 1px 2px rgba(10, 10, 15, .05), 0 1px 1px rgba(10, 10, 15, .03);
  --shadow: 0 16px 40px -18px rgba(10, 10, 15, .22), 0 2px 8px rgba(10, 10, 15, .05);
  --shadow-lg: 0 40px 80px -30px rgba(10, 10, 15, .35);
  --r: 24px;
  --r-sm: 14px;
  --font-head: "Instrument Sans", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f4f6fa; --muted: #a3a8b8; --bg: #0a0a0f; --bg-alt: #111118; --card: #15151d; --line: #25252f; --line-strong: #34343f; --blue-soft: #3a0f27;
    --tint-restauration: #3a2518; --tint-beaute: #3a1f2a; --tint-commerce: #172448; --tint-artisans: #3a3014; --tint-liberal: #15332a;
    --tint-immo: #252246; --tint-auto: #1b2a3a; --tint-loisirs: #3a2416; --tint-famille: #3a2a16; --tint-asso: #1b3020;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 16px 40px -18px rgba(0,0,0,.7); --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f4f6fa; --muted: #a3a8b8; --bg: #0a0a0f; --bg-alt: #111118; --card: #15151d; --line: #25252f; --line-strong: #34343f; --blue-soft: #3a0f27;
  --tint-restauration: #3a2518; --tint-beaute: #3a1f2a; --tint-commerce: #172448; --tint-artisans: #3a3014; --tint-liberal: #15332a;
  --tint-immo: #252246; --tint-auto: #1b2a3a; --tint-loisirs: #3a2416; --tint-famille: #3a2a16; --tint-asso: #1b3020;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 16px 40px -18px rgba(0,0,0,.7); --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.8);
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
h4 { font-size: 1rem; margin-top: 1em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 1000; }
.skip:focus { top: 1rem; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.kicker { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.kicker.light { color: #ffd3e9; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.grad { background: linear-gradient(92deg, var(--blue), #ff7cc1 55%, var(--blue-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { display: inline-flex; align-items: center; gap: .35em; font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; background: var(--blue); color: #fff; }
.badge.trend { background: var(--blue-soft); color: #c8006b; text-transform: none; letter-spacing: 0; font-size: .8rem; }
:root[data-theme="dark"] .badge.trend { background: #10301f; color: #7fe3a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.trend { background: #10301f; color: #7fe3a8; } }
mark.todo { background: #fff0b3; color: #5a4300; padding: 0 .25em; border-radius: 4px; font-style: normal; }
:root[data-theme="dark"] mark.todo { background: #4a3a05; color: #ffe08a; }
.notice { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1.5rem; font-size: .95rem; }
.maj { font-size: .85rem; color: var(--muted); }

/* ------------------------------------------------------------ boutons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1; padding: .95em 1.45em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; text-decoration: none !important; white-space: nowrap; letter-spacing: -.01em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn .ic { transition: transform .25s var(--ease-out); }
.btn:hover .ic { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 10px 24px -10px rgba(255, 45, 149, .7); }
.btn-primary:hover { background: #fff; color: var(--blue); border-color: var(--blue); box-shadow: 0 14px 30px -10px rgba(255, 45, 149, .55); }
.btn-primary:hover .ic { color: var(--blue); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 14px 30px -10px rgba(255, 45, 149, .6); }
.btn-ghost { color: var(--ink); background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-deep); }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-sm { padding: .7em 1.15em; font-size: .86rem; }
.btn-lg { padding: 1.05em 1.7em; font-size: 1.02rem; }
.btn.full { width: 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); transition: border-color .2s, transform .2s var(--ease-out); }
.icon-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.icon-btn .ic { width: 20px; height: 20px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; text-decoration: none; font: inherit; }
.link-btn:hover { text-decoration: underline; }
.chip { display: inline-flex; align-items: center; gap: .35em; font-size: .84rem; font-weight: 500; padding: .4em .85em; border-radius: 999px; background: var(--bg-alt); border: 1px solid transparent; color: var(--ink); margin: 0 .35rem .4rem 0; text-decoration: none !important; }
.chip b { font-weight: 600; color: var(--blue); }
.chip-link:hover { border-color: var(--blue); background: var(--blue-soft); }
.chip-filter { cursor: pointer; background: var(--card); border-color: var(--line); transition: background .15s, color .15s, border-color .15s, transform .2s var(--ease-out); }
.chip-filter:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip-filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip-filter.trend.is-active { background: #c8006b; border-color: #c8006b; }
.chips { line-height: 1.2; }
.card-link { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 600; color: var(--blue); margin-top: auto; }
.card-link .ic { transition: transform .25s var(--ease-out); }
a:hover .card-link .ic, .card-link:hover .ic { transform: translateX(4px); }

/* ------------------------------------------------------------ header (pilule flottante) */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; isolation: isolate; }
.header-inner { position: relative; display: flex; align-items: center; gap: 1.5rem; height: 56px; padding: 0 .6rem 0 1.1rem; border-radius: 999px; background: color-mix(in srgb, var(--card) 78%, transparent); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.site-header.scrolled .header-inner { box-shadow: var(--shadow); }
.brand img { height: 30px; width: auto; }
:root[data-theme="dark"] .brand img { filter: invert(1) hue-rotate(180deg) brightness(1.15); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { filter: invert(1) hue-rotate(180deg) brightness(1.15); } }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .55rem .95rem; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink); transition: background .15s; }
.nav a:hover { background: var(--bg-alt); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; }
.nav-toggle .ic-close, .nav-toggle[aria-expanded="true"] .ic-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .ic-moon { display: block; } :root:not([data-theme="light"]) .theme-toggle .ic-sun { display: none; } }
@media (max-width: 1100px) {
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; max-height: calc(100vh - var(--header-h) - 20px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: .75rem; transform: translateY(-8px) scale(.98); opacity: 0; pointer-events: none; transition: transform .25s var(--ease-out), opacity .2s; transform-origin: top center; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .95rem 1.1rem; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
}

/* ------------------------------------------------------------ sections */
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 800px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lead { margin-bottom: 0; }
.page-head { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.page-head h1 { max-width: 20ch; }
.page-head.with-photo { padding-bottom: 0; }
.page-photo { margin-top: 2.5rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .page-photo { aspect-ratio: 16 / 10; } }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.subnav { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.subnav a { font-size: .85rem; font-weight: 500; padding: .45em .95em; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: border-color .15s, transform .2s var(--ease-out); }
.subnav a:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-1px); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.grid { display: grid; gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), border-color .2s; }
a.card { color: inherit; text-decoration: none !important; }
a.card:hover, .card.secteur:hover, .gallery-item:hover, .pack:hover, .module:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card .meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; margin-top: auto; }
.card .meta span { display: inline-flex; align-items: center; gap: .35em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2.5rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { display: flex; gap: .6em; align-items: flex-start; padding: .32em 0; font-size: .95rem; }
.checklist .ic { color: var(--blue); margin-top: .2em; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } .hv, .float-chip, .marquee-track { animation: none !important; } }
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ hero */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 4rem); position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 80%; background: radial-gradient(50% 50% at 75% 30%, color-mix(in srgb, var(--blue-soft) 90%, transparent), transparent 70%), radial-gradient(40% 40% at 15% 60%, color-mix(in srgb, var(--tint-restauration) 70%, transparent), transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .85rem; font-weight: 500; color: var(--muted); padding: .45em 1em .45em .6em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 1.4rem; }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero h1 { max-width: 13ch; margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: .4em; }
.hero-points .ic { color: #16a34a; }
.hero-visual { position: relative; height: clamp(420px, 44vw, 620px); }
.hv { position: absolute; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); animation: float 10s ease-in-out infinite; }
.hv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-1 { left: 4%; top: 0; width: 56%; height: 78%; }
.hv-2 { right: 0; top: 14%; width: 40%; height: 52%; animation-delay: -3.5s; border-radius: 22px; }
.hv-3 { left: 26%; bottom: 0; width: 36%; height: 40%; animation-delay: -7s; border-radius: 22px; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: .6rem; padding: .6rem .9rem .6rem .65rem; border-radius: 16px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .85rem; font-weight: 500; animation: float 8s ease-in-out infinite; z-index: 2; }
.float-chip strong { display: block; font-family: var(--font-head); font-size: 1rem; letter-spacing: -.02em; }
.float-chip small { display: block; color: var(--muted); font-size: .74rem; font-weight: 400; }
.float-chip .fc-icon { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.fc-1 { left: -4%; top: 56%; animation-delay: -2s; }
.fc-2 { right: -2%; top: 2%; animation-delay: -5s; }
.fc-3 { right: 6%; bottom: 4%; animation-delay: -8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; margin-top: 1rem; }
  .fc-1 { left: 0; }
}
@media (max-width: 560px) { .hero-visual { height: 340px; } .float-chip { font-size: .78rem; padding: .5rem .7rem .5rem .5rem; } .float-chip .fc-icon { width: 30px; height: 30px; } .fc-2 { display: none; } }

/* défilé de métiers */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: .75rem; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em .45em .5em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; white-space: nowrap; }
.marquee-item .ic { width: 28px; height: 28px; padding: 6px; border-radius: 8px; color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* chiffres */
.strip { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.strip-grid strong { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.strip-grid span { font-size: .88rem; color: var(--muted); }
@media (max-width: 800px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ bento familles */
.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
.famille { padding: 0; overflow: hidden; position: relative; background: var(--tint, var(--bg-alt)); border-color: transparent; }
.famille.big { grid-column: span 2; grid-row: span 2; }
.famille.wide { grid-column: span 2; }
.famille .fam-photo { position: absolute; inset: 0; }
.famille .fam-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.famille:hover .fam-photo img { transform: scale(1.05); }
.famille .fam-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,15,0) 35%, rgba(10,10,15,.82)); }
.famille .fam-body { position: relative; z-index: 1; margin-top: auto; padding: 1.25rem 1.4rem; color: #fff; }
.famille .fam-body h3 { color: #fff; margin-bottom: .2rem; font-size: 1.15rem; }
.famille.big .fam-body h3 { font-size: 1.6rem; }
.famille .fam-body p { color: rgba(255,255,255,.82); font-size: .88rem; margin: 0 0 .5rem; }
.famille .fam-count { position: absolute; top: 1rem; left: 1rem; z-index: 1; font-family: var(--font-head); font-size: .78rem; font-weight: 600; padding: .35em .75em; border-radius: 999px; background: color-mix(in srgb, var(--card) 85%, transparent); color: var(--ink); backdrop-filter: blur(8px); }
.famille .card-link { color: #fff; font-size: .9rem; }
.famille.tint-only .fam-body { color: var(--ink); }
.famille.tint-only .fam-body h3 { color: var(--ink); }
.famille.tint-only .fam-body p { color: var(--muted); }
.famille.tint-only .card-link { color: var(--blue); }
.famille.tint-only .famille-icons { position: absolute; top: 1.1rem; right: 1.1rem; display: flex; gap: .35rem; }
.famille.tint-only .famille-icons .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--ink); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .famille.big { grid-row: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 190px; } .famille.big, .famille.wide { grid-column: span 1; grid-row: span 1; } }

/* ------------------------------------------------------------ formes (défilement horizontal) */
.formes-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 2.5rem; }
.formes-intro .section-head { margin-bottom: 0; }
.formes-intro .photo-frame { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.formes-intro .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .formes-intro { grid-template-columns: 1fr; } }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 320px); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem 1rem 1.25rem; margin: 0 -1rem; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.forme .forme-num { font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--blue); letter-spacing: .08em; margin-bottom: .6rem; }
.formes-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ------------------------------------------------------------ formules */
.plans { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plans.four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan { position: relative; padding: 2rem 1.75rem; }
.plan.popular { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan.popular h3, .plan.popular .plan-price, .plan.popular .checklist li, .plan.popular .plan-meta { color: #fff; }
.plan.popular p { color: rgba(255,255,255,.78); }
.plan.popular .plan-price { color: #fff !important; }
.plan.popular .checklist .ic { color: #ff9ad0; }
.plan.popular .btn-primary { background: var(--blue); color: #fff; box-shadow: none; }
.plan.popular .btn-primary:hover { background: #fff; color: var(--blue); }
.plan .badge { position: absolute; top: -.85rem; left: 1.75rem; background: var(--blue); }
.plan-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; color: var(--ink) !important; margin: .3rem 0 .4rem; line-height: 1; }
.plan-meta, .plan-for { font-size: .9rem; }
.plan-meta { display: flex; align-items: center; gap: .4em; }
.plan .checklist { margin-top: .6rem; margin-bottom: 1.4rem; flex: 1; }
.plan-note { font-size: .8rem !important; margin: .8rem 0 0; }
@media (max-width: 900px) { .plan.popular { transform: none; } }

/* ------------------------------------------------------------ packs */
.packs-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.pack { padding: 0; overflow: hidden; }
.pack-photo { aspect-ratio: 16 / 7; overflow: hidden; position: relative; background: var(--bg-alt); }
.pack-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.pack:hover .pack-photo img { transform: scale(1.05); }
.pack-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pack-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pack-price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--blue) !important; white-space: nowrap; letter-spacing: -.03em; }
.pack-base { font-size: .85rem !important; }
.pack-sub { font-size: .76rem !important; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--ink) !important; margin-bottom: .3rem; }
.pack-mods { list-style: none; padding: 0; margin: 0 0 1rem; flex: 1; }
.pack-mods li { display: flex; gap: .5em; font-size: .92rem; padding: .22em 0; }
.pack-mods .ic { color: var(--blue); margin-top: .25em; }
.pack-mods .bonus .ic { color: #d97706; }
.pack-for { font-size: .85rem !important; }

/* ------------------------------------------------------------ modules, tendances, engagements */
.modules-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.module { padding: 1.3rem 1.4rem; }
.module .price { font-family: var(--font-head); font-weight: 600; color: var(--blue); margin-top: auto; letter-spacing: -.02em; }
.module .price small { font-weight: 400; color: var(--muted); }
.tendances-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); counter-reset: tend; }
.tendance { counter-increment: tend; padding-top: 1.4rem; }
.tendance::before { content: counter(tend, decimal-leading-zero); font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--blue); margin-bottom: .6rem; }
.tendance h3 { display: flex; align-items: center; gap: .5em; font-size: 1.05rem; }
.tendance h3 .ic { color: #16a34a; }
.engagements-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.eng-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); align-items: center; justify-content: center; margin-bottom: 1rem; }
.eng-icon .ic { width: 22px; height: 22px; }

/* ------------------------------------------------------------ méthode (photo collante + étapes) */
.methode-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.methode-photo { position: sticky; top: calc(var(--header-h) + 16px); margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.methode-photo img { width: 100%; height: 100%; object-fit: cover; }
.methode-photo figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .9rem 1.1rem; border-radius: 14px; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(10px); font-size: .9rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.steps li { display: flex; gap: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1.3rem 1.4rem; transition: transform .3s var(--ease-out), box-shadow .3s; }
.steps li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.step-num { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.step-duree { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--blue); margin-bottom: .2rem; }
.steps h3 { font-size: 1.1rem; }
.steps li p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .methode-grid { grid-template-columns: 1fr; } .methode-photo { position: static; aspect-ratio: 16 / 10; } }
.steps.cols { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ------------------------------------------------------------ FAQ & CTA */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; padding: 1.15rem 2.4rem 1.15rem 0; list-style: none; position: relative; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--blue); font-weight: 300; transition: transform .25s var(--ease-out); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }
.cta-final { position: relative; color: #fff; padding: clamp(4rem, 8vw, 7rem) 0; overflow: hidden; isolation: isolate; }
.cta-final .cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-final .cta-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,10,15,.94) 0%, rgba(10,10,15,.8) 55%, rgba(10,10,15,.5) 100%); }
.cta-final h2, .cta-final p { color: #fff; }
.cta-final p { opacity: .85; max-width: 56ch; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ------------------------------------------------------------ secteurs */
.filter-bar { display: flex; flex-wrap: wrap; gap: .2rem; margin-top: 1.5rem; }
.filter-bar.secondary { margin-top: .4rem; align-items: center; }
.filter-label { font-size: .85rem; color: var(--muted); margin-right: .5rem; }
.secteurs-list { display: grid; gap: 1.5rem; }
.secteur { padding: 0; overflow: hidden; }
.secteur-photo { position: relative; aspect-ratio: 21 / 7; overflow: hidden; background: var(--tint, var(--bg-alt)); }
.secteur-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.secteur:hover .secteur-photo img { transform: scale(1.04); }
.secteur-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,15,0) 40%, rgba(10,10,15,.72)); }
.secteur-title { position: absolute; left: 1.75rem; right: 1.75rem; bottom: 1.4rem; color: #fff; z-index: 1; display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.secteur-title h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; }
.secteur-title .kicker { color: #ffd3e9; margin-bottom: .2rem; }
.secteur-title .badge.trend { margin-left: auto; }
.secteur-icon { flex: none; display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); color: #fff; align-items: center; justify-content: center; }
.secteur-icon .ic { width: 24px; height: 24px; }
.secteur-grid { display: grid; grid-template-columns: 1.3fr .9fr; }
.secteur-main { padding: 1.75rem; display: flex; flex-direction: column; min-width: 0; }
.secteur-mock { min-width: 0; background: var(--bg-alt); padding: 1.5rem; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--line); }
.secteur-mock .mk { width: 100%; max-width: 420px; }
.secteur-accroche { font-size: 1.08rem; color: var(--ink) !important; }
.secteur-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: .5rem 0 1rem; }
.secteur-cols > div { min-width: 0; }
.secteur-cols h4 { margin: .2rem 0 .5rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.why { background: #ecf9f0; border-radius: 12px; padding: .75rem 1rem; font-size: .92rem !important; color: #14532d !important; display: flex; gap: .5em; align-items: flex-start; }
.why .ic { color: #16a34a; margin-top: .25em; }
:root[data-theme="dark"] .why { background: #0f2a1a; color: #bbf7d0 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .why { background: #0f2a1a; color: #bbf7d0 !important; } }
.secteur-foot { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .5rem; }
.secteur-foot .btn { white-space: normal; text-align: center; }
@media (max-width: 900px) { .secteur-grid { grid-template-columns: 1fr; } .secteur-mock { border-left: 0; border-top: 1px solid var(--line); } .secteur-cols { grid-template-columns: 1fr; } .secteur-photo { aspect-ratio: 16 / 9; } .secteur-title { left: 1.25rem; right: 1.25rem; bottom: 1rem; } }
.famille-section.is-hidden, .secteur.is-hidden, .gallery-item.is-hidden { display: none; }

/* ------------------------------------------------------------ maquettes */
.styles-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.style-card { padding: 0; overflow: hidden; }
.style-card .mk { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.style-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.swatches { display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }
.font-tag { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .15em .6em; }
.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.gallery-item { padding: 0; overflow: hidden; }
.gallery-item .gal-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.gallery-item .gal-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery-item:hover .gal-photo img { transform: scale(1.05); }
.gallery-item .mk { border-radius: 0; border: 0; border-block: 1px solid var(--line); box-shadow: none; aspect-ratio: 16 / 9; }
.gallery-body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.gallery-body .kicker { font-size: .68rem; margin-bottom: .2rem; }
.gallery-body h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.empty-state { text-align: center; color: var(--muted); padding: 2rem; }

/* ------------------------------------------------------------ mini-maquettes (CSS) */
.mk { --mk-soft: color-mix(in srgb, var(--mk-ink) 22%, transparent); --mk-faint: color-mix(in srgb, var(--mk-ink) 6%, var(--mk-bg)); background: var(--mk-bg); color: var(--mk-ink); border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); box-shadow: var(--shadow); aspect-ratio: 4 / 3; display: flex; flex-direction: column; font-size: 0; line-height: 0; container-type: inline-size; text-align: left; }
.mk > * { flex: none; }
.mk-bar { height: 7%; min-height: 12px; background: color-mix(in srgb, var(--mk-ink) 7%, var(--mk-bg)); display: flex; align-items: center; gap: 2.5%; padding: 0 3%; border-bottom: 1px solid color-mix(in srgb, var(--mk-ink) 6%, transparent); }
.mk-bar i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--mk-soft); min-width: 3px; min-height: 3px; }
.mk-url { flex: 0 0 40%; height: 40%; max-height: 7px; margin-left: 3%; border-radius: 999px; background: color-mix(in srgb, var(--mk-ink) 10%, var(--mk-bg)); }
.mk-nav { display: flex; align-items: center; gap: 2%; padding: 2.5% 3.5%; }
.mk-logo { width: 7%; height: 1.4cqw; min-height: 4px; border-radius: 2px; background: var(--mk-ac); }
.mk-nav > span { display: flex; gap: 1.5cqw; margin-left: auto; margin-right: 2%; }
.mk-nav > span i { width: 4.5cqw; height: .9cqw; min-height: 2px; border-radius: 2px; background: var(--mk-soft); }
.mk-nav .mk-btn { margin: 0; height: 2.6cqw; min-height: 6px; }
.ln { display: block; height: 1.3cqw; min-height: 3px; border-radius: 999px; background: var(--mk-soft); margin: 1.1cqw 0; }
.ln.s { height: 1cqw; opacity: .7; }
.ln.h { height: 2cqw; min-height: 4px; background: color-mix(in srgb, var(--mk-ink) 65%, transparent); }
.ln.big { height: 2.6cqw; background: var(--mk-ac); }
.ln.ac { background: var(--mk-ac); }
.ln.light { background: rgba(255,255,255,.55); }
.mk-btn { display: inline-block; height: 2.8cqw; min-height: 6px; border-radius: 999px; background: var(--mk-ac); margin: 1.2cqw 1.5% 0 0; vertical-align: top; }
.mk-btn.inv { background: #fff; }
.mk-btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px currentColor; opacity: .6; }
.mk-btn.full { display: block; width: 100% !important; margin-right: 0; }
.mk-title { display: block; font-family: var(--font-head); font-size: 3.6cqw; font-weight: 600; line-height: 1.1; margin-bottom: 1.2cqw; letter-spacing: -.02em; }
.mk[data-font="serif"] .mk-title { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: 3.9cqw; }
.mk[data-font="display"] .mk-title { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 3.2cqw; }
.mk-hero { padding: 4% 3.5%; }
.mk-hero.full { background: linear-gradient(135deg, var(--mk-ac), color-mix(in srgb, var(--mk-ac) 55%, var(--mk-ink))); color: #fff; min-height: 30%; }
.mk-hero.full .ln { background: rgba(255,255,255,.55); }
.mk-hero.urgent { background: linear-gradient(135deg, var(--mk-ink), color-mix(in srgb, var(--mk-ink) 60%, var(--mk-ac))); }
.mk-hero.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4%; align-items: center; }
.mk-hero.soft, .mk-hero.banner { background: color-mix(in srgb, var(--mk-ac) 12%, var(--mk-bg)); }
.mk-hero.center { text-align: center; padding-top: 7%; padding-bottom: 5%; }
.mk-hero.center .ln { margin-left: auto; margin-right: auto; }
.mk-hero.center.left { text-align: left; }
.mk-hero.center.left .ln { margin-left: 0; }
.mk-hero.minimal { padding: 3.5% 3.5% 2%; }
.mk-img { display: block; border-radius: 4px; background: linear-gradient(135deg, color-mix(in srgb, var(--mk-ac) 30%, var(--mk-bg)), color-mix(in srgb, var(--mk-ac) 75%, var(--mk-ink) 25%)); height: 9cqw; margin-bottom: 1.2cqw; }
.mk-img.tall { height: 17cqw; }
.mk-img.hero { height: 20cqw; }
.mk-sec { padding: 2.5% 3.5%; }
.mk-sec.two { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; align-items: start; }
.mk-grid { display: grid; gap: 1.6cqw; }
.mk-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.mk-grid.g4 { grid-template-columns: repeat(4, 1fr); }
.mk-card { background: var(--mk-faint); border-radius: 4px; padding: 1.6cqw; }
.mk-grid.square .mk-img { height: 11cqw; }
.mk-grid.products .mk-img.tall { height: 12cqw; }
.mk-grid.price .mk-card .mk-img { height: 3cqw; width: 40%; background: var(--mk-ac); }
.mk-form { background: var(--mk-faint); border-radius: 5px; padding: 2.4cqw; }
.mk-form.compact { padding: 2cqw; }
.mk-field { display: block; height: 3cqw; min-height: 6px; border-radius: 3px; background: var(--mk-bg); border: 1px solid color-mix(in srgb, var(--mk-ink) 18%, transparent); margin-bottom: 1.2cqw; }
.mk.dark .mk-field, .mk.dark .mk-search i { background: color-mix(in srgb, var(--mk-ink) 10%, var(--mk-bg)); }
.mk-list .mk-row { display: flex; align-items: center; gap: 1.2cqw; padding: .8cqw 0; }
.mk-row .ln { margin: 0; }
.mk-row .dots { flex: 1; height: 0; border-bottom: 1px dotted color-mix(in srgb, var(--mk-ink) 30%, transparent); }
.mk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1cqw; }
.mk-cal i { aspect-ratio: 1; border-radius: 2px; background: var(--mk-faint); }
.mk-cal i.on { background: var(--mk-ac); }
.mk-search { display: flex; gap: 1.2cqw; margin-top: 1.5cqw; }
.mk-search i { flex: 1; height: 3.4cqw; min-height: 7px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--mk-ink) 15%, transparent); }
.mk-search i.go { flex: 0 0 9cqw; background: var(--mk-ac); border: 0; }
.mk-hero.full .mk-search i { border: 0; }
.mk-search.wide { max-width: 80%; }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5cqw; }
.mk-tabs { display: flex; gap: 1.2cqw; margin-bottom: 1.6cqw; }
.mk-tabs i { height: 1.8cqw; min-height: 4px; width: 7cqw; border-radius: 999px; background: color-mix(in srgb, var(--mk-ink) 12%, var(--mk-bg)); }
.mk-tabs i.on { background: var(--mk-ac); }
.mk-badges { display: flex; gap: 1.6cqw; }
.mk-badges i { height: 4cqw; min-height: 8px; flex: 1; border-radius: 3px; background: var(--mk-faint); border: 1px dashed color-mix(in srgb, var(--mk-ink) 25%, transparent); }
.mk-badges.light { margin-top: 2cqw; }
.mk-badges.light i { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.mk-masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 5.5cqw; gap: 1.2cqw; padding: 0 3.5% 3.5%; }
.mk-masonry i { border-radius: 3px; background: linear-gradient(135deg, color-mix(in srgb, var(--mk-ac) 30%, var(--mk-bg)), color-mix(in srgb, var(--mk-ac) 75%, var(--mk-ink) 25%)); }
.mk-masonry .a { grid-row: span 3; } .mk-masonry .b { grid-row: span 2; } .mk-masonry .c { grid-row: span 4; } .mk-masonry .d { grid-row: span 2; } .mk-masonry .e { grid-row: span 3; } .mk-masonry .f { grid-row: span 2; }
.mk-cta { margin: 1% 3.5% 3.5%; padding: 3%; border-radius: 5px; background: var(--mk-ink); color: #fff; }
.mk-cta .ln { background: rgba(255,255,255,.5); }
.mk-map { display: block; height: 17cqw; border-radius: 4px; background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--mk-ac) 12%, var(--mk-bg)) 0 6px, color-mix(in srgb, var(--mk-ac) 22%, var(--mk-bg)) 6px 12px); }
.mk.dark { border-color: rgba(255,255,255,.08); }

/* ------------------------------------------------------------ tableaux */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
caption { text-align: left; font-family: var(--font-head); font-weight: 600; padding: 1rem 1.2rem .5rem; color: var(--muted); font-size: .85rem; }
th, td { padding: .9rem 1.2rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { border-top: 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg-alt); }
tbody th { font-weight: 600; width: 28%; }
td.num, th.num { text-align: right; white-space: nowrap; font-family: var(--font-head); font-weight: 600; color: var(--blue); }
td.num small { color: var(--muted); font-weight: 400; }
.compare td { color: var(--muted); }
.table-title { margin-top: 2rem; font-size: 1.05rem; }
.legal-table td, .legal-table th { font-size: .88rem; }

/* ------------------------------------------------------------ simulateur */
.sim { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1.5rem; align-items: start; }
.sim-step { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.25rem 1.25rem; margin: 0 0 1rem; background: var(--card); }
.sim-step legend { font-family: var(--font-head); font-weight: 600; padding: 0 .4em; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg.vertical { flex-direction: column; }
.seg label { display: inline-flex; align-items: center; gap: .5em; padding: .6em .95em; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .92rem; background: var(--bg); transition: border-color .15s, background .15s; }
.seg label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.seg input { accent-color: var(--blue); }
.sim-cat { border-top: 1px solid var(--line); padding: .5rem 0; }
.sim-cat summary { cursor: pointer; font-weight: 600; font-size: .92rem; padding: .3rem 0; }
.sim-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .4rem; padding: .4rem 0 .2rem; }
.sim-mod { display: flex; align-items: center; gap: .5em; font-size: .85rem; padding: .45em .65em; border-radius: 10px; border: 1px solid transparent; cursor: pointer; }
.sim-mod:hover { background: var(--bg-alt); }
.sim-mod:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.sim-mod span { flex: 1; }
.sim-mod b { color: var(--blue); white-space: nowrap; font-weight: 600; }
.sim-mod input { accent-color: var(--blue); }
.sim-total { position: sticky; top: calc(var(--header-h) + 16px); }
.sim-total dl { margin: 0 0 1rem; }
.sim-total dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.sim-total dt { color: var(--muted); }
.sim-total dd { margin: 0; font-weight: 600; text-align: right; }
.sim-total .total { font-size: 1.1rem; }
.sim-total .total dd { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--blue); letter-spacing: -.03em; }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } .sim-total { position: static; } }

/* ------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1.5rem; align-items: start; }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-aside p { display: flex; gap: .5em; align-items: flex-start; }
.contact-aside .ic { color: var(--blue); margin-top: .3em; }
.contact-aside .photo-card { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.contact-form h2 { font-size: 1.6rem; }
.form-hint { font-size: .85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { font: inherit; padding: .8em 1em; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field .error { color: #dc2626; font-size: .82rem; }
.field.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: .6em; align-items: flex-start; font-size: .9rem; margin: .5rem 0 1rem; }
.consent input { margin-top: .3em; accent-color: var(--blue); }
.form-legal { font-size: .78rem !important; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #dc2626; }
.mini-steps { padding-left: 1.2em; }
.mini-steps li { margin-bottom: .4em; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .btn { white-space: normal; text-align: center; } .pack-head { flex-direction: column; gap: .2rem; } }

/* ------------------------------------------------------------ prose / légal */
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul li { margin-bottom: .4em; }
.legal p, .legal li { font-size: .97rem; }
.retract { margin: 1rem 0; padding: 1rem 1.25rem; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--bg-alt); font-size: .92rem; line-height: 1.8; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: #d6dae4; padding: 4rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 1rem; filter: invert(1) hue-rotate(180deg) brightness(1.15); }
.footer-brand p { color: #b3b8c6; max-width: 40ch; }
.footer-contact { line-height: 1.9; }
.footer-contact .ic { color: #ff9ad0; margin-right: .3em; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: #9a9fb0; margin-bottom: 1rem; }
.site-footer nav ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav li { margin-bottom: .5rem; }
.site-footer nav a, .site-footer nav .link-btn { color: #eef0f6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: #9a9fb0; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-eco { max-width: 60ch; }
.footer-eco .ic { color: #7fe3a8; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ bannière cookies */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; display: flex; justify-content: center; }
.cookie-inner { width: min(100%, 980px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 1.25rem 1.5rem; display: grid; gap: 1rem; }
.cookie-text h2 { font-size: 1.05rem; display: flex; align-items: center; gap: .5em; margin-bottom: .3rem; }
.cookie-text p { margin: 0; font-size: .9rem; color: var(--muted); }
.cookie-prefs { display: grid; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.switch { display: flex; gap: .7em; align-items: flex-start; font-size: .9rem; }
.switch input { margin-top: .3em; accent-color: var(--blue); width: 1.1em; height: 1.1em; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.cookie-actions .btn { font-size: .88rem; }
.cookie-actions .btn-primary { min-width: 9.5rem; }
@media (max-width: 600px) { .cookie-actions .btn { flex: 1 1 45%; } }

/* ------------------------------------------------------------ impression */
@media print {
  .site-header, .cookie-banner, .cta-final, .hero-visual, .filter-bar, .theme-toggle, .marquee { display: none !important; }
  body { color: #000; background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
  a { color: #000; }
}

/* Formule recommandée en mode sombre : liseré bleu pour la détacher du fond */
:root[data-theme="dark"] .plan.popular { border-color: #ff3d9f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan.popular { border-color: #ff3d9f; } }

/* =====================================================================
   ILLUSTRATIONS & MOUVEMENT — ajouts v3
   ===================================================================== */

/* ------------------------------------------------------------ barre de progression */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), #ff7cc1); transform-origin: 0 50%; transform: scaleX(0); z-index: 300; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: grow-x linear both; animation-timeline: scroll(root); }
  @keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ------------------------------------------------------------ fond : halos animés */
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.mesh i { position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 24s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { left: -10%; top: -20%; background: var(--blue-soft); }
.mesh i:nth-child(2) { right: -12%; top: 10%; background: var(--tint-restauration); animation-delay: -8s; }
.mesh i:nth-child(3) { left: 30%; bottom: -30%; background: var(--tint-liberal); animation-delay: -16s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, 8%) scale(1.12); } }

/* ------------------------------------------------------------ héros : titre mot à mot */
.banner h1.split .w, .hero h1.split .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); animation: word-in .7s var(--ease-out) forwards; }
@keyframes word-in { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ héros : scène illustrée + orbite + maquette cyclique */
.hero-visual { position: relative; height: clamp(440px, 46vw, 640px); display: grid; place-items: center; }
.hero-scene { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-scene .orbit { position: absolute; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--line-strong) 80%, transparent); animation: spin 48s linear infinite; }
.hero-scene .orbit.o1 { width: 72%; aspect-ratio: 1; }
.hero-scene .orbit.o2 { width: 98%; aspect-ratio: 1; animation-duration: 76s; animation-direction: reverse; }
.hero-scene .orbit .sat { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 16px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--navy); transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); animation: unspin 48s linear infinite; }
.hero-scene .orbit.o2 .sat { animation-duration: 76s; animation-direction: reverse; }
.hero-scene .orbit .sat .ic { width: 24px; height: 24px; }
.hero-scene .orbit .sat img { width: 40px; height: 40px; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes unspin { to { transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a) - 360deg)); } }
.hero-illu { position: relative; width: min(62%, 380px); aspect-ratio: 1; animation: float 9s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(10, 10, 15, .18)); z-index: 1; }
.hero-illu img { width: 100%; height: 100%; object-fit: contain; }
.cycle { position: absolute; right: -2%; bottom: 2%; width: 44%; min-width: 220px; z-index: 2; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: .6rem .6rem .75rem; }
.cycle-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.cycle-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cycle-slide.is-active { opacity: 1; transform: none; }
.cycle-slide .mk { border-radius: 10px; box-shadow: none; border: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.cycle-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .35rem 0; font-size: .78rem; color: var(--muted); }
.cycle-foot strong { color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .82rem; }
.cycle-dots { display: flex; gap: 6px; }
.cycle-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line-strong); cursor: pointer; transition: width .25s var(--ease), background .2s; }
.cycle-dots button.is-active { width: 22px; border-radius: 999px; background: var(--blue); }
@media (max-width: 960px) { .hero-visual { height: 440px; } .cycle { width: 50%; } }
@media (max-width: 560px) { .hero-visual { height: 380px; } .hero-scene .orbit.o2 { display: none; } .cycle { width: 58%; right: 0; } .hero-scene .orbit .sat { width: 42px; height: 42px; margin: -21px 0 0 -21px; } .hero-scene .orbit .sat img { width: 32px; height: 32px; } }

/* ------------------------------------------------------------ illustrations génériques */
.illu { display: block; object-fit: contain; }
.illu-float { animation: float 8s ease-in-out infinite; }
@supports (animation-timeline: view()) {
  .parallax { animation: parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes parallax { from { transform: translateY(6%); } to { transform: translateY(-6%); } }
}

/* projecteur + inclinaison */
.tilt { transform-style: preserve-3d; --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; }
.tilt:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in srgb, var(--blue) 14%, transparent), transparent 60%); }
.tilt:hover::after { opacity: 1; }
.plan.popular.tilt::after { background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255,255,255,.14), transparent 60%); }
.card.tilt { position: relative; }
.btn-primary, .btn-light, .btn-dark { --tx: 0px; --ty: 0px; }
.btn-primary:hover, .btn-light:hover, .btn-dark:hover, .btn-outline:hover { transform: translate(var(--tx), calc(var(--ty) - 2px)); }

/* ------------------------------------------------------------ bento familles (illustrations sur teinte) */
.famille { background: var(--tint, var(--bg-alt)); border-color: transparent; display: flex; flex-direction: column; }
.famille .fam-illu { position: absolute; right: -4%; top: -6%; width: 62%; aspect-ratio: 1; pointer-events: none; transition: transform .6s var(--ease-out); filter: drop-shadow(0 18px 24px rgba(10,10,15,.14)); }
.famille.big .fam-illu { width: 56%; right: 2%; top: 6%; }
.famille:hover .fam-illu { transform: translateY(-6px) rotate(-2deg) scale(1.04); }
.famille .fam-illu img { width: 100%; height: 100%; object-fit: contain; }
.famille .fam-body { position: relative; z-index: 1; margin-top: auto; padding: 1.25rem 1.4rem; color: var(--ink); max-width: 70%; }
.famille.big .fam-body { max-width: 60%; }
.famille .fam-body h3 { color: var(--ink); margin-bottom: .2rem; font-size: 1.15rem; }
.famille.big .fam-body h3 { font-size: 1.6rem; }
.famille .fam-body p { color: var(--muted); font-size: .88rem; margin: 0 0 .5rem; }
.famille .card-link { color: var(--blue); font-size: .9rem; }
.famille .fam-count { background: color-mix(in srgb, var(--card) 75%, transparent); }
:root[data-theme="dark"] .famille .fam-body h3, :root[data-theme="dark"] .famille .fam-body { color: var(--ink); }
@media (max-width: 560px) { .famille .fam-body, .famille.big .fam-body { max-width: 64%; } }

/* ------------------------------------------------------------ fiches métiers (bandeau illustré) */
.secteur-photo { aspect-ratio: auto; min-height: 190px; background: var(--tint, var(--bg-alt)); display: flex; align-items: flex-end; }
.secteur-photo::after { display: none; }
.secteur-photo .secteur-illu { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: clamp(140px, 22%, 240px); aspect-ratio: 1; filter: drop-shadow(0 18px 24px rgba(10,10,15,.16)); transition: transform .6s var(--ease-out); }
.secteur:hover .secteur-illu { transform: translateY(-50%) translateX(-4px) rotate(-2deg) scale(1.04); }
.secteur-photo .secteur-illu img { width: 100%; height: 100%; object-fit: contain; }
.secteur-title { position: relative; left: auto; right: auto; bottom: auto; color: var(--ink); padding: 1.6rem 1.75rem; max-width: 72%; }
.secteur-title h3 { color: var(--ink); }
.secteur-title .kicker { color: var(--blue); }
.secteur-icon { background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--navy); backdrop-filter: blur(8px); }
:root[data-theme="dark"] .secteur-icon { color: #fff; }
@media (max-width: 700px) { .secteur-photo { min-height: 0; flex-direction: column; align-items: stretch; } .secteur-photo .secteur-illu { position: static; transform: none; width: 44%; margin: 1.25rem 1.25rem 0 auto; } .secteur:hover .secteur-illu { transform: none; } .secteur-title { max-width: none; padding: 0 1.25rem 1.25rem; } }

/* ------------------------------------------------------------ packs : vignette illustrée */
.pack-photo { aspect-ratio: auto; height: 150px; background: var(--tint, var(--bg-alt)); display: grid; place-items: center; }
.pack-photo img { width: auto; height: 86%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(10,10,15,.14)); transition: transform .6s var(--ease-out); }
.pack:hover .pack-photo img { transform: translateY(-5px) rotate(-2deg) scale(1.05); }

/* ------------------------------------------------------------ formes, méthode, contact */
.formes-intro .illu-frame { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r); background: linear-gradient(135deg, var(--tint-commerce), var(--bg-alt)); display: grid; place-items: center; overflow: hidden; }
.formes-intro .illu-frame img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(10,10,15,.16)); }
.methode-photo { background: linear-gradient(160deg, var(--tint-liberal), var(--blue-soft)); display: grid; place-items: center; }
.methode-photo img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(10,10,15,.16)); }
.methode-photo figcaption { background: color-mix(in srgb, var(--card) 92%, transparent); }
.page-photo { background: linear-gradient(135deg, var(--tint-liberal), var(--blue-soft)); display: grid; place-items: center; aspect-ratio: 21 / 7; }
.page-photo img { width: auto; height: 82%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(10,10,15,.16)); }
.contact-aside .photo-card { background: linear-gradient(135deg, var(--tint-commerce), var(--bg-alt)); display: grid; place-items: center; }
.contact-aside .photo-card img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(10,10,15,.16)); }
.gallery-item .gal-photo { aspect-ratio: 16 / 7; background: var(--tint, var(--bg-alt)); display: grid; place-items: center; }
.gallery-item .gal-photo img { width: auto; height: 84%; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(10,10,15,.14)); }

/* ------------------------------------------------------------ étapes : ligne qui se dessine */
.steps { position: relative; }
.steps li { position: relative; }
.steps:not(.cols) li::before { content: ""; position: absolute; left: calc(1.4rem + 20px); top: 100%; width: 2px; height: .9rem; background: var(--line); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-out) .2s; }
.steps:not(.cols) li.is-seen::before { transform: scaleY(1); background: var(--blue); }
.steps:not(.cols) li:last-child::before { display: none; }
.steps li .step-num { transition: transform .5s var(--ease-out), background .3s; }
.steps li.is-seen .step-num { background: var(--blue); transform: scale(1.08); }

/* ------------------------------------------------------------ CTA : halos + icônes flottantes */
.cta-final { background: var(--navy); }
.cta-final::before { background: radial-gradient(60% 80% at 80% 20%, rgba(255,45,149,.5), transparent 60%), radial-gradient(40% 60% at 10% 90%, rgba(255,230,211,.18), transparent 60%); }
.cta-float { position: absolute; width: 72px; height: 72px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; animation: float 9s ease-in-out infinite; z-index: 0; }
.cta-float img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.3)); }
.cta-float.f1 { right: 8%; top: 12%; } .cta-float.f2 { right: 22%; bottom: 14%; animation-delay: -3s; } .cta-float.f3 { right: 36%; top: 22%; animation-delay: -6s; width: 56px; height: 56px; } .cta-float.f4 { left: 4%; bottom: 10%; animation-delay: -4s; width: 56px; height: 56px; }
@media (max-width: 900px) { .cta-float { display: none; } }

/* ------------------------------------------------------------ transition de thème (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { clip-path: circle(0 at var(--vt-x, 100%) var(--vt-y, 0)); animation: vt-reveal .6s var(--ease-out) forwards; }
@keyframes vt-reveal { to { clip-path: circle(150vmax at var(--vt-x, 100%) var(--vt-y, 0)); } }

@media (prefers-reduced-motion: reduce) {
  .hero-scene .orbit, .hero-scene .orbit .sat, .hero-illu, .illu-float, .mesh i, .cta-float { animation: none !important; }
  .tilt:hover { transform: none; }
  .banner h1.split .w, .hero h1.split .w { opacity: 1; transform: none; animation: none; }
}

.banner h1.split.done .w, .hero h1.split.done .w { opacity: 1; transform: none; animation: none; }

/* =====================================================================
   V4 — réalisations, configurateur, parcours de devis, ROI, comparatif,
   garanties, disponibilité, transitions entre pages
   ===================================================================== */

/* transitions entre pages (navigation multi-pages) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .32s var(--ease-out) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
}

/* disponibilité */
.dispo { display: inline-flex; align-items: center; gap: .5em; font-size: .85rem; color: var(--muted); }
.dispo .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(34,197,94,.08); } }
.hero-dispo { font-size: .88rem; color: var(--muted); margin: -.4rem 0 1.2rem; }

/* réalisations */
.realisations-grid { grid-template-columns: repeat(3, 1fr); }
.realisations-list { display: grid; gap: 1.5rem; }
.realisation { padding: 0; overflow: hidden; }
.realisation.full { display: grid; grid-template-columns: .9fr 1.1fr; }
.real-visual { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(145deg, var(--tint), color-mix(in srgb, var(--tint) 40%, var(--bg-alt))); text-decoration: none !important; overflow: hidden; }
.realisation.full .real-visual { aspect-ratio: auto; min-height: 320px; }
.real-illu { width: 58%; aspect-ratio: 1; filter: drop-shadow(0 24px 30px rgba(10,10,15,.18)); transition: transform .6s var(--ease-out); }
.real-visual:hover .real-illu { transform: translateY(-8px) rotate(-2deg) scale(1.04); }
.real-illu img { width: 100%; height: 100%; object-fit: contain; }
.real-tag { position: absolute; top: 1rem; left: 1rem; font-family: var(--font-head); font-size: .75rem; font-weight: 600; padding: .4em .8em; border-radius: 999px; background: color-mix(in srgb, var(--card) 85%, transparent); color: var(--ink); backdrop-filter: blur(8px); }
.real-open { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: .55em 1em; border-radius: 999px; background: var(--navy); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease-out); }
.real-visual:hover .real-open, .real-visual:focus-visible .real-open { opacity: 1; transform: none; }
.real-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.real-body h3 { font-size: 1.35rem; }
.real-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: .5rem 0; }
.real-cols h4 { margin: .2rem 0 .4rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.real-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--muted) !important; margin-top: auto; }
.real-meta span { display: inline-flex; align-items: center; gap: .35em; }
.real-meta .price { font-family: var(--font-head); font-weight: 600; color: var(--blue); margin-left: auto; font-size: 1rem; }
.real-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
@media (max-width: 1000px) { .realisations-grid { grid-template-columns: 1fr; } .realisation.full { grid-template-columns: 1fr; } .realisation.full .real-visual { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 600px) { .real-cols { grid-template-columns: 1fr; } }

/* garanties */
.garanties-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.garantie h3 { font-size: 1.05rem; }

/* configurateur */
.config { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.config-left { display: grid; gap: 1rem; }
.config-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.2rem 1.2rem; }
.config-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin: 0 0 .6rem; }
.config-label small { font-weight: 400; color: var(--muted); }
.config-input { font: inherit; width: 100%; padding: .8em 1em; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); color: var(--ink); }
.config-input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.config-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.style-pick { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; padding: .6rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: .8rem; font-weight: 500; text-align: left; transition: border-color .15s, transform .2s var(--ease-out), box-shadow .2s; }
.style-pick:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.style-pick[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.style-pick .sw { position: relative; display: block; width: 100%; height: 34px; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); overflow: hidden; }
.style-pick .sw i { position: absolute; bottom: 6px; left: 6px; width: 46%; height: 6px; border-radius: 3px; }
.style-pick .sw i + i { bottom: 16px; width: 70%; height: 4px; opacity: .55; }
.config-mods .sim-cat:first-child { border-top: 0; }
.config-mods .sim-mod.reco span em { font-style: normal; font-size: .72rem; color: var(--blue); font-weight: 600; margin-left: .3em; }
.config-right { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 1rem; }
.config-preview { background: linear-gradient(145deg, var(--bg-alt), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.config-stage .mk { width: 100%; aspect-ratio: 4 / 3; animation: cfg-in .5s var(--ease-out); }
@keyframes cfg-in { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.config-caption { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }
.config-caption strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.config-total dl { margin: 0 0 1rem; }
.config-total dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.config-total dt { color: var(--muted); }
.config-total dd { margin: 0; font-weight: 600; text-align: right; }
.config-total .hint dd { color: #126b3a; font-weight: 500; font-size: .85rem; }
.config-total .total dd { font-family: var(--font-head); font-size: 1.5rem; color: var(--blue); letter-spacing: -.03em; }
.config-total .btn + .btn { margin-top: .5rem; }
.config.compact .config-mods .sim-cat:not([open]) summary { font-size: .88rem; }
@media (max-width: 960px) { .config { grid-template-columns: 1fr; } .config-right { position: static; } }

/* parcours de devis */
.form-progress { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.form-progress li { display: flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 600; color: var(--muted); padding: .55rem .6rem; border-radius: 10px; background: var(--bg-alt); cursor: pointer; transition: background .2s, color .2s; }
.form-progress li span { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--card); border: 1px solid var(--line); font-size: .72rem; flex: none; }
.form-progress li.is-active { background: var(--blue-soft); color: var(--blue); }
.form-progress li.is-active span { background: var(--blue); color: #fff; border-color: var(--blue); }
.form-progress li.is-done { color: #126b3a; }
.form-progress li.is-done span { background: #e2f6ea; color: #126b3a; border-color: #bfe3cb; }
.form-step { border: 0; padding: 0; margin: 0; animation: cfg-in .4s var(--ease-out); }
.form-step legend { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: .6rem; }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: .5rem; }
.form-nav .btn-primary { margin-left: auto; }
.rdv-card h2 { font-size: 1.3rem; }
@media (max-width: 600px) { .form-progress { grid-template-columns: repeat(2, 1fr); } }

/* comparatif */
.compare td.good { color: var(--ink); font-weight: 500; }
.compare td.good::before { content: "✓ "; color: #16a34a; font-weight: 700; }

/* rentabilité */
.roi { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; padding: 1.75rem; }
.roi-inputs label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 1.1rem; }
.roi-inputs output { float: right; font-family: var(--font-head); color: var(--blue); font-weight: 600; }
.roi-inputs input[type="range"] { width: 100%; margin-top: .5rem; accent-color: var(--blue); }
.roi-result { border-left: 1px solid var(--line); padding-left: 2rem; }
.roi-big { display: flex; flex-direction: column; margin-bottom: .8rem; }
.roi-big strong { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.roi-big span { color: var(--muted); font-size: .9rem; }
@media (max-width: 800px) { .roi { grid-template-columns: 1fr; } .roi-result { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; } }

/* à propos */
.apropos-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.cta-row.left { justify-content: flex-start; margin-top: 1.5rem; }
.fondateur { text-align: center; }
.fondateur-photo { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--tint-commerce), var(--bg-alt)); display: grid; place-items: center; overflow: hidden; margin-bottom: 1rem; }
.fondateur-photo img { width: 100%; height: 100%; object-fit: cover; }
.fondateur-photo .illu { width: 64%; height: 64%; object-fit: contain; }
.photo-note { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; font-size: .72rem; color: var(--muted); background: color-mix(in srgb, var(--card) 90%, transparent); border-radius: 8px; padding: .4rem .6rem; }
@media (max-width: 860px) { .apropos-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   V5 — aperçu vivant du configurateur (.lm) : vraie page simulée
   Tailles en cqw (largeur du conteneur) pour rester lisible à toute taille.
   ===================================================================== */
.config-stage { container-type: inline-size; }
.cfg-device { display: flex; gap: .35rem; margin-bottom: .8rem; }
.cfg-device button { font: inherit; font-size: .8rem; font-weight: 600; padding: .45em .9em; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.cfg-device button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cfg-toast { position: absolute; left: 50%; bottom: 1rem; transform: translate(-50%, 10px); padding: .5rem .9rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease-out); z-index: 3; white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis; }
.cfg-toast.show { opacity: 1; transform: translate(-50%, 0); }
.config-preview { position: relative; }
.config-stage .mk { display: none; }

.lm { --soft: color-mix(in srgb, var(--ink) 8%, var(--bg)); --line2: color-mix(in srgb, var(--ink) 14%, transparent); --mut: color-mix(in srgb, var(--ink) 62%, var(--bg)); --rad: 1.2cqw; --radb: 2.4cqw; --font: "Figtree", system-ui, sans-serif; --fhead: "Instrument Sans", sans-serif; --wh: 600;
  width: 100%; margin: 0 auto; border-radius: 14px; overflow: hidden; background: var(--bg); color: var(--ink); border: 1px solid rgba(0,0,0,.1); box-shadow: var(--shadow); font-family: var(--font); font-size: 2.1cqw; line-height: 1.45; text-align: left; transition: width .4s var(--ease-out); animation: cfg-in .45s var(--ease-out); }
.lm.mobile { width: 42%; font-size: 4.2cqw; border-radius: 22px; border-width: 4px; border-color: #0a0a0f; }
.lm-chrome { display: flex; align-items: center; gap: 1cqw; padding: 1.2cqw 2cqw; background: color-mix(in srgb, var(--ink) 7%, var(--bg)); border-bottom: 1px solid var(--line2); }
.lm-chrome i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.lm-url { margin-left: 1.5cqw; padding: .3cqw 2cqw; border-radius: 99px; background: color-mix(in srgb, var(--ink) 10%, var(--bg)); font-size: .8em; color: var(--mut); }
.lm.mobile .lm-chrome { padding: 2cqw 3cqw; } .lm.mobile .lm-chrome i { display: none; } .lm.mobile .lm-url { margin: 0 auto; width: 60%; text-align: center; }
.lm-page { max-height: 62cqw; overflow: auto; position: relative; scrollbar-width: thin; }
.lm.mobile .lm-page { max-height: 88cqw; }
.lm h1, .lm h3, .lm-logo { font-family: var(--fhead); font-weight: var(--wh); letter-spacing: -.02em; line-height: 1.1; margin: 0; color: var(--ink); }
.lm p { margin: 0; }

/* navigation */
.lm-nav { display: flex; align-items: center; gap: 2cqw; padding: 2.2cqw 3.5cqw; border-bottom: 1px solid var(--line2); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); z-index: 2; }
.lm-logo { font-size: 1.3em; }
.lm-nav nav { display: flex; gap: 2.2cqw; margin-left: auto; font-size: .92em; color: var(--mut); }
.lm-navx { display: flex; align-items: center; gap: 1.5cqw; }
.lm-lang, .lm-icon { font-size: .78em; padding: .35em .8em; border-radius: 99px; border: 1px solid var(--line2); color: var(--mut); }
.lm.mobile .lm-nav nav { display: none; }
.lm.mobile .lm-navx .lm-btn { display: none; }
.lm.mobile .lm-nav::after { content: "≡"; margin-left: auto; font-size: 1.4em; }
.lm.mobile .lm-navx { margin-left: auto; }
.lm.mobile .lm-nav::after { margin-left: 0; }

/* boutons */
.lm-btn { display: inline-flex; align-items: center; justify-content: center; padding: .7em 1.3em; border-radius: var(--radb); background: var(--ac); color: #fff; font-family: var(--fhead); font-weight: 600; font-size: .92em; white-space: nowrap; }
.lm-btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.lm-btn.mini { padding: .5em .9em; font-size: .8em; }
.lm-btn.full { width: 100%; }

/* héros */
.lm-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3cqw; align-items: center; padding: 5cqw 3.5cqw; }
.lm-hero small { display: inline-block; font-size: .78em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ac); margin-bottom: 1.2cqw; }
.lm-hero h1 { font-size: 2.4em; margin-bottom: 1.4cqw; }
.lm-hero p { color: var(--mut); margin-bottom: 2cqw; }
.lm-ctas { display: flex; gap: 1.2cqw; flex-wrap: wrap; }
.lm-hero-vis { display: grid; place-items: center; }
.lm-hero-vis img { width: 78%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 3cqw 3cqw rgba(0,0,0,.18)); animation: float 8s ease-in-out infinite; }
.lm-badge { display: inline-block; margin-top: 1.5cqw; font-size: .75em; padding: .35em .8em; border-radius: 99px; background: color-mix(in srgb, var(--ac) 14%, var(--bg)); color: var(--ac); font-weight: 600; }
.lm.mobile .lm-hero { grid-template-columns: 1fr; text-align: center; padding: 6cqw 4cqw; }
.lm.mobile .lm-ctas { justify-content: center; }
.lm.mobile .lm-hero-vis img { width: 60%; }

/* blocs */
.lm-block { margin: 0 3.5cqw 3cqw; padding: 3cqw; border-radius: var(--rad); background: var(--soft); border: 1px solid var(--line2); }
.lm-block h3 { font-size: 1.15em; margin-bottom: 1.6cqw; }
.lm-block small { display: block; margin-top: 1cqw; font-size: .78em; color: var(--mut); }
.lm-pills { display: flex; flex-wrap: wrap; gap: 1cqw; margin: 0 3.5cqw 3cqw; }
.lm-pill { font-size: .8em; padding: .4em .9em; border-radius: 99px; background: var(--bg); border: 1px solid var(--line2); color: var(--mut); }
.lm-promo { padding: 1.4cqw 3.5cqw; background: var(--ac); color: #fff; font-size: .85em; font-weight: 600; text-align: center; }
.lm-strip { display: flex; justify-content: space-around; gap: 2cqw; flex-wrap: wrap; font-size: .85em; color: var(--mut); background: transparent; }
.lm-strip span { display: inline-flex; align-items: center; gap: .5em; }
.lm-stars { color: #e0a100; letter-spacing: .05em; }
.lm-days, .lm-slots, .lm-amounts { display: flex; flex-wrap: wrap; gap: 1cqw; margin-bottom: 1.6cqw; }
.lm-days span, .lm-slots span, .lm-amounts span { padding: .5em .9em; border-radius: var(--rad); background: var(--bg); border: 1px solid var(--line2); font-size: .85em; }
.lm-days span.on, .lm-slots span.on, .lm-amounts span.on { background: var(--ac); color: #fff; border-color: var(--ac); }
.lm-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(30%, 1fr)); gap: 1cqw; margin-bottom: 1.6cqw; }
.lm-fields span { padding: .7em .9em; border-radius: var(--rad); background: var(--bg); border: 1px solid var(--line2); font-size: .85em; color: var(--mut); }
.lm-price { margin: 1.2cqw 0 1.6cqw !important; font-size: .95em; color: var(--mut); }
.lm-price b { color: var(--ac); font-family: var(--fhead); font-size: 1.3em; }
.lm-grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1cqw; margin-bottom: 1.6cqw; }
.lm-grid7 div { display: grid; gap: .6cqw; text-align: center; font-size: .8em; }
.lm-grid7 i { display: block; height: 2.2cqw; border-radius: .6cqw; background: var(--bg); border: 1px solid var(--line2); }
.lm-grid7 i.on { background: var(--ac); border-color: var(--ac); }
.lm-mapbox { position: relative; height: 16cqw; border-radius: var(--rad); background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--ac) 10%, var(--bg)) 0 1.2cqw, color-mix(in srgb, var(--ac) 18%, var(--bg)) 1.2cqw 2.4cqw); margin-bottom: 1.2cqw; }
.lm-mapbox i { position: absolute; width: 2.4cqw; height: 2.4cqw; border-radius: 50% 50% 50% 0; background: var(--ac); transform: rotate(-45deg); }
.lm-map p { font-size: .85em; color: var(--mut); }
.lm-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.lm-cards3 > div { padding: 2cqw; border-radius: var(--rad); background: var(--bg); border: 1px solid var(--line2); display: grid; gap: .6cqw; font-size: .88em; }
.lm-cards3 > div.on { border-color: var(--ac); box-shadow: inset 0 0 0 1px var(--ac); }
.lm-cards3 b { font-family: var(--fhead); }
.lm-cards3 span { color: var(--mut); }
.lm-ph { display: block; height: 9cqw; border-radius: var(--rad); background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 28%, var(--bg)), color-mix(in srgb, var(--ac) 60%, var(--ink) 20%)); }
.lm-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqw; }
.lm-products > div { display: grid; gap: .6cqw; font-size: .85em; }
.lm-products b { font-family: var(--fhead); }
.lm-products span { color: var(--mut); }
.lm.mobile .lm-products, .lm.mobile .lm-cards3 { grid-template-columns: repeat(2, 1fr); }
.lm-pay { display: flex; align-items: center; gap: 1.2cqw; flex-wrap: wrap; font-size: .85em; color: var(--mut); }
.lm-pay i { font-style: normal; padding: .35em .8em; border-radius: .8cqw; background: var(--bg); border: 1px solid var(--line2); color: var(--ink); font-weight: 600; font-size: .85em; }
.lm-order > div { display: flex; justify-content: space-between; align-items: center; padding: 1cqw 0; border-bottom: 1px dotted var(--line2); font-size: .9em; }
.lm-order b { width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; }
.lm-total { margin-top: 1.4cqw !important; font-size: .9em; }
.lm-total b { color: var(--ac); }
.lm-wallet { position: relative; padding: 2.4cqw; border-radius: var(--radb); background: linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--ink) 70%, var(--ac))); color: #fff; display: grid; grid-template-columns: repeat(10, 1fr); gap: .8cqw; }
.lm-wallet b, .lm-wallet span, .lm-wallet small { grid-column: 1 / -1; }
.lm-wallet span { opacity: .8; font-size: .85em; margin-bottom: .8cqw; }
.lm-wallet i { aspect-ratio: 1; border-radius: 50%; background: var(--ac); }
.lm-wallet i.off { background: rgba(255,255,255,.2); }
.lm-wallet small { margin-top: 1cqw; opacity: .7; color: #fff; }
.lm-upload { padding: 4cqw; border: 1px dashed var(--line2); border-radius: var(--rad); text-align: center; color: var(--mut); font-size: .88em; margin-bottom: 1.4cqw; background: var(--bg); }
.lm-masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 6cqw; gap: 1cqw; }
.lm-masonry i { border-radius: var(--rad); background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 28%, var(--bg)), color-mix(in srgb, var(--ac) 60%, var(--ink) 20%)); }
.lm-masonry .a { grid-row: span 2; } .lm-masonry .c { grid-row: span 3; } .lm-masonry .e { grid-row: span 2; }
.lm-menu { display: grid; grid-template-columns: 1fr auto; gap: 2cqw; align-items: start; }
.lm-menu h3 { grid-column: 1 / -1; }
.lm-menu p { padding: .9cqw 0; border-bottom: 1px dotted var(--line2); font-size: .9em; }
.lm-qr { display: grid; grid-template-columns: 1fr 1fr; gap: .6cqw; width: 9cqw; padding: .8cqw; background: #fff; border-radius: .8cqw; }
.lm-qr i { aspect-ratio: 1; background: #0a0a0f; border-radius: .3cqw; }
.lm-insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8cqw; }
.lm-insta i { aspect-ratio: 1; border-radius: .8cqw; background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 30%, var(--bg)), color-mix(in srgb, var(--ac) 65%, var(--ink) 20%)); }
.lm.mobile .lm-insta { grid-template-columns: repeat(3, 1fr); }
.lm-news > div { display: flex; gap: 1cqw; }
.lm-news span { flex: 1; padding: .7em .9em; border-radius: var(--rad); background: var(--bg); border: 1px solid var(--line2); color: var(--mut); font-size: .85em; }
.lm-track ol { list-style: none; margin: 1.4cqw 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; font-size: .82em; }
.lm-track li { padding: 1cqw; border-radius: var(--rad); background: var(--bg); border: 1px solid var(--line2); text-align: center; color: var(--mut); }
.lm-track li.done { border-color: #86d4a3; color: var(--ink); }
.lm-track li.now { border-color: var(--ac); color: var(--ac); font-weight: 600; }
.lm-range { height: 1.2cqw; border-radius: 99px; background: var(--line2); position: relative; margin: 2cqw 0; }
.lm-range i { position: absolute; left: 55%; top: 50%; width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--ac); transform: translate(-50%, -50%); }
.lm-faq > div { display: flex; justify-content: space-between; padding: 1.2cqw 0; border-bottom: 1px solid var(--line2); font-size: .9em; }
.lm-faq b { color: var(--ac); }
.lm-infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; background: transparent; }
.lm-infos div { padding: 2cqw; border-radius: var(--rad); background: var(--soft); border: 1px solid var(--line2); font-size: .85em; display: grid; gap: .4cqw; }
.lm-infos b { font-family: var(--fhead); font-size: .8em; text-transform: uppercase; letter-spacing: .08em; color: var(--ac); }
.lm.mobile .lm-infos { grid-template-columns: 1fr; }
.lm-callback { position: sticky; bottom: 0; display: flex; align-items: center; gap: 1.5cqw; padding: 1.6cqw 3.5cqw; background: var(--ink); color: var(--bg); font-size: .85em; z-index: 2; }
.lm-callback b { margin-left: auto; opacity: .7; }
.lm-footer { display: flex; justify-content: space-between; gap: 2cqw; flex-wrap: wrap; padding: 3cqw 3.5cqw; border-top: 1px solid var(--line2); font-size: .78em; color: var(--mut); }
.lm-float { position: sticky; bottom: 2.5cqw; margin: -8cqw 3cqw 2.5cqw auto; width: max-content; z-index: 3; }
.lm-chat { max-width: 40%; padding: 2cqw 2.4cqw; border-radius: var(--radb); background: var(--bg); color: var(--ink); border: 1px solid var(--line2); box-shadow: 0 2cqw 3cqw rgba(0,0,0,.18); font-size: .82em; }
.lm-chat b { display: block; color: var(--ac); margin-bottom: .4cqw; }
.lm-wa { padding: 1.4cqw 2.4cqw; border-radius: 99px; background: #25d366; color: #fff; font-weight: 600; font-size: .85em; box-shadow: 0 2cqw 3cqw rgba(0,0,0,.18); }
.lm.mobile .lm-chat { max-width: 70%; }
.lm-new { animation: lm-new 1.4s var(--ease-out); outline: 2px solid var(--ac); outline-offset: 2px; }
@keyframes lm-new { 0% { transform: scale(.97); opacity: 0; } 30% { transform: scale(1.01); opacity: 1; } 100% { transform: none; } }

/* ---------------- 12 styles : chacun change vraiment la mise en page */
.lm.f-serif { --fhead: Georgia, "Times New Roman", serif; --wh: 500; }
.lm.f-display { --fhead: "Instrument Sans", sans-serif; --wh: 700; }
.lm.f-display .lm-hero h1 { text-transform: uppercase; letter-spacing: .02em; }
.lm.s-minimal { --rad: .6cqw; --radb: 99px; }
.lm.s-minimal .lm-hero { padding: 7cqw 3.5cqw; } .lm.s-minimal .lm-block { background: transparent; border: 0; border-top: 1px solid var(--line2); border-radius: 0; }
.lm.s-editorial .lm-hero { grid-template-columns: 1fr; text-align: center; } .lm.s-editorial .lm-hero h1 { font-size: 3em; font-style: italic; } .lm.s-editorial .lm-hero-vis img { width: 46%; } .lm.s-editorial .lm-ctas { justify-content: center; }
.lm.s-bold { --rad: .8cqw; --radb: .8cqw; } .lm.s-bold .lm-hero { background: var(--ac); color: #fff; } .lm.s-bold .lm-hero h1, .lm.s-bold .lm-hero small { color: #fff; } .lm.s-bold .lm-hero p { color: rgba(255,255,255,.85); } .lm.s-bold .lm-hero h1 { font-size: 3em; } .lm.s-bold .lm-hero .lm-btn { background: var(--ink); } .lm.s-bold .lm-hero .lm-btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.lm.s-luxe { --rad: 0; --radb: 0; } .lm.s-luxe .lm-hero { grid-template-columns: 1fr; text-align: center; padding: 7cqw 3.5cqw 4cqw; } .lm.s-luxe .lm-hero h1 { font-size: 2.8em; letter-spacing: .02em; } .lm.s-luxe .lm-hero small { letter-spacing: .25em; } .lm.s-luxe .lm-ctas { justify-content: center; } .lm.s-luxe .lm-btn { letter-spacing: .14em; text-transform: uppercase; font-size: .78em; } .lm.s-luxe .lm-hero-vis img { width: 42%; } .lm.s-luxe .lm-block { background: transparent; }
.lm.s-chaleureux { --rad: 1.8cqw; --radb: 99px; } .lm.s-chaleureux .lm-hero { background: color-mix(in srgb, var(--ac) 10%, var(--bg)); }
.lm.s-tech { --rad: 1cqw; --radb: 1cqw; } .lm.s-tech .lm-page { background-image: linear-gradient(var(--line2) 1px, transparent 1px), linear-gradient(90deg, var(--line2) 1px, transparent 1px); background-size: 6cqw 6cqw; background-attachment: local; } .lm.s-tech .lm-block { background: var(--bg); }
.lm.s-clinique { --rad: 2cqw; --radb: 99px; } .lm.s-clinique .lm-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 12%, var(--bg)), var(--bg)); } .lm.s-clinique .lm-block { border-color: transparent; }
.lm.s-organique { --rad: 3cqw; --radb: 99px; } .lm.s-organique .lm-hero-vis img { background: color-mix(in srgb, var(--ac) 16%, var(--bg)); border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; padding: 4cqw; } .lm.s-organique .lm-block { border-radius: 3cqw 1cqw 3cqw 1cqw; }
.lm.s-neo { --rad: 0; --radb: 0; } .lm.s-neo .lm-block, .lm.s-neo .lm-btn, .lm.s-neo .lm-cards3 > div, .lm.s-neo .lm-fields span { border: 2px solid var(--ink); box-shadow: .8cqw .8cqw 0 var(--ink); } .lm.s-neo .lm-btn.ghost { background: var(--bg); } .lm.s-neo .lm-hero h1 { font-size: 3em; }
.lm.s-dark, .lm.dark { --soft: color-mix(in srgb, var(--ink) 10%, var(--bg)); }
.lm.s-dark .lm-hero { background: radial-gradient(60% 80% at 80% 20%, color-mix(in srgb, var(--ac) 28%, transparent), transparent 70%); } .lm.s-dark .lm-btn { color: var(--bg); } .lm.s-dark .lm-hero h1 { font-size: 2.8em; }
.lm.s-corporate .lm-nav { background: var(--ink); color: var(--bg); border: 0; } .lm.s-corporate .lm-nav .lm-logo, .lm.s-corporate .lm-nav nav { color: var(--bg); } .lm.s-corporate .lm-hero { padding-top: 6cqw; } .lm.s-corporate .lm-block { border-left: .6cqw solid var(--ac); }
.lm.s-pop { --rad: 2.4cqw; --radb: 99px; } .lm.s-pop .lm-hero small { background: var(--ac); color: #fff; padding: .3em .9em; border-radius: 99px; } .lm.s-pop .lm-block:nth-child(odd) { background: color-mix(in srgb, var(--ac) 14%, var(--bg)); } .lm.s-pop .lm-hero h1 { font-size: 2.8em; }

/* formules : niveau visible */
.lm.lvl-1 .lm-nav nav span:nth-child(n+4) { display: none; }
.lm.lvl-3 .lm-hero, .lm.lvl-6 .lm-hero { padding-top: 7cqw; padding-bottom: 7cqw; }
.lm.lvl-3 .lm-hero-vis img, .lm.lvl-6 .lm-hero-vis img { width: 90%; }

@media (prefers-reduced-motion: reduce) { .lm, .lm-hero-vis img, .lm-new { animation: none !important; } }

/* V5.1 — l'aperçu est son propre conteneur : en mode mobile, toutes les tailles suivent la largeur du téléphone */
.lm { container-type: inline-size; }
.lm.mobile { font-size: 1.9cqw; }
.lm.mobile .lm-page { max-height: 190cqw; }
.lm-nav { flex-wrap: wrap; row-gap: 1cqw; }
.lm-nav nav { flex-wrap: wrap; }
.lm.mobile .lm-page { max-height: 190cqw; }
/* V5.2 — mobile : taille relative au téléphone ; bouton secondaire lisible sur fond sombre */
.lm.mobile { font-size: 1.5cqw; }
.lm.mobile .lm-hero h1 { font-size: 1.9em; }
.lm.s-dark .lm-btn.ghost, .lm.dark .lm-btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 40%, transparent); }

/* =====================================================================
   V6 — bannière d'ouverture : diaporama de métiers avec vraies photos
   ===================================================================== */
.banner { position: relative; min-height: clamp(560px, 82vh, 780px); display: grid; align-items: end; color: #fff; overflow: clip; isolation: isolate; background: var(--navy); }
.banner-slides { position: absolute; inset: 0; z-index: -1; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.banner-slide.is-active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; transform: scale(1.06); }
.banner-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06) translateY(0); } to { transform: scale(1.14) translateY(-2%); } }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(10,10,15,.92) 0%, rgba(10,10,15,.72) 45%, rgba(10,10,15,.25) 100%), linear-gradient(180deg, rgba(10,10,15,.25) 0%, rgba(10,10,15,0) 30%, rgba(10,10,15,.75) 100%); }
.banner-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; padding: clamp(5rem, 10vw, 7rem) 0 2rem; width: min(100% - 2rem, var(--wrap)); }
.banner h1 { color: #fff; max-width: 13ch; margin-bottom: 1rem; }
.grad-light { background: linear-gradient(92deg, #ff7cc1, #fff 55%, #ff9ad0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow.dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #ffe9f4; backdrop-filter: blur(8px); }
.banner-claim { display: flex; flex-direction: column; gap: .2rem; font-size: 1.2rem; color: #ffe9f4; max-width: 48ch; min-height: 3.4em; margin-bottom: .4rem; }
.banner-claim .banner-label { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ff9ad0; }
.banner-claim [data-banner-claim] { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.25; transition: opacity .35s, transform .35s var(--ease-out); }
.banner-claim.is-switching [data-banner-claim] { opacity: 0; transform: translateY(6px); }
.banner .hero-cta { margin: 1.2rem 0 1rem; }
.banner-dispo .dispo { color: #ffd3e9; }
.banner-thumbs { display: flex; gap: .5rem; justify-self: end; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: .35rem; margin: 0 -.35rem; border-radius: 18px; }
.banner-thumbs::-webkit-scrollbar { display: none; }
.banner-thumb { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; width: 96px; padding: .35rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(10,10,15,.45); backdrop-filter: blur(10px); color: #fff; cursor: pointer; text-align: left; font: inherit; transition: transform .25s var(--ease-out), background .25s, border-color .25s; overflow: hidden; }
.banner-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; display: block; opacity: .85; transition: opacity .25s; }
.banner-thumb span { font-family: var(--font-head); font-size: .66rem; font-weight: 600; line-height: 1.15; letter-spacing: .01em; padding: 0 .15rem .25rem; }
.banner-thumb:hover { transform: translateY(-3px); background: rgba(10,10,15,.7); }
.banner-thumb.is-active { border-color: rgba(255,255,255,.7); background: rgba(10,10,15,.8); transform: translateY(-3px); }
.banner-thumb.is-active img { opacity: 1; }
.banner-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
.banner-thumb.is-active .banner-progress { animation: banner-progress var(--banner-duration, 6s) linear forwards; }
.banner.is-paused .banner-thumb.is-active .banner-progress { animation-play-state: paused; }
@keyframes banner-progress { to { transform: scaleX(1); } }
.banner-arrows { position: absolute; right: max(1rem, calc((100% - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: .5rem; }
.banner-arrows .icon-btn { background: rgba(10,10,15,.55); border-color: rgba(255,255,255,.25); color: #fff; font-size: 1.6rem; line-height: 1; backdrop-filter: blur(8px); }
.banner-arrows .icon-btn:hover { background: rgba(10,10,15,.85); }
@media (max-width: 1000px) {
  .banner-content { grid-template-columns: 1fr; padding-top: 5rem; }
  .banner-thumbs { justify-self: stretch; }
  .banner-arrows { display: none; }
}
@media (max-width: 560px) {
  .banner { min-height: 86vh; }
  .banner-thumb { width: 82px; }
  .banner-claim [data-banner-claim] { font-size: 1.15rem; }
  .banner .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .banner-slide.is-active img { animation: none; transform: none; } .banner-thumb.is-active .banner-progress { animation: none; transform: scaleX(1); } }
/* la barre de progression de lecture passe au-dessus de la bannière */
.scroll-progress { z-index: 300; }

/* =====================================================================
   V7 — promesse en trois mots, badge d'avis, piliers, projet en action,
   FAQ numérotée, bulle de contact, pied de page local
   ===================================================================== */
.promesse { display: flex; flex-wrap: wrap; gap: .4em 1em; margin: 0 0 .8rem; font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, .9rem + .6vw, 1.3rem); letter-spacing: -.01em; color: #ffd3e9; }
.promesse span { opacity: 0; transform: translateY(.4em); animation: word-in .7s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
.promesse span:last-child { color: #fff; }
@media (prefers-reduced-motion: reduce) { .promesse span { opacity: 1; transform: none; animation: none; } }

.avis-badge { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1rem; padding: .5em .9em .5em .7em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: .88rem; text-decoration: none !important; }
.avis-badge .stars { color: #e0a100; letter-spacing: .05em; }
.avis-badge strong { font-family: var(--font-head); }
.avis-badge span:last-child { color: var(--muted); }
.avis-badge.light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(8px); }
.avis-badge.light span:last-child { color: #ffd3e9; }

.piliers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pilier { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.4rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none !important; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .2s; position: relative; overflow: hidden; }
.pilier::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), #ff9ad0); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }
.pilier:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pilier:hover::before { transform: scaleX(1); }
.pilier-num { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; color: var(--blue); }
.pilier h3 { font-size: 1.35rem; margin: 0; }
.pilier p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.pilier ul { list-style: none; margin: .4rem 0 .6rem; padding: 0; display: grid; gap: .25rem; font-size: .85rem; }
.pilier li { display: flex; align-items: center; gap: .4em; }
.pilier li .ic { color: var(--blue); }
@media (max-width: 1100px) { .piliers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .piliers { grid-template-columns: 1fr; } }

.enaction { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; margin-top: 1.5rem; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.enaction-visual { position: relative; display: grid; place-items: center; min-height: 300px; background: linear-gradient(145deg, var(--tint), color-mix(in srgb, var(--tint) 40%, var(--bg-alt))); }
.enaction-illu { width: 56%; aspect-ratio: 1; filter: drop-shadow(0 24px 30px rgba(10,10,15,.18)); animation: float 9s ease-in-out infinite; }
.enaction-illu img { width: 100%; height: 100%; object-fit: contain; }
.enaction-body { padding: 2rem; }
.enaction-body h3 { font-size: 1.5rem; }
.enaction-body > p { color: var(--muted); }
.enaction-sub { font-family: var(--font-head); font-weight: 600; color: var(--ink) !important; margin: 1rem 0 .4rem; }
.enaction-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.2rem; }
.enaction-list li { display: flex; gap: .5em; align-items: flex-start; font-size: .95rem; }
.enaction-list .ic { color: #16a34a; margin-top: .25em; flex: none; }
@media (max-width: 900px) { .enaction { grid-template-columns: 1fr; } .enaction-visual { min-height: 220px; } .enaction-list { grid-template-columns: 1fr; } }

.faq-item.numbered summary { display: flex; align-items: baseline; gap: 1rem; }
.faq-num { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; color: var(--blue); flex: none; }

.contact-bubble { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.bubble-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(255,45,149,.8); transition: transform .25s var(--ease-out), background .2s; }
.bubble-btn:hover { transform: translateY(-2px) scale(1.04); }
.bubble-btn .ic { width: 24px; height: 24px; grid-area: 1 / 1; transition: opacity .2s, transform .25s var(--ease-out); }
.bubble-btn .ic-close { opacity: 0; transform: rotate(-90deg); }
.bubble-btn[aria-expanded="true"] .ic-open { opacity: 0; transform: rotate(90deg); }
.bubble-btn[aria-expanded="true"] .ic-close { opacity: 1; transform: none; }
.bubble-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.bubble-btn[aria-expanded="true"] .bubble-dot { display: none; }
.bubble-panel { width: min(320px, calc(100vw - 2.2rem)); padding: 1rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: .4rem; animation: cfg-in .3s var(--ease-out); }
.bubble-title { margin: 0 0 .4rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.bubble-panel a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 14px; color: var(--ink); text-decoration: none !important; transition: background .15s; }
.bubble-panel a:hover { background: var(--bg-alt); }
.bubble-panel a .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); flex: none; }
.bubble-panel strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.bubble-panel small { color: var(--muted); font-size: .78rem; }
.cookie-banner:not([hidden]) ~ .contact-bubble, body:has(.cookie-banner:not([hidden])) .contact-bubble { bottom: 1.1rem; }
@media (max-width: 600px) { .contact-bubble { right: .8rem; bottom: .8rem; } }
@media print { .contact-bubble { display: none !important; } }

.footer-seo { margin: 2.5rem 0 0; font-size: .82rem; color: #9a9fb0; line-height: 1.7; }

.contact-bubble { transition: opacity .35s, transform .35s var(--ease-out); }
.contact-bubble.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* =====================================================================
   V8 — avant/après, démo en direct, défilement cinéma, intégrations,
   garanties, entrées tarifs, pages métier, texture, mode sombre, curseur
   ===================================================================== */

/* --- texture et profondeur */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .08; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.banner.grain::after { z-index: 0; }
.fam-illu, .secteur-illu, .real-illu, .pack-photo img, .enaction-illu, .entree-illu { filter: drop-shadow(0 22px 26px color-mix(in srgb, var(--tint, var(--blue)) 55%, rgba(10,10,15,.25))); }
.plan.popular { box-shadow: 0 30px 60px -24px rgba(255,45,149,.55), var(--shadow-lg); }

/* --- révélation des illustrations au défilement */
html.js .reveal-mask { clip-path: inset(0 0 100% 0 round 18px); opacity: 0; transition: clip-path .9s var(--ease-out), opacity .6s; }
html.js .reveal-mask.is-revealed { clip-path: inset(0 0 0 0 round 18px); opacity: 1; }
@media (prefers-reduced-motion: reduce) { html.js .reveal-mask { clip-path: none; opacity: 1; } }

/* --- chiffres orientés gain */
.strip-grid.gains strong { color: var(--blue); }

/* --- avant / après */
.compare { display: grid; grid-template-columns: 1.4fr .6fr; gap: 1.5rem; align-items: center; margin-top: 1.5rem; }
.compare-stage { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; isolation: isolate; user-select: none; background: var(--bg-alt); }
.compare-stage .mk, .compare-stage .mk-old { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; border: 0; box-shadow: none; }
.compare-after { position: absolute; inset: 0; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.15); z-index: 2; pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow); }
.compare-tag { position: absolute; top: 1rem; z-index: 2; font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .4em .8em; border-radius: 999px; pointer-events: none; }
.compare-tag.before { left: 1rem; background: #fff; color: #7a3b2a; }
.compare-tag.after { right: 1rem; background: var(--blue); color: #fff; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; }
.compare-range:focus-visible + .compare-handle, .compare-stage:has(.compare-range:focus-visible) .compare-handle span { outline: 3px solid var(--blue); outline-offset: 2px; }
.compare-gains { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.compare-gains li { display: flex; align-items: center; gap: .6em; padding: .9rem 1.1rem; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.compare-gains .ic { color: #16a34a; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }

/* ancienne maquette (volontairement datée) */
.mk-old { background: #c9c9c9; font-family: "Times New Roman", Times, serif; color: #000; font-size: clamp(8px, 1.9cqw, 12px); container-type: inline-size; display: flex; flex-direction: column; }
.mko-bar { display: flex; align-items: center; gap: .4em; padding: .4em .7em; background: #e8e8e8; border-bottom: 1px solid #9a9a9a; font-family: Arial, sans-serif; font-size: .85em; color: #333; }
.mko-bar i { width: .8em; height: .8em; border-radius: 50%; background: #9a9a9a; }
.mko-bar span { margin-left: .5em; padding: .15em .6em; background: #fff; border: 1px inset #aaa; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mko-page { flex: 1; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><rect width='8' height='8' fill='%23f4f4f4'/><rect width='4' height='4' fill='%23ffffff'/></svg>"); padding: .6em; overflow: hidden; }
.mko-head { background: linear-gradient(#5a7fbf, #2f4f8f); color: #fff; padding: .8em 1em; border: 2px outset #8fb0e0; }
.mko-head b { display: block; font-size: 2em; }
.mko-head span { font-style: italic; }
.mko-nav { display: flex; gap: 1.2em; padding: .5em .9em; background: #e0e0e0; border: 1px solid #999; margin: .5em 0; font-family: Arial, sans-serif; font-size: .95em; }
.mko-nav a { color: #0000ee; text-decoration: underline; }
.mko-body { display: grid; grid-template-columns: 1fr 34%; gap: .7em; }
.mko-main p { margin: .4em 0; line-height: 1.35; }
.mko-img { display: block; height: 8em; background: repeating-linear-gradient(135deg, #bbb 0 6px, #ddd 6px 12px); border: 1px solid #777; margin-bottom: .5em; filter: blur(.6px); }
.mko-upd { color: #888; font-size: .85em; }
.mko-box { border: 2px groove #bbb; background: #f6f6f6; padding: .6em; margin-bottom: .6em; font-family: Arial, sans-serif; font-size: .9em; text-align: center; }
.mko-warn { background: #fff3cd; color: #7a4a00; border-color: #e0b84a; }

/* --- démo en direct */
.live { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; margin-top: 1.5rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.live-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.live-tabs button { font: inherit; font-size: .85rem; font-weight: 600; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.live-tabs button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.device { position: relative; margin: 0 auto; transition: width .4s var(--ease-out); }
.device.laptop { width: 100%; padding: 12px 12px 0; border-radius: 18px 18px 6px 6px; background: #0a0a0f; box-shadow: var(--shadow-lg); }
.device.laptop::after { content: ""; display: block; height: 14px; margin: 0 -4% 0; border-radius: 0 0 14px 14px; background: linear-gradient(#1e1e28, #0a0a0f); }
.device.laptop .device-screen { aspect-ratio: 16 / 10; border-radius: 8px 8px 0 0; overflow: hidden; background: #fff; }
.device.phone { width: 300px; padding: 10px; border-radius: 34px; background: #0a0a0f; box-shadow: var(--shadow-lg); }
.device.phone::after { display: none; }
.device.phone .device-screen { aspect-ratio: 9 / 18; border-radius: 26px; overflow: hidden; background: #fff; }
.device-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.live-foot .cfg-device { margin: 0; }
.live-body h3 { font-size: 1.5rem; }
.live-body > p { color: var(--muted); }
@media (max-width: 1000px) { .live { grid-template-columns: 1fr; } }

/* --- défilement cinéma */
.cinema { background: var(--navy); color: #fff; overflow: clip; }
.cinema .section-head h2, .cinema h3 { color: #fff; }
.cinema .section-head .lead { color: #ffd3e9; }
.cinema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.cinema-steps { display: grid; gap: .9rem; }
.cinema-step { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); opacity: .45; transition: opacity .4s, background .4s, transform .4s var(--ease-out); scroll-margin-top: 40vh; }
.cinema-step.is-active { opacity: 1; background: rgba(255,255,255,.09); transform: translateX(6px); }
.cinema-step .step-num { background: var(--blue); }
.cinema-step h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.cinema-step p { margin: 0; color: #ffd3e9; font-size: .95rem; }
.cinema-phone-wrap { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; place-items: center; }
.cinema-phone { position: relative; width: 300px; aspect-ratio: 9 / 18.5; border-radius: 40px; background: #050508; padding: 12px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), inset 0 0 0 2px rgba(255,255,255,.08); }
.ph-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 999px; background: #050508; z-index: 2; }
.ph-screen { position: absolute; inset: 12px; border-radius: 30px; background: #fbfbf8; color: #0a0a0f; padding: 3rem 1rem 1rem; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease-out); font-size: .85rem; display: flex; flex-direction: column; gap: .6rem; }
.ph-screen.is-active { opacity: 1; transform: none; }
.ph-top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-head); }
.ph-top b { font-size: 1.1rem; }
.ph-top span { color: #5a627a; font-size: .8rem; }
.ph-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ph-cal i { font-style: normal; text-align: center; padding: .45em 0; border-radius: 8px; background: #f2f3ee; font-size: .75rem; }
.ph-cal i.on, .ph-slots span.on { background: var(--blue); color: #fff; }
.ph-slots { display: flex; gap: 6px; flex-wrap: wrap; }
.ph-slots span { padding: .4em .7em; border-radius: 8px; background: #f2f3ee; font-size: .78rem; }
.ph-btn { margin-top: auto; padding: .8em; border-radius: 12px; background: var(--blue); color: #fff; text-align: center; font-weight: 600; font-family: var(--font-head); }
.ph-btn.ok { background: #16a34a; }
.ph-rev { padding: .6rem .7rem; border-radius: 10px; background: #f2f3ee; }
.ph-rev b { color: #e0a100; letter-spacing: .05em; font-size: .75rem; }
.ph-rev p { margin: .2rem 0 0; font-size: .8rem; }
.ph-row { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dotted #e6e7e1; font-size: .82rem; }
.ph-card { padding: 1rem; border-radius: 14px; background: linear-gradient(135deg, #0a0a0f, #ff2d95); color: #fff; display: grid; gap: .4rem; }
.ph-card i { display: block; width: 34px; height: 22px; border-radius: 4px; background: rgba(255,255,255,.35); }
.ph-card span { font-size: .72rem; opacity: .8; }
.ph-note { margin: 0; font-size: .75rem; color: #5a627a; text-align: center; }
.ph-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ph-kpi div { padding: .6rem; border-radius: 10px; background: #f2f3ee; display: grid; }
.ph-kpi b { font-family: var(--font-head); font-size: 1.2rem; }
.ph-kpi span { font-size: .72rem; color: #5a627a; }
.ph-bars { display: flex; gap: 6px; align-items: flex-end; height: 70px; margin-top: auto; }
.ph-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--blue); opacity: .85; }
@media (max-width: 900px) { .cinema-grid { grid-template-columns: 1fr; } .cinema-phone-wrap { position: sticky; top: calc(var(--header-h) + .5rem); order: -1; z-index: 1; } .cinema-phone { width: 220px; } .ph-screen { padding-top: 2.4rem; font-size: .75rem; } .cinema-steps { padding-top: 1rem; } }

/* --- intégrations */
.integrations { border-top: 0; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 80s; }
.marquee-item.lead-item { background: var(--navy); color: #fff; border-color: var(--navy); }

/* --- garanties sous les boutons des formules */
.plan-garantie { display: flex; align-items: center; gap: .4em; font-size: .78rem !important; margin: .7rem 0 0; color: #126b3a !important; }
.plan.popular .plan-garantie { color: #9fe3b8 !important; }

/* --- entrées tarifs */
.entrees { grid-template-columns: repeat(3, 1fr); }
.entree { align-items: flex-start; padding: 1.75rem; }
.entree.star { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.entree-illu { width: 44%; aspect-ratio: 1; margin-bottom: .5rem; transition: transform .6s var(--ease-out); }
.entree:hover .entree-illu { transform: translateY(-6px) rotate(-3deg) scale(1.05); }
.entree-illu img { width: 100%; height: 100%; object-fit: contain; }
.entree h3 { font-size: 1.4rem; }
.entree-prix { color: var(--ink) !important; margin-top: auto; }
.entree-prix strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--blue); letter-spacing: -.03em; }
@media (max-width: 900px) { .entrees { grid-template-columns: 1fr; } }
#comparatif:target .table-wrap { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px var(--blue-soft), 0 0 0 6px var(--blue); } }

/* --- pages métier */
.metier-head { position: relative; color: #fff; background: var(--navy); padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3rem); overflow: clip; isolation: isolate; }
.metier-bg { position: absolute; inset: 0; z-index: -1; }
.metier-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.metier-head::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(10,10,15,.94) 0%, rgba(10,10,15,.7) 50%, rgba(10,10,15,.3) 100%); }
.metier-head-inner { position: relative; z-index: 1; }
.metier-head h1 { color: #fff; max-width: 18ch; }
.metier-head .lead { color: #ffe9f4; }
.crumbs.light, .crumbs.light a { color: #ffd3e9; }
.metier-head .banner-dispo .dispo { color: #ffd3e9; }
.metier-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.metier-grid aside { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 900px) { .metier-grid { grid-template-columns: 1fr; } .metier-grid aside { position: static; } }

/* --- mode sombre travaillé */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0a0a0f; --bg-alt: #111118; --card: #15151d; --line: #25252f; --line-strong: #34343f; --blue: #ff3d9f; --blue-soft: #3a0f27; }
  :root:not([data-theme="light"]) .illu { filter: drop-shadow(0 0 28px rgba(255,45,149,.28)); }
  :root:not([data-theme="light"]) .card { background: linear-gradient(180deg, #1a1a23, #15151d); }
}
:root[data-theme="dark"] { --bg: #0a0a0f; --bg-alt: #111118; --card: #15151d; --line: #25252f; --line-strong: #34343f; --blue: #ff3d9f; --blue-soft: #3a0f27; }
:root[data-theme="dark"] .illu { filter: drop-shadow(0 0 28px rgba(255,45,149,.28)); }
:root[data-theme="dark"] .card { background: linear-gradient(180deg, #1a1a23, #15151d); }

/* --- curseur personnalisé (pointeur fin uniquement) */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [role="button"], html.has-cursor label { cursor: none; }
  .cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor-dot { width: 8px; height: 8px; background: var(--blue); }
  .cursor-ring { width: 36px; height: 36px; border: 1.5px solid color-mix(in srgb, var(--blue) 70%, transparent); transition: width .25s var(--ease-out), height .25s var(--ease-out), background .25s, border-color .25s; }
  html.cursor-hover .cursor-ring { width: 56px; height: 56px; background: color-mix(in srgb, var(--blue) 12%, transparent); }
  html.cursor-text .cursor-ring { width: 4px; height: 28px; border-radius: 2px; }
  html.cursor-hidden .cursor-dot, html.cursor-hidden .cursor-ring { opacity: 0; }
}

/* ------------------------------------------------------------ V9 : photos de présentation, mosaïque, blog */
.page-photo.is-photo, .methode-photo.is-photo, .contact-aside .photo-card.is-photo { background: var(--navy); display: block; }
.page-photo.is-photo img, .methode-photo.is-photo img, .contact-aside .photo-card.is-photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.page-photo.is-photo { aspect-ratio: 21 / 8; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; margin-top: 2.5rem; }
.mosaic-item { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow-sm); isolation: isolate; }
.mosaic-item.tall { grid-row: span 2; }
.mosaic-item.wide { grid-column: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out), filter .5s; }
.mosaic-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem .9rem; font-size: .85rem; color: #fff; background: linear-gradient(to top, rgba(10,10,15,.78), transparent); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease-out); }
.mosaic-item::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.14); border-radius: inherit; pointer-events: none; }
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-item:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } .mosaic-item.wide { grid-column: span 2; } }
@media (max-width: 560px) { .mosaic { grid-auto-rows: 150px; gap: 10px; } .mosaic-item figcaption { display: none; } }

.articles-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.card.article { padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.card.article.big { grid-column: span 3; display: grid; grid-template-columns: 1.15fr 1fr; }
.card.article.big .article-photo { aspect-ratio: auto; min-height: 320px; }
.card.article.big h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.article-photo { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--blue-soft), var(--bg-alt)); overflow: hidden; }
.article-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out); }
.card.article:hover .article-photo img { transform: scale(1.04); }
.article-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.article-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.article-body > p { margin: 0; }
.article-body .chips { margin-top: .2rem; }
.article-body .card-link { margin-top: auto; padding-top: .8rem; }
.article-meta { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: 0; }
.article-meta .chip { font-size: .72rem; }
.articles-grid.small .article-body h3 { font-size: 1.05rem; }
@media (max-width: 960px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } .card.article.big { grid-column: span 2; grid-template-columns: 1fr; } .card.article.big .article-photo { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } .card.article.big { grid-column: span 1; } }
.article-head .lead { max-width: 60ch; }
.article-head .article-meta { margin-bottom: 1rem; }
.article-photo-head { margin-top: 2rem; aspect-ratio: 21 / 9; }
.article-photo-head img { width: 100%; height: 100%; object-fit: cover; }
.article-body-text h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.article-body-text h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); margin-right: .6rem; vertical-align: .1em; }
.article-body-text p, .article-body-text li { font-size: 1.06rem; line-height: 1.7; }
.article-body-text ul { padding-left: 1.2rem; }
.article-body-text li { margin: .35rem 0; }
.article-author { display: flex; gap: 1rem; align-items: center; margin: 2.5rem 0 1.5rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.article-author img { width: 64px; height: 64px; object-fit: contain; }
.article-author span { color: var(--muted); font-size: .92rem; }
.cta-row.left { justify-content: flex-start; }
.nav a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
@media (max-width: 1260px) and (min-width: 1101px) { .nav a { padding: .55rem .65rem; font-size: .88rem; white-space: nowrap; } }
