/* site.css - the entrepreneur-suite home page (2026-10). The previous page
   lived at /old/ (retired 2026-10-17; css/style.css still serves confidentialite and 404); nothing here is shared with it,
   so the two can evolve (or be ported back) independently. */

/* ===== FONTS (brand kit: Space Grotesk display, Inter body) ===== */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-var-latin.woff2') format('woff2');
}

/* Poppins 600: Facturama's display face, used inside its section only
   (from Facturama_BrandKit/11_Fonts, SIL OFL, see fonts/OFL-Poppins.txt). */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Poppins-SemiBold-latin.woff2') format('woff2');
}

/* ===== TOKENS ===== */
:root {
  --navy: #08182B;
  --navy-2: #0B2240;
  --navy-3: #0D3862;
  --blue: #1E72B8;
  --primary: #155C9B;
  --cyan: #34AEE8;
  --green: #16C79A;
  --paper: #F7F9FB;
  /* light sections (pricing, contact): softer than white, still light against the dark ones */
  --soft-bg: #D8E0E9;
  --soft-card: #EDF1F5;
  --soft-line: #C2CEDA;
  --line: rgba(255,255,255,.1);
  --text: #14202B;
  --muted: #5B6F80;
  --on-dark: rgba(255,255,255,.78);
  --on-dark-dim: rgba(255,255,255,.55);
  --red: #D24B4B;
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  /* one hue per tool, used only on its app icon */
  --app-site: linear-gradient(140deg, #34AEE8, #1E72B8);
  --app-mail: linear-gradient(140deg, #4FE3B8, #00A67E);
  --app-fact: #0B2136; /* Facturama navy: its on-dark robot sits on it unaltered */
  --app-meggy: linear-gradient(140deg, #F9A8D4, #DB2777);
  --app-custom: linear-gradient(140deg, #C4B5FD, #7C3AED);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* ^ iPhone Safari otherwise "boosts" small text it finds hard to read, without
   growing its box: the half-size hero phone's notifications overflowed their bubbles */
body { font-family: var(--font-body); color: #fff; background: var(--navy); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 18px; }
h2 em { display: block; font-style: normal; color: var(--cyan); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
.ic { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; flex-shrink: 0; display: inline-block; }
.skip-link { position: absolute; top: -100%; left: 0; background: var(--blue); color: #fff; padding: 8px 16px; font-size: 14px; font-weight: 700; z-index: 9999; text-decoration: none; border-radius: 0 0 6px 0; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* One content edge for the whole page: 1240px of content (+24px gutters), and the
   nav and footer keep their full-width bars but hold their contents to the same edge. */
.wrap { max-width: 1288px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.eyebrow-pink { color: #F9A8D4; }
.lede { font-size: 17px; color: var(--on-dark); max-width: 620px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; font-size: 15px; font-weight: 700; padding: 14px 26px; border-radius: 10px; text-decoration: none; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--navy); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.btn-primary:hover { background: #e8f4ff; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
.btn-ghost-dark { color: var(--navy); border: 1px solid #c8d6e3; }
.btn-ghost-dark:hover { border-color: var(--navy); }

/* ===== NAV ===== */
.nav { position: sticky; top: 0; z-index: 100; height: 64px; padding: 0 max(32px, calc((100% - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(8,24,43,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-logo { display: flex; flex-shrink: 0; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo .logo-icon { display: none; }
/* the two-page switch: Entrepreneurs | TI gérée */
.nav-tabs { display: flex; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.nav-tab { font-size: 13.5px; font-weight: 700; color: var(--on-dark-dim); text-decoration: none; padding: 7px 14px; border-radius: 7px; white-space: nowrap; transition: background-color .15s, color .15s; }
.nav-tab:hover { color: #fff; }
.nav-tab[aria-current="page"] { background: var(--blue); color: #fff; }
/* sliding highlight (js/main.js): a gradient-bordered pill that glides between
   tabs, its border slowly turning, with a sheen when it lands */
@property --nav-glide-turn { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.nav-tabs { position: relative; }
.nav-tab { z-index: 1; }
/* each tab tints the pill: blue for the home tab, red for Sécurité, yellow for
   Linux. Registered colours, so the tint fades while the pill slides. */
@property --glide-a { syntax: "<color>"; inherits: true; initial-value: #34AEE8; }
@property --glide-b { syntax: "<color>"; inherits: true; initial-value: #1E72B8; }
@property --glide-c { syntax: "<color>"; inherits: true; initial-value: #4FE3B8; }
@property --glide-base { syntax: "<color>"; inherits: true; initial-value: #0b2240; }
.nav-glide { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; opacity: 0; transform: scale(.9);
  --glide-a: #34AEE8; --glide-b: #1E72B8; --glide-c: #4FE3B8; --glide-base: #0b2240;
  border: 1.5px solid transparent; border-radius: 7px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--glide-a) 32%, var(--glide-base)), color-mix(in srgb, var(--glide-b) 45%, var(--glide-base)) 55%, color-mix(in srgb, var(--glide-c) 26%, var(--glide-base))) padding-box,
              conic-gradient(from var(--nav-glide-turn), var(--glide-a), var(--glide-b), var(--glide-c), var(--glide-b), var(--glide-a)) border-box;
  box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--glide-a) 70%, transparent), 0 2px 8px -4px color-mix(in srgb, var(--glide-c) 40%, transparent);
  transition-property: left, top, width, height, opacity, transform, --glide-a, --glide-b, --glide-c, --glide-base;
  transition-duration: .42s, .42s, .42s, .42s, .18s, .26s, .42s, .42s, .42s, .42s;
  transition-timing-function: cubic-bezier(.34,1.3,.5,1), cubic-bezier(.34,1.3,.5,1), cubic-bezier(.34,1.3,.5,1), cubic-bezier(.34,1.3,.5,1), ease-out, cubic-bezier(.34,1.56,.64,1), ease, ease, ease, ease;
  animation: nav-glide-turn 7s linear infinite; }
.nav-glide[data-tone="secu"] { --glide-a: #F87171; --glide-b: #DC2626; --glide-c: #FB923C; --glide-base: #2a0b10; }
.nav-glide[data-tone="linux"] { --glide-a: #FDE047; --glide-b: #EAB308; --glide-c: #FEF08A; --glide-base: #3b2a04; }
.nav-glide[data-visible="true"] { opacity: 1; transform: scale(1); }
.nav-glide[data-instant] { transition-property: opacity, transform; }
.nav-glide::after { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%) 130% 0 / 260% 100% no-repeat; }
.nav-glide[data-landed]::after { animation: nav-glide-sheen .76s ease-out; }
@keyframes nav-glide-turn { to { --nav-glide-turn: 360deg; } }
@keyframes nav-glide-sheen { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 0; background-position: -30% 0; } }
/* once the pill is in place it carries the highlight; the tab itself stays clear */
.nav-tabs[data-glide-ready] .nav-tab[aria-current="page"] { background: transparent; }
.nav-tabs[data-glide-ready] .nav-tab:hover { color: #fff; }
.nav-tabs[data-glide-ready] .nav-tab + .nav-tab::before { display: none; }
@media (prefers-reduced-motion: reduce) { .nav-glide { transition: none; animation: none; } .nav-glide[data-landed]::after { animation: none; } }

/* discreet dividers between tabs, hidden next to the active one */
.nav-tab { position: relative; }
.nav-tab + .nav-tab::before { content: ''; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: rgba(255,255,255,.2); }
.nav-tab[aria-current="page"]::before, .nav-tab[aria-current="page"] + .nav-tab::before { display: none; }
.tab-short { display: none; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--on-dark); text-decoration: none; padding: 8px 12px; border-radius: 8px; transition: background-color .15s, color .15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.nav-cta { color: var(--navy); background: #fff; margin-left: 6px; }
.nav-links a.nav-cta:hover { background: #e8f4ff; }
/* client-area button (header) */
.nav-portal { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #4FE3B8; text-decoration: none; padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(79,227,184,.45); white-space: nowrap; transition: background-color .15s, color .15s; }
.nav-portal:hover { background: rgba(79,227,184,.12); color: #fff; }
.nav-portal .ic { width: 15px; height: 15px; }

/* tools menu (header) */
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; display: flex; align-items: center; gap: 4px; cursor: pointer; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--on-dark); padding: 8px 10px 8px 12px; border-radius: 8px; transition: background-color .15s, color .15s; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover, .nav-menu[open] summary { color: #fff; background: rgba(255,255,255,.08); }
.nav-caret { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.nav-menu[open] .nav-caret { transform: rotate(180deg); }
.nav-menu-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 360px; max-width: calc(100vw - 24px); padding: 8px; border-radius: 16px; background: #0b1d33; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 60px rgba(0,0,0,.55); z-index: 120; }
.tm-item { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 11px; text-decoration: none; color: #fff; transition: background-color .15s; }
.nav-menu-panel .tm-item { white-space: normal; }   /* beats .nav-links a { nowrap } */
.tm-item:hover, .tm-item:focus-visible { background: rgba(255,255,255,.07); }
.tm-item > span { min-width: 0; }
.tm-item b { display: block; font-size: 14px; font-weight: 700; }
.tm-item small { display: block; font-size: 12.5px; color: var(--on-dark-dim); line-height: 1.35; }
.tm-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; overflow: hidden; color: #fff; }
.tm-ico .ic { width: 19px; height: 19px; }
/* drawn app icons (site, email, agent): full colour, they fill most of the tile */
.art { display: block; width: 84%; height: 84%; flex-shrink: 0; }
.tm-ico img { width: 76%; height: auto; }
.tm-fact { background: #0B2136; border: 1px solid rgba(22,199,154,.35); }
.tm-doni { background: #fff; }
.tm-meggy { background: var(--app-meggy); color: #fff; }
.tm-site { background: var(--app-site); }
.tm-custom { background: var(--app-custom); }
.tm-login { display: block; margin-top: 6px; padding: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #4FE3B8; text-decoration: none; }
.tm-login:hover { color: #fff; }
.lang-toggle { flex-shrink: 0; display: flex; background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; }
.lang-toggle button { border: none; background: transparent; color: var(--on-dark-dim); padding: 7px 11px; font: 600 13px var(--font-body); cursor: pointer; }
.lang-toggle button.active { background: var(--blue); color: #fff; }

/* ===== HERO ===== */
.hero { position: relative; padding: 72px 0; background:
  radial-gradient(900px 500px at 85% 10%, rgba(52,174,232,.18), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(22,199,154,.10), transparent 60%),
  var(--navy); }
.hero-inner { max-width: 1288px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 22px; }
.hero-home h1 { font-size: clamp(31px, 4.4vw, 52px); }
.hero h1 em { display: block; font-style: normal; background: linear-gradient(90deg, var(--cyan), #4FE3B8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; color: var(--on-dark); max-width: 540px; margin-bottom: 30px; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-price { font-size: 14px; color: var(--on-dark-dim); }
.hero-price strong { color: #fff; }

/* suggested questions: one click opens Meggy and asks */
.ask-meggy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 18px; }
.ask-meggy .ask-label { flex-basis: 100%; }   /* label on its own line, the questions together below */
.ask-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #F9A8D4; }
.ask-label img { border-radius: 50%; }
.ask-chip { white-space: nowrap; font: 600 12.5px var(--font-body); color: #fff; padding: 6px 11px; border-radius: 20px; cursor: pointer; background: rgba(236,72,153,.12); border: 1px solid rgba(249,168,212,.4); transition: background-color .15s, border-color .15s, transform .15s; }
.ask-chip:hover { background: rgba(236,72,153,.25); border-color: #F9A8D4; transform: translateY(-1px); }

/* the calm phone */
.hero-device { display: flex; justify-content: center; }
.device { text-align: left; width: 300px; padding: 34px 16px 26px; border-radius: 40px; background: linear-gradient(170deg, #12345a, #0a1d35 60%); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 6px rgba(0,0,0,.25); }
.device-time { font-family: var(--font-display); font-size: 56px; font-weight: 300; text-align: center; letter-spacing: -1px; line-height: 1; }
.device-date { text-align: center; font-size: 13px; color: var(--on-dark-dim); margin: 6px 0 22px; }
.notif { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; margin-bottom: 9px; border-radius: 16px; background: rgba(255,255,255,.1); font-size: 12.5px; line-height: 1.4; color: var(--on-dark); }
.notif b { display: block; color: #fff; font-size: 12px; margin-bottom: 1px; }
.notif-app { flex: 0 0 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.notif-app .ic { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .notif { animation: notif-in .6s cubic-bezier(.2,.8,.2,1) both; }
  /* children 1-2 are the clock and date; notifications arrive one by one after */
  .notif-list .notif:nth-child(1) { animation-delay: .5s; }
  .notif-list .notif:nth-child(2) { animation-delay: 1s; }
  .notif-list .notif:nth-child(3) { animation-delay: 1.5s; }
  .notif-list .notif:nth-child(4) { animation-delay: 2s; }
  .notif-list .notif:nth-child(5) { animation-delay: 2.5s; }
  .notif-list .notif:nth-child(6) { animation-delay: 3s; }
}
.notif-wait .device:not(.in-view) .notif { animation-play-state: paused; }
.notif-list { height: 438px; overflow: hidden; }
.notif-settled .notif { animation: none; }
.notif-list .notif.notif-new { animation: notif-push .6s cubic-bezier(.2,.8,.2,1) both; }
.notif-list .notif.notif-out { animation: notif-out .5s ease both; }
@keyframes notif-push { from { opacity: 0; max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; transform: translateY(-10px); } to { opacity: 1; max-height: 90px; } }
@keyframes notif-out { to { opacity: 0; } }
@keyframes notif-in { from { opacity: 0; transform: translateY(-12px) scale(.97); } to { opacity: 1; transform: none; } }

/* app icons (shared by dock, tabs, notifications) */
.app-icon { display: grid; place-items: center; color: #fff; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(0,0,0,.25); }
.app-site { background: var(--app-site); }
.app-mail { background: var(--app-mail); }
.app-fact { background: var(--app-fact); }
.app-meggy { background: var(--app-meggy); }
.app-custom { background: var(--app-custom); }
.app-icon img { display: block; width: 72%; height: auto; }
.app-fact { border: 1px solid rgba(22,199,154,.35); }
.app-avatar { overflow: hidden; background: #F9A8D4; }
.app-avatar img { width: 100%; height: 100%; object-fit: cover; }
.notif-app img { display: block; width: 78%; height: auto; }
.notif-app.app-avatar img { width: 100%; height: 100%; object-fit: cover; }
.app-doni { background: #fff; } /* Doni mark (interim logo, img/doni/) on white */
.app-doni img { width: 78%; }

/* the dock */
.dock-wrap { display: flex; margin-top: 30px; }
.hero-home .dock-wrap { display: none; }   /* the spine right below shows the same seven tools: no need for them twice (2026-10-27) */
.dock { display: flex; gap: 10px; padding: 14px 18px; border-radius: 26px; background: rgba(20,40,66,.92); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.dock-app { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 86px; text-decoration: none; }
.dock-app .app-icon { width: 58px; height: 58px; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.dock-app .app-icon .ic { width: 26px; height: 26px; }
.dock-app:hover .app-icon, .dock-app:focus-visible .app-icon { transform: translateY(-8px) scale(1.08); }
.dock-app:focus-visible { outline: none; }
.dock-app:focus-visible .app-icon { outline: 3px solid var(--cyan); outline-offset: 3px; }
.dock-label { font-size: 12px; font-weight: 600; color: var(--on-dark); white-space: nowrap; }
.dock-label-2 { white-space: normal; text-align: center; line-height: 1.15; max-width: 86px; }

/* ===== PROBLEM ===== */
.problem { padding: 96px 0 88px; background: linear-gradient(180deg, #0a1c33, var(--navy)); }
.problem h2 em { color: #F9A8D4; }
.problem-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto; text-align: left; }
.ps-col { padding: 24px 26px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.ps-col h3 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; color: var(--on-dark-dim); }
.ps-after { border-color: rgba(52,174,232,.35); background: rgba(52,174,232,.06); }
.ps-after h3 { color: var(--cyan); }
.ps-col ul { list-style: none; }
.ps-col li { font-size: 15px; padding: 7px 0 7px 22px; position: relative; color: var(--on-dark); }
.ps-before li::before { content: '×'; position: absolute; left: 2px; color: #F9A8D4; font-weight: 700; }
.ps-after li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }


/* ===== BEFORE / AFTER DIAGRAMS (ten hats; separated tools vs the spine) ===== */
.dg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 940px; margin: 34px auto 22px; }
.dg { position: relative; margin: 0; padding: 18px 18px 16px; border-radius: 20px; overflow: hidden; }
.dg-before { border: 1px solid rgba(244,114,182,.28); background: radial-gradient(circle at 50% 45%, rgba(239,68,68,.16), transparent 62%), #0e1a2e; }
.dg-after { border: 1px solid rgba(52,174,232,.45); background: radial-gradient(circle at 50% 45%, rgba(79,227,184,.16), transparent 62%), #0a1f36; box-shadow: 0 0 0 1px rgba(79,227,184,.08), 0 18px 50px rgba(20,140,200,.18); }
.dg-stage { position: relative; aspect-ratio: 1 / 1; }
.dg-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dg-lines path, .dg-lines circle { fill: none; vector-effect: non-scaling-stroke; }
/* before: tangled, dashed, restless */
.dg-before .dg-lines path { stroke: rgba(244,114,182,.7); stroke-width: 1.6; stroke-dasharray: 5 6; }
/* after: one clean ring, with light travelling round it */
.dg-ring circle, .dg-ring > path { stroke: url(#dg-ring-grad); stroke-width: 2.5; }
.dg-ring .dg-flow { stroke: #fff; stroke-width: 3.5; stroke-dasharray: 6 94; stroke-linecap: round; filter: drop-shadow(0 0 4px #4FE3B8); }
.dg-ring marker path { fill: #4FE3B8; stroke: none; }
.dg-spine path { stroke: #4FE3B8; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(79,227,184,.7)); }
.dg-pulse { position: absolute; left: 50%; top: 4%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 4px #4FE3B8, 0 0 22px 8px rgba(52,174,232,.5); z-index: 0; opacity: 0; }

.hat, .tnode, .dg-you { position: absolute; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); display: flex; flex-direction: column; align-items: center; gap: 4px; width: 92px; text-align: center; z-index: 1; }
.hat i, .tnode i, .dg-you i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.hat i .ic, .tnode i .ic, .dg-you i .ic { width: 20px; height: 20px; }
.hat i { background: linear-gradient(145deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(0,0,0,.4), 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); }
.dg-before .hat i { filter: saturate(.75) brightness(.92); }
.hat b, .tnode b, .dg-you b { font-size: 10.5px; font-weight: 700; line-height: 1.2; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.dg-before .hat b { color: rgba(255,255,255,.82); }
.dg-you { width: 130px; }
/* "Vous" is the professional: a figure about twice the size of a hat, on a coloured halo */
.dg-you i { --blazer: #16314C; --tie: #f472b6; }
.dg-you .pro { width: 60px; height: 68px; margin-top: 6px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.dg-you-calm i { --tie: #4FE3B8; }
.dg-you i { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; align-items: end; background: radial-gradient(circle at 50% 40%, #f9a8d4, #be185d 75%); color: #fff; box-shadow: 0 0 0 4px rgba(244,114,182,.25), 0 0 28px rgba(239,68,68,.55); }
.dg-you-calm i { background: radial-gradient(circle at 50% 40%, #a7f3d0, #047857 75%); box-shadow: 0 0 0 5px rgba(79,227,184,.2), 0 0 34px rgba(79,227,184,.55); }
.dg-you b { font-size: 13px; }
/* tools */
.tnode { width: 100px; }
.dg-before .tnode i { background: #1e2b3e; border: 1px dashed rgba(255,255,255,.28); color: rgba(255,255,255,.7); }
.tnode-v { flex-direction: row; width: auto; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 14px; background: rgba(9,27,48,.92); border: 1px solid rgba(79,227,184,.45); box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 16px rgba(79,227,184,.12); }
.tnode-v i { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.tnode-v i.tn-host { background: linear-gradient(145deg, #94a3b8, #475569); }
.tnode-v i.tn-amber { background: linear-gradient(145deg, #fcd34d, #d97706); }
.tnode-v i.tn-medinix { background: linear-gradient(145deg, #34AEE8, #155C9B); }
.tnode-v i.tn-medinix img { width: 72%; }
.tnode-cap { border-color: rgba(52,174,232,.8); box-shadow: 0 0 22px rgba(52,174,232,.35); }
.tnode-v i.tn-img img { display: block; width: 78%; height: auto; }
.tnode-v i.app-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tnode-v b { font-size: 12px; white-space: nowrap; }
.dg-break { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 900; color: #fff; background: #dc2626; box-shadow: 0 0 12px rgba(239,68,68,.7); z-index: 2; }
/* captions */
.dg figcaption { margin-top: 10px; font-size: 15px; font-weight: 600; color: #fff; }
.dg figcaption b { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #F9A8D4; margin-bottom: 3px; }
.dg-after figcaption b { color: #4FE3B8; }
.dg-legend { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .dg-before .hat { animation: hat-wobble 3.6s ease-in-out infinite alternate; }
  .dg-before .hat:nth-child(odd) { animation-duration: 2.8s; }
  .dg-before .dg-lines path { animation: dash-run 1.4s linear infinite; }
  .dg-before .dg-lines path:nth-child(even) { animation-direction: reverse; animation-duration: 2s; }
  .dg-before .dg-you i { animation: stress-pulse 1.8s ease-in-out infinite; }
  .dg-break { animation: break-blink 1.6s ease-in-out infinite; }
  .dg-break:nth-of-type(2n) { animation-delay: .5s; }
  .dg-ring .dg-flow { animation: ring-flow 4s linear infinite; }
  .dg-you-calm i { animation: calm-glow 4s ease-in-out infinite; }
  .dg-pulse { animation: spine-pulse 3.2s ease-in-out infinite; }
}
/* ---- the ten roles drawn as actual hats: crown + band + brim ---- */
.hat i { position: relative; width: 38px; height: 30px; border-radius: 9px 9px 3px 3px; margin-bottom: 9px; }
.hat i::before { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 5px; background: rgba(0,0,0,.28); }
.hat i::after { content: ''; position: absolute; left: -10px; right: -10px; bottom: -7px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--c) 70%, #000); box-shadow: 0 3px 6px rgba(0,0,0,.35); }
.hat i .ic { position: relative; z-index: 1; width: 17px; height: 17px; margin-top: -4px; }
.hat-stack b { display: none; }               /* the pile on the head stays a pile */
.dg-before .dg-you { z-index: 0; }
/* ---- the orchestra ---- */
.dg-orch .orch-row { stroke: rgba(79,227,184,.35); stroke-width: 1.5; stroke-dasharray: 2 5; }
.dg-orch .orch-staff { stroke: url(#dg-orch-grad); stroke-width: 2; opacity: .7; }
.dg-conductor { z-index: 2; }
.dg-conductor i { position: relative; overflow: visible; }
.dg-conductor .pro { clip-path: circle(40px at 30px 28px); }
.baton { position: absolute; top: 46px; left: 60px; width: 36px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #e2e8f0, #fff); box-shadow: 0 0 8px rgba(255,255,255,.8); transform-origin: left center; transform: rotate(-35deg); }
.dg-podium { display: block; width: 76px; height: 9px; margin: -2px 0 2px; border-radius: 6px; background: linear-gradient(#1d4a6b, #0b2240); border: 1px solid rgba(79,227,184,.4); }
.dg-note { position: absolute; top: 66%; font-size: 18px; color: #4FE3B8; text-shadow: 0 0 8px rgba(79,227,184,.8); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .baton { animation: baton-beat 1.4s ease-in-out infinite; }
  .hat-play i { animation: hat-cue 3.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
  .dg-note { animation: note-rise 3.6s ease-out infinite; animation-delay: var(--d, 0s); }
}
@keyframes baton-beat { 0%, 100% { transform: rotate(-45deg); } 50% { transform: rotate(-5deg); } }
@keyframes hat-cue { 0%, 18%, 100% { transform: none; } 8% { transform: translateY(-5px) scale(1.12); box-shadow: 0 0 22px var(--c); } }
@keyframes note-rise { 0% { transform: translate(-50%, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-50%, -110px) rotate(12deg); opacity: 0; } }
/* js/main.js marks animated blocks .on-screen; everything else holds still */
.anim-gate .dg:not(.on-screen) *, .anim-gate .board:not(.on-screen) *,
.anim-gate .why-spine:not(.on-screen)::after { animation-play-state: paused !important; }
@keyframes hat-wobble { to { transform: translate(-50%, -50%) rotate(calc(var(--r, 0deg) * -1)); } }
@keyframes dash-run { to { stroke-dashoffset: -22; } }
@keyframes stress-pulse { 50% { box-shadow: 0 0 0 9px rgba(244,114,182,.12), 0 0 40px rgba(239,68,68,.8); } }
@keyframes break-blink { 50% { transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 0 20px rgba(239,68,68,.95); } }
@keyframes ring-flow { to { stroke-dashoffset: -100; } }
@keyframes calm-glow { 50% { box-shadow: 0 0 0 9px rgba(79,227,184,.12), 0 0 46px rgba(79,227,184,.7); } }
@keyframes spine-pulse { 0% { top: 4%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 96%; opacity: 0; } }

/* ===== WHY NOW: second half of the problem section ===== */
.relier-part { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--line); }
.sub-h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 18px; }
.sub-h2 em { display: block; font-style: normal; color: var(--cyan); }
.relier-part .lede { max-width: 700px; }
/* proof band between the products and Pourquoi Medinix */
.proof-band { padding: 40px 0; background: #0a1a2e; border-top: 1px solid var(--line); }
.proof-band .proofs { margin-top: 0; }
/* ===== WHY NOW: tools that don't talk ===== */
.relier { padding: 88px 0; background: var(--navy); border-top: 1px solid var(--line); }
.relier .lede { max-width: 700px; }
.relier-ti { background: #0a1a2e; }
.relier-now { max-width: 640px; margin: 8px auto 0; font-size: 15px; color: var(--on-dark-dim); }

/* ===== SUITE ===== */
.suite { padding: 96px 0; background: var(--navy-2); }
.suite .lede { margin-bottom: 40px; }
/* One box: a rail of tools on the left (one line per tool, so a new tool is
   just one more line), the selected tool's panel on the right. */
.suite-box { border-radius: 24px; background: rgba(255,255,255,.035); border: 1px solid var(--line); overflow: hidden; }
.suite-js .suite-box { display: grid; grid-template-columns: 300px 1fr; }
.rail { display: flex; flex-direction: column; padding: 16px; background: rgba(0,0,0,.2); border-right: 1px solid var(--line); }
.rail-note { display: none; margin: auto 6px 4px; padding-top: 18px; font-size: 12.5px; line-height: 1.45; color: var(--on-dark-dim); }
.suite-js .rail-note { display: block; }
.tabs { display: flex; flex-direction: column; gap: 4px; }
.tab { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; background: none; color: var(--on-dark); font: 600 15px var(--font-body); text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
.tab .app-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; box-shadow: none; }
.tab .app-icon .ic { width: 20px; height: 20px; }
.tab-txt { display: flex; flex-direction: column; min-width: 0; }
.tab-txt b { font-weight: 600; color: #fff; }
.tab-txt small { font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--on-dark-dim); }
.tab:hover { background: rgba(255,255,255,.06); }
.tab[aria-selected="true"] { background: rgba(79,227,184,.10); border-color: rgba(79,227,184,.45); }
.tab[aria-selected="true"] small { color: #4FE3B8; }
.tab:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.panels { display: grid; gap: 20px; }
.panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 40px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.suite-js .panel { padding: 44px 44px 44px 48px; border: 0; border-radius: 0; background: none; }
.suite-js .panel { animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .suite-js .panel { animation: none; } }
.panel h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin-bottom: 12px; }
.panel p { color: var(--on-dark); margin-bottom: 16px; }
.plan-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 14px !important; color: #6AC6EF !important; background: rgba(52,174,232,.12); }
.plan-tag.tag-complet { color: #4FE3B8 !important; background: rgba(22,199,154,.12); }
.role { margin: -4px 0 14px !important; font-size: 14px; font-weight: 600; color: #fff !important; }
.role-lbl { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 2px; }
.plan-tag.tag-quote { color: #C4B5FD !important; background: rgba(124,58,237,.15); }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.ticks .ic { color: var(--green); stroke-width: 2.5; }
.panel-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 11px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 700; color: #06231C; background: #4FE3B8; text-decoration: none; box-shadow: 0 8px 22px -10px rgba(79,227,184,.65); transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.panel-more:hover { background: #7AEBCB; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(79,227,184,.75); }
.panel-more:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.try-meggy { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: 600 14px var(--font-body); color: #F9A8D4; }
.try-meggy:hover { text-decoration: underline; }
.example { margin-top: 18px; font-size: 14px; padding: 12px 14px; border-left: 3px solid #7C3AED; background: rgba(124,58,237,.08); border-radius: 0 8px 8px 0; }
.panel-visual { display: flex; justify-content: center; }

/* panel mocks */
.mock-browser { width: 100%; max-width: 380px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.mb-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #EDF1F5; }
.mb-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c8d6e3; }
.mb-bar span { margin-left: 10px; font-size: 11px; color: var(--muted); background: #fff; padding: 3px 10px; border-radius: 6px; flex: 1; }
.mb-body { padding: 16px; }
.mb-hero { height: 90px; border-radius: 10px; background: var(--app-site); margin-bottom: 14px; }
.mb-line { height: 9px; border-radius: 5px; background: #dfe6ee; margin-bottom: 8px; }
.w90 { width: 90%; } .w70 { width: 70%; } .w50 { width: 50%; } .w40 { width: 40%; }
.mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.mb-cards div { height: 46px; border-radius: 8px; background: #EDF1F5; }
.mock-card { width: 100%; max-width: 360px; padding: 22px; border-radius: 14px; background: #fff; color: var(--text); box-shadow: 0 18px 50px rgba(0,0,0,.4); font-size: 14px; }
.me-from { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.me-from b { color: #00A67E; }
.me-subj { font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.me-sig { margin-top: 14px; font-size: 12px; color: var(--muted); border-top: 1px solid #e5ebf1; padding-top: 10px; }
.mi-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: var(--font-display); font-size: 17px; }
.mi-paid { font-family: var(--font-body); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #00805E; background: #d9f7ee; padding: 4px 10px; border-radius: 20px; }
.mi-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #eef2f6; }
.mi-tax { color: var(--muted); font-size: 13px; }
.mi-total { border-bottom: none; font-weight: 800; font-size: 16px; padding-top: 12px; }
.mock-doni { font-size: 13px; }
.md-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.md-head em { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: #1A6DE9; padding: 3px 8px; border-radius: 6px; }
.md-prio { font-size: 11px; font-weight: 700; color: #1550B0; background: #E3EDFD; padding: 3px 8px; border-radius: 6px; }
.md-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.md-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid #eef2f6; color: var(--muted); }
.md-row b { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.md-row i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; color: #fff; background: var(--primary); }
.md-tags { display: flex; gap: 6px; margin: 12px 0; }
.md-tags span { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: #EDE9FE; color: #5B21B6; }
.md-status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.md-status > span { text-align: center; font-size: 10.5px; font-weight: 700; padding: 6px 2px; border-radius: 6px; background: #EDF1F5; color: var(--muted); }
.md-status > span.on { background: #1A6DE9; color: #fff; }
.mock-chat { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 22px; background: #0a1a2e; border: 1px solid var(--line); }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.bubble.bot { background: rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.bubble.user { align-self: flex-end; background: var(--blue); border-bottom-right-radius: 4px; }
.bubble.human { background: rgba(219,39,119,.25); border: 1px solid rgba(249,168,212,.4); border-bottom-left-radius: 4px; }
.takeover { align-self: center; font-size: 11px; color: #F9A8D4; padding: 4px 0; }
.mock-steps { list-style: none; display: grid; gap: 12px; width: 100%; max-width: 320px; }
.mock-steps li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(124,58,237,.1); border: 1px solid rgba(196,181,253,.25); font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.mock-steps b { color: #C4B5FD; font-size: 14px; }

/* ===== FACTURAMA SPOTLIGHT (Facturama brand inside, Medinix layout around) ===== */
.fct { --fct-navy: #0B2136; --fct-green: #16C79A; --fct-text: #E8EEF4; --fct-dim: #9DB0C2; --fct-link: #34AEE8;
  padding: 96px 0; background: var(--fct-navy); color: var(--fct-text); border-top: 1px solid rgba(22,199,154,.25); }
.fct h2, .fct h3 { font-family: 'Poppins', var(--font-display); font-weight: 600; }
.fct-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.fct-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fct-green); margin-bottom: 26px; }
/* protection zone: keep clear space around the logo (about the robot visor's height) */
.fct-logo { margin: 0 0 26px; padding: 6px 0; line-height: 0; }
.fct-logo img { width: 360px; max-width: 100%; height: auto; min-width: 320px; }
.fct-sub { font-size: 17px; line-height: 1.62; color: var(--fct-text); margin-bottom: 28px; max-width: 470px; }
.fct-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.fct-btn { background: var(--fct-green); color: var(--fct-navy); }
.fct-btn:hover { background: #4FE3B8; }
.fct-btn-ghost { color: var(--fct-text); border: 1px solid rgba(232,238,244,.3); }
.fct-btn-ghost:hover { border-color: var(--fct-text); background: rgba(255,255,255,.06); }
.fct-fine { font-size: 14px; line-height: 1.6; color: var(--fct-dim); max-width: 470px; margin-bottom: 12px; }
.fct-login { font-size: 14px; color: var(--fct-link); text-decoration: none; }
.fct-login:hover { text-decoration: underline; }
.fct-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fct-card.fct-wide { grid-column: 1 / -1; }
.fct-card { padding: 24px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(157,176,194,.2); }
.fct-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; color: var(--fct-green); background: rgba(22,199,154,.12); }
.fct-ic .ic { width: 21px; height: 21px; }
.fct-card h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.005em; margin-bottom: 8px; color: #fff; }
.fct-card p { font-size: 14px; line-height: 1.6; color: var(--fct-dim); }

/* brand kit block inside the Facturama section */
.fct-kit { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; margin-top: 24px; padding: 32px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid rgba(22,199,154,.25); }
.fct-kit .fct-label { margin-bottom: 12px; }
.fct-kit h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; color: #fff; margin-bottom: 12px; }
.fct-kit-copy p { font-size: 15px; line-height: 1.62; color: var(--fct-text); }
.fct-kit-copy .fct-label { font-size: 11px; color: var(--fct-green); }
.fct-kit-copy .fct-kit-note { margin-top: 12px; font-size: 13px; color: var(--fct-dim); }
.kit-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kit-item { margin: 0; }
.kit-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.kit-zoom { display: block; border-radius: 10px; cursor: zoom-in; }
.kit-zoom img { transition: transform .2s ease, box-shadow .2s ease; }
.kit-zoom:hover img, .kit-zoom:focus-visible img { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.kit-item figcaption { margin-top: 7px; font-size: 12px; font-weight: 600; color: var(--fct-dim); }

/* lightbox (js/lightbox.js) */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(5,16,30,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lb-figure { margin: 0; max-width: min(92vw, 1100px); text-align: center; }
.lb-img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-cap { margin-top: 12px; font-size: 14px; font-weight: 600; color: #E8EEF4; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(11,33,54,.82); color: #fff; font: 400 28px/1 var(--font-body); cursor: pointer; }
.lb-btn:hover { background: #16314C; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ===== DONI SPOTLIGHT ===== */
.doni { --doni: #1A6DE9; padding: 96px 0; background: radial-gradient(700px 420px at 90% 30%, rgba(26,109,233,.14), transparent 60%), var(--navy-2); border-top: 1px solid var(--line); }
.doni-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.doni-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8AB8FF; margin-bottom: 16px; }
.doni h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }
.doni-logo { margin: 0 0 14px; line-height: 0; }
.doni-logo img { height: 46px; width: auto; }
.doni-sub { font-size: 17px; color: var(--on-dark); margin-bottom: 26px; }
.doni-tiles { display: grid; gap: 10px; margin-bottom: 20px; }
.doni-tile { padding: 14px 16px; border-left: 3px solid var(--doni); border-radius: 0 10px 10px 0; background: rgba(255,255,255,.04); }
.doni-tile h3 { font-size: 16px; margin-bottom: 3px; }
.doni-tile p { font-size: 14px; color: var(--on-dark-dim); line-height: 1.55; }
.doni-tile-agile { background: rgba(138,184,255,.10); border-left-width: 4px; }
.agile-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; padding: 0; }
.agile-chips li { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #CFE0FF; background: rgba(138,184,255,.14); border: 1px solid rgba(138,184,255,.3); }
.doni-facts { font-size: 13px; color: var(--on-dark-dim); margin-bottom: 22px; }
.doni-btn { background: var(--doni); color: #fff; }
.doni-btn:hover { background: #1557C2; }
/* illustrative board (neutral sample data, not a screenshot) */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; border-radius: 18px; background: #0a1a2e; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.board-col { display: flex; flex-direction: column; gap: 7px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.04); min-width: 0; }
.board-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px; font-size: 11.5px; line-height: 1.25; min-height: 30px; font-weight: 700; color: var(--on-dark); padding: 2px 2px 4px; }
.board-head i { font-style: normal; font-size: 11px; color: var(--on-dark-dim); background: rgba(255,255,255,.08); padding: 1px 7px; border-radius: 10px; }
.board-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 4px; align-items: center; padding: 8px; border-radius: 9px; background: #fff; color: var(--text); font-size: 11.5px; line-height: 1.35; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.board-card > span { grid-column: 1 / -1; }
.board-card em { white-space: nowrap; font-style: normal; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--doni); padding: 2px 5px; border-radius: 6px; justify-self: start; }
.board-card b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; color: #fff; background: var(--primary); }
.card-urgent { box-shadow: inset 3px 0 0 #DC2626, 0 2px 6px rgba(0,0,0,.2); }
.card-done { opacity: .7; }
.card-done > span { text-decoration: line-through; }
@media (prefers-reduced-motion: no-preference) {
  .card-moving { animation: card-lift 3.2s ease-in-out 1s infinite; }
}
@keyframes card-lift { 0%, 100% { transform: none; } 45%, 55% { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 10px 22px rgba(0,0,0,.35); } }

/* ===== LINUX PAGE (placeholder: the Souveraineté block from /old) ===== */
.sov { padding: 88px 0 72px; background: radial-gradient(800px 460px at 85% 20%, rgba(22,199,154,.12), transparent 60%), var(--navy); }
.sov-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.sov h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -1px; margin-bottom: 22px; }
.sov-copy > p:not(.eyebrow) { font-size: 17px; color: var(--on-dark); margin-bottom: 16px; max-width: 600px; }
.sov-pills { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px; margin-top: 26px; }
.sov-pills-label { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 2px; }
@media (max-width: 560px) { .sov-pills { grid-template-columns: max-content; } }
.sov-penguin { width: 100%; max-width: 300px; justify-self: center; filter: drop-shadow(0 12px 40px rgba(52,174,232,.25)); }
.sov + .loi25 { margin-top: 0; }

/* ===== CLIENT AREA (espace-client.html) ===== */
.portal { padding: 80px 0 96px; background: radial-gradient(800px 420px at 80% 0%, rgba(79,227,184,.10), transparent 60%), var(--navy); min-height: 70vh; }
.portal h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
.portal .lede { margin: 0 0 36px; }
.portal-lock { display: inline-flex; vertical-align: -2px; margin-right: 6px; }
.portal-lock .ic { width: 14px; height: 14px; }
.portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .portal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .portal-grid { grid-template-columns: 1fr; } }
.portal-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.portal-card .tm-ico { width: 46px; height: 46px; border-radius: 13px; }
.portal-card h2 { font-size: 19px; letter-spacing: 0; margin: 4px 0 0; }
.portal-card p { flex: 1; font-size: 14px; color: var(--on-dark-dim); line-height: 1.55; }
.portal-btn { white-space: nowrap; margin-top: 4px; padding: 11px 20px; font-size: 14px; background: #fff; color: var(--navy); }
.portal-btn:hover { background: #e8f4ff; }
.portal-btn.is-soon { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.45); cursor: not-allowed; box-shadow: none; }
.portal-btn.is-soon:hover { transform: none; background: rgba(255,255,255,.08); }
.portal-btn.is-soon em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 2px 7px; border-radius: 10px; background: rgba(252,211,77,.18); color: #FCD34D; }
.portal-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.portal-btn-ghost:hover { background: rgba(255,255,255,.08); }
.portal-link { font-size: 13.5px; font-weight: 600; color: #4FE3B8; text-decoration: none; }
.portal-link:hover { text-decoration: underline; }
.portal-new { margin-top: 32px; color: var(--on-dark-dim); }
.portal-new a { color: var(--cyan); font-weight: 600; }
.tm-pay { background: linear-gradient(145deg, #4FE3B8, #00A67E); }
.tm-help { background: linear-gradient(145deg, #34AEE8, #155C9B); }

/* ===== PRICING (light) ===== */
.pricing { --muted: #46576A; padding: 96px 0; background: linear-gradient(#DCE3EC, var(--soft-bg)); color: var(--text); }
.pricing .eyebrow { color: var(--primary); }
.pricing h2 { color: var(--navy); }
.pricing h2 em { color: var(--primary); }
.setup { font-size: 17px; color: var(--muted); margin-bottom: 40px; }
.setup strong { color: var(--navy); }
.setup:has(+ .carte-jump) { margin-bottom: 14px; }
.carte-jump { margin: 0 auto 32px; font-size: 15px; }
.carte-jump a { color: var(--muted); text-decoration: none; border-bottom: 1px dashed currentColor; padding-bottom: 1px; }
.carte-jump a strong { color: var(--blue, #155C9B); }
.carte-jump a:hover strong, .carte-jump a:focus-visible strong { text-decoration: underline; }
.carte#carte { scroll-margin-top: 16px; }
/* quoted services: same box as à la carte, two cards, red = security, gold = Loi 25 */
.quote-services { margin-top: 18px; }
.quote-services#soumission { scroll-margin-top: 16px; }
.qs-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qs-item { display: grid; align-content: start; gap: 10px; padding: 16px 18px 18px; border-radius: 14px; border: 1px solid var(--soft-line); background: var(--soft-bg, #f4f7fb); border-top-width: 3px; }
.qs-item h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--navy); }
.qs-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
.qs-ico .ic { width: 18px; height: 18px; }
.qs-sec { border-top-color: #DC2626; }
.qs-sec .qs-ico { color: #DC2626; background: rgba(220,38,38,.1); }
.qs-loi { border-top-color: #D97706; }
.qs-loi .qs-ico { color: #B45309; background: rgba(245,158,11,.14); }
.qs-item .ticks { margin: 0; }
.qs-item .ticks li { font-size: 14px; }
.qs-item .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 640px) {
  .qs-items { grid-template-columns: minmax(0, 1fr); }
  .qs-item { padding: 14px; }
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto 26px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 20px; background: var(--soft-card); border: 1px solid var(--soft-line); }
.plan h3 { font-size: 22px; color: var(--navy); }
.plan-price { font-size: 16px; color: var(--muted); margin: 6px 0 4px; }
.plan-price strong { font-family: var(--font-display); font-size: 44px; color: var(--navy); letter-spacing: -1px; }
.plan-for { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.plan-once { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 0 0 10px; }
.plan-once strong { color: var(--navy); }
.plan-mid .plan-once, .plan-featured .plan-once { color: rgba(255,255,255,.72); }
.plan-mid .plan-once strong, .plan-featured .plan-once strong { color: #fff; }
.plan .ticks { margin-bottom: 26px; flex: 1; align-content: start; }
.plan .ticks .ic { color: #00A67E; }
.plan .btn { text-align: center; }
.plan-featured { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 24px 60px rgba(8,24,43,.3); }
.plan-featured h3, .plan-featured .plan-price strong { color: #fff; }
.plan-featured .plan-price, .plan-featured .plan-for { color: var(--on-dark-dim); }
.plan-featured .ticks .ic { color: var(--green); }
/* Essentiel: a step between Présence's light card and Complet's navy */
.plan-mid { background: #3E5F82; border-color: #3E5F82; color: #fff; box-shadow: 0 18px 44px rgba(8,24,43,.2); }
.plan-mid h3, .plan-mid .plan-price strong { color: #fff; }
.plan-mid .plan-price, .plan-mid .plan-for { color: rgba(255,255,255,.78); }
.plan-mid .ticks li { color: #fff; }
.plan-mid .ticks .ic { color: #6EF0C8; }
.plan-mid .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.plan-mid .btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.plan-badge { position: absolute; top: -13px; left: 32px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; background: linear-gradient(90deg, var(--cyan), #4FE3B8); color: var(--navy); }
.fine { font-size: 13px; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ===== LOI 25 (compact band, right under the hero on both pages) ===== */
.loi25 { padding: 34px 0; background: linear-gradient(90deg, rgba(245,158,11,.14), rgba(245,158,11,.04) 60%, transparent), #0a1a2e; border-top: 1px solid rgba(252,211,77,.35); border-bottom: 1px solid rgba(252,211,77,.35); }
.loi25-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.loi25-seal { display: grid; place-items: center; gap: 2px; width: 92px; height: 92px; border-radius: 50%; color: #FCD34D; background: rgba(245,158,11,.12); border: 2px solid rgba(252,211,77,.55); box-shadow: 0 0 0 6px rgba(245,158,11,.06); text-align: center; align-content: center; }
.loi25-seal .ic { width: 28px; height: 28px; }
.loi25-seal b { font-family: var(--font-display); font-size: 15px; letter-spacing: .3px; }
.loi25 h2 { font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 10px; letter-spacing: 0; }
.loi25 h2 em { display: inline; color: #FCD34D; }
.loi25-duties { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 8px; }
.loi25-duties li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; color: var(--on-dark); background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.loi25-duties li::before { content: '✓'; color: #FCD34D; margin-right: 6px; font-weight: 800; }
.loi25-fine { font-size: 13px; color: var(--on-dark-dim); }
.loi25-btn { background: #FCD34D; color: var(--navy); white-space: nowrap; }
.loi25-btn:hover { background: #fde68a; }

/* ===== SECURITY AUDITS (ti.html) ===== */
.secaudit { position: relative; overflow: hidden; padding: 96px 0; border-top: 1px solid rgba(239,68,68,.35); background: linear-gradient(90deg, rgba(60,6,10,.97) 0%, rgba(90,10,14,.93) 42%, rgba(70,8,10,.55) 72%, rgba(40,4,6,.35) 100%), url('../img/white1_wide.webp') right center / cover no-repeat, #2a0508; }
.secaudit-head { max-width: 720px; }
.eyebrow-red { color: #fca5a5; }
.secaudit h2 em { color: #fca5a5; }
.secaudit .lede { margin: 0 0 18px; color: rgba(255,255,255,.82); }
.secaudit-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.secaudit-tags > span { font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px; color: #fecaca; background: rgba(239,68,68,.18); border: 1px solid rgba(252,165,165,.4); }
.sec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin-bottom: 28px; }
.sec-card { padding: 22px; border-radius: 16px; background: rgba(20,4,6,.6); border: 1px solid rgba(252,165,165,.25);  }
.sec-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; margin-bottom: 14px; color: #fff; background: linear-gradient(145deg, #f87171, #b91c1c); box-shadow: 0 0 18px rgba(239,68,68,.45); }
.sec-ic .ic { width: 20px; height: 20px; }
.sec-card h3 { font-size: 17px; margin-bottom: 6px; }
.sec-card p { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.55; }
.sec-btn { background: #dc2626; color: #fff; }
.sec-btn:hover { background: #b91c1c; }

/* ===== TI: HOW WE TAKE OVER (3 steps joined by a line) ===== */
.relais { padding: 88px 0; background: #0a1a2e; border-top: 1px solid var(--line); }
.relais h2 em { color: #4FE3B8; }
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 44px auto 34px; text-align: left; }
.steps::before { content: ''; position: absolute; top: 22px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, rgba(79,227,184,.15), rgba(79,227,184,.6), rgba(79,227,184,.15)); }
.step { position: relative; padding: 0 22px 24px; border-radius: 16px; background: linear-gradient(rgba(255,255,255,.04), rgba(255,255,255,.04)), #0a1a2e; border: 1px solid var(--line); margin-top: 22px; }
.step-n { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); background: linear-gradient(145deg, #4FE3B8, #16C79A); box-shadow: 0 0 0 6px #0a1a2e, 0 0 20px rgba(22,199,154,.45); }
.step-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; margin: 38px 0 12px; border-radius: 10px; color: #4FE3B8; background: rgba(22,199,154,.12); }
.step-ic .ic { width: 18px; height: 18px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--on-dark); line-height: 1.55; }
.relais-pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.relais-pills li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 8px 14px; border-radius: 22px; color: var(--on-dark); background: rgba(255,255,255,.05); border: 1px solid var(--line); text-align: left; }
.relais-pills .ic { flex-shrink: 0; width: 16px; height: 16px; color: #4FE3B8; }

/* ===== TI: LOI 25 IN FULL (amber, like the band) ===== */
.conformite { padding: 96px 0; background: radial-gradient(760px 420px at 10% 10%, rgba(245,158,11,.12), transparent 60%), #0b1729; border-top: 1px solid rgba(252,211,77,.35); }
.conf-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.eyebrow-amber { color: #FCD34D; }
.conformite h2 em { color: #FCD34D; font-size: .62em; font-weight: 600; letter-spacing: 0; margin-top: 8px; }
.conf-copy > p:not(.eyebrow) { font-size: 16px; color: var(--on-dark); margin-bottom: 14px; }
.conf-copy strong { color: #FCD34D; }
.conf-btn { margin-top: 10px; background: #FCD34D; color: var(--navy); }
.conf-btn:hover { background: #fde68a; }
.conf-items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.conf-item { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(252,211,77,.22); }
.conf-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #FCD34D; background: rgba(245,158,11,.14); }
.conf-ic .ic { width: 19px; height: 19px; }
.conf-item h3 { font-size: 16px; margin-bottom: 4px; }
.conf-item p { font-size: 13.5px; color: var(--on-dark-dim); line-height: 1.55; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 34px; max-width: 520px; }
  .steps::before { top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(79,227,184,.15), rgba(79,227,184,.6), rgba(79,227,184,.15)); }
  .conf-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .conf-items { grid-template-columns: 1fr; }
  .relais, .conformite { padding: 72px 0; }
}

/* ===== LINUX PAGE ===== */
.lx-why { padding: 88px 0; background: #071323; border-top: 1px solid var(--line); }
.lx-why h2 em { color: #4FE3B8; }
.lx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.lx-card { padding: 22px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.lx-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 11px; color: #4FE3B8; background: rgba(22,199,154,.12); }
.lx-ic .ic { width: 20px; height: 20px; }
.lx-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.lx-card p { font-size: 14px; color: var(--on-dark); line-height: 1.55; }
.steps-4 { grid-template-columns: repeat(4, 1fr); max-width: none; }
.steps-4::before { left: 12%; right: 12%; }
.lx-apps { padding: 88px 0; background: #071323; border-top: 1px solid var(--line); }
.lx-apps-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.lx-apps h2 em { color: #4FE3B8; }
.lx-apps-head > p:not(.eyebrow) { color: var(--on-dark); font-size: 16px; }
.lx-table { display: grid; gap: 10px; }
.lx-row { display: grid; grid-template-columns: 1fr auto 1.3fr; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 14.5px; }
.lx-today { color: var(--on-dark-dim); }
.lx-arrow { color: #4FE3B8; font-weight: 700; }
.lx-tomorrow { color: #fff; font-weight: 600; }
.lx-tomorrow.lx-warn { color: #FCD34D; }
.faq { padding: 80px 0; background: #0a1a2e; border-top: 1px solid var(--line); }
.faq-inner { max-width: 760px; }
.faq h2 { margin-bottom: 28px; }
.faq-item { margin-bottom: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; position: relative; padding: 16px 48px 16px 20px; font-weight: 600; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #4FE3B8; transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 20px 18px; color: var(--on-dark); font-size: 15px; line-height: 1.6; }
@media (max-width: 1000px) {
  .lx-grid { grid-template-columns: 1fr 1fr; }
  .steps-4 { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps-4::before { display: none; }
  .lx-apps-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 880px) {
  .steps-4 { grid-template-columns: 1fr; }
  .steps-4::before { display: block; left: 50%; right: auto; }
}
@media (max-width: 560px) {
  .lx-grid { grid-template-columns: 1fr; }
  .lx-row { grid-template-columns: 1fr; gap: 4px; }
  .lx-arrow { display: none; }
  .lx-why, .lx-apps { padding: 72px 0; }
}

/* ===== THE SPINE: each tool a vertebra on one glowing cord (coach, 2026-10-16) ===== */
.ossature { padding: 88px 0 80px; background: radial-gradient(900px 420px at 50% 0%, rgba(22,199,154,.10), transparent 65%), #071323; border-top: 1px solid var(--line); }
.ossature h2 em { color: #4FE3B8; }
.spine-row { position: relative; max-width: 1120px; margin: 46px auto 40px; }
.spine-cord { position: absolute; left: 7%; right: 7%; top: 34px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), #4FE3B8 50%, var(--cyan)); box-shadow: 0 0 14px rgba(79,227,184,.55); overflow: hidden; }
.spine-flow { position: absolute; top: 0; bottom: 0; left: -20%; width: 18%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); opacity: 0; }
.verts { list-style: none; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.vert { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
.vert-body { position: relative; z-index: 1; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: #0b1d33; border: 2px solid rgba(79,227,184,.55); box-shadow: 0 0 0 6px #071323, 0 0 22px rgba(79,227,184,.25); transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s; }
/* the two side processes give each body a vertebra silhouette */
.vert-body::before, .vert-body::after { content: ''; position: absolute; top: 50%; width: 12px; height: 26px; margin-top: -13px; border-radius: 5px; background: rgba(79,227,184,.55); }
.vert-body::before { left: -12px; }
.vert-body::after { right: -12px; }
.vert-body .app-icon { width: 50px; height: 50px; }
.vert-body .app-icon .ic { width: 24px; height: 24px; }
.vert b { margin-top: 16px; font-family: var(--font-display); font-size: 16px; color: #fff; }
.vert small { margin-top: 4px; max-width: 160px; font-size: 13.5px; line-height: 1.4; color: #4FE3B8; }
.vert:hover .vert-body, .vert:focus-visible .vert-body { transform: translateY(-6px); border-color: #4FE3B8; }
.vert:focus-visible { outline: none; }
.vert:focus-visible .vert-body { outline: 3px solid var(--cyan); outline-offset: 4px; }
.spine-punch { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: #fff; line-height: 1.35; }
.spine-punch em { display: block; font-style: normal; color: #4FE3B8; }
@media (prefers-reduced-motion: no-preference) {
  .spine-flow { animation: spine-run 4.2s linear infinite; }
  .verts li .vert-body { animation: vert-glow 4.2s ease-in-out infinite; }
  .verts li:nth-child(2) .vert-body { animation-delay: .55s; }
  .verts li:nth-child(3) .vert-body { animation-delay: 1.1s; }
  .verts li:nth-child(4) .vert-body { animation-delay: 1.65s; }
  .verts li:nth-child(5) .vert-body { animation-delay: 2.2s; }
  .verts li:nth-child(6) .vert-body { animation-delay: 2.75s; }
}
@keyframes spine-run { 0% { left: -20%; opacity: 0; } 8% { opacity: 1; } 80% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes spine-run-v { 0% { top: -20%; opacity: 0; } 8% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes vert-glow { 0%, 30%, 100% { box-shadow: 0 0 0 6px #071323, 0 0 22px rgba(79,227,184,.25); } 12% { box-shadow: 0 0 0 6px #071323, 0 0 34px rgba(79,227,184,.85); } }
.anim-gate .spine-row:not(.on-screen) * { animation-play-state: paused !important; }
@media (max-width: 760px) {
  .spine-row { max-width: 420px; margin: 34px auto 30px; }
  .spine-cord { left: 34px; right: auto; top: 37px; bottom: 37px; width: 6px; height: auto; background: linear-gradient(180deg, var(--cyan), #4FE3B8 50%, var(--cyan)); }
  .spine-flow { left: 0; right: 0; top: -20%; width: auto; height: 18%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.95), transparent); }
  .verts { grid-template-columns: 1fr; gap: 14px; }
  .vert { display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto; column-gap: 22px; align-items: center; text-align: left; }
  .vert-body { grid-row: span 2; }
  .vert b { margin-top: 0; align-self: end; }
  .vert small { max-width: none; align-self: start; }
  .ossature { padding: 64px 0; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .spine-flow { animation-name: spine-run-v; }
}

/* ===== BRAND LINE: opens the hero; the last words fade like quiet technology ===== */
.hero-motto { position: relative; margin-bottom: 18px; padding-left: 16px; font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 19px); font-weight: 500; line-height: 1.4; color: var(--on-dark); text-wrap: balance; }
.hero-motto::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 3px; background: linear-gradient(var(--cyan), #4FE3B8); }
.motto-fade { color: #4FE3B8; }
@media (prefers-reduced-motion: no-preference) {
  .motto-fade { animation: motto-fade 7s ease-in-out infinite; }
  .motto-fade:nth-child(2) { animation-delay: .5s; }
  .motto-fade:nth-child(3) { animation-delay: 1s; }
}
@keyframes motto-fade { 0%, 25%, 100% { opacity: 1; } 55%, 70% { opacity: .18; } }

/* ===== IS THIS FOR ME? boxes tick one by one once on screen ===== */
.fit { padding: 88px 0; background: #0a1a2e; border-top: 1px solid var(--line); }
.fit-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.fit h2 em { color: #4FE3B8; }
.fit-head > p:not(.eyebrow), .fit-main > p:not(.eyebrow) { font-size: 17px; color: var(--on-dark); margin-bottom: 22px; }
.fit-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fit-list { list-style: none; display: grid; gap: 12px; }
.fit-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 16px; color: #fff; line-height: 1.45; }
.fit-box { position: relative; flex: 0 0 26px; height: 26px; border-radius: 8px; border: 2px solid rgba(79,227,184,.6); background: rgba(22,199,154,.10); }
.fit-box::after { content: ''; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid #4FE3B8; border-width: 0 3px 3px 0; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .fit-box::after { animation: fit-tick .35s cubic-bezier(.2,.8,.2,1) both; }
  .fit-list li { animation: fit-row .35s ease both; }
  .fit-list li:nth-child(1), .fit-list li:nth-child(1) .fit-box::after { animation-delay: .3s; }
  .fit-list li:nth-child(2), .fit-list li:nth-child(2) .fit-box::after { animation-delay: .8s; }
  .fit-list li:nth-child(3), .fit-list li:nth-child(3) .fit-box::after { animation-delay: 1.3s; }
  .fit-list li:nth-child(4), .fit-list li:nth-child(4) .fit-box::after { animation-delay: 1.8s; }
  .fit-list li:nth-child(5), .fit-list li:nth-child(5) .fit-box::after { animation-delay: 2.3s; }
  .fit-list li:nth-child(6), .fit-list li:nth-child(6) .fit-box::after { animation-delay: 2.8s; }
}
@keyframes fit-tick { from { opacity: 0; transform: rotate(45deg) scale(.3); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
@keyframes fit-row { from { border-color: var(--line); } to { border-color: rgba(79,227,184,.45); } }
.anim-gate .fit-list:not(.on-screen) li, .anim-gate .fit-list:not(.on-screen) .fit-box::after { animation-play-state: paused !important; }
@media (max-width: 880px) {
  .fit-inner { grid-template-columns: 1fr; gap: 30px; }
  .fit-head { text-align: center; }
  .fit-ctas { justify-content: center; }
}
@media (max-width: 560px) {
  .fit { padding: 64px 0; }
  .fit-list li { font-size: 15px; padding: 14px; }
}

/* tools box on smaller screens: the rail becomes a grid of tools above the panel */
@media (max-width: 1000px) {
  .suite-js .suite-box { grid-template-columns: 1fr; }
  .rail { border-right: 0; border-bottom: 1px solid var(--line); }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .rail-note { margin: 0 6px; padding-top: 12px; }
  .suite-js .panel { padding: 32px; }
}
@media (max-width: 640px) {
  .tabs { grid-template-columns: 1fr 1fr; }
  .tab { gap: 9px; padding: 8px; }
  .tab .app-icon { width: 32px; height: 32px; border-radius: 9px; }
  .tab .app-icon .ic { width: 17px; height: 17px; }
  .tab-txt b { font-size: 14px; }
  .tab-txt small, .rail-note { display: none !important; }
  .rail { padding: 10px; }
  .suite-js .panel { padding: 22px; gap: 26px; }
}

/* ===== SITE PANEL: three sample sites, each with its own layout ===== */
.ms-wrap { position: relative; width: 100%; max-width: 520px; padding: 0 94px 26px 0; }
.ms-wrap::before { content: ''; position: absolute; inset: 8% 4% 0 -4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 45%, transparent), transparent); filter: blur(30px); z-index: 0; }
.ms-wrap[data-theme="immo"] { --glow: #C9A227; }
.ms-wrap[data-theme="cafe"] { --glow: #D97706; }
.ms-wrap[data-theme="plomb"] { --glow: #38BDF8; }
.ms-wrap[data-theme="salon"] { --glow: #F472B6; }
.ms-wrap[data-theme="land"] { --glow: #65A30D; }
.ms-wrap > .ms, .ms-wrap > .ms-phone { display: none; }
.ms-wrap[data-theme="immo"] > .ms-immo, .ms-wrap[data-theme="cafe"] > .ms-cafe, .ms-wrap[data-theme="plomb"] > .ms-plomb,
.ms-wrap[data-theme="salon"] > .ms-salon, .ms-wrap[data-theme="land"] > .ms-land { display: block; }
.ms-wrap[data-theme="immo"] > .msp-immo, .ms-wrap[data-theme="cafe"] > .msp-cafe, .ms-wrap[data-theme="plomb"] > .msp-plomb,
.ms-wrap[data-theme="salon"] > .msp-salon, .ms-wrap[data-theme="land"] > .msp-land { display: flex; }
.ms { position: relative; z-index: 1; max-width: none; }
.ms .mb-bar span { white-space: nowrap; }
.ms-body { position: relative; min-height: 236px; padding: 12px 14px 44px; }
.ms-h { margin: 0 0 8px !important; font: 700 15px/1.2 var(--font-display); text-wrap: balance; }
.ms-cta { position: relative; display: inline-flex; align-items: center; gap: 5px; font: 700 10.5px var(--font-body); white-space: nowrap; }
.ms-cta .ic { width: 12px; height: 12px; }
.ms-links { display: flex; gap: 6px; margin-left: auto; }
.ms-links i { width: 20px; height: 5px; border-radius: 3px; background: rgba(15,23,42,.18); }
.ms-cursor { position: absolute; z-index: 3; left: 86%; top: 94%; width: 15px; height: 20px; background: #0f172a; clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 58% 93%, 41% 55%, 72% 55%); opacity: 0; }
.ms-chat { position: absolute; z-index: 2; right: 10px; bottom: 8px; display: flex; align-items: center; gap: 7px; max-width: 72%; padding: 4px 11px 4px 4px; border-radius: 16px; line-height: 1.3; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.22); font: 600 10px var(--font-body); color: #0f172a; }
.ms-agent { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--acc, #DB2777); }
.ms-agent .ic { width: 12px; height: 12px; }

/* 1. real estate broker: personal header, property search, listings */
.ms-immo .ms-body { background: #F7F5EF; color: #0F2A44; --cx: 75%; --cy: 42%; --acc: #C9A227; }
.im-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.im-avatar { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; font: 700 9.5px var(--font-display); color: #0F2A44; background: linear-gradient(135deg, #F3D57A, #C9A227); box-shadow: 0 0 0 2px #fff; }
.im-who { display: grid; line-height: 1.15; }
.im-who b { font: 700 12px var(--font-display); }
.im-who small { font-size: 9px; color: #8A6D12; font-weight: 600; }
.im-hero { padding: 14px; border-radius: 12px; background: linear-gradient(120deg, #0F2A44, #1E4C78); }
.im-hero .ms-h { color: #fff !important; }
.im-search { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 9px; border-radius: 8px; background: #fff; font-size: 9.5px; color: #64748b; }
.im-search > .ic { width: 12px; height: 12px; color: #0F2A44; }
.im-search span:not(.ms-cta) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-immo .ms-cta { padding: 5px 10px; border-radius: 6px; background: #C9A227; color: #0F2A44; }
.im-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.im-card { display: grid; gap: 1px; padding: 5px 5px 7px; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(15,42,68,.08); }
.im-card b { margin-top: 4px; font: 700 10.5px var(--font-display); }
.im-card small { font-size: 8.5px; color: #64748b; }
.im-photo { position: relative; display: grid; place-items: center; height: 40px; border-radius: 6px; color: rgba(255,255,255,.9); }
.im-photo .ic { width: 18px; height: 18px; }
.im-photo em { position: absolute; left: 4px; top: 4px; padding: 1px 5px; border-radius: 4px; font: 700 7.5px var(--font-body); font-style: normal; color: #0F2A44; background: #F3D57A; }
.im-photo em.im-sold { color: #fff; background: #B91C1C; }
.im-p1 { background: linear-gradient(135deg, #7FB3D5, #2E6F9E); }
.im-p2 { background: linear-gradient(135deg, #9CC5A1, #3F7D52); }
.im-p3 { background: linear-gradient(135deg, #D9B38C, #9A6B3F); }

/* 2. café: centred logo, warm banner, a menu with prices */
.ms-cafe .ms-body { background: #FBF3E6; color: #3B2418; text-align: center; --cx: 47%; --cy: 80%; --acc: #B45309; }
.cf-top { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-bottom: 8px; }
.cf-top b { font: 700 12.5px Georgia, 'Times New Roman', serif; letter-spacing: .3px; }
.cf-logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #FBF3E6; background: #3B2418; }
.cf-logo .ic { width: 14px; height: 14px; }
.cf-hero { padding: 12px 14px; border-radius: 12px; background: radial-gradient(circle at 80% 20%, #8B5A2B, transparent 60%), #3B2418; }
.cf-hero .ms-h { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: #FBF3E6 !important; }
.cf-open { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 10px; font-size: 9px; font-weight: 600; color: #3B2418; background: #FCD9A0; }
.cf-open i { width: 6px; height: 6px; border-radius: 50%; background: #16A34A; }
.cf-menu { display: grid; gap: 5px; margin: 10px 6px 10px; text-align: left; }
.cf-menu > span { display: flex; align-items: baseline; gap: 6px; font-size: 10px; }
.cf-menu b { font-weight: 600; }
.cf-menu i { flex: 1; border-bottom: 1px dotted rgba(59,36,24,.4); }
.cf-menu em { font-style: normal; font-weight: 700; color: #B45309; }
.ms-cafe .cf-cta { padding: 6px 14px; border-radius: 20px; color: #FBF3E6; background: #B45309; }

/* 3. plumber: emergency strip, big call button, service tiles */
.ms-plomb .ms-body { padding-top: 0 !important; background: #F1F6FC; color: #0B2545; --cx: 33%; --cy: 47%; --acc: #EA580C; }
.pl-alert { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 -14px 9px; padding: 5px; font: 700 9.5px var(--font-body); color: #fff; background: #EA580C; }
.pl-alert .ic { width: 11px; height: 11px; }
.pl-nav { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.pl-nav b { font: 800 11.5px var(--font-display); text-transform: uppercase; letter-spacing: .3px; }
.pl-logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #fff; background: #0B4A8B; }
.pl-logo .ic { width: 13px; height: 13px; }
.pl-badge { margin-left: auto; white-space: nowrap; padding: 3px 7px; border-radius: 5px; font-size: 8.5px; font-weight: 700; color: #0B4A8B; background: #DBEAFE; }
.pl-hero { display: grid; justify-items: start; gap: 6px; padding: 13px 14px; border-radius: 12px; background: linear-gradient(120deg, #0B4A8B, #1D74C9); }
.pl-hero .ms-h { margin: 0 !important; font-size: 16px; color: #fff !important; }
.ms-plomb .pl-call { padding: 7px 13px; border-radius: 8px; font-size: 11px; color: #fff; background: #EA580C; box-shadow: 0 4px 12px rgba(234,88,12,.45); }
.pl-stars { font-size: 10px; letter-spacing: 1px; color: #FCD34D; }
.pl-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; }
.pl-services > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 9px; font-size: 9.5px; font-weight: 700; background: #fff; box-shadow: 0 2px 8px rgba(11,37,69,.08); }
.pl-services .ic { width: 16px; height: 16px; color: #1D74C9; }

/* 4. hair salon: booking first, day pills and time slots */
.ms-salon .ms-body { background: #FDF2F5; color: #2B1A22; --cx: 56%; --cy: 65%; --acc: #BE185D; }
.sa-nav { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.sa-nav b { font: italic 700 13px Georgia, 'Times New Roman', serif; }
.sa-logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: #2B1A22; }
.sa-logo .ic { width: 12px; height: 12px; }
.sa-tag { margin-left: auto; font-size: 8.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #BE185D; }
.sa-main { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9px; }
.sa-pitch { display: flex; flex-direction: column; gap: 7px; padding: 11px; border-radius: 12px; background: #2B1A22; }
.sa-pitch .ms-h { font: italic 700 13.5px/1.2 Georgia, 'Times New Roman', serif; color: #fff !important; }
.sa-photo { flex: 1; min-height: 46px; border-radius: 8px; background: radial-gradient(circle at 50% 38%, #F9A8D4 0 22%, transparent 23%), radial-gradient(ellipse at 50% 100%, #F472B6 0 45%, transparent 46%), linear-gradient(160deg, #831843, #500724); }
.sa-book { padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(43,26,34,.08); }
.sa-title { display: block; margin-bottom: 7px; font: 700 11px var(--font-display); }
.sa-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 8px; }
.sa-day { display: grid; justify-items: center; padding: 4px 0; border-radius: 7px; background: #FCE7F3; }
.sa-day small { font-size: 7.5px; color: #9D174D; }
.sa-day b { font: 700 11px var(--font-display); }
.sa-day.on { color: #fff; background: #BE185D; }
.sa-day.on small { color: #FBCFE8; }
.sa-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.sa-slots > span { display: block; padding: 4px 0; border-radius: 6px; border: 1px solid #FBCFE8; text-align: center; font: 600 9.5px var(--font-body); }
.sa-slots > .off { color: #cbb5bf; text-decoration: line-through; border-style: dashed; }
.ms-salon .ms-cta { justify-content: center; color: #fff; background: #BE185D; border-color: #BE185D; }

/* 5. landscaper: portfolio first, a before/after slider */
.ms-land .ms-body { background: #F4F7EE; color: #1F3A14; --cx: 71%; --cy: 76%; --acc: #3F6212; }
.la-nav { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.la-nav b { font: 700 12.5px var(--font-display); }
.la-logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #fff; background: #3F6212; }
.la-logo .ic { width: 13px; height: 13px; }
.la-ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 92px; border-radius: 12px; overflow: hidden; }
.la-ba em { position: absolute; top: 6px; padding: 1px 6px; border-radius: 4px; font: 700 8px var(--font-body); font-style: normal; color: #fff; background: rgba(0,0,0,.45); }
.la-before { position: relative; background: linear-gradient(180deg, #CBD5E1 0 40%, #A8A29E 40% 100%); }
.la-before::after { content: ''; position: absolute; left: 12%; right: 20%; bottom: 14%; height: 18%; border-radius: 40%; background: #78716C; }
.la-before em { left: 6px; }
.la-after { position: relative; background: radial-gradient(circle at 75% 55%, #16A34A 0 14%, transparent 15%), radial-gradient(circle at 30% 50%, #22C55E 0 11%, transparent 12%), linear-gradient(180deg, #BAE6FD 0 40%, #65A30D 40% 100%); }
.la-after em { right: 6px; }
.la-path { position: absolute; left: 10%; right: 40%; bottom: 10%; height: 14%; border-radius: 50%; background: #E7E5E4; }
.la-handle { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.3); }
.la-handle::after { content: '‹›'; position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; font: 700 10px/1 var(--font-body); color: #3F6212; background: #fff; }
.ms-land .ms-h { margin: 9px 0 7px !important; font-size: 14px; color: #1F3A14 !important; }
.la-row { display: flex; align-items: center; gap: 6px; }
.la-thumb { width: 30px; height: 24px; border-radius: 6px; background: linear-gradient(160deg, #84CC16, #3F6212); }
.la-thumb.t2 { background: linear-gradient(160deg, #A3E635, #4D7C0F); }
.la-thumb.t3 { background: linear-gradient(160deg, #D6D3D1, #57534E); }
.ms-land .ms-cta { margin-left: auto; padding: 6px 12px; border-radius: 8px; color: #fff; background: #3F6212; }

/* their phones */
.msp-salon { background: #FDF2F5; }
.msp-salon .sa-logo { width: 18px; height: 18px; }
.msp-salon .sa-logo .ic { width: 10px; height: 10px; }
.msp-days, .msp-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.msp-slots { grid-template-columns: repeat(2, 1fr); }
.msp-days i, .msp-slots i { height: 14px; border-radius: 4px; background: #FCE7F3; }
.msp-days i.on, .msp-slots i.on { background: #BE185D; }
.msp-land { background: #F4F7EE; }
.msp-land .la-logo { width: 16px; height: 16px; border-radius: 4px; }
.msp-land .la-logo .ic { width: 9px; height: 9px; }
.msp-land .msp-row i { background: rgba(31,58,20,.3); }
.msp-ba { display: grid; grid-template-columns: 1fr 1fr; height: 64px; border-radius: 8px; overflow: hidden; }
.msp-ba span:first-child { background: linear-gradient(180deg, #CBD5E1 0 40%, #A8A29E 40%); }
.msp-ba span:last-child { background: linear-gradient(180deg, #BAE6FD 0 40%, #65A30D 40%); }
.msp-block.la-cta { background: #3F6212; }

/* the phone: each site's own mobile version */
.ms-phone { position: absolute; z-index: 2; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; width: 104px; height: 188px; padding: 14px 7px 7px; border-radius: 20px; border: 5px solid #0b1220; box-shadow: 0 16px 40px rgba(0,0,0,.45); overflow: hidden; }
.msp-notch { position: absolute; left: 50%; top: 4px; width: 30px; height: 5px; margin-left: -15px; border-radius: 3px; background: #0b1220; }
.ms-phone i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.6); }
.ms-phone i.short { width: 60%; }
.msp-block { display: grid; gap: 4px; padding: 9px 7px; border-radius: 9px; }
.msp-immo { background: #F7F5EF; }
.msp-row { display: flex; align-items: center; gap: 5px; }
.msp-row .im-avatar { width: 16px; height: 16px; font-size: 6px; }
.msp-row i { width: 40px; background: rgba(15,42,68,.3); }
.msp-search { height: 11px; margin-top: 3px; border-radius: 4px; background: #fff; }
.msp-photo { display: grid; place-items: center; height: 46px; border-radius: 8px; color: #fff; }
.msp-photo .ic { width: 16px; height: 16px; }
.msp-price { width: 50%; height: 6px; border-radius: 3px; background: #0F2A44; }
.msp-cafe { background: #FBF3E6; }
.msp-center { display: flex; justify-content: center; }
.msp-center .cf-logo { width: 18px; height: 18px; }
.msp-center .cf-logo .ic { width: 10px; height: 10px; }
.msp-menu { display: grid; gap: 6px; padding: 3px; }
.msp-menu i { background: rgba(59,36,24,.3); }
.msp-btn { display: grid; place-items: center; height: 16px; border-radius: 8px; color: #fff; }
.msp-btn .ic { width: 10px; height: 10px; }
.msp-cafe .msp-btn { margin: 0 12px; background: #B45309; }
.msp-plomb { padding-top: 12px; background: #F1F6FC; }
.msp-alert { height: 9px; margin: 0 -7px; background: #EA580C; }
.msp-plomb .msp-btn { height: 20px; background: #EA580C; }
.msp-stars { font-size: 8px; letter-spacing: 1px; text-align: center; color: #F59E0B; }

@media (prefers-reduced-motion: no-preference) {
  .ms-play .mb-bar span { animation: ms-type .45s steps(18) both; }
  .ms-play .ms-in { animation: ms-up .35s calc(var(--d, .2s) * .6) both; }
  .ms-play .ms-h { animation: ms-up .4s .25s both; }
  .ms-play .ms-cta { animation: ms-pop .35s .45s both, ms-press .4s 1.75s; }
  .ms-play .ms-cursor { animation: ms-cursor 1.6s .75s both; }
  .ms-play .ms-chat { animation: ms-pop .4s 2.2s both; }
  .ms-play .ms-phone { animation: ms-slide .45s .5s both; }
  .ms-play .ms-phone > :not(.msp-notch) { animation: ms-up .35s .8s both; }
  .ms-play .la-handle { animation: la-slide 1.4s .5s ease-in-out both; }
  .ms-play .la-after { animation: la-reveal 1.4s .5s ease-in-out both; }
}
@keyframes ms-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes la-slide { 0% { left: 100%; } 60% { left: 30%; } 100% { left: 50%; } }
@keyframes la-reveal { 0% { clip-path: inset(0 0 0 100%); } 60% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes ms-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes ms-pop { from { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } }
@keyframes ms-slide { from { opacity: 0; transform: translate(20px, 16px) rotate(4deg); } }
@keyframes ms-press { 40% { transform: scale(.9); box-shadow: 0 0 0 6px rgba(255,255,255,.5); } }
@keyframes ms-cursor { 0% { opacity: 0; left: 86%; top: 94%; } 12% { opacity: 1; } 62% { left: var(--cx); top: var(--cy); transform: none; } 70% { left: var(--cx); top: var(--cy); transform: scale(.82); } 78% { transform: none; } 92% { opacity: 1; left: var(--cx); top: var(--cy); } 100% { opacity: 0; left: var(--cx); top: var(--cy); } }
@media (max-width: 640px) {
  .ms-wrap { padding-right: 76px; }
  .ms-phone { width: 86px; height: 158px; }
  .ms-h { font-size: 13px; }
  .im-search span:not(.ms-cta) { display: none; }
}

/* ===== FACTURAMA / DONI PANELS: three cards fanned, taking turns in front ===== */
.stack { position: relative; width: 100%; max-width: 400px; height: 340px; }
.stack .stack-card { position: absolute; left: 50%; top: 55%; width: 270px; max-width: none; margin-left: -135px; padding: 18px; font-size: 13px; transform-origin: 50% 100%; }
.stack-card:nth-child(1) { z-index: 3; transform: translate(34px, -34%) rotate(4deg); }
.stack-card:nth-child(2) { z-index: 2; transform: translate(-22px, -58%) rotate(-3deg) scale(.94); }
.stack-card:nth-child(3) { z-index: 1; transform: translate(-74px, -80%) rotate(-9deg) scale(.88); }
@media (prefers-reduced-motion: no-preference) {
  .stack-card { animation: stack-cycle 9s cubic-bezier(.6,0,.3,1) infinite; }
  .stack-card:nth-child(2) { animation-delay: -6s; }
  .stack-card:nth-child(3) { animation-delay: -3s; }
}
@keyframes stack-cycle {
  0%, 28% { z-index: 3; transform: translate(34px, -34%) rotate(4deg); filter: none; }
  33%, 61% { z-index: 1; transform: translate(-74px, -80%) rotate(-9deg) scale(.88); filter: brightness(.9); }
  66%, 94% { z-index: 2; transform: translate(-22px, -58%) rotate(-3deg) scale(.94); filter: brightness(.96); }
  100% { z-index: 3; transform: translate(34px, -34%) rotate(4deg); filter: none; }
}
.anim-gate .stack:not(.on-screen) * { animation-play-state: paused !important; }
.stack .mi-head { margin-bottom: 10px; font-size: 15px; }
.stack .mi-row { padding: 6px 0; }
.stack .mi-total { font-size: 15px; padding-top: 9px; }
/* quote */
.mq-client { margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mq-ok { color: #1D4ED8 !important; background: #DBEAFE !important; }
.mq-foot { margin-top: 10px; font-size: 11px; color: #00805E; font-weight: 600; }
/* contract */
.mc-ok { color: #6D28D9 !important; background: #EDE9FE !important; }
.mc-lines i { display: block; height: 6px; margin-bottom: 7px; border-radius: 3px; background: #E5EAF0; }
.mc-lines i.short { width: 60%; }
.mc-sign { display: block; width: 150px; height: 40px; margin: 6px 0 2px; border-bottom: 1px solid #CBD5E1; }
.mc-sign path { fill: none; stroke: #1E3A8A; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mc-who { font-size: 11px; color: var(--muted); }
/* mini board */
.mb2-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mb2-head b { font: 700 14px var(--font-display); }
.mb2-head em { font-style: normal; font-size: 10.5px; font-weight: 800; color: #1550B0; background: #E3EDFD; padding: 3px 8px; border-radius: 6px; }
.mb2-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mb2-cols > span { display: grid; align-content: start; gap: 5px; min-height: 120px; padding: 6px; border-radius: 8px; background: #F1F5F9; }
.mb2-cols small { font-size: 8.5px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }
.mb2-cols i { display: block; height: 24px; border-radius: 5px; background: #fff; border-left: 3px solid #1A6DE9; box-shadow: 0 1px 3px rgba(15,23,42,.08); }
.mb2-cols i.c2 { border-left-color: #F59E0B; }
.mb2-cols i.c3 { border-left-color: #EC4899; }
.mb2-cols i.done { border-left-color: #16C79A; opacity: .7; }
/* notification */
.mn-app { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.mn-app img { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: #fff; border: 1px solid #E2E8F0; }
.mn-app b { font: 700 13px var(--font-display); }
.mn-app small { margin-left: auto; font-size: 11px; color: var(--muted); }
.mn-text { margin: 0 0 12px !important; font-size: 13px; line-height: 1.45; color: var(--text) !important; }
.mn-sprint { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 11px; font-weight: 700; color: var(--muted); }
.mn-bar { height: 8px; border-radius: 4px; background: #E3EDFD; overflow: hidden; }
.mn-bar i { display: block; width: 68%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #1A6DE9, #16C79A); }
@media (max-width: 640px) {
  .stack { height: 300px; margin: -24px 0; transform: translateX(16px) scale(.78); }
  .stack .stack-card { width: 250px; margin-left: -125px; padding: 15px; }
}

/* ===== WHO: a short strip on the home page, the full story on /a-propos ===== */
.who-page { padding-top: 72px; }
.who-page h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 18px; }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
/* ===== HATS: one scene that turns the pile into an orchestra ===== */
.dg-morph { max-width: 560px; margin: 30px auto 22px; padding: 16px 18px 18px; border: 1px solid rgba(244,114,182,.28); background: #0e1a2e; transition: border-color 1.2s, box-shadow 1.2s; isolation: isolate; }
.dg-morph::before, .dg-morph::after { content: ''; position: absolute; inset: 0; z-index: -1; transition: opacity 1.2s; }
.dg-morph::before { background: radial-gradient(circle at 50% 45%, rgba(239,68,68,.16), transparent 62%); }
.dg-morph::after { opacity: 0; background: radial-gradient(circle at 50% 45%, rgba(79,227,184,.16), transparent 62%), #0a1f36; }
.dg-morph[data-state="calm"] { border-color: rgba(52,174,232,.45); box-shadow: 0 0 0 1px rgba(79,227,184,.08), 0 18px 50px rgba(20,140,200,.18); }
.dg-morph[data-state="calm"]::after { opacity: 1; }
.dg-morph[data-state="calm"]::before { opacity: 0; }
.dm-switch { position: relative; z-index: 3; display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 6px; padding: 4px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.dm-btn { padding: 6px 14px; border: 0; border-radius: 16px; background: none; font: 700 12.5px var(--font-body); color: var(--on-dark-dim); cursor: pointer; transition: background-color .3s, color .3s; }
.dm-btn:hover { color: #fff; }
.dm-btn[aria-pressed="true"][data-to="chaos"] { color: #fff; background: rgba(244,114,182,.28); }
.dm-btn[aria-pressed="true"][data-to="calm"] { color: var(--navy); background: #4FE3B8; }
.dm-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
/* each hat travels from its spot in the pile to its seat, one after the other */
.dm-hat { left: var(--x1); top: var(--y1); --r: var(--r1); transition: left 1.6s cubic-bezier(.45,0,.25,1), top 1.6s cubic-bezier(.45,0,.25,1), transform 1.6s cubic-bezier(.45,0,.25,1); transition-delay: calc(var(--i) * .03s); }
[data-state="calm"] .dm-hat { left: var(--x2); top: var(--y2); --r: 0deg; }
.dm-hat i { transition: filter 1s; }
[data-state="chaos"] .dm-hat i { filter: saturate(.75) brightness(.92); }
.dm-hat b { transition: opacity .6s; }
[data-state="chaos"] .dm-hat b { color: rgba(255,255,255,.82); }
[data-state="chaos"] .dm-stack b { opacity: 0; }
.dm-chaos, .dm-orch { transition: opacity 1s; }
.dm-orch { opacity: 0; }
[data-state="calm"] .dm-chaos { opacity: 0; }
[data-state="calm"] .dm-orch { opacity: 1; }
.dm-chaos path { stroke: rgba(244,114,182,.7); stroke-width: 1.6; stroke-dasharray: 5 6; }
/* the owner steps down onto the podium */
.dm-you { left: 50%; top: 58%; z-index: 0; transition: top 1.6s cubic-bezier(.45,0,.25,1) .1s; }
[data-state="calm"] .dm-you { top: 84%; z-index: 2; }
.dm-you .pro { clip-path: none; }
.dm-you .baton, .dm-you .dg-podium { opacity: 0; transition: opacity .6s 1.2s; }
[data-state="calm"] .dm-you .baton, [data-state="calm"] .dm-you .dg-podium { opacity: 1; }
[data-state="calm"] .dm-you i { --tie: #4FE3B8; background: radial-gradient(circle at 50% 40%, #a7f3d0, #047857 75%); box-shadow: 0 0 0 5px rgba(79,227,184,.2), 0 0 34px rgba(79,227,184,.55); }
[data-state="calm"] .dm-you .pro { clip-path: circle(40px at 30px 28px); }
.dm-l2, [data-state="calm"] .dm-l1 { display: none; }
[data-state="calm"] .dm-l2 { display: inline; }
.dg-morph .dg-note { visibility: hidden; }
[data-state="calm"] .dg-note { visibility: visible; }
/* captions swap */
.dg-morph figcaption { display: grid; text-align: center; }
.dm-cap { grid-area: 1 / 1; transition: opacity .8s; }
.dm-cap2 b { color: #4FE3B8 !important; }
[data-state="chaos"] .dm-cap2, [data-state="calm"] .dm-cap1 { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  [data-state="chaos"] .dm-hat i { animation: dm-wobble 2.6s ease-in-out infinite alternate; }
  [data-state="chaos"] .dm-hat:nth-child(odd) i { animation-duration: 2.2s; }
  [data-state="chaos"] .dm-chaos path { animation: dash-run 2.6s linear infinite; }
  [data-state="chaos"] .dm-you i { animation: stress-pulse 1.8s ease-in-out infinite; }
  [data-state="calm"] .dm-hat i { animation: hat-cue 3.5s ease-in-out infinite; animation-delay: calc(1.6s + var(--d, 0s)); }
  [data-state="calm"] .dm-you i { animation: calm-glow 4s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-hat, .dm-you, .dm-chaos, .dm-orch, .dm-cap, .dg-morph, .dg-morph::before, .dg-morph::after { transition: none !important; }
}
@keyframes dm-wobble { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

/* Meggy questions now live in the agent panel */
.ask-panel { margin-top: 14px; }
.ask-panel .ask-chip { white-space: normal; text-align: left; }
/* custom AI agents: a monitoring board */
.mon { max-width: 340px; padding: 18px; font-size: 13px; }
.mon-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mon-head b { font: 700 15px var(--font-display); }
.mon-ok { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; color: #00805E; background: #d9f7ee; }
.mon-ok i { width: 7px; height: 7px; border-radius: 50%; background: #16C79A; box-shadow: 0 0 0 3px rgba(22,199,154,.25); }
.mon-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f6; }
.mon-row > span:nth-child(2) { display: grid; flex: 1; line-height: 1.3; }
.mon-row b { font-size: 12.5px; }
.mon-row small { font-size: 11px; color: var(--muted); }
.mon-ic { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #A78BFA, #7C3AED); }
.mon-ic .ic { width: 14px; height: 14px; }
.mon-badge { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800; color: #00805E; background: #d9f7ee; }
.mon-badge.mon-run { background: conic-gradient(#7C3AED 0 65%, #EDE9FE 65%); }
.mon-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mon-split > span { display: grid; gap: 2px; padding: 9px 10px; border-radius: 10px; background: #F5F3FF; }
.mon-split small { font-size: 10.5px; color: var(--muted); }
.mon-split b { font: 700 15px var(--font-display); color: #4C1D95; }
.mon-spark { width: 100%; height: 22px; }
.mon-spark path { fill: none; stroke: #7C3AED; stroke-width: 2; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .mon-badge.mon-run { animation: mon-spin 1.6s linear infinite; }
  .mon-ok i { animation: calm-glow 2.4s ease-in-out infinite; }
}
@keyframes mon-spin { to { transform: rotate(360deg); } }

/* ===== SERVICES TI: the scattered vendors glide into one column on the spine ===== */
.dmt { position: absolute; left: var(--x1); top: var(--y1); width: 0; height: 0; z-index: 1; transition: left 1s cubic-bezier(.6,.05,.3,1), top 1s cubic-bezier(.6,.05,.3,1); transition-delay: calc(var(--i) * .1s); }
[data-state="calm"] .dmt { left: var(--x2); top: var(--y2); }
.dmt .tnode { left: 0; top: 0; transition: opacity .5s; transition-delay: calc(.35s + var(--i) * .1s); }
.dmt-a i { background: #1e2b3e; border: 1px dashed rgba(255,255,255,.28); color: rgba(255,255,255,.7); }
.dmt-a b { color: rgba(255,255,255,.82); }
[data-state="chaos"] .dmt-b, [data-state="calm"] .dmt-a { opacity: 0; }
.dmt-lines { transition: opacity .8s; }
.dmt-lines path { stroke: rgba(244,114,182,.7); stroke-width: 1.6; stroke-dasharray: 5 6; }
.dg-morph-ti .dg-break { transition: opacity .5s; }
[data-state="calm"] .dmt-lines, [data-state="calm"].dg-morph-ti .dg-break { opacity: 0; }
.dmt-you { transition: opacity .6s, transform .6s; }
[data-state="calm"] .dmt-you { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.dmt-cap .tnode { opacity: 0; transition: opacity .6s .9s; z-index: 2; }
[data-state="calm"] .dmt-cap .tnode { opacity: 1; }
.dmt-spine { transform-origin: 50% 4%; transform: scaleY(0); transition: transform 1.1s cubic-bezier(.6,.05,.3,1) .2s; }
[data-state="calm"] .dmt-spine { transform: scaleY(1); }
.dg-morph-ti .dg-pulse { visibility: hidden; }
[data-state="calm"].dg-morph-ti .dg-pulse { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  [data-state="chaos"] .dmt-lines path { animation: dash-run 1.4s linear infinite; }
  [data-state="chaos"] .dmt-you i { animation: stress-pulse 1.8s ease-in-out infinite; }
  [data-state="chaos"] .dmt-a i { animation: dm-wobble 1.4s ease-in-out infinite alternate; }
}
@media (max-width: 760px) {
  .dg-morph-ti .tnode-v { gap: 7px; padding: 3px 10px 3px 3px; border-radius: 11px; }
  .dg-morph-ti .tnode-v i { width: 26px; height: 26px; border-radius: 8px; }
  .dg-morph-ti .tnode-v i .ic { width: 14px; height: 14px; }
  .dg-morph-ti .tnode-v b { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .dmt, .dmt .tnode, .dmt-lines, .dmt-you, .dmt-cap .tnode, .dmt-spine, .dg-morph-ti .dg-break { transition: none !important; }
}

/* ===== SECURITY HERO: an audit report instead of the managed-IT status board ===== */
.auditboard .ab-dot { background: #F87171; box-shadow: 0 0 0 4px rgba(248,113,113,.2); }
.ab-sev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.ab-sev > span { display: grid; justify-items: center; gap: 1px; padding: 8px 2px; border-radius: 10px; font-size: 10.5px; font-weight: 700; color: var(--on-dark); background: rgba(255,255,255,.06); }
.ab-sev b { font: 700 20px var(--font-display); }
.sev-crit b { color: #F87171; } .sev-high b { color: #FB923C; } .sev-med b { color: #FCD34D; } .sev-low b { color: #4FE3B8; }
.auditboard .sb-row b.ab-crit { color: #F87171; }
.auditboard .sb-row b.ab-todo { color: #FCD34D; }
.hero-sec { background: radial-gradient(800px 460px at 85% 20%, rgba(239,68,68,.12), transparent 60%), var(--navy); }
.hero.hero-sec h1 em { background: linear-gradient(90deg, #F87171, #FCD34D); -webkit-background-clip: text; background-clip: text; }

/* ===== SECURITY: disaster recovery plan, with a drill timeline ===== */
.reprise { padding: 96px 0; background: radial-gradient(760px 420px at 90% 20%, rgba(52,174,232,.12), transparent 60%), #0a1a2e; border-top: 1px solid rgba(52,174,232,.3); }
.reprise h2 em { color: #4FE3B8; font-size: .62em; font-weight: 600; letter-spacing: 0; margin-top: 8px; }
.reprise .ticks { margin: 4px 0 6px; }
.reprise .ticks li { color: var(--on-dark); }
.dr-btn { background: #4FE3B8; color: var(--navy); }
.dr-btn:hover { background: #a7f3d0; }
.dr-card { padding: 22px; border-radius: 18px; background: linear-gradient(170deg, #12345a, #0a1d35 70%); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.dr-head { margin-bottom: 14px; font: 600 15px var(--font-display); color: #fff; }
.dr-row { position: relative; display: grid; grid-template-columns: 56px 16px 1fr; gap: 10px; align-items: start; padding-bottom: 16px; }
.dr-row:last-child { padding-bottom: 0; }
.dr-row::before { content: ''; position: absolute; left: 73px; top: 14px; bottom: -2px; width: 2px; background: rgba(79,227,184,.35); }
.dr-row:last-child::before { display: none; }
.dr-t { font: 700 12.5px var(--font-display); color: var(--on-dark-dim); padding-top: 1px; }
.dr-dot { width: 12px; height: 12px; margin: 3px 0 0 2px; border-radius: 50%; background: #34AEE8; box-shadow: 0 0 0 4px rgba(52,174,232,.2); }
.dr-bad .dr-dot { background: #F87171; box-shadow: 0 0 0 4px rgba(248,113,113,.2); }
.dr-ok .dr-dot { background: #4FE3B8; box-shadow: 0 0 0 4px rgba(79,227,184,.25); }
.dr-row b { display: block; font-size: 14px; color: #fff; }
.dr-row small { font-size: 12.5px; color: var(--on-dark-dim); }
@media (max-width: 520px) { .reprise { padding: 72px 0; } }

/* ===== "Est-ce pour moi ?" now carries the ten-hats scene (no separate section) ===== */
.fit-with-hats { grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; }
.fit-main .fit-list { margin: 22px 0 20px; }
.fit-hats .dg-morph { margin: 0; max-width: 440px; }
@media (max-width: 1000px) {
  .fit-with-hats { grid-template-columns: 1fr; gap: 32px; }
  .fit-hats .dg-morph { margin: 0 auto; }
  .fit-main { text-align: center; }
  .fit-main .fit-list { text-align: left; }
  .fit-main .fit-ctas { justify-content: center; }
}
@media (max-width: 760px) {
  .dg-morph figcaption { margin-top: 22px; }
}

/* ===== CROSS-LINK between the two pages ===== */
.crosslink { padding: 36px 0; background: #0a1a2e; border-top: 1px solid var(--line); }
.crosslink-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.crosslink p { color: var(--on-dark); font-size: 16px; max-width: 680px; }
.crosslink b { display: block; margin-bottom: 2px; color: #fff; }   /* question, then answer, as in the who-teaser */

/* ===== TI HERO: status board instead of the phone ===== */
.hero-ti { padding-bottom: 72px; }
.hero-ti h1 em { background: linear-gradient(90deg, #4FE3B8, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.statusboard { width: 340px; padding: 22px; border-radius: 20px; background: linear-gradient(170deg, #12345a, #0a1d35 70%); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.5); text-align: left; }
.sb-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.sb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,199,154,.2); }
.sb-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; margin-bottom: 7px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 13px; color: var(--on-dark); }
.sb-row b { color: #4FE3B8; font-weight: 700; text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .sb-row { animation: notif-in .5s cubic-bezier(.2,.8,.2,1) both; }
  .sb-row:nth-child(2) { animation-delay: .3s; } .sb-row:nth-child(3) { animation-delay: .5s; }
  .sb-row:nth-child(4) { animation-delay: .7s; } .sb-row:nth-child(5) { animation-delay: .9s; } .sb-row:nth-child(6) { animation-delay: 1.1s; }
}
.hero-ti + .loi25 { padding-top: 34px; }

/* ===== WHY MEDINIX: the spine ===== */
.why { padding: 96px 0; background: radial-gradient(800px 460px at 85% 30%, rgba(22,199,154,.10), transparent 60%), #071323; border-top: 1px solid var(--line); }
.why-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.why-copy p:not(.eyebrow) { font-size: 17px; color: var(--on-dark); margin-bottom: 14px; }
.why-copy .why-quiet { font-family: var(--font-display); font-size: 19px !important; color: #4FE3B8 !important; margin-top: 18px; }
.why-spine { position: relative; display: grid; gap: 14px; padding-left: 34px; }
.why-spine::before { content: ''; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: linear-gradient(#4FE3B8, var(--cyan)); box-shadow: 0 0 12px rgba(79,227,184,.6); }
.why-spine::after { content: ''; position: absolute; left: 8px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 4px #4FE3B8; opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .why-spine::after { animation: why-pulse 3.6s ease-in-out infinite; } }
@keyframes why-pulse { 0% { top: 8px; opacity: 0; } 10%, 90% { opacity: 1; } 100% { top: calc(100% - 20px); opacity: 0; } }
.vertebra { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(79,227,184,.25); }
.vertebra::before { content: ''; position: absolute; left: -28px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #071323; border: 3px solid #4FE3B8; box-shadow: 0 0 10px rgba(79,227,184,.7); }
.vertebra { transition: border-color .2s, transform .2s; }
.vertebra:hover { border-color: rgba(79,227,184,.6); transform: translateX(3px); }
.vertebra i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #4FE3B8; background: rgba(22,199,154,.12); }
.vertebra h3 { font-size: 16px; margin-bottom: 2px; }
.vertebra p { font-size: 14px; color: var(--on-dark-dim); line-height: 1.5; }
.proofs { margin-top: 48px; padding: 22px 26px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.proofs-title { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #4FE3B8; margin-bottom: 12px; }
.proofs ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proofs li { font-size: 14px; color: var(--on-dark); line-height: 1.5; }
.proofs li b { display: block; font-family: var(--font-display); font-size: 16px; color: #fff; }

/* ===== WHO ===== */
.who { padding: 96px 0; background: radial-gradient(700px 400px at 20% 50%, rgba(52,174,232,.12), transparent 60%), var(--navy); }
.who-inner { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.who-figure { margin: 0; text-align: center; }
.who-figure figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.who-figure figcaption b { font-family: var(--font-display); font-size: 17px; color: #fff; }
.who-figure figcaption span { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }
.who-photo { width: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(52,174,232,.25), transparent 70%); }
.who-copy p { color: var(--on-dark); font-size: 17px; margin-bottom: 14px; max-width: 560px; }
.who-mission { margin: 20px 0 16px; padding: 14px 18px; border-left: 3px solid var(--cyan); border-radius: 0 10px 10px 0; background: rgba(52,174,232,.07); font-size: 15px; line-height: 1.6; color: var(--on-dark); max-width: 560px; }
.who-values { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.who-values li { font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 20px; color: #fff; background: rgba(52,174,232,.14); border: 1px solid rgba(52,174,232,.35); }
.who-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.who-facts > span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.who-facts .ic { color: var(--cyan); }
.who-facts a { text-decoration: none; }

/* ===== LOCAL IT (approach promises + healthcare proof) ===== */
.localit { padding: 96px 0; background: radial-gradient(800px 420px at 80% 0%, rgba(22,199,154,.10), transparent 60%), #071323; border-top: 1px solid var(--line); }
.eyebrow-green { color: #4FE3B8; }
.localit h2 em { color: #4FE3B8; font-size: .62em; font-weight: 600; letter-spacing: 0; margin-top: 8px; }
.localit .lede { margin-bottom: 44px; }
.it-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.it-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 24px 22px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.it-icon { justify-self: start; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; color: #4FE3B8; background: rgba(22,199,154,.12); }
.it-icon .ic { width: 20px; height: 20px; }
.it-card h3 { font-size: 18px; margin-bottom: 8px; }
.it-card p { font-size: 14px; color: var(--on-dark); line-height: 1.6; }
.it-card .it-proof { padding-top: 16px; border-top: 1px dashed rgba(79,227,184,.3); font-size: 13px; color: var(--on-dark-dim); }
.it-card > p:first-of-type { margin-bottom: 16px; }
.it-proof-label { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #4FE3B8; margin-bottom: 4px; }
.it-envs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; }
.it-envs-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--on-dark-dim); margin-right: 6px; }
.it-env { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--on-dark); }
.it-env .ic { color: #4FE3B8; }
.it-note { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 28px; font-size: 14px; color: var(--on-dark-dim); text-align: center; }
.it-note .ic { color: #4FE3B8; }
.it-note a { color: #4FE3B8; font-weight: 700; }

/* ===== CONTACT (light) ===== */
.contact { --muted: #46576A; padding: 96px 24px; background: linear-gradient(#DCE3EC, var(--soft-bg)); color: var(--text); }
.contact-inner { max-width: 660px; margin: 0 auto; text-align: center; }
.contact .eyebrow { color: var(--primary); }
.contact h2 { color: var(--navy); }
.contact .lede { color: var(--muted); margin-bottom: 36px; }
.contact-form { text-align: left; background: var(--soft-card); border-radius: 18px; padding: 36px; border: 1px solid var(--soft-line); box-shadow: 0 10px 40px rgba(8,24,43,.08); }
/* the section around the form in Essentiel's steel blue, so the white form stands out (not on /commande) */
.contact:not(.order-page) { background: #3E5F82; }
.contact:not(.order-page) > .contact-inner > .eyebrow { color: #BFE3FF; }
.contact:not(.order-page) > .contact-inner > h2 { color: #fff; }
.contact:not(.order-page) > .contact-inner > .lede { color: rgba(255,255,255,.82); }
.contact:not(.order-page) .contact-form { border-color: transparent; box-shadow: 0 18px 48px rgba(8,24,43,.28); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1px solid var(--soft-line); border-radius: 8px; font: 15px var(--font-body); color: var(--text); background: #F8FAFC; transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(30,114,184,.25); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit { width: 100%; background: var(--navy); color: #fff; border: none; padding: 15px; border-radius: 10px; font: 700 15px var(--font-body); cursor: pointer; transition: background-color .2s; }
.btn-submit:hover { background: var(--primary); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; text-align: center; margin-top: 12px; min-height: 20px; }
.form-status.success { color: #00805E; }
.form-status.error { color: var(--red); }
#form-status.error { color: #991b1b; }
#form-status .support-new-request { display: block; width: auto; margin: 12px auto 0; padding: 12px 18px; background: var(--navy); color: #fff; }
#form-status .support-new-request:hover { background: var(--primary); }
#form-status .support-new-request:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.privacy-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.contact-phone { margin-top: 22px; color: var(--muted); }
.contact-phone a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* ===== FOOTER ===== */
footer { background: #05101E; color: rgba(255,255,255,.45); padding: 28px max(32px, calc((100% - 1240px) / 2)); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-logo img { height: 30px; width: auto; opacity: .8; }
footer a { color: rgba(255,255,255,.6); text-decoration: none; }
footer a:hover { color: rgba(255,255,255,.9); }

/* ===== SCROLL REVEAL (driven by main.js) ===== */
.reveal-init { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal-in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
/* header: drop the least essential items as the screen narrows */
@media (max-width: 1240px) {
  .nav-links > a:not(.nav-cta) { display: none; }
}
/* /ti has three section links: they need a wider screen before they fit */
@media (max-width: 1340px) {
  .nav-links-many > a:not(.nav-cta) { display: none; }
}
@media (max-width: 880px) {
  .nav { padding: 0 16px; gap: 10px; }
  .nav-tab { padding: 7px 10px; font-size: 13px; }
  .nav-menu summary { padding: 8px 6px 8px 8px; }
}
@media (max-width: 1000px) {
  .nav-logo .logo-full { display: none; }
  .nav-logo .logo-icon { display: block; height: 32px; }
  .nav-portal span { display: none; }
  .nav-portal { padding: 7px 9px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-motto { max-width: 520px; margin-left: auto; margin-right: auto; padding: 14px 0 0; }
  .hero-motto::before { left: 50%; top: 0; bottom: auto; width: 36px; height: 3px; margin-left: -18px; background: linear-gradient(90deg, var(--cyan), #4FE3B8); }
  .hero-ctas { justify-content: center; }
  .ask-meggy { justify-content: center; }
  .ask-meggy .ask-label { justify-content: center; }
  .dock-wrap { justify-content: center; }
  .panel { grid-template-columns: 1fr; padding: 28px; }
  .who-inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .fct-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .proofs ul { grid-template-columns: 1fr 1fr; }
  .who-values { justify-content: center; }
  .who-mission { text-align: left; }
  .fct-kit { grid-template-columns: 1fr; gap: 24px; }
  .doni-inner, .sov-inner { grid-template-columns: 1fr; gap: 40px; }
  .sov-penguin { max-width: 200px; order: -1; }
  .it-grid { grid-template-columns: 1fr 1fr; }
  .loi25-inner { grid-template-columns: auto 1fr; }
  .loi25-btn { grid-column: 2; justify-self: start; }
  .who-photo { width: 200px; margin: 0 auto; }
  .who-copy p { margin-left: auto; margin-right: auto; }
  .who-facts { justify-content: center; }
}
@media (max-width: 760px) {
  .nav { padding: 0 16px; gap: 10px; }
  .nav-logo img { height: 28px; }
  .nav-links a.nav-cta { padding: 7px 11px; font-size: 13px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { display: none; }
  .nav-portal { display: none; }   /* no room on phones: the footer links to the client area */
  .nav-tab { font-size: 12.5px; padding: 6px 9px; }
  .tab-long { display: none; }
  .tab-short { display: inline; }
  .doni { padding: 64px 0; }
  .board { grid-template-columns: 1fr 1fr; }
  .board-col:nth-child(n+3) { display: none; }
  .crosslink-inner { flex-direction: column; text-align: center; }
  .statusboard { width: 100%; max-width: 330px; }
  .hero { padding: 48px 0 56px; }
  .device { width: 270px; }
  .dock-wrap { margin-top: 26px; }
  /* two rows of three, so the full tool names fit under the icons */
  .dock { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 400px; gap: 14px 4px; padding: 14px 8px; border-radius: 22px; }
  .dock-app { width: auto; min-width: 0; }
  .dock-label-2 { max-width: none; }
  .dock-app .app-icon { width: 42px; height: 42px; border-radius: 11px; }
  .dock-app .app-icon .ic { width: 22px; height: 22px; }
  .dock-label { font-size: 10px; }
  .problem { padding: 100px 0 64px; }
  .problem-split, .plans, .form-row, .it-grid, .fct-cards { grid-template-columns: 1fr; }
  .sec-cards { grid-template-columns: 1fr; }
  .secaudit { padding: 64px 0; background: linear-gradient(rgba(60,6,10,.93), rgba(60,6,10,.93)), url('../img/white1_wide.webp') center / cover no-repeat, #2a0508; }
  .dg-pair { grid-template-columns: 1fr; }
  .dg-stage { max-width: 340px; margin: 0 auto; }
  .hat b { display: none; }            /* ten labels don't fit: the legend below lists them */
  .hat { width: auto; }
  .dg-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; list-style: none; max-width: 340px; margin: 0 auto 26px; text-align: left; font-size: 13px; color: var(--on-dark); }
  .dg-legend li { display: flex; gap: 8px; align-items: center; }
  .dg-legend .ic { color: var(--cyan); }
  .tnode b { font-size: 10px; }
  .relier, .why { padding-top: 64px; padding-bottom: 64px; }
  .proofs ul { grid-template-columns: 1fr; }
  .fct-kit { padding: 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .lb-img { max-height: 70vh; }
  .kit-gallery { grid-template-columns: 1fr 1fr; }
  .fct { padding: 64px 0; }
  .fct-logo img { min-width: 0; width: 320px; }
  .it-card { display: flex; flex-direction: column; grid-row: auto; }
  .loi25-inner { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .loi25-seal { width: 72px; height: 72px; margin: 0 auto; }
  .loi25-seal .ic { width: 22px; height: 22px; }
  .loi25-duties { justify-content: center; }
  .loi25-btn { grid-column: auto; justify-self: center; }
  .suite, .pricing, .who, .localit, .contact { padding-top: 64px; padding-bottom: 64px; }
  /* phones: all six tools visible at once, two per row */
  .panel { padding: 22px; gap: 26px; }
  .contact-form { padding: 22px; }
  footer { flex-direction: column; text-align: center; }
}
@media (max-width: 440px) {
  .nav-logo .logo-full { display: none; }
  .nav-logo .logo-icon { display: block; height: 30px; }
  .nav { gap: 8px; padding: 0 12px; }
  .nav-tab { font-size: 11.5px; padding: 6px 6px; }
  .nav-tab { min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-tabs { min-width: 0; }
  .lang-toggle button { padding: 6px 8px; }
}
@media (max-width: 380px) {
  .nav-logo img { height: 28px; }
  .dock-app .app-icon { width: 38px; height: 38px; }
}

/* ===== MARQUIS (2026-10-17, coming soon): the brand studio sold with the kit =====
   Playfair Display (SIL OFL, fonts/OFL-PlayfairDisplay.txt) is the wordmark's
   face and one of the sample brands'; nothing else on the site uses it. */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/PlayfairDisplay-var-latin.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 800; font-display: swap; src: url('../fonts/PlayfairDisplay-Italic-var-latin.woff2') format('woff2'); }
:root { --app-marquis: linear-gradient(140deg, #D9467A, #6B0F2E); --mq-gold: #F5C451; --mq-wine: #BE185D; }
.app-marquis, .tm-marquis { background: var(--app-marquis); }
.tm-soon, .tab-soon { margin-left: 6px; padding: 1px 6px; border-radius: 5px; font: 800 9.5px var(--font-body); letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; font-style: normal; color: var(--mq-gold); background: rgba(245,196,81,.14); }
@media (prefers-reduced-motion: no-preference) { .verts li:nth-child(7) .vert-body { animation-delay: 3.3s; } }
@media (max-width: 1000px) { .tabs .tab:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .tabs .tab:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* page hero */
.mq { background: radial-gradient(720px 440px at 88% 26%, rgba(217,70,122,.16), transparent 62%), radial-gradient(520px 340px at 70% 90%, rgba(245,196,81,.08), transparent 60%), var(--navy-2); }
.mq .doni-inner { grid-template-columns: .85fr 1.15fr; }
.mq-label { color: #F9A8C8; }
.mq-lockup { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.mq-lockup .app-icon { width: 56px; height: 56px; border-radius: 16px; }
.mq-word { font: italic 700 44px/1 'Playfair Display', Georgia, serif; letter-spacing: -.5px; background: linear-gradient(180deg, #FFE7A3, var(--mq-gold) 60%, #D99A2B); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 4px; }
.mq-soon { align-self: flex-start; margin-top: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mq-gold); border: 1px solid rgba(245,196,81,.45); }
.mq-tile { border-left-color: var(--mq-wine); }
.mq-btn { background: var(--mq-wine); color: #fff; }
.mq-btn:hover { background: #9D174D; }

/* the studio window */
.mq-studio { --bk1: #3B2416; --bk2: #D97706; --bk3: #FBF3E4; --bk4: #7C9A6D; width: 100%; border-radius: 18px; background: #0a1a2e; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.5); overflow: hidden; }
.mqs-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); font-size: 12px; }
.mqs-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #F87171; }
.mqs-bar > i:nth-child(2) { background: #FBBF24; }
.mqs-bar > i:nth-child(3) { background: #34D399; }
.mqs-app { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font: italic 700 14px 'Playfair Display', Georgia, serif; color: var(--mq-gold); }
.mqs-app .art { width: 20px; height: 20px; padding: 2px; border-radius: 6px; background: var(--app-marquis); }
.mqs-bar em { margin-left: auto; font-style: normal; color: var(--on-dark-dim); }
.mqs-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.mqs-kit { padding: 14px 12px; border-right: 1px solid var(--line); background: rgba(0,0,0,.18); }
.mqs-h { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 9px; }
.mqs-h2 { margin-top: 16px; }
.mqs-logo { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: var(--bk3); color: var(--bk1); }
.mqs-logo b { font: 700 12.5px 'Playfair Display', Georgia, serif; }
.mqs-sw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.mqs-sw i { aspect-ratio: 1; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.mqs-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 8px; }
.mqs-fonts span { display: flex; flex-direction: column; align-items: center; padding: 5px 0; border-radius: 8px; background: rgba(255,255,255,.06); color: #fff; font-size: 17px; line-height: 1.1; }
.mqs-fonts .f1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
.mqs-fonts small { font: 500 8.5px var(--font-body); color: var(--on-dark-dim); }
.mqs-tpl { list-style: none; display: grid; gap: 3px; }
.mqs-tpl li { padding: 5px 8px; border-radius: 7px; font-size: 11.5px; color: var(--on-dark-dim); transition: background-color .3s, color .3s; }
.mq-studio[data-fmt="post"] .mqs-tpl [data-f="post"], .mq-studio[data-fmt="story"] .mqs-tpl [data-f="story"], .mq-studio[data-fmt="card"] .mqs-tpl [data-f="card"],
.mq-studio[data-fmt="letter"] .mqs-tpl [data-f="letter"], .mq-studio[data-fmt="contract"] .mqs-tpl [data-f="contract"] { background: rgba(217,70,122,.2); color: #fff; box-shadow: inset 2px 0 0 #F472B6; }
/* the kit "pours" into each new creation */
.mq-studio.mqs-pour .mqs-logo, .mq-studio.mqs-pour .mqs-sw i, .mq-studio.mqs-pour .mqs-fonts span { animation: mqs-pour .9s ease-out; }
.mq-studio.mqs-pour .mqs-sw i:nth-child(2) { animation-delay: .06s; } .mq-studio.mqs-pour .mqs-sw i:nth-child(3) { animation-delay: .12s; } .mq-studio.mqs-pour .mqs-sw i:nth-child(4) { animation-delay: .18s; }
@keyframes mqs-pour { 0% { transform: none; box-shadow: 0 0 0 0 rgba(245,196,81,0); } 35% { transform: scale(1.08); box-shadow: 0 0 0 3px rgba(245,196,81,.55); } 100% { transform: none; box-shadow: 0 0 0 0 rgba(245,196,81,0); } }

.mqs-stage { position: relative; display: grid; place-items: center; padding: 18px 14px 54px; font-size: 11px; background: radial-gradient(closest-side, rgba(217,119,6,.14), transparent), repeating-conic-gradient(rgba(255,255,255,.025) 0 25%, transparent 0 50%) 0 0 / 18px 18px; }
.mqf { grid-area: 1 / 1; position: relative; overflow: hidden; border-radius: .6em; background: var(--bk3); color: var(--bk1); box-shadow: 0 1.6em 3em rgba(0,0,0,.5); opacity: 0; transform: scale(.9) rotate(-2deg); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
.mq-studio[data-fmt="post"] .mqf-post, .mq-studio[data-fmt="story"] .mqf-story, .mq-studio[data-fmt="card"] .mqf-card,
.mq-studio[data-fmt="letter"] .mqf-letter, .mq-studio[data-fmt="contract"] .mqf-contract { opacity: 1; transform: none; }
/* a sheen sweeps the fresh creation */
.mqf::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); }
.mq-studio[data-fmt="post"] .mqf-post::after, .mq-studio[data-fmt="story"] .mqf-story::after, .mq-studio[data-fmt="card"] .mqf-card::after,
.mq-studio[data-fmt="letter"] .mqf-letter::after, .mq-studio[data-fmt="contract"] .mqf-contract::after { animation: mqf-sheen 1.1s .35s ease-out both; }
@keyframes mqf-sheen { to { transform: translateX(120%); } }
.mq-mark { display: inline-grid; place-items: center; flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--bk1); color: var(--bk2); }
.mq-mark-svg { width: 58%; height: 58%; }
.mqf-h { font: 700 2.1em/1.1 'Playfair Display', Georgia, serif; letter-spacing: -.01em; }
.mqf-post { width: 21em; height: 21em; padding: 1.6em; }
.mqf-post .mqf-h { margin-top: 1.1em; max-width: 7.5em; }
.mqf-cup { position: absolute; right: -1.6em; bottom: -1.6em; width: 10em; height: 10em; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #FBF3E4 0 26%, #C2410C 27% 33%, var(--bk2) 34% 62%, var(--bk1) 63%); }
.mqf-post small { position: absolute; left: 1.6em; bottom: 1.4em; font-size: 1.05em; font-weight: 600; color: var(--bk1); opacity: .7; }
.mqf-story { width: 14em; height: 25em; padding: 1.8em 1.4em; background: var(--bk1); color: var(--bk3); display: flex; flex-direction: column; }
.mqf-story em { align-self: flex-start; font-style: normal; font-size: 1em; font-weight: 700; padding: .3em .8em; border-radius: 1em; background: var(--bk2); color: #fff; }
.mqf-story .mqf-h { margin-top: .6em; font-size: 2.5em; }
.mqf-story small { position: relative; z-index: 1; margin-top: .4em; font-size: 1.05em; opacity: .75; }
.mqf-moon { position: absolute; right: -2.6em; top: 13em; width: 10em; height: 10em; color: var(--bk2); opacity: .9; }
.mqf-moon svg { width: 100%; height: 100%; }
.mqf-cta { margin-top: auto; align-self: stretch; text-align: center; padding: .7em; border-radius: 2em; background: var(--bk3); color: var(--bk1); font-size: 1.15em; }
.mqf-card { width: 25em; height: 14.3em; display: grid; grid-template-columns: 9.5em 1fr; }
.mqf-card-l { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7em; background: var(--bk1); color: var(--bk3); }
.mqf-card-l .mq-mark { width: 3.6em; height: 3.6em; background: var(--bk2); color: var(--bk1); }
.mqf-card-l b { font: 700 1.2em 'Playfair Display', Georgia, serif; }
.mqf-card-r { display: flex; flex-direction: column; justify-content: center; padding: 0 1.4em; gap: .15em; }
.mqf-card-r b { font: 700 1.5em 'Playfair Display', Georgia, serif; }
.mqf-card-r small { font-size: 1.05em; font-weight: 700; color: var(--bk2); margin-bottom: .8em; }
.mqf-card-r span { font-size: .95em; opacity: .75; }
.mqf-letter, .mqf-contract { width: 18.5em; height: 25em; padding: 1.6em 1.6em 1.3em; background: #fff; display: flex; flex-direction: column; }
.mqf-lh { display: flex; align-items: center; gap: .7em; }
.mqf-lh .mq-mark { width: 2.2em; height: 2.2em; }
.mqf-lh b { font: 700 1.35em 'Playfair Display', Georgia, serif; }
.mqf-rule { height: .25em; margin: 1em 0 1.3em; border-radius: 1em; background: linear-gradient(90deg, var(--bk2), var(--bk4)); }
.mq-lines { display: grid; gap: .55em; }
.mq-lines i { height: .45em; border-radius: 1em; background: #E3DDD3; }
.mq-lines i.s { width: 62%; }
.mq-sign { width: 7em; height: 2em; margin-top: 1em; fill: none; stroke: var(--bk1); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 240; stroke-dashoffset: 240; }
.mq-studio[data-fmt="letter"] .mqf-letter .mq-sign, .mq-studio[data-fmt="contract"] .mqf-contract .mq-sign { animation: mq-sign 1.3s .7s ease-in-out forwards; }
@keyframes mq-sign { to { stroke-dashoffset: 0; } }
.mqf-foot { margin-top: auto; padding-top: .7em; border-top: 1px solid #EEE7DB; font-size: .9em; color: var(--bk4); font-weight: 600; }
.mqf-contract .mqf-h { font-size: 1.5em; }
.mqf-contract > small { margin: .3em 0 1.2em; font-size: .95em; color: var(--bk2); font-weight: 700; }
.mqf-sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; margin-top: auto; }
.mqf-sigs > span { display: flex; flex-direction: column; justify-content: flex-end; min-height: 2.6em; }
.mqf-sigs .mq-sign { width: 100%; margin: 0; }
.mqf-sigs i { height: 1px; background: var(--bk1); opacity: .5; }
.mqf-seal { position: absolute; right: 1.3em; bottom: 4.6em; display: grid; place-items: center; width: 3.4em; height: 3.4em; border-radius: 50%; background: var(--bk2); color: #fff; box-shadow: 0 0 0 .25em rgba(217,119,6,.25); transform: rotate(-12deg); }
.mqf-seal svg { width: 55%; height: 55%; }
.mqs-cap { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--on-dark); }
.mqs-cap > span { display: none; }
.mq-studio[data-fmt="post"] .mqs-cap [data-f="post"], .mq-studio[data-fmt="story"] .mqs-cap [data-f="story"], .mq-studio[data-fmt="card"] .mqs-cap [data-f="card"],
.mq-studio[data-fmt="letter"] .mqs-cap [data-f="letter"], .mq-studio[data-fmt="contract"] .mqs-cap [data-f="contract"] { display: inline; }
.mqs-toast { position: absolute; left: 50%; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; white-space: nowrap; font-size: 11px; font-weight: 700; color: #052e22; background: #4FE3B8; opacity: 0; transform: translate(-50%, 6px); }
.mqs-toast .ic { stroke-width: 3; }
.mq-studio.mqs-pour .mqs-toast { animation: mqs-toast 2.6s 1.2s ease-out both; }
@keyframes mqs-toast { 0% { opacity: 0; transform: translate(-50%, 6px); } 15%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }

/* the brand set: one kit, three businesses */
.mq-set { --b1: #3B2416; --b2: #D97706; --b3: #FBF3E4; --bf: 'Playfair Display', Georgia, serif; --bw: 700; --bt: none; --bs: -.01em; width: 100%; max-width: 480px; }
.mq-set[data-brand="immo"] { --b1: #1F2937; --b2: #C9A227; --b3: #F7F4EC; --bf: 'Inter', system-ui, sans-serif; --bw: 300; --bt: uppercase; --bs: .12em; }
.mq-set[data-brand="plomb"] { --b1: #0C4A6E; --b2: #38BDF8; --b3: #EAF6FD; --bf: 'Space Grotesk', system-ui, sans-serif; --bw: 700; --bt: none; --bs: -.02em; }
.mq-set [data-b] { display: none; }
.mq-set[data-brand="cafe"] [data-b="cafe"], .mq-set[data-brand="immo"] [data-b="immo"], .mq-set[data-brand="plomb"] [data-b="plomb"] { display: inline; animation: mq-in .55s ease-out; }
.mq-set .mq-mark > [data-b] { display: none; }
.mq-set[data-brand="cafe"] .mq-mark > [data-b="cafe"], .mq-set[data-brand="immo"] .mq-mark > [data-b="immo"], .mq-set[data-brand="plomb"] .mq-mark > [data-b="plomb"] { display: grid; place-items: center; width: 100%; height: 100%; }
.mq-set .mq-mark-svg { width: 58%; height: 58%; }
@keyframes mq-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mq-set .mq-mark, .mq-set .mq-item, .mq-set .mq-card-l, .mq-set .mq-blob, .mq-set .mq-rule, .mq-set .mq-dot { transition: background-color .6s, color .6s; }
.mq-set .mq-mark { background: var(--b1); color: var(--b2); }
.mq-mono { font: 700 .95em var(--font-display); letter-spacing: .02em; }
.mq-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 14px; }
.mq-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; white-space: nowrap; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--on-dark); font: 600 12.5px var(--font-body); cursor: default; transition: background-color .3s, border-color .3s, color .3s; }
button.mq-chip { cursor: pointer; }
button.mq-chip:hover { border-color: rgba(255,255,255,.3); }
.mq-chip.on, .mq-chip[aria-pressed="true"] { color: #fff; border-color: rgba(245,196,81,.6); background: rgba(245,196,81,.12); }
.mq-dot { width: 10px; height: 10px; border-radius: 50%; }
.mq-dot-cafe { background: linear-gradient(135deg, #D97706 50%, #3B2416 50%); }
.mq-dot-immo { background: linear-gradient(135deg, #C9A227 50%, #1F2937 50%); }
.mq-dot-plomb { background: linear-gradient(135deg, #38BDF8 50%, #0C4A6E 50%); }
.mq-items { display: grid; grid-template-columns: 1.08fr .92fr; gap: 12px; font-size: 10px; }
.mq-item { position: relative; overflow: hidden; border-radius: .8em; background: var(--b3); color: var(--b1); box-shadow: 0 1.4em 3em rgba(0,0,0,.42); }
.mq-bf { font-family: var(--bf); font-weight: var(--bw); text-transform: var(--bt); letter-spacing: var(--bs); }
.mq-post { aspect-ratio: 1; padding: 1.5em; transform: rotate(-1.5deg); }
.mq-post .mq-mark { width: 2.6em; height: 2.6em; }
.mq-post-h { margin-top: .9em; font-size: 1.85em; line-height: 1.12; max-width: 7.5em; }
.mq-blob { position: absolute; right: -2.4em; bottom: -2.4em; width: 9em; height: 9em; border-radius: 50%; background: var(--b2); box-shadow: 0 0 0 1.4em color-mix(in srgb, var(--b2) 30%, transparent); }
.mq-url { position: absolute; left: 1.5em; bottom: 1.2em; font-size: 1em; font-weight: 600; opacity: .7; }
.mq-card { grid-column: 1; aspect-ratio: 1.75; display: grid; grid-template-columns: 34% 1fr; transform: rotate(1deg); }
.mq-card-l { display: grid; place-items: center; background: var(--b1); }
.mq-card-l .mq-mark { width: 3.2em; height: 3.2em; background: var(--b2); color: var(--b1); }
.mq-card-r { display: flex; flex-direction: column; justify-content: center; gap: .2em; padding: 0 1.1em; min-width: 0; }
.mq-card-r b { font-size: 1.3em; line-height: 1.15; }
.mq-card-r small { font-size: .95em; font-weight: 700; color: var(--b2); filter: brightness(.85); margin-bottom: .5em; }
.mq-card-r .mq-lines i { background: color-mix(in srgb, var(--b1) 16%, transparent); }
.mq-letter { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; padding: 1.5em 1.4em 1.2em; background: #fff; transform: rotate(1.8deg); }
.mq-lh { display: flex; align-items: center; gap: .6em; min-width: 0; }
.mq-lh .mq-mark { width: 2.3em; height: 2.3em; }
.mq-lh b { font-size: 1.15em; line-height: 1.15; }
.mq-rule { height: .3em; margin: 1em 0 1.3em; border-radius: 1em; background: var(--b2); }
.mq-letter .mq-lines { gap: .6em; }
.mq-letter .mq-lines i:nth-child(6) { margin-bottom: .9em; }
.mq-letter .mq-lines i { background: color-mix(in srgb, var(--b1) 13%, transparent); }
.mq-foot { margin-top: auto; padding-top: .7em; border-top: 1px solid color-mix(in srgb, var(--b1) 12%, transparent); font-size: .85em; font-weight: 600; color: var(--b1); opacity: .7; }
.panel-visual .mq-set { max-width: 400px; }

/* section 2 and 3 */
.mq-follow { padding: 88px 0; background: var(--navy); border-top: 1px solid var(--line); }
.mq-follow-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.mq-follow h2 em { color: var(--mq-gold); }
.mq-follow-copy > p { font-size: 16.5px; color: var(--on-dark); max-width: 480px; }
.mq-follow-try { margin-top: 18px; font-size: 14px !important; color: var(--on-dark-dim) !important; }
.mq-follow .mq-set { justify-self: center; }
.mq-makes { padding: 80px 0 88px; background: var(--navy-2); border-top: 1px solid var(--line); }
.mq-makes h2 { text-align: center; margin-bottom: 36px; }
.mq-make-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mq-make { padding: 22px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.mq-make-ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; color: var(--mq-gold); background: rgba(217,70,122,.16); }
.mq-make h3 { font-size: 17px; margin-bottom: 6px; }
.mq-make p { font-size: 14px; line-height: 1.55; color: var(--on-dark-dim); }
@media (max-width: 1000px) {
  .mq .doni-inner, .mq-follow-inner { grid-template-columns: 1fr; gap: 40px; }
  .mq-make-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mqs-body { grid-template-columns: 1fr; min-height: 0; }
  .mqs-kit { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .mqs-kit .mqs-h, .mqs-tpl { display: none; }
  .mqs-logo b { display: none; }
  .mqs-logo { padding: 5px; }
  .mqs-sw, .mqs-fonts { margin-top: 0; }
  .mqs-fonts span { padding: 3px 8px; font-size: 14px; }
  .mqs-stage { font-size: 8.4px; min-height: 290px; }
  .mq-word { font-size: 38px; }
  .mq-make-grid { grid-template-columns: 1fr; }
  .mq-items { font-size: 8.4px; gap: 10px; }
  .mq-follow { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mqf, .mqf::after, .mq-sign, .mqs-toast, .mq-set [data-b] { animation: none !important; transition: none !important; }
  .mq-sign { stroke-dashoffset: 0; }
}
.mq-set .mq-post-h { color: var(--b1) !important; margin-bottom: 0; }
/* "Bientôt" ribbon floating on the lower part of a coming-soon tool's icon */
.app-icon.has-soon { position: relative; overflow: visible; }
.soon-flag { position: absolute; left: 50%; bottom: -7px; z-index: 2; transform: translateX(-50%) rotate(-4deg); padding: 2px 6px; border-radius: 5px; white-space: nowrap; font: 800 8.5px/1.2 var(--font-body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #3A1A00; background: linear-gradient(180deg, #FFE08A, var(--mq-gold)); box-shadow: 0 3px 8px rgba(0,0,0,.4), 0 0 0 1.5px rgba(8,24,43,.85); pointer-events: none; }
.vert-body .soon-flag { bottom: -9px; font-size: 9.5px; padding: 2px 7px; }
@media (prefers-reduced-motion: no-preference) {
  .soon-flag { animation: soon-hover 2.8s ease-in-out infinite; }
}
@keyframes soon-hover { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-4deg); } 50% { transform: translateX(-50%) translateY(-3px) rotate(-4deg); } }
@media (max-width: 640px) {
  /* 4 then 3, the second row centred */
  .dock { display: flex; flex-wrap: wrap; justify-content: center; }
  .dock-app { width: calc(25% - 4px); }
  .soon-flag { font-size: 7.5px; padding: 1px 4px; bottom: -6px; }
}
/* home: the "why" copy alone (its four requirements moved to /securite) */
.why-solo { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
/* website panel: what the plan's site covers, and where a quote takes over */
.site-scope { margin-top: 18px; font-size: 14px !important; line-height: 1.55; padding: 12px 14px; border-left: 3px solid var(--cyan); background: rgba(52,174,232,.08); border-radius: 0 8px 8px 0; }
.site-scope b { color: #fff; }
.site-scope a { color: #6AC6EF; font-weight: 600; }

/* ===== CONTACT: "Nouveau projet" or "Déjà client(e)" (2026-10-17) ===== */
.form-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.form-kind-legend { grid-column: 1 / -1; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #5B6F80; }
.form-kind label { position: relative; display: block; cursor: pointer; }
.form-kind input { position: absolute; opacity: 0; pointer-events: none; }
.form-kind label > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px 12px 40px; border-radius: 12px; border: 1.5px solid #D5DCE3; background: #fff; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.form-kind label > span::before { content: ''; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #A9B6C2; background: #fff; transition: border-color .15s, box-shadow .15s; }
.form-kind b { font-size: 15px; color: #14202B; }
.form-kind small { font-size: 13px; color: #5B6F80; }
.form-kind input:checked + span { border-color: var(--blue); background: #EEF6FD; box-shadow: 0 0 0 3px rgba(30,114,184,.12); }
.form-kind input:checked + span::before { border-color: var(--blue); box-shadow: inset 0 0 0 3px #fff; background: var(--blue); }
.form-kind input[value="support"]:checked + span { border-color: #D97706; background: #FFF7EB; box-shadow: 0 0 0 3px rgba(217,119,6,.14); }
.form-kind input[value="support"]:checked + span::before { border-color: #D97706; background: #D97706; }
.form-kind input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form-kind-note { margin: -4px 0 18px; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; color: #7A4A06; background: #FFF4E0; }
#contact-form:not([data-kind="support"]) .only-support, #contact-form[data-kind="support"] .only-project { display: none; }
@media (max-width: 520px) { .form-kind { grid-template-columns: 1fr; } }
#contact-form[data-kind="support"] .form-row:has(> .only-project) { grid-template-columns: 1fr; }
.portal-help { margin-bottom: -18px; }
.ticks li.tick-no .ic { color: #F87171; }
/* first month free + à la carte items under the plans */
.free-month { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #04664B; background: rgba(22,199,154,.16); vertical-align: 1px; }
.carte { max-width: 1080px; margin: 0 auto 26px; padding: 18px 20px 20px; border-radius: 18px; background: var(--soft-card); border: 1px dashed var(--soft-line); text-align: left; }
.carte-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; font-size: 13.5px; color: var(--muted); }
.carte-h b { font-family: var(--font-display); font-size: 18px; color: var(--navy); }
.carte-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.carte-item { position: relative; display: grid; grid-template-columns: 40px 1fr auto 26px; align-items: center; gap: 2px 11px; padding: 12px 14px; border-radius: 14px; cursor: pointer; color: inherit; background: #fff; border: 1.5px solid var(--soft-line); transition: border-color .15s, box-shadow .15s, transform .15s; }
.carte-item:hover { border-color: var(--blue); transform: translateY(-2px); }
.carte-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.carte-item:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.carte-item:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,92,155,.14); }
.carte-item .app-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; box-shadow: none; grid-row: 1 / span 2; align-self: center; }
.carte-item .app-doni { border: 1px solid var(--soft-line); }
.carte-item > span:not(.app-icon):not(.carte-box) { display: contents; }
.carte-item small { grid-column: 2 / 4; font-size: 12px; color: var(--muted); line-height: 1.35; }
.carte-item b { color: var(--navy); font-size: 15px; }
.carte-more { color: var(--blue); font-weight: 600; white-space: nowrap; }
.carte-price { grid-column: 3; grid-row: 1; font-style: normal; white-space: nowrap; font-size: 12px; color: var(--muted); }
.carte-price strong { font-family: var(--font-display); font-size: 19px; color: var(--navy); }
.carte-box { grid-column: 4; grid-row: 1 / span 2; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--soft-line); display: grid; place-items: center; background: #fff; transition: background .15s, border-color .15s; }
.carte-box .ic { width: 15px; height: 15px; color: #fff; opacity: 0; transition: opacity .15s; }
.carte-item:has(input:checked) .carte-box { background: var(--blue); border-color: var(--blue); }
.carte-item:has(input:checked) .carte-box .ic { opacity: 1; }
.carte-sum { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.carte-total { margin: 0; font-size: 13.5px; color: var(--muted); }
.carte-total strong { font-family: var(--font-display); font-size: 22px; color: var(--navy); }
.carte-go[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.mail-note { max-width: 1080px; margin: -10px auto 18px; font-size: 13.5px; color: var(--muted); text-align: left; padding-left: 4px; }
.mail-note strong { color: var(--navy); }
.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; }
@media (max-width: 640px) { .carte-items { grid-template-columns: 1fr; } .carte-sum { justify-content: space-between; } }
.price-warn { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 760px; margin: 0 auto 14px; font-size: 14px; font-weight: 600; color: #92400E; } .price-warn .ic { color: #D97706; }
/* à la carte price on the Facturama and Doni pages */
.tool-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 4px 0 18px; font-size: 15px; color: var(--on-dark-dim); }
.tool-price strong { font-family: var(--font-display); font-size: 30px; color: #fff; margin-right: 3px; }
.tool-price-alt { flex-basis: 100%; font-size: 14px; color: var(--on-dark-dim); }   /* "ou inclus dans…" on its own line under the price */
.tool-price-alt a { color: var(--tp, var(--cyan)); font-weight: 600; }
.setup .free-month { display: table; margin: 12px auto 0; }

/* checkout: the Stripe line under the plans, buttons while Stripe loads */
.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 8px; font-size: 13.5px; color: var(--muted); }
.pay-note .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.is-busy { opacity: .6; pointer-events: none; cursor: progress; }
.carte-err { flex-basis: 100%; margin: 0; text-align: right; font-size: 13px; color: #B91C1C; }

/* /commande: the order form before Stripe (js/commande.js) */
.order-page [hidden] { display: none !important; }
.order-page .contact-inner { max-width: 700px; }
.order-sum { text-align: left; margin: 0 0 22px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1.5px solid var(--blue); box-shadow: 0 0 0 3px rgba(30,114,184,.10); color: var(--muted); font-size: 14px; line-height: 1.55; }
.order-sum p { margin: 0; }
.order-sum-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 6px !important; color: var(--muted); }
.order-sum-h b { font-family: var(--font-display); font-size: 19px; color: var(--navy); margin-right: auto; }
.order-sum-h strong { font-family: var(--font-display); font-size: 22px; color: var(--navy); }
.order-sum b { color: var(--navy); }
.order-none { color: var(--muted); }
.order-none a { color: var(--primary); font-weight: 700; }
.order-sec { min-width: 0; margin: 0 0 8px; padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--soft-line); }
.order-sec:last-of-type { border-bottom: 0; }
.order-sec legend { padding: 0; margin-bottom: 12px; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); }
.order-sec + .order-sec legend { padding-top: 14px; }
.order-choice { margin-bottom: 14px; }
.order-hint { margin: -6px 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.order-hint b { color: var(--navy); }
.order-sec .order-hint:first-of-type[data-mail-note] { margin-top: 0; }
.mailbox-row { display: flex; align-items: stretch; }
.mailbox-row input { flex: 1 1 100px; width: auto !important; min-width: 0; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.mailbox-row em { display: flex; align-items: center; padding: 0 12px; font-style: normal; font-size: 14px; color: var(--muted); background: #EEF2F6; border: 1px solid var(--soft-line); border-left: 0; border-radius: 0 8px 8px 0; white-space: nowrap; flex: none; max-width: 70%; overflow: hidden; text-overflow: ellipsis; }
.order-check { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 14px; color: var(--navy); cursor: pointer; }
.order-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.order-site { margin-top: 4px; }
.order-page .privacy-note a { color: var(--primary); font-weight: 600; }
@media (max-width: 560px) { .order-page .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ===== PHONES, LIGHTER (2026-10-18): the same content in fewer screens =====
   On a phone the home page was 13.5 screens, with the seven tools shown three
   times in a row and the plans stacked over three screens. Desktop is untouched. */
.plans-hint { display: none; }
@media (max-width: 760px) {
  /* plans: one swipeable row in price order (as on desktop), the next card peeking in */
  .plans { display: flex; gap: 12px; margin: 0 -16px 8px; padding: 18px 16px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 82%; scroll-snap-align: start; padding: 24px 22px; }
  .plans-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 18px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  .plans-hint::before, .plans-hint::after { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; }
  .mail-note { margin-top: 0; }

  /* the spine: one row of seven small vertebrae on a horizontal cord */
  .spine-row { max-width: 420px; margin: 26px auto 24px; }
  .spine-cord { left: 6%; right: 6%; top: 21px; bottom: auto; width: auto; height: 4px; background: linear-gradient(90deg, var(--cyan), #4FE3B8 50%, var(--cyan)); }
  .spine-flow { left: -20%; right: auto; top: 0; bottom: 0; width: 18%; height: auto; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); }
  .verts { grid-template-columns: repeat(7, 1fr); gap: 2px; }
  .vert { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .vert-body { grid-row: auto; width: 44px; height: 44px; border-radius: 13px; border-width: 1.5px; box-shadow: 0 0 0 4px #071323, 0 0 14px rgba(79,227,184,.25); }
  .vert-body::before, .vert-body::after { display: none; }
  .vert-body .app-icon { width: 32px; height: 32px; border-radius: 9px; }
  .vert-body .app-icon .ic { width: 17px; height: 17px; }
  .vert-body .soon-flag { bottom: -8px; font-size: 7px; padding: 1px 4px; }
  .vert b { margin-top: 10px; max-width: 100%; font-family: var(--font-body); font-size: 8.8px; letter-spacing: -.1px; font-weight: 700; line-height: 1.2; align-self: auto; hyphens: auto; }
  .vert small { display: none; }
  .ossature { padding: 52px 0 48px; }

  /* Loi 25 band: the question and its button, the details live on /securite */
  .loi25 { padding: 22px 0; }
  .loi25-seal, .loi25-duties, .loi25-fine { display: none; }
  .loi25-inner { gap: 12px; }
  .loi25 h2 { margin-bottom: 0; font-size: 18px; }

  /* a little less air between sections (the 64px gaps were sized for desktop) */
  .suite, .pricing, .who, .localit, .contact, .why, .relier { padding-top: 52px; padding-bottom: 52px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .spine-flow { animation-name: spine-run; }
  .verts li .vert-body { animation-name: vert-glow-sm; }
}
@keyframes vert-glow-sm { 0%, 30%, 100% { box-shadow: 0 0 0 4px #071323, 0 0 14px rgba(79,227,184,.25); } 12% { box-shadow: 0 0 0 4px #071323, 0 0 24px rgba(79,227,184,.85); } }
@media (max-width: 640px) {
  /* the tool picker: one scrolling strip of icons above the panel */
  .tabs { display: flex; flex-direction: row; gap: 2px; margin: 0 -10px; padding: 0 8px 2px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 8px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  /* sized so five tools show without scrolling, Doni included */
  .tab { flex: 0 0 max(52px, calc((100% - 8px) / 5)); flex-direction: column; justify-content: flex-start; gap: 6px; padding: 8px 2px; text-align: center; scroll-snap-align: start; }
  .tabs .tab:last-child:nth-child(odd) { grid-column: auto; }
  .tab .app-icon { width: 36px; height: 36px; }
  .tab-txt { align-items: center; }
  .tab-txt b { font-size: 10.5px; line-height: 1.2; letter-spacing: -.1px; }
  .tab-soon { display: none; }
  .rail { padding: 8px 10px; min-width: 0; }
  .suite-js .suite-box { grid-template-columns: minmax(0, 1fr); }
  .panel-visual { zoom: .82; }
}

/* phones: the hero phone sits beside the hero text, smaller, instead of taking a
   full screen of its own below the dock (the copy's children join the hero grid) */
@media (max-width: 760px) {
  .hero-home .hero-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 0; align-items: center;
    grid-template-areas: "motto motto" "title title" "sub device" "ctas ctas" "price price"; }
  .hero-home .hero-copy { display: contents; }
  .hero-home .hero-motto { grid-area: motto; }
  .hero-home h1 { grid-area: title; margin-bottom: 18px; }
  .hero-home .hero-sub { grid-area: sub; margin: 0; text-align: left; font-size: 16px; }
  .hero-home .hero-device { grid-area: device; }
  .hero-home .hero-ctas { grid-area: ctas; margin-top: 24px; flex-wrap: nowrap; gap: 10px; }
  .hero-home .hero-ctas .btn { flex: 1 1 auto; padding: 13px 14px; font-size: 14.5px; text-align: center; white-space: nowrap; }
  .hero-home { padding-bottom: 30px; }
  .hero-home .hero-price { grid-area: price; }
  /* the spine just below lists the same seven tools: no dock on phones */
  .hero-home .dock-wrap { display: none; }
  .device { width: 250px; zoom: .62; padding: 26px 12px 18px; border-radius: 34px; }
  .device-time { font-size: 50px; }
  .device-date { margin-bottom: 14px; }
  .notif-list { height: 266px; }
}
@media (max-width: 640px) { .tab { min-width: 0; } }
@media (max-width: 380px) { .tab-txt b { font-size: 9.6px; letter-spacing: -.2px; } }

/* phones: "Pour vous ?" lighter (a compact checklist, the buttons side by side),
   and no empty band above the hero's first line */
@media (max-width: 760px) {
  .fit { padding: 44px 0 40px; }
  .fit-inner, .fit-with-hats { gap: 28px; }
  .fit-main .fit-list { margin: 18px 0 16px; gap: 2px; }
  .fit-list li { gap: 12px; padding: 9px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font-size: 15px; line-height: 1.4; }
  .fit-list li:last-child { border-bottom: 0; }
  .fit-box { flex-basis: 20px; height: 20px; border-radius: 6px; }
  .fit-box::after { left: 5px; top: 1px; width: 6px; height: 11px; border-width: 0 2.5px 2.5px 0; }
  .fit-main > p:not(.eyebrow) { font-size: 15px; margin-bottom: 14px; }
  .fit-ctas { flex-wrap: nowrap; gap: 10px; }
  .fit-ctas .btn { flex: 1 1 auto; padding: 13px 14px; font-size: 14.5px; text-align: center; white-space: nowrap; }
  /* the hats stage drawn at its usual 340px, shown at 60%: the switch and the caption stay readable */
  .fit-hats .dg-morph { max-width: 290px; margin: 0 auto; padding: 8px 8px 10px; }
  .fit-hats .dg-stage { width: 340px; max-width: none; margin: -6px auto -4px; zoom: .5; }
  .fit-hats .dm-cap b { display: none; }   /* the switch above already names the state */
  .fit-hats figcaption { font-size: 12.5px; }
  .fit h2 { font-size: 26px; }
  .fit-main .fit-list { margin: 14px 0 10px; }
  .fit-list li { padding: 6px 2px; font-size: 14px; line-height: 1.35; }
  /* the hats sit between the checklist and the buttons, so the section ends on its call to action */
  .fit-with-hats { row-gap: 0; }
  .fit-main { display: contents; }
  .fit-hats { order: 1; margin: 0 0 18px; }
  .fit-ctas { order: 2; }
  .hero-home { padding-top: 18px; }
}

/* phones: a lighter contact form, and the hero opens on its motto (no line above) */
@media (max-width: 760px) {
  .contact .lede { margin-bottom: 22px; }
  .contact-form { padding: 18px 16px; }
  .form-kind { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
  .form-kind label > span { padding: 10px 10px 10px 34px; border-radius: 10px; }
  .form-kind label > span::before { left: 11px; top: 13px; width: 14px; height: 14px; }
  .form-kind b { font-size: 14px; }
  .form-kind small { display: none; }
  .form-kind b { white-space: nowrap; }
  .form-row { gap: 0; }
  .form-group { margin-bottom: 12px; }
  .form-group label { font-size: 13px; margin-bottom: 4px; }
  .form-group input, .form-group select, .form-group textarea { padding: 10px 12px; font-size: 16px; }   /* 16px: iOS doesn't zoom in */
  .form-group textarea { min-height: 92px; }
  .form-kind-note { margin-bottom: 14px; font-size: 13px; }
  .hero-home .hero-motto { padding-top: 0; margin-bottom: 12px; }
  .hero-home h1 { margin-bottom: 14px; }
  .loi25 { padding: 16px 0; }
  .hero-home .hero-motto::before { display: none; }
}

/* phones: a lighter pricing section (tighter cards, a two-up à la carte picker,
   the small print smaller) */
@media (max-width: 760px) {
  .setup { font-size: 15px; margin-bottom: 4px; }
  .setup .free-month { margin-top: 10px; }
  .plan { padding: 20px 18px 18px; }
  .plan h3 { font-size: 19px; }
  .plan-price { margin: 2px 0 0; }
  .plan-price strong { font-size: 36px; }
  .plan-for { font-size: 14px; margin-bottom: 14px; }
  .plan .ticks { gap: 6px; margin-bottom: 18px; }
  .plan .ticks li { font-size: 14px; line-height: 1.4; }
  .plan .btn { padding: 12px 18px; font-size: 14.5px; }
  .plan-badge { left: 18px; }
  .plans-hint { margin-bottom: 12px; }
  .mail-note { margin-bottom: 14px; font-size: 12.5px; }
  .carte { padding: 14px 12px; margin-bottom: 18px; }
  .carte-h { margin-bottom: 10px; font-size: 12.5px; line-height: 1.45; }
  .carte-h b { font-size: 16px; }
  .carte-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .carte-item { min-width: 0; }
  .verts { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .vert { min-width: 0; }
  .vert b { overflow-wrap: anywhere; }
  .carte-item { grid-template-columns: 30px 1fr 22px; gap: 2px 8px; padding: 10px; }
  .carte-item .app-icon { width: 30px; height: 30px; border-radius: 8px; }
  .carte-item small { display: none; }
  .carte-item b { font-size: 14px; }
  .carte-price { grid-column: 2; grid-row: 2; }
  .carte-price strong { font-size: 16px; }
  .carte-box { grid-column: 3; width: 22px; height: 22px; }
  .carte-sum { margin-top: 10px; justify-content: space-between; }
  .carte-total strong { font-size: 19px; }
  .carte-go { padding: 11px 18px; font-size: 14.5px; }
  .pay-note { font-size: 12.5px; }
  .price-warn { font-size: 12.5px; margin-bottom: 8px; }
  .pricing .fine { font-size: 12px; }
}
@media (max-width: 380px) { .vert b { font-size: 8.1px; letter-spacing: -.2px; hyphens: manual; overflow-wrap: normal; } }

/* pricing notes: taxes on their own line under the warning (no icon); a line
   break that only exists on phones; words that must not split */
.price-warn { margin-bottom: 2px !important; }
.tax-note { margin: 0 auto 14px; text-align: center; font-size: 14px; color: var(--muted); }
.nowrap { white-space: nowrap; }
.br-phone { display: none; }
@media (max-width: 760px) {
  .br-phone { display: inline; }
  .tax-note { font-size: 12.5px; margin-bottom: 10px; }
}

/* hero phone: each notification opens its tool's panel (js/suite.js) */
.notif[data-tool] { cursor: pointer; transition: background-color .15s; }
.notif[data-tool]:hover { background: rgba(255,255,255,.17); }

/* ===== HERO: hand-drawn nudge toward the phone's notifications =====
   Caveat (SIL OFL, fonts/OFL-Caveat.txt) is used only here. */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/Caveat-var-latin.woff2') format('woff2'); }
/* centred on the phone's column, then moved left by half its own width plus half the phone's (300px) */
.notif-hint { position: relative; z-index: 2; grid-column: 2; grid-row: 1; justify-self: center; align-self: start; margin: 136px 0 0; translate: calc(-50% - 168px) 0;
  display: flex; flex-direction: column; align-items: flex-start; pointer-events: none;
  font-family: 'Caveat', cursive; font-size: 27px; font-weight: 600; line-height: 1; color: #4FE3B8; transform: rotate(-5deg); }
.nh-txt { max-width: 7.2em; text-align: center; text-shadow: 0 2px 10px rgba(8,24,43,.9); }
.nh-arrow { width: 96px; height: 56px; margin: 2px 0 0 64px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(8,24,43,.8)); }
.nh-tap { display: none; }
@media (hover: none) { .nh-click { display: none; } .nh-tap { display: inline; } }
@media (prefers-reduced-motion: no-preference) {
  .nh-shaft, .nh-head { stroke-dasharray: 140; stroke-dashoffset: 140; animation: nh-draw .9s ease-out 3.6s forwards; }
  .nh-head { animation-delay: 4.3s; animation-duration: .35s; }
  .nh-txt { opacity: 0; animation: nh-in .5s ease-out 3.3s forwards; }
  .notif-hint { animation: nh-bob 3.2s ease-in-out 5s infinite; }
}
@media (prefers-reduced-motion: reduce) { .nh-shaft, .nh-head { stroke-dasharray: none; } }
@keyframes nh-draw { to { stroke-dashoffset: 0; } }
@keyframes nh-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes nh-bob { 0%, 100% { transform: rotate(-5deg) translate(0, 0); } 50% { transform: rotate(-5deg) translate(4px, 2px); } }
/* the arrow shares the phone's grid cell, so pin the copy and the phone to theirs */
@media (min-width: 901px) {
  .hero-home .hero-copy { grid-column: 1; grid-row: 1; } .hero-home .hero-device { grid-column: 2; grid-row: 1; }
  /* both columns may shrink: between 900 and 1070px the copy used to push the phone off screen */
  .hero-home .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
/* single column without the side-by-side phone: no room to point from */
@media (max-width: 1199px) and (min-width: 761px) { .notif-hint { display: none; } }
/* narrow desktops: the seven-app dock wraps instead of running under the phone */
@media (max-width: 1199px) and (min-width: 901px) { .dock { flex-wrap: wrap; justify-content: center; } .dock-app { width: 76px; } }
/* phones: under the hero text, pointing right at the phone */
@media (max-width: 760px) {
  /* the note sits above the text, level with the notifications it points at */
  .hero-home .hero-inner { grid-template-areas: "motto motto" "title title" "hint device" "sub device" "ctas ctas" "price price"; }
  .hero-home .hero-sub { align-self: start; }
  .notif-hint { grid-area: hint; align-self: end; justify-self: end; margin-right: -8px !important; flex-direction: row; align-items: center; gap: 2px; margin: 0 0 10px; translate: none; font-size: 19px; transform: rotate(-3deg); }
  .nh-txt { max-width: 6.6em; text-align: right; }   /* right-aligned: the words hug the arrow */
  .nh-arrow { flex: none; width: 52px; height: 34px; margin: 14px 0 0; transform: rotate(10deg); }   /* curves down into the notifications */
  @keyframes nh-bob { 0%, 100% { transform: rotate(-3deg) translate(0, 0); } 50% { transform: rotate(-3deg) translate(3px, -1px); } }
}
/* phones: the hero opens straight on its headline (Rock, 2026-10-18) */
@media (max-width: 760px) { .hero-home .hero-motto { display: none; } }

/* phones: in each tool panel the picture comes right after the intro, before
   the bullets and notes (the copy's children join the panel grid) */
@media (max-width: 760px) {
  .suite-js .panel { row-gap: 0; }
  .panel-copy { display: contents; }
  .panel-copy > * { order: 3; justify-self: start; max-width: 100%; }
  .panel-copy > .ticks, .panel-copy > h3, .panel-copy > p:not(.plan-tag) { justify-self: stretch; }
  .panel-copy > .plan-tag, .panel-copy > .role, .panel-copy > h3, .panel-copy > h3 + p { order: 1; }
  .panel-visual { order: 2; margin: 2px 0 24px; }
}

/* phones: show that the tool strip scrolls (js/suite.js adds .rail-nav under it:
   a track sized to the visible share, an arrow at each end) */
.rail-nav { display: none; }
@media (max-width: 640px) {
  .rail.scrolls .rail-nav { display: flex; align-items: center; gap: 8px; margin: 6px 2px 0; }
  .rail-track { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); }
  .rail-track i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), #4FE3B8); transition: left .1s linear; }
  .rail-more { display: grid; place-items: center; flex: none; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid rgba(79,227,184,.45); background: rgba(79,227,184,.08); color: #4FE3B8; cursor: pointer; opacity: .3; transition: opacity .2s; }
  .rail-more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .rail.more-left .rail-more-left, .rail.more-right .rail-more-right { opacity: 1; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .rail.more-right:not(.more-left) .rail-more-right { animation: rail-more-pulse 1.6s ease-in-out 1.2s 3; }
}
@keyframes rail-more-pulse { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

/* the "Est-ce pour vous ?" checklist is one rotating line (js/suite.js adds
   .fit-rotate unless motion is reduced): all statements share one grid cell, so
   the line keeps the tallest one's height */
.fit-q { margin-top: 26px !important; font-size: 17px; color: var(--on-dark); }
.fit-q b { color: #4FE3B8; }
.fit-main .fit-list.fit-rotate { display: grid; gap: 0; margin: 14px 0 16px; }
.fit-rotate li { grid-area: 1 / 1; padding: 14px 16px; border: 1px solid rgba(79,227,184,.35); border-radius: 12px; background: rgba(79,227,184,.06);
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; animation: none !important; }
.fit-rotate li:last-child { border-bottom: 1px solid rgba(79,227,184,.35); }
.fit-rotate li.on { opacity: 1; transform: none; }
.fit-rotate .fit-box::after { animation: none !important; opacity: 0; transform: rotate(45deg) scale(.3); transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.fit-rotate li.ticked .fit-box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.fit-rotate li.ticked .fit-box { background: rgba(22,199,154,.22); border-color: #4FE3B8; }
@media (max-width: 760px) {
  .fit-q { margin-top: 18px !important; font-size: 15px; }
  .fit-rotate li { padding: 12px 14px; font-size: 15px; }
  .fit-rotate .fit-box { flex-basis: 24px; height: 24px; }
}

/* home: the security nudge before the contact form gets a red, security-themed tint */
/* the two last words before the contact form: one band, two matching cards */
.duo { padding: 44px 0; background: #0a1a2e; border-top: 1px solid var(--line); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; column-gap: 16px; row-gap: 14px; align-items: start; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.duo-card p { font-size: 15.5px; line-height: 1.5; color: var(--on-dark); }
.duo-card b { display: block; margin-bottom: 4px; font-size: 17px; color: #fff; }   /* question, then answer */
.duo-card .btn { grid-column: 2; justify-self: start; }
.duo-ico { width: 56px; height: 56px; border-radius: 50%; }
.duo-sec { border-color: rgba(248,113,113,.35); background: linear-gradient(135deg, rgba(220,38,38,.16), rgba(220,38,38,.03) 70%), #120f1c; }
.duo-sec b { color: #FCA5A5; }
span.duo-ico { display: grid; place-items: center; color: #F87171; background: rgba(220,38,38,.14); border: 1.5px solid rgba(248,113,113,.5); box-shadow: 0 0 0 5px rgba(220,38,38,.06); }
span.duo-ico .ic { width: 22px; height: 22px; }
.duo-sec .btn-ghost { border-color: rgba(248,113,113,.55); }
.duo-sec .btn-ghost:hover { background: rgba(220,38,38,.16); border-color: #F87171; }
img.duo-ico { object-fit: cover; background: radial-gradient(circle, rgba(52,174,232,.3), transparent 70%); }
.duo-who { border-color: rgba(22,199,154,.32); background: linear-gradient(135deg, rgba(22,199,154,.14), rgba(22,199,154,.03) 70%), #0b1c22; }
.duo-who b { color: #6EE7C5; }
.duo-who img.duo-ico { background: radial-gradient(circle, rgba(22,199,154,.3), transparent 70%); border: 1.5px solid rgba(22,199,154,.5); box-shadow: 0 0 0 5px rgba(22,199,154,.06); }
.duo-who .btn-ghost { border-color: rgba(22,199,154,.5); }
.duo-who .btn-ghost:hover { background: rgba(22,199,154,.14); border-color: #16C79A; }
@media (max-width: 760px) {
  .duo { padding: 28px 0; }
  .duo-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .duo-card { padding: 18px; }
}
/* "Contact" links land on the form box itself, a little below the sticky header */
.contact-form#contact { scroll-margin-top: 16px; }
/* "Tarifs" links land on "Un prix clair. Pas de surprise.", just below the sticky header */
.pricing h2#tarifs { scroll-margin-top: 14px; }
.suite #vos-outils { scroll-margin-top: 20px; }   /* 'Découvrir les outils' lands on the heading, not the section's top padding */

/* a small Quebec flag beside the logo (a Quebec business; sites can be hosted in Quebec) */
.nav-logo { align-items: center; gap: 10px; }
.nav-logo img.nav-qc { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 2px 6px rgba(0,0,0,.35); }
@media (max-width: 440px) { .nav-logo { gap: 7px; } .nav-logo img.nav-qc { width: 20px; height: 13px; } }
.ticks li.tick-qc img { flex: none; width: 18px; height: 12px; margin: 0 1px; border-radius: 2px; align-self: center; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
/* the Turnstile widget is a fixed 300px: on the narrowest phones it overflowed the form */
@media (max-width: 380px) { .cf-turnstile { zoom: .84; } }
@media (max-width: 380px) {
  .form-kind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-kind b { white-space: normal; }
}
/* Marquis hero on the narrowest phones: the lockup and its label may wrap instead of widening the page */
@media (max-width: 380px) {
  .mq .doni-inner { grid-template-columns: minmax(0, 1fr); }
  .mq-lockup { flex-wrap: wrap; }
  .mq-label { white-space: normal; }
}
