/* DUANER AI Workforce : page publique.
   Thème clair par défaut (couleurs de duanersolutions.com), mode nuit avec data-theme="dark" sur <html>.
   L'espace admin garde styles.css + admin.css. */

:root {
  color-scheme: light;
  /* Fonds et surfaces */
  --bg: #ffffff;
  --bg-2: #f4f8f7;
  --band: #eef5f3;
  --card: #ffffff;
  --card-2: #f3f8f7;
  --inset: #f7faf9;
  --glass: rgba(255, 255, 255, .86);
  --surface: rgba(21, 44, 53, .025);
  --cell: rgba(21, 44, 53, .045);
  --cell-line: rgba(21, 44, 53, .08);
  --header-bg: #ffffff;
  --contact-bg: #f4f8f7;
  /* Textes */
  --ink: #152c35;
  --ink-2: #2b434b;
  --ink-3: #3e565d;
  --muted: #52666c;
  --faint: #7a8c90;
  /* Couleurs de marque */
  --teal: #007d79;
  --teal-hi: #005f5c;
  --on-teal: #ffffff;
  --gold: #866323;
  --gold-hi: #9a742e;
  --gold-line: rgba(154, 116, 46, .35);
  --violet: #5f45b8;
  --danger: #b4372b;
  --line: #d9e4e4;
  --line-2: #cddbdb;
  --accent-soft: rgba(0, 125, 121, .07);
  --accent-mid: rgba(0, 125, 121, .12);
  --accent-line: rgba(0, 125, 121, .35);
  --accent-glow: rgba(0, 125, 121, .10);
  /* Boutons */
  --btn-bg: #152c35;
  --btn-ink: #ffffff;
  --btn-hover: #007d79;
  --ghost-line: rgba(21, 44, 53, .25);
  /* Décor */
  --chrome: linear-gradient(165deg, #152c35 0%, #3f5d66 28%, #007d79 44%, #152c35 54%, #557880 68%, #0b5552 82%, #152c35 100%);
  --dot: rgba(0, 125, 121, .5);
  --dot-gold: rgba(154, 116, 46, .55);
  --glow-op: .45;
  --halo: rgba(0, 125, 121, .07);
  --ring: rgba(154, 116, 46, .55);
  --spot: rgba(0, 125, 121, .08);
  --stage-1: #e4f1ee;
  --stage-2: #f8fbfa;
  --stage-c1: #e9e6fa;
  --tag-bg: #ffffff;
  --doc-1: #ffffff;
  --doc-2: #f1f6f5;
  --doc-l1: rgba(21, 44, 53, .12);
  --doc-l2: rgba(21, 44, 53, .2);
  --cube-1: #ffffff;
  --cube-2: #f2f6f5;
  --cube-ink: #152c35;
  --card-shadow: 0 1px 2px rgba(21, 44, 53, .04), 0 22px 44px -32px rgba(21, 44, 53, .35);
  --deep-shadow: 0 26px 44px -22px rgba(21, 44, 53, .35);
  /* Typographie standard de duanersolutions.com : Arial partout, Georgia pour le nom DUANER */
  --sans: Arial, Helvetica, sans-serif;
  --display: Arial, Helvetica, sans-serif;
  --mono: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --r: 22px;
}

/* Mode nuit : le style « night shift » de la maquette */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #081116;
  --bg-2: #0b171c;
  --band: #0b1a21;
  --card: #0d1a20;
  --card-2: #0f2128;
  --inset: rgba(8, 17, 22, .6);
  --glass: rgba(8, 17, 22, .72);
  --surface: rgba(255, 255, 255, .03);
  --cell: rgba(255, 255, 255, .04);
  --cell-line: rgba(220, 231, 227, .07);
  --header-bg: #0b171c;
  --contact-bg: #0d1a20;
  --ink: #e8f2f0;
  --ink-2: #c6d4d5;
  --ink-3: #b9c9ca;
  --muted: #9fb3b5;
  --faint: #6f878a;
  --teal: #71d4c3;
  --teal-hi: #a6eadd;
  --on-teal: #081116;
  --gold: #dec181;
  --gold-hi: #f4da96;
  --gold-line: rgba(222, 193, 129, .35);
  --violet: #c9b4ff;
  --danger: #ff9b8f;
  --line: rgba(220, 231, 227, .1);
  --line-2: rgba(220, 231, 227, .16);
  --accent-soft: rgba(113, 212, 195, .07);
  --accent-mid: rgba(113, 212, 195, .12);
  --accent-line: rgba(113, 212, 195, .32);
  --accent-glow: rgba(113, 212, 195, .18);
  --btn-bg: #e8f2f0;
  --btn-ink: #081116;
  --btn-hover: #ffffff;
  --ghost-line: rgba(220, 231, 227, .25);
  --chrome: linear-gradient(165deg, #ffffff 0%, #d3dedd 30%, #566b6e 44%, #eef5f4 52%, #9fb4b5 66%, #e6efee 80%, #7d9496 100%);
  --dot: rgba(113, 212, 195, .85);
  --dot-gold: rgba(244, 218, 150, .9);
  --glow-op: 1;
  --halo: rgba(113, 212, 195, .11);
  --ring: rgba(244, 218, 150, .7);
  --spot: rgba(113, 212, 195, .15);
  --stage-1: #13262d;
  --stage-2: #081116;
  --stage-c1: #18233a;
  --tag-bg: rgba(8, 17, 22, .85);
  --doc-1: #1a3039;
  --doc-2: #0f1f26;
  --doc-l1: rgba(255, 255, 255, .12);
  --doc-l2: rgba(255, 255, 255, .2);
  --cube-1: rgba(20, 34, 46, .92);
  --cube-2: rgba(8, 17, 22, .96);
  --cube-ink: #ffffff;
  --card-shadow: none;
  --deep-shadow: 0 30px 50px -20px rgba(0, 0, 0, .75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
a { color: var(--teal); }
a:hover { color: var(--teal-hi); }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
.mono { font-family: var(--mono); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.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; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.flip { transform: scaleX(-1); }
.gold-txt { color: var(--gold); }
.teal-txt { color: var(--teal) !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.ns { --mx: 0; --my: 0; --px: -999px; --py: -999px; position: relative; min-height: 100vh; overflow: hidden; background: var(--bg); }

/* ---------- Effets souris ---------- */
.halo { position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(circle, var(--halo), rgba(157, 180, 255, .05) 35%, transparent 62%); transform: translate(var(--px), var(--py)); pointer-events: none; z-index: 1; }
.ring { position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 1px solid var(--ring); transform: translate(var(--px), var(--py)); transition: transform .14s ease-out, width .2s, height .2s, margin .2s, background .2s; pointer-events: none; z-index: 50; }
.ns.hot .ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(222, 193, 129, .08); }
.par1 { translate: calc(var(--mx) * -26px) calc(var(--my) * -10px); transition: translate .25s ease-out; }
.par2 { translate: calc(var(--mx) * -55px) calc(var(--my) * -22px); transition: translate .25s ease-out; }
.par3 { translate: calc(var(--mx) * 18px) calc(var(--my) * 12px); transition: translate .3s ease-out; }
.lean { transform: perspective(1100px) rotateX(calc(var(--my) * -4deg)) rotateY(calc(var(--mx) * 6deg)); transition: transform .35s ease-out; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.spot { position: relative; overflow: hidden; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--lx, 50%) var(--ly, 50%), var(--spot), transparent 60%); opacity: 0; transition: opacity .3s; }
.tilt:hover .spot::after, .spot.tilt:hover::after { opacity: 1; }
.depth { translate: calc(var(--dx, 0) * 28px) calc(var(--dy, 0) * 22px); transition: translate .25s ease-out; }
.depth-r { translate: calc(var(--dx, 0) * -22px) calc(var(--dy, 0) * -16px); transition: translate .25s ease-out; }
.depth2 { translate: calc(var(--dx, 0) * 60px) calc(var(--dy, 0) * 46px); transition: translate .3s ease-out; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 22px; border-radius: 999px; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, translate .2s ease-out; translate: var(--bx, 0px) var(--by, 0px); }
.btn.light { background: var(--btn-bg); color: var(--btn-ink); }
.btn.light:hover { background: var(--btn-hover); color: var(--btn-ink); }
.btn.ghost { background: transparent; border-color: var(--ghost-line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--teal); color: var(--ink); }
.btn.wa { background: #25d366; color: #062113; }
.btn.wa:hover { background: #3be07a; color: #062113; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 0; color: var(--muted); cursor: pointer; font-size: 15px; }
.text-link:hover { color: var(--ink); }

/* ---------- En-tête et pied de page : repris de duanersolutions.com ---------- */
.site-header, .site-footer { position: relative; z-index: 3; background: var(--header-bg); color: var(--ink); line-height: 1.6; }
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.site-header a, .site-footer a { color: inherit; text-decoration: none; }
.site-header .header { height: 128px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: 3px; line-height: 1; }
.site-header .brand img { width: 44px; height: 44px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-nav a:hover { color: var(--teal); }
.site-header .lang-switch, .cur-switch button, .theme-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 999px; background: none; font: 700 12px var(--sans); letter-spacing: 1px; color: var(--teal); cursor: pointer;
}
.site-header .lang-switch:hover, .cur-switch button:hover, .theme-switch:hover { border-color: var(--teal); }
.cur-switch { display: inline-flex; gap: 4px; margin-left: -18px; }
.cur-switch button { min-width: 32px; padding: 4px 8px; color: var(--muted); border-color: transparent; }
.cur-switch button.is-on { color: var(--teal); border-color: var(--line); }
.theme-switch { width: 36px; height: 30px; padding: 0; margin-left: -18px; }
.theme-switch .i { width: 16px; height: 16px; }
.theme-switch .sun { display: none; }
:root[data-theme="dark"] .theme-switch .sun { display: block; }
:root[data-theme="dark"] .theme-switch .moon { display: none; }
.site-header .button { display: inline-flex; gap: 20px; justify-content: center; align-items: center; padding: 15px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s; }
.site-header .button:hover { transform: translateY(-2px); }
.site-header .button.dark { background: var(--btn-bg); color: var(--btn-ink); }
.site-header .button .i { width: 17px; height: 17px; }
:root[data-theme="dark"] .brand .wordmark small { color: var(--gold); border-top-color: var(--gold-line); }

.site-footer footer { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding-block: 40px; font-size: 12px; }
.site-footer strong { font-size: 12px; letter-spacing: 1px; }
.site-footer p { margin: 5px 0; color: var(--muted); }
.site-footer footer a { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.site-footer footer a:hover { color: var(--teal); }
.site-footer footer a .i { width: 16px; height: 16px; }
.site-footer footer > span { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 780px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 24px 120px; }
.horizon { position: absolute; left: 0; right: 0; top: 52%; height: 180px; background: radial-gradient(60% 100% at 50% 0%, var(--accent-glow), transparent 70%); pointer-events: none; }
.dots { position: absolute; left: -30%; right: -30%; bottom: -6%; height: 62%; background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px); background-size: 18px 18px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 92%); mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 92%); animation: drift 5s linear infinite; pointer-events: none; }
.dots.gold { background-image: radial-gradient(circle, var(--dot-gold) 1px, transparent 1.6px); background-size: 54px 36px; background-position: 9px 0; opacity: .7; animation: drift2 7s linear infinite; }
@keyframes drift { to { background-position: 0 18px; } }
@keyframes drift2 { from { background-position: 9px 0; } to { background-position: 9px 36px; } }
.hero-lights { position: absolute; inset: 0; pointer-events: none; opacity: var(--glow-op); }
.glow { position: absolute; border-radius: 50%; filter: blur(18px); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.g-pink { left: 14%; bottom: 14%; width: 70px; height: 34px; background: rgba(233, 168, 201, .75); }
.g-teal { left: 30%; bottom: 6%; width: 110px; height: 46px; background: rgba(113, 212, 195, .7); animation-delay: 1s; }
.g-gold { right: 18%; bottom: 10%; width: 90px; height: 40px; background: rgba(244, 218, 150, .7); animation-delay: 2s; }
.g-blue { right: 36%; bottom: 22%; width: 46px; height: 22px; background: rgba(157, 180, 255, .8); animation-delay: .5s; }
.spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #f4da96; box-shadow: 0 0 14px 4px rgba(244, 218, 150, .65); }
.s1 { left: 22%; bottom: 20%; } .s2 { left: 46%; bottom: 9%; } .s3 { right: 26%; bottom: 17%; } .s4 { right: 12%; bottom: 28%; width: 5px; height: 5px; }
.status { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); font-size: 12px; letter-spacing: 1.5px; color: var(--ink-2); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero-title { position: relative; margin-top: 30px; font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -3px; font-weight: 600; max-width: 1040px; }
.hero-lead { position: relative; margin-top: 28px; max-width: 620px; font-size: 18px; line-height: 1.7; color: var(--ink-3); }
.hero-cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-free { position: relative; margin-top: 20px; font-size: 13px; color: var(--muted); }

/* Encadré « pas de procédures » */
.note { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--accent-line); text-align: left; }
.note .i { width: 22px; height: 22px; color: var(--teal); margin-top: 1px; }
.note p { font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.note strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.hero-note { margin-top: 32px; max-width: 640px; background: var(--glass); backdrop-filter: blur(6px); box-shadow: var(--card-shadow); }

/* Chrome */
.chrome { background: var(--chrome); background-size: 220% 220%; background-position: calc(50% + var(--mx) * 40%) calc(50% + var(--my) * 40%); transition: background-position .3s ease-out; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Bandeau de faits */
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: -40px; border-radius: 20px; overflow: hidden; background: var(--line); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.facts > div { background: var(--bg-2); padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.fact-n { font-size: 12px; color: var(--teal); }
.facts strong { font: 600 24px var(--display); }
.facts span:last-child { font-size: 14px; color: var(--muted); }

/* Mot WORKFORCE */
.wordband { position: relative; padding: 120px 0 40px; }
.wordband-inner { position: relative; text-align: center; }
.guide { position: absolute; border: 1px dashed rgba(127, 150, 153, .45); }
.guide-a { left: 2%; top: -26px; width: 22%; height: calc(100% + 40px); }
.guide-b { right: 4%; top: 10px; width: 30%; height: 70%; }
.guide-dot { position: absolute; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--muted); }
.dot-a { left: calc(2% - 4px); top: -30px; }
.dot-b { right: calc(4% - 4px); top: 6px; }
.guide-label { position: absolute; font-size: 11px; color: var(--muted); }
.label-a { left: 2%; top: -50px; }
.label-b { right: 4%; bottom: -4px; }
/* Arial gras est large : ~6,6 em pour « WORKFORCE ». Taille plafonnée pour tenir dans la largeur du contenu (1200 px). */
.big { display: block; font: 700 clamp(48px, 13vw, 172px) var(--display); letter-spacing: -.03em; line-height: .9; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--gold); }
.h2 { margin-top: 14px; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -1.5px; font-weight: 500; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.head-end { margin-top: 0; }
.head-end .h2 { flex: 1 1 420px; }
.head-lead { max-width: 440px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ---------- Agents ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.chip:hover { border-color: var(--teal); color: var(--ink); }
.chip.on { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.chip .n { font: 500 12px var(--mono); padding: 2px 8px; border-radius: 999px; background: var(--cell); }
.chip.on .n { background: rgba(127, 150, 153, .25); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.agent-slot { display: contents; }
.agent-slot[hidden] { display: none !important; }
.slot-wide > .prism { grid-column: 1 / -1; }
.card { position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.card:hover { border-color: var(--accent-line); }
.card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.stage { position: relative; height: 300px; overflow: hidden; background: radial-gradient(70% 80% at 50% 45%, var(--stage-1) 0%, var(--stage-2) 75%); }
.stage-center { display: grid; place-items: center; }
.stage-time { position: absolute; left: 20px; bottom: 16px; font-size: 11px; color: var(--faint); }
.cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); }
.cap h3 { font-size: 20px; font-weight: 500; }
.cap p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--cell); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); white-space: nowrap; }

.plush { width: 170px; height: 170px; border-radius: 46px; background: radial-gradient(80% 80% at 30% 25%, #2fb3a6 0%, #007d79 45%, #004c4a 100%); box-shadow: inset 0 10px 24px rgba(255, 255, 255, .28), inset 0 -18px 30px rgba(0, 0, 0, .45), 0 30px 60px -20px rgba(0, 125, 121, .6); display: grid; place-items: center; color: #eafffb; }
.plush .i { width: 74px; height: 74px; stroke-width: 1.5; }
.bubble { position: absolute; padding: 9px 14px; border-radius: 14px; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.bubble-q { left: 9%; top: 22%; background: var(--tag-bg); border: 1px solid var(--line-2); color: var(--ink); box-shadow: var(--card-shadow); }
.bubble-ok { right: 8%; bottom: 20%; background: var(--teal); color: var(--on-teal); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.bubble-ok .i { width: 14px; height: 14px; stroke-width: 3; }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.paper { position: absolute; left: calc(50% - 95px); top: 32px; width: 190px; height: 240px; border-radius: 10px; background: linear-gradient(180deg, #fbf9f3, #ece6d6); box-shadow: var(--deep-shadow); transform: rotate(-4deg); padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.line { display: block; height: 6px; border-radius: 3px; background: #cfc7b3; }
.l40 { width: 40%; } .l50 { width: 50%; } .l60 { width: 60%; } .l64 { width: 64%; } .l70 { width: 70%; } .l80 { width: 80%; } .l90 { width: 90%; }
.line.dark { background: #152c35; }
.line.gap { margin-top: 12px; }
.line.total { margin-top: 14px; margin-left: auto; background: #007d79; }
.line.goldish { background: rgba(222, 193, 129, .5); }
.line.faint, .line.softer { background: var(--doc-l1); }
.line.soft { background: var(--doc-l2); }
.scan { position: absolute; left: -10px; right: -10px; height: 34px; background: linear-gradient(180deg, transparent, rgba(113, 212, 195, .55), transparent); border-top: 1px solid #71d4c3; animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 10px; } 50% { top: 196px; } }
.tag { position: absolute; padding: 6px 10px; border-radius: 8px; background: var(--tag-bg); border: 1px solid var(--accent-line); font-size: 12px; color: var(--ink); white-space: nowrap; box-shadow: var(--card-shadow); }
.tag-a { left: 8%; top: 28%; } .tag-b { right: 7%; top: 44%; } .tag-c { left: 11%; bottom: 18%; border-color: var(--gold-line); }

.doc { position: absolute; top: 62px; width: 150px; height: 190px; border-radius: 12px; border: 1px solid var(--gold-line); background: linear-gradient(160deg, var(--doc-1), var(--doc-2)); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.doc-l { left: calc(50% - 160px); transform: rotate(-12deg); opacity: .6; }
.doc-r { left: calc(50% + 10px); transform: rotate(12deg); opacity: .6; }
.doc-main { left: calc(50% - 75px); top: 44px; border-color: var(--gold); box-shadow: var(--deep-shadow), 0 0 40px rgba(222, 193, 129, .18); }
.doc-main .i { width: 26px; height: 26px; color: var(--gold); stroke-width: 1.6; }
.doc-stamp { margin-top: auto; font-size: 11px; color: var(--gold); }

.cal-head { font-size: 11px; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; width: 290px; max-width: 100%; }
.cal span { height: 30px; border-radius: 7px; background: var(--cell); border: 1px solid var(--cell-line); }
.cal .t { background: rgba(113, 212, 195, .3); border-color: rgba(0, 125, 121, .45); }
.cal .g { background: rgba(222, 193, 129, .35); border-color: rgba(154, 116, 46, .55); }

.prism { padding: 1.5px; border-radius: 24px; background: conic-gradient(from 210deg, #71d4c3, #dec181, #9db4ff, #e9a8c9, #71d4c3); box-shadow: var(--card-shadow); }
.card-custom { border: 0; border-radius: 22.5px; box-shadow: none; }
.custom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.custom-copy { padding: 44px; }
.custom-eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--violet); }
.custom-copy h3 { margin-top: 14px; font-size: 34px; line-height: 1.1; letter-spacing: -1px; font-weight: 500; }
.custom-copy p:not(.custom-eyebrow) { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.custom-copy .btn { margin-top: 26px; }
.stage-custom { height: 340px; background: radial-gradient(60% 70% at 50% 50%, var(--stage-c1) 0%, var(--stage-2) 75%); }
.cube { width: 150px; height: 150px; border-radius: 30px; transform: rotate(45deg); padding: 2px; background: conic-gradient(from 0deg, #71d4c3, #f4da96, #9db4ff, #e9a8c9, #71d4c3); box-shadow: 0 0 60px rgba(157, 180, 255, .35), 0 0 120px rgba(113, 212, 195, .25); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(405deg); } }
.cube-in { width: 100%; height: 100%; border-radius: 28px; background: linear-gradient(135deg, var(--cube-1), var(--cube-2)); display: grid; place-items: center; }
.cube-in svg { width: 56px; height: 56px; fill: none; stroke: var(--cube-ink); stroke-width: 1.8; stroke-linecap: round; transform: rotate(-45deg); }

/* ---------- 24 heures ---------- */
.night { background: linear-gradient(180deg, var(--bg), var(--band) 40%, var(--bg)); padding: 120px 0; }
.night > .wrap > .head { margin-top: 14px; }
.timeline { margin-top: 56px; padding: 32px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; }
.tl-label { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.team-txt { color: var(--gold-hi); } .ai-txt { color: var(--teal); }
.sw { width: 8px; height: 8px; border-radius: 2px; }
.sw-team { background: var(--gold); } .sw-ai { background: var(--teal); }
.hours { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; }
.hr { height: 38px; border-radius: 6px; background: var(--cell); border: 1px solid var(--cell-line); }
.hr.ai { background: linear-gradient(180deg, rgba(113, 212, 195, .6), rgba(0, 125, 121, .4)); border-color: rgba(0, 125, 121, .5); }
.hr.team { background: linear-gradient(180deg, rgba(244, 218, 150, .7), rgba(154, 116, 46, .45)); border-color: rgba(154, 116, 46, .6); }
.tl-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.steps span { font-size: 12px; color: var(--teal); }
.steps p { margin-top: 12px; font-size: 15px; color: var(--ink-3); line-height: 1.6; }

/* ---------- Calculateur ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; margin-top: 40px; align-items: start; }
.panel { padding: 36px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.wizard { display: flex; flex-direction: column; gap: 26px; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stepper button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 0 0 12px; background: none; border: 0; border-bottom: 2px solid var(--line-2); color: var(--faint); cursor: pointer; text-align: left; font-size: 14px; }
.stepper b { font-weight: 500; }
.stepper span { font-size: 12px; }
.stepper .is-current button { color: var(--ink); border-bottom-color: var(--teal); }
.stepper .is-current span { color: var(--teal); }
.stepper .is-done button { color: var(--ink-2); border-bottom-color: var(--accent-line); }
.step { display: flex; flex-direction: column; gap: 22px; }
.step[hidden] { display: none; }
.step-title { font: 500 22px/1.3 var(--display); }
.step-help { margin-top: -12px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

.agent-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.pick:hover { border-color: var(--accent-line); }
.pick.is-on { border-color: var(--teal); background: var(--accent-soft); }
.pick-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-mid); color: var(--teal); flex: none; }
.pick-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pick-name { font-weight: 600; font-size: 15px; }
.pick-sub { font-size: 12.5px; color: var(--muted); }
.pick-check { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: transparent; flex: none; }
.pick-check .i { width: 13px; height: 13px; stroke-width: 3; }
.pick.is-on .pick-check { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }

.questions { display: flex; flex-direction: column; gap: 24px; }
.q { display: flex; flex-direction: column; gap: 10px; }
.q-label { font: 500 17px/1.35 var(--display); color: var(--ink); }
.q-help { margin-top: -4px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.num { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.num input { width: 120px; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 17px var(--mono); text-align: center; -moz-appearance: textfield; }
.num input::-webkit-outer-spin-button, .num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num input:focus { border-color: var(--teal); outline: none; }
.num-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.num-btn:hover { border-color: var(--teal); color: var(--ink); }
.num-suffix { font-size: 13.5px; color: var(--muted); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { min-height: 40px; min-width: 60px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: 600 14px var(--mono); cursor: pointer; }
.preset:hover { border-color: var(--teal); }
.preset.is-on { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg-btn { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.seg-btn:hover { border-color: var(--accent-line); }
.seg-btn.is-on { border-color: var(--teal); background: var(--accent-soft); }
.seg-label { font-weight: 600; font-size: 14px; }
.seg-sub { font: 400 12px var(--mono); color: var(--muted); }

.tasks-edit { display: flex; flex-direction: column; gap: 10px; }
.tasks-head, .task-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 10px; align-items: center; }
.tasks-head span { font: 400 11px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: 1px; }
.task-label { min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.task-label:focus { border-color: var(--teal); outline: none; }
.task-row .num { flex-wrap: nowrap; gap: 4px; }
.task-row .num input { width: 100%; min-width: 0; }
.task-row .num-btn { width: 34px; height: 34px; }
.task-row .num-suffix { display: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; align-self: flex-start; }

/* Résultats */
.results { background: radial-gradient(80% 70% at 85% 0%, var(--accent-glow), transparent 70%), var(--card-2); border-color: var(--accent-line); display: flex; flex-direction: column; gap: 0; }
.results-label { font-size: 12px; letter-spacing: 1.5px; color: var(--teal); text-transform: uppercase; }
.hours-big { margin-top: 10px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hours-big .chrome { font: 700 88px/1 var(--display); letter-spacing: -4px; }
.hours-unit { font-size: 18px; color: var(--ink-3); }
.results-sub { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.value-row { margin-top: 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.value-row span { font-size: 11px; letter-spacing: 1.2px; color: var(--muted); }
.value-row strong { font: 600 24px var(--display); }
.offer-box { margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: var(--inset); border: 1px solid var(--gold-line); display: flex; justify-content: space-between; align-items: center; gap: 4px 12px; flex-wrap: wrap; }
.offer-label { font-size: 11px; color: var(--gold); }
.offer-name { margin-top: 4px; font: 600 20px var(--display); }
.offer-price { font: 600 22px var(--display); color: var(--gold-hi); }
.offer-price small { font: 400 13px var(--sans); color: var(--muted); }
.offer-sub { flex-basis: 100%; font-size: 12.5px; color: var(--muted); }
.roi { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.roi-value { font: 600 17px var(--display); color: var(--teal); }
.roi.soft .roi-value { color: var(--ink); }
.roi-sub { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.perks { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.perks li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); }
.perks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); box-shadow: 0 0 8px var(--accent-line); }
.results .btn { margin-top: 24px; }
.disclaimer { margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--faint); }

/* ---------- Formulaire ---------- */
.lead-form { display: flex; flex-direction: column; gap: 20px; }
.recap { padding: 18px 20px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.recap-title { font: 600 12px var(--mono); letter-spacing: 1.5px; color: var(--teal); text-transform: uppercase; }
.recap dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; color: var(--ink); font-weight: 600; }
.recap-edit { display: inline-block; margin-top: 10px; font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.field select option { background: var(--card); color: var(--ink); }
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field ::placeholder { color: var(--faint); }
.req { color: var(--gold); }
.error { min-height: 0; font-size: 13px; color: var(--danger); }
.error:empty { display: none; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { position: relative; }
.tool input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tool span { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.tool input:checked + span { background: var(--accent-mid); border-color: var(--teal); color: var(--ink); }
.tool input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--ink-3); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; color: var(--danger); }
.form-msg:empty { display: none; }
.success { display: flex; flex-direction: column; gap: 12px; border-color: var(--accent-line); }
.success h3 { font-size: 26px; font-weight: 500; }
.success > p:not(.eyebrow) { color: var(--ink-3); line-height: 1.6; }

/* ---------- Offres ---------- */
.plans-band { background: var(--bg-2); padding: 120px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans-band .head { margin-top: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 10px; align-items: stretch; }
.plan { padding: 34px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); display: flex; flex-direction: column; height: 100%; }
.plan-wrap { border-radius: 24px; }
.plan.featured { border: 0; border-radius: 22.5px; box-shadow: none; background: radial-gradient(80% 50% at 50% 0%, var(--accent-glow), transparent 70%), var(--card-2); }
.plan-label { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.plan.featured .plan-label { color: var(--teal); }
.plan-badge { color: var(--on-teal); background: var(--teal); padding: 2px 8px; border-radius: 999px; }
.plan h3 { margin-top: 18px; font-size: 24px; font-weight: 500; }
.plan-price { margin-top: 18px; font: 600 40px var(--display); letter-spacing: -1.5px; }
.plan-price span { font: 400 14px var(--sans); color: var(--muted); letter-spacing: 0; }
.plan-setup { font-size: 14px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan.featured ul { color: var(--ink); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: "→"; position: absolute; left: 0; color: var(--teal); font-family: var(--mono); font-size: 13px; }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 22px 0; font: 500 18px var(--display); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { color: var(--teal); transition: transform .2s; }
details[open] .plus { transform: rotate(45deg); }
.faq-list p { padding: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-wrap { padding-bottom: 80px; }
.contact { position: relative; overflow: hidden; border-radius: 28px; padding: 72px 56px; text-align: center; background: var(--contact-bg); border: 1px solid var(--line); }
.contact .dots { height: 80%; opacity: .7; }
.g-c1 { left: 20%; bottom: 10%; width: 90px; height: 36px; background: rgba(113, 212, 195, .6); opacity: var(--glow-op); }
.g-c2 { right: 22%; bottom: 16%; width: 70px; height: 30px; background: rgba(244, 218, 150, .6); animation-delay: 1.5s; opacity: var(--glow-op); }
.contact .eyebrow { position: relative; }
.contact-title { position: relative; margin: 18px auto 0; max-width: 780px; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -2px; font-weight: 500; }
.contact-lead { position: relative; margin: 18px auto 0; max-width: 520px; font-size: 16px; line-height: 1.7; color: var(--ink-3); }
.contact-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- Responsive ---------- */
/* En-tête et pied de page : mêmes points de rupture que duanersolutions.com */
@media (max-width: 1050px) {
  .site-nav { gap: 16px; }
  .cur-switch, .theme-switch { margin-left: -6px; }
  .site-header .header-cta { padding: 12px; }
}
@media (max-width: 900px) {
  .gallery, .facts, .steps, .calc, .plans, .faq, .custom-grid, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 0; }
  .steps li { padding-bottom: 22px; }
  .big { font-size: 14vw; }
  .hero { min-height: 0; padding-top: 48px; }
  .section, .night, .plans-band { padding: 88px 0; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px; }
  .timeline > span:empty { display: none; }
  .custom-copy { padding: 32px 26px; }
  .stage-custom { height: 260px; }
  .panel { padding: 26px 22px; }
}
@media (max-width: 720px) {
  .site-header .header { height: auto; padding-block: 14px 8px; flex-wrap: wrap; gap: 6px 20px; }
  .site-header .brand { font-size: 20px; }
  .site-header .header-cta { margin-left: auto; white-space: nowrap; padding: 12px 14px; gap: 10px; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 4px; }
  .site-nav a, .site-nav button { min-height: 44px; }
  .site-nav a { display: inline-flex; align-items: center; }
  .nav-extra { display: none !important; }
  .cur-switch, .theme-switch { margin-left: 0; }
  .site-footer footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .status { font-size: 11px; letter-spacing: .8px; padding: 7px 12px; }
  .hero { padding: 36px 16px 96px; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-lead { font-size: 16px; }
  .facts > div { padding: 22px; }
  .agent-pick, .seg { grid-template-columns: minmax(0, 1fr); }
  .stage { height: 260px; }
  .bubble-q { left: 5%; top: 12%; }
  .bubble-ok { right: 5%; bottom: 12%; }
  .hours-big .chrome { font-size: 68px; }
  .tasks-head { display: none; }
  .task-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .task-label { grid-column: 1 / -1; }
  .task-row .num { flex-wrap: wrap; }
  .task-row .num-suffix { display: block; flex-basis: 100%; font-size: 12px; }
  .contact { padding: 48px 22px; }
  .plan-price { font-size: 34px; }
}
@media (max-width: 420px) {
  .site-header .brand img { width: 30px; }
  .site-header .brand { font-size: 17px; }
  .site-header .header { column-gap: 10px; }
  .site-header .header-cta { padding: 10px 12px; font-size: 13px; }
  .site-header .header-cta .i { display: none; }
  .site-nav { font-size: 13px; }
  .site-nav a { white-space: nowrap; }
  .site-nav > a[href="#offres"] { display: none; }
  .cur-switch { gap: 0; }
  .cur-switch button { min-width: 28px; padding: 4px 6px; }
  .theme-switch { width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .ns *, .ns *::before, .ns *::after { animation: none !important; transition: none !important; }
  .halo, .ring { display: none; }
  html { scroll-behavior: auto; }
}
@media (hover: none) { .halo, .ring { display: none; } }
