/* NestorDesk by PrimeO : vitrine. Sobre, lisible, rapide (aucune police externe). */
:root {
  --navy: #0b1a33;
  --navy-2: #12243f;
  --navy-3: #1b3354;
  --ivory: #f3efe6;
  --champagne: #d8c08e;
  --gold: #7a5c1f;
  --ink: #1d1d1f;
  --ink-2: #4a4f5a;
  --mute: #5f6471;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --line: #e3e3e8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 26, 51, .06), 0 12px 32px rgba(11, 26, 51, .08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-d: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 17px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-d); margin: 0 0 .5em; letter-spacing: -.02em; line-height: 1.1; font-weight: 650; }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.center { text-align: center; }
.sub { color: var(--mute); font-size: clamp(17px, 2vw, 21px); line-height: 1.45; max-width: 720px; margin: 0 auto 0; }
.head { margin-bottom: 56px; }
.ic { width: 28px; height: 28px; flex: none; }
.ic.sm { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
.ic.lg { width: 34px; height: 34px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: 980px; border: 1px solid var(--champagne); background: var(--champagne); color: var(--navy); font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s ease, filter .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn.lg { min-height: 52px; padding: 14px 28px; font-size: 17px; }
.btn.sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.ghost:hover { border-color: #fff; }
.btn.dk { background: var(--navy); border-color: var(--navy); color: #fff; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 26, 51, .82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14px; }
.nav a:hover { color: #fff; }
.langs { display: flex; gap: 4px; font-size: 13px; }
.langs a { padding: 4px 6px; border-radius: 6px; color: rgba(255, 255, 255, .6); text-decoration: none; }
.langs a[aria-current="page"] { color: var(--champagne); background: rgba(216, 192, 142, .12); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 12px 10px; }
.burger span { display: block; height: 1.5px; background: #fff; margin: 6px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #213d66 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, #0e2140 100%); color: #fff; padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker { color: var(--champagne); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; margin: 22px 0 30px; max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.book { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--champagne); text-decoration: none; font-weight: 500; }
.book:hover { text-decoration: underline; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust .ic { color: var(--champagne); }

/* Maquette de boîte (HTML, aucune image) */
.mock { margin: 0; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; font-size: 14px; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d9de; }
.mock-bar span { margin-left: 10px; color: var(--mute); font-size: 13px; font-weight: 500; }
.mock-body { display: grid; grid-template-columns: 1fr; }
.mock-list { list-style: none; margin: 0; padding: 6px; border-bottom: 1px solid var(--line); }
.ev { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ch who tg" "tx tx tx"; gap: 2px 10px; padding: 10px 12px; border-radius: 10px; }
.ev.on { background: #eef3fb; }
.ev b { grid-area: who; font-weight: 600; }
.ev .tx { grid-area: tx; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .tg { grid-area: tg; font-size: 12px; color: var(--gold); background: #f7f0e1; border-radius: 6px; padding: 1px 8px; align-self: center; }
.ch { grid-area: ch; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 2px 7px; align-self: center; }
.ch-wa { background: #e3f6e8; color: #116b33; }
.ch-mail { background: #e8effc; color: #1d4ed8; }
.ch-chat { background: #f1eafd; color: #6d28d9; }
.ch-sms { background: #fdf0e3; color: #92400e; }
.mock-draft { padding: 16px 18px 18px; }
.mock-k { display: flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.mock-txt { color: var(--ink); line-height: 1.5; margin-bottom: 10px; }
.mock-att { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 13px; }
.mock-act { display: flex; gap: 8px; }
.mbtn { background: var(--navy); color: #fff; border-radius: 980px; padding: 7px 14px; font-weight: 600; font-size: 13px; }
.mbtn.ghost { background: var(--bg-2); color: var(--ink); }

/* Canaux */
.channels { background: var(--navy-2); color: rgba(255, 255, 255, .8); padding: 26px 0; text-align: center; }
.channels p { margin: 0 0 14px; font-size: 15px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { border: 1px solid rgba(255, 255, 255, .16); border-radius: 980px; padding: 6px 16px; font-size: 14px; color: #fff; }

/* Sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.light { background: var(--bg-2); }
.dark { background: var(--navy); color: #fff; }
.dark .sub { color: rgba(255, 255, 255, .66); }

/* Vidéo */
.video-sec h2 { margin-bottom: 12px; }
.video { margin-top: 40px; border-radius: var(--radius); overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video.placeholder { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-decoration: none; background: radial-gradient(600px 300px at 50% 30%, #23426d, var(--navy)); }
.play { width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; transition: transform .2s, background .2s; }
.play .ic { fill: #fff; stroke: none; margin-left: 4px; }
.video.placeholder:hover .play { transform: scale(1.06); background: rgba(216, 192, 142, .35); }
.vsoon { font-size: 19px; font-weight: 600; }
.vcta { color: var(--champagne); font-size: 15px; }
.vlen { position: absolute; right: 16px; bottom: 14px; font-size: 13px; background: rgba(0, 0, 0, .35); padding: 2px 8px; border-radius: 6px; }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--champagne); font-weight: 700; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 0; }

/* Fonctionnalités */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 52px; background: #fff; transition: box-shadow .2s, transform .2s; }
.feat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feat .ic { color: var(--gold); margin-bottom: 16px; }
.feat p { color: var(--ink-2); font-size: 15px; margin: 0; }
.tag { position: absolute; left: 24px; bottom: 20px; font-size: 12px; color: var(--mute); }

/* Cas client fictif */
.case { background: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.case-head { text-align: center; margin-bottom: 36px; }
.badge-fict { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: #f7f0e1; border: 1px dashed #d8c08e; border-radius: 980px; padding: 4px 12px; margin-bottom: 14px; }
.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col { border-radius: 14px; padding: 24px 26px; }
.col ul { margin: 0; padding-left: 18px; }
.col li { margin: 6px 0; }
.before { background: var(--bg-2); color: var(--ink-2); }
.after { background: var(--navy); color: #fff; }
.after h3 { color: var(--champagne); }
.note { text-align: center; color: var(--mute); font-size: 14px; margin: 24px 0 8px; }
.more { display: block; text-align: center; color: var(--gold); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Sécurité */
.secu { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.secu li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); }
.secu .ic { color: var(--champagne); }
.secu p { color: rgba(255, 255, 255, .7); font-size: 15px; margin: 0; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px; background: #fff; }
.plan.featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--champagne); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 14px; border-radius: 980px; white-space: nowrap; }
.plan h3 { font-size: 22px; margin-bottom: 4px; }
.for { color: var(--mute); font-size: 14px; min-height: 2.6em; margin-bottom: 14px; }
.amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0; }
.amount span, .amount s, .amount small { white-space: nowrap; }
.amount span { font: 700 clamp(32px, 3vw, 42px)/1 var(--font-d); letter-spacing: -.03em; }
.amount small { color: var(--mute); font-size: 14px; }
.setup { color: var(--ink-2); font-size: 14px; margin: 8px 0 22px; }
.plan .btn { width: 100%; }
.alt-link { text-align: center; font-size: 14px; color: var(--gold); margin-top: 10px; text-decoration: none; }
.alt-link:hover { text-decoration: underline; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; color: var(--ink-2); }
.checks li { display: flex; gap: 8px; margin: 9px 0; line-height: 1.4; }
.checks .ic { color: #15803d; margin-top: 1px; }
.options { margin: 40px auto 0; max-width: 860px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.options h3 { margin-bottom: 14px; }
.options ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.options li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.options li b { font-weight: 600; white-space: nowrap; }
.fine { color: var(--mute); font-size: 13px; text-align: center; max-width: 760px; margin: 14px auto 0; }

/* FAQ */
.faq { margin-top: 36px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 26px; font-weight: 300; color: var(--mute); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin: 0 0 22px; padding-right: 40px; }

/* Appel final */
.final { background: linear-gradient(180deg, var(--navy) 0%, #0e2140 100%); color: #fff; }
.final .sub { color: rgba(255, 255, 255, .72); margin-bottom: 34px; }

/* Formulaire */
.lead-form { display: grid; gap: 16px; background: #fff; padding: clamp(22px, 4vw, 40px); border-radius: 22px; box-shadow: var(--shadow); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
input, textarea, select { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--bg-2); border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; transition: border-color .15s, background .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy); background: #fff; }
textarea { resize: vertical; }
.lead-form .btn { justify-self: start; }
.lead-form .fine { text-align: left; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: #15803d; }
.form-msg.err { color: #b91c1c; }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(216, 192, 142, .9); } 100% { box-shadow: 0 0 0 14px rgba(216, 192, 142, 0); } }

/* Pied de page */
.foot { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr auto; gap: 32px; align-items: start; }
.foot img { width: 150px; margin-bottom: 14px; }
.foot p { margin: 0 0 6px; }
.foot nav { display: grid; gap: 10px; }
.foot nav a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.foot nav a:hover { color: #fff; }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .62); }

/* Chat simple (si le widget Nestor n'est pas activé) */
.chat-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: var(--navy); color: #fff; border: 1px solid rgba(216, 192, 142, .5); border-radius: 980px; padding: 13px 20px; font: 600 15px var(--font); cursor: pointer; box-shadow: 0 10px 30px rgba(11, 26, 51, .3); }
.chat-panel { position: fixed; right: 20px; bottom: 84px; z-index: 61; width: min(380px, calc(100% - 40px)); max-height: calc(100vh - 110px); overflow: auto; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px rgba(11, 26, 51, .35); }
.chat-panel[hidden] { display: none; }
.chat-panel p { color: var(--mute); font-size: 15px; }
.chat-form { display: grid; gap: 12px; }
.chat-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; color: var(--mute); cursor: pointer; }

/* Offre de lancement */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ribbon { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 22px; padding: 7px 14px 7px 7px; border-radius: 980px; background: rgba(216, 192, 142, .12); border: 1px solid rgba(216, 192, 142, .35); color: #fff; text-decoration: none; font-size: 14px; }
.ribbon b { background: var(--champagne); color: var(--navy); border-radius: 980px; padding: 3px 10px; font-size: 12px; letter-spacing: .02em; }
.ribbon em { font-style: normal; color: var(--champagne); font-weight: 600; }
.ribbon:hover { border-color: var(--champagne); }
.launch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin: -20px auto 40px; max-width: 980px; padding: 16px 22px; border-radius: 16px; background: var(--navy); color: #fff; text-align: center; }
.ltag { background: var(--champagne); color: var(--navy); border-radius: 980px; padding: 3px 12px; font-size: 12px; font-weight: 700; }
.ltext { color: rgba(255, 255, 255, .72); font-size: 15px; }
.left { display: inline-flex; align-items: center; gap: 10px; color: var(--champagne); font-weight: 600; font-size: 15px; }
.lbar { width: 110px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.lbar i { display: block; height: 100%; background: var(--champagne); border-radius: 6px; }
.was { color: var(--mute); font: 400 20px/1 var(--font); margin-right: 2px; text-decoration-thickness: 1.5px; }
.setup .was { font-size: 14px; }
.modes { display: flex; width: max-content; max-width: 100%; margin: 0 auto 8px; padding: 4px; gap: 4px; border-radius: 980px; background: var(--bg-2); border: 1px solid var(--line); }
.modes button { border: 0; background: none; padding: 9px 20px; border-radius: 980px; font: 600 15px var(--font); color: var(--ink-2); cursor: pointer; }
.modes button[aria-checked="true"] { background: var(--navy); color: #fff; }
.cap { text-align: center; color: var(--mute); font-size: 13px; margin: 0 0 30px; }
.pmode[hidden] { display: none; }
.l12 { color: var(--gold); font-size: 13px; font-weight: 600; margin: 6px 0 0; }
.snote { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }

/* Responsive */
@media (max-width: 1080px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mock { transform: none; max-width: 560px; }
  .steps { grid-template-columns: 1fr; }
  .burger { display: block; }
  .head-cta { margin-left: auto; }
  .burger { margin-left: 0; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11, 26, 51, .98); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .langs { padding-top: 14px; }
  .nav .langs a { border: 0; padding: 6px 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .brand img { width: 128px; }
  .head-cta { display: none; }
  .burger { margin-left: auto; }
  .actions .btn { flex: 1 1 100%; }
  .feats, .plans, .case-cols, .row2, .options ul { grid-template-columns: 1fr; }
  .head { margin-bottom: 36px; }
  .foot-grid { grid-template-columns: 1fr; }
  .lead-form .btn { justify-self: stretch; }
  .ev .tx { white-space: normal; }
  .chat-toggle { right: 14px; bottom: 14px; }
}
