/* Polices hébergées sur le site (pas de service tiers) */
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/BigShouldersDisplay.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/SchibstedGrotesk.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* MyWebTask : site vitrine */
:root {
  --navy: #0B1019; --navy-2: #131B2B; --blue: #0a58e0; --blue-2: #2f7bff; --sky: #7fb0ff; --mint: #7fe0ae;
  --ink: #0e1b33; --ink-soft: #52607a; --line: #dfe5f0; --bg: #f3f5f8; --white: #fff;
  --display: 'Big Shoulders Display', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: .5rem .8rem; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .01em; line-height: 1; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 24ch; }
h2.center { margin-inline: auto; max-width: 22ch; }
h3 { font-size: 1.6rem; }
p { margin: 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 9px; background: var(--blue); color: #fff; font: 700 1rem var(--body); text-decoration: none; border: 2px solid var(--blue); cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn.sm { min-height: 40px; padding: 0 1rem; font-size: .92rem; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn.ghost-dark { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn.ghost-dark:hover { background: var(--blue); color: #fff; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 25, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { color: #c8d6f2; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger i { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background-color: var(--navy); color: #fff; overflow: hidden; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(255, 255, 255, .05) 43px, rgba(255, 255, 255, .05) 44px), radial-gradient(60% 80% at 85% 20%, rgba(47, 123, 255, .28), transparent 60%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 104px); }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #9AA8C2; margin-bottom: .9rem; }
.eyebrow.dark { color: var(--blue); }
.hero h1 { font-size: clamp(3rem, 7.6vw, 6.2rem); line-height: .92; font-weight: 800; }
.hero h1 em { font-style: normal; color: #fff; background: linear-gradient(transparent 90%, rgba(60, 120, 235, .9) 90%); padding-inline: .04em; }
.lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #c3d2ee; max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #9fb4da; font-size: .9rem; }
.hero-points li::before { content: "✓ "; color: var(--mint); font-weight: 700; }

/* Illustration du hero */
.hero-art { position: relative; padding: 56px 0 58px; }
.mock { background: #131B2B; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 8, 30, .55); overflow: hidden; transform: rotate(1.2deg) translateZ(0); }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.mock-bar b { margin-left: .5rem; font-weight: 600; flex: 1; color: #e6eeff; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.chip { font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 4px; border: 1px solid currentColor; }
.chip-amber { color: #ffc46b; }
.mock-body { position: relative; padding: 1.1rem; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.logo-tile { position: relative; background: #fff; border-radius: 10px; padding: .9rem .5rem .55rem; text-align: center; border: 3px solid transparent; }
.logo-tile.on { border-color: var(--mint); }
.logo-tile small { display: block; margin-top: .55rem; font-size: .68rem; color: #5b6a86; }
.lg { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto; border-radius: 16px; font: 800 2rem var(--display); color: #fff; }
.lg-a { background: linear-gradient(135deg, #0a58e0, #5aa0ff); }
.lg-b { background: linear-gradient(135deg, #e0480a, #ffb35a); border-radius: 50%; }
.lg-c { background: linear-gradient(135deg, #0a8a5e, #6fe3b0); border-radius: 8px; }
.tick { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: #053; font: 700 .9rem var(--body); display: grid; place-items: center; font-style: normal; }
.mock-note { margin-top: .9rem; font-size: .85rem; color: #b9c9ea; }
.mock-note b { color: #fff; }
.mock-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.mbtn { font-size: .78rem; font-weight: 700; padding: .5rem .8rem; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .25); color: #dbe6ff; }
.mbtn.ok { background: var(--mint); color: #053; border-color: var(--mint); }
.stamp { position: absolute; right: 14px; bottom: 56px; font: 800 1.9rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); border: 3px solid var(--mint); border-radius: 6px; padding: .05em .4em 0; transform: rotate(-9deg); animation: slam .7s cubic-bezier(.2, 1.5, .4, 1) 1.2s both; }
.mock-float { position: absolute; background: #fff; color: var(--ink); border-radius: 10px; padding: .5rem .8rem; font-size: .8rem; box-shadow: 0 14px 40px rgba(0, 8, 30, .4); display: flex; flex-direction: column; line-height: 1.3; }
.mock-float span { color: var(--ink-soft); font-size: .72rem; }
.mock-float.f1 { left: -22px; bottom: -14px; transform: translateZ(70px); animation: bob 6s ease-in-out infinite; }
.mock-float.f2 { right: -6px; top: 0; transform: translateZ(100px); animation: bob 7s ease-in-out -2s infinite; }

/* Sections */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec.alt { background: var(--bg); }
.sec.dark { background: var(--navy); color: #fff; }
.sec.dark .eyebrow { color: var(--sky); }
.sec h2 + * { margin-top: 2.2rem; }
.sec-lead { max-width: 62ch; color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem !important; margin-bottom: 0; }

.pain { padding: clamp(48px, 7vw, 88px) 0; background: var(--white); }
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.pain-card { background: var(--bg); border-radius: var(--r); padding: 1.3rem 1.4rem; }
.pain-card b { display: block; font: 700 1.5rem/1.05 var(--display); margin-bottom: .5rem; }
.pain-card p { color: var(--ink-soft); }
.pain-to { margin-top: 2rem; font-size: 1.15rem; }
.pain-to strong { color: var(--blue); }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.feat { border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feat:hover { box-shadow: 0 18px 44px rgba(14, 27, 51, .12); border-color: #c4d3ee; }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: color-mix(in srgb, var(--blue) 12%, #fff); color: var(--blue); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.feat h3 { margin-bottom: .5rem; }
.feat p { color: var(--ink-soft); font-size: .98rem; }

.steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--r); padding: 1.4rem; border: 1px solid var(--line); }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.3rem var(--display); margin-bottom: .9rem; }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); font-size: .95rem; }
.demo-video { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; margin-top: 3rem; background: var(--navy); color: #fff; border-radius: 16px; padding: clamp(1.2rem, 3vw, 2rem); }
.demo-copy p { color: #b9c9ea; margin-top: .6rem; }
.demo-video video { width: 100%; border-radius: 10px; background: #000; aspect-ratio: 16 / 9; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.2rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; background: var(--white); }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 10px 28px rgba(14, 27, 51, .08); }
.plan-tag { position: absolute; top: -13px; left: 1.4rem; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; }
.plan h3 { font-size: 2.1rem; }
.plan-for { color: var(--ink-soft); margin: .3rem 0 1rem; font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.plan li { padding-left: 1.5rem; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.note-small { margin-top: 1.4rem !important; font-size: .82rem; color: var(--ink-soft); }

.sec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.sg { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 1.3rem; background: rgba(255, 255, 255, .04); }
.sg b { display: block; font: 700 1.5rem/1.05 var(--display); margin-bottom: .5rem; color: var(--sky); }
.sg p { color: #b9c9ea; font-size: .94rem; }

.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem .2rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .7rem; color: var(--ink-soft); max-width: 62ch; }

.contact { background: var(--navy); color: #fff; background-image: radial-gradient(50% 70% at 10% 10%, rgba(47, 123, 255, .08), transparent 60%); }
.contact-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.contact-copy .eyebrow { color: var(--sky); }
.contact-copy p { color: #b9c9ea; margin-top: 1.1rem; max-width: 46ch; }
.contact h2 + * { margin-top: 1rem; }
.contact-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: .4rem; color: #dbe6ff; }
.contact-points li::before { content: "✓ "; color: var(--mint); font-weight: 700; }
.form { background: var(--white); color: var(--ink); border-radius: 14px; padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 30px 80px rgba(0, 8, 30, .4); }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input:not([type=checkbox]), .form select, .form textarea { font: 400 1rem var(--body); color: var(--ink); background: #f6f8fc; border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; width: 100%; min-height: 46px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); background: #fff; }
.form .check { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; line-height: 1.4; }
.form .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--blue); }
.form .check a { color: var(--blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.3em; font-size: .92rem; font-weight: 600; }
.form-msg.ok { color: #0a7a4d; }
.form-msg.err { color: #c0341d; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

.foot { background: #070A10; color: #9fb4da; padding: 2.2rem 0 2rem; font-size: .9rem; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem 2rem; align-items: start; }
.foot p { margin-top: .6rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.foot nav a { color: #c8d6f2; text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1rem; margin-top: .4rem !important; font-size: .8rem; }

/* Apparition douce */
.rv { opacity: 0; translate: 0 22px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .8, .2, 1), transform .2s ease, box-shadow .2s ease; }
.rv.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rv { opacity: 1; translate: none; transition: none; } .mock { transform: none; } .btn, .feat, .tilt { transition: none; transform: none !important; } .glow, .mock-float, .stamp, .rise { animation: none !important; opacity: 1 !important; translate: none !important; } .scene { transform: none !important; } }

/* Tablette */
@media (max-width: 980px) {
  .hero-in, .contact-in, .demo-video { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .feat-grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Mobile */
@media (max-width: 720px) {
  .burger { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 20px 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .nav .btn { margin-top: .9rem; }
  .feat-grid, .plans, .steps, .sec-grid, .row2 { grid-template-columns: minmax(0, 1fr); }
  .cta .btn { flex: 1 1 100%; }
  .mock { transform: none; }
  .scene { transform: none !important; }
  .mock-float.f1 { left: 8px; }
  .mock-float.f2 { right: 8px; }
  .plan.featured { order: -1; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 1.2rem; }
}

/* ======================= Ajouts : effets 3D sobres, prix, formulaire, connexion, mentions légales ======================= */

/* Connexion dans l'en-tête */
.nav .login { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; color: #fff !important; font-weight: 600; }
.nav .login:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.nav.static { display: flex !important; position: static; flex-direction: row; background: none; padding: 0; border: 0; gap: 1rem; }
.nav.static a { border: 0; padding: 0; }
.nav.static .login { padding: .45rem .9rem; border: 1px solid rgba(255, 255, 255, .28); }
.btn.block { width: 100%; }

/* Entrée en scène du hero */
.rise { opacity: 0; translate: 0 26px; animation: rise .9s cubic-bezier(.2, .8, .2, 1) calc(.1s + var(--d, 0) * .11s) forwards; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }
@keyframes slam { 0% { opacity: 0; transform: rotate(-9deg) scale(2.6); } 55% { opacity: 1; transform: rotate(-9deg) scale(.92); } 100% { opacity: .92; transform: rotate(-9deg) scale(1); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes drift { from { translate: 0 0; scale: 1; } to { translate: 40px -30px; scale: 1.15; } }

/* Lueurs d'arrière-plan */
.hero, .contact, .login-main { position: relative; isolation: isolate; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; z-index: -1; animation: drift 16s ease-in-out infinite alternate; }
.glow.g1 { width: 460px; height: 460px; background: #2f6fe0; right: -160px; top: -140px; opacity: .2; }
.glow.g2 { display: none; }
.glow.g3 { width: 440px; height: 440px; background: #2f6fe0; left: -160px; top: -100px; opacity: .1; }

/* Scène 3D du hero */
.hero-art { perspective: 1400px; }
.scene { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; will-change: transform; }

/* Cartes inclinables avec reflet */
.tilt { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); will-change: transform; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 88, 224, .1), transparent 62%); }
.tilt:hover::after { opacity: 1; }
.sg.tilt::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(127, 176, 255, .18), transparent 62%); }
.feat:hover .ico { background: var(--blue); color: #fff; }
.ico { transition: background .2s ease, color .2s ease; }

/* Étapes : la ligne se trace */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 42px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1) .2s; z-index: 0; }
.steps.go::before { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; }
.steps.go .n { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.steps li:nth-child(2) .n { animation-delay: .25s; }
.steps li:nth-child(3) .n { animation-delay: .5s; }
.steps li:nth-child(4) .n { animation-delay: .75s; }
@keyframes pop { from { transform: scale(.4); } to { transform: scale(1); } }

/* Offres */
.price { display: flex; align-items: baseline; gap: .4rem; margin: 0; }
.price b { font: 800 3rem/1 var(--display); letter-spacing: .01em; color: var(--ink); }
.price span { color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.price-sub { margin: .1rem 0 1rem; color: var(--blue); font-weight: 600; font-size: .9rem; }
.plan.featured { background: var(--white); }
.price-notes { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: var(--ink-soft); font-size: .92rem; }
.price-notes li { padding-left: 1.3rem; position: relative; }
.price-notes li::before { content: "•"; position: absolute; left: .2rem; color: var(--blue); font-weight: 700; }
.price-notes b { color: var(--ink); }

/* Formulaire : tous les champs sont obligatoires */
.req { color: #e0311d; font-weight: 700; }
.req-note { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.form input.touched:invalid, .form select.touched:invalid, .form textarea.touched:invalid { border-color: #e0311d; background: #fff6f4; }
.form .btn[disabled] { opacity: .45; cursor: not-allowed; filter: grayscale(.4); transform: none; }
.form-hint { margin: -.3rem 0 0; font-size: .82rem; color: var(--ink-soft); }
.form-hint[hidden], .form-done[hidden], .form[hidden] { display: none; }
.form-done { background: var(--white); color: var(--ink); border-radius: 14px; padding: 2.4rem 1.8rem; text-align: center; box-shadow: 0 30px 80px rgba(0, 8, 30, .4); display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.done-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: #05361f; font: 700 2rem var(--body); animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.form-done p { max-width: 38ch; color: var(--ink-soft); }
.contact-mail { margin-top: 1.4rem !important; }
.contact-mail a { color: var(--sky); font-weight: 600; }

/* Page de connexion des entreprises */
.page-login { background: var(--navy); color: #fff; }
.page-login .top { position: static; }
.login-main { min-height: calc(100vh - 220px); display: grid; align-items: center; padding: 2rem 0 3rem; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(255, 255, 255, .05) 43px, rgba(255, 255, 255, .05) 44px); overflow: hidden; }
.login-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.login-copy h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; line-height: .95; }
.login-copy .lead { max-width: 46ch; }
.login-card { background: var(--white); color: var(--ink); border-radius: 16px; padding: 2rem; box-shadow: 0 30px 80px rgba(0, 8, 30, .5); }
.login-card h2 { font-size: 2.2rem; max-width: none; margin-bottom: .6rem; }
.login-card > p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.login-help { list-style: none; margin: 1.4rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .7rem; font-size: .88rem; color: var(--ink-soft); }
.login-help b { color: var(--ink); }
.login-help a, .login-new a { color: var(--blue); font-weight: 600; }
.login-new { margin-top: 1.2rem; font-size: .9rem; color: var(--ink-soft); }

/* Mentions légales */
.page-legal .top { position: static; }
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; margin-bottom: .4rem; }
.legal h2 { font-size: 1.9rem; margin: 2.2rem 0 .6rem; max-width: none; }
.legal p, .legal li { color: #2c3a55; max-width: 72ch; }
.legal ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.legal-date { color: var(--ink-soft) !important; margin-bottom: 1.4rem; }
.legal a { color: var(--blue); }
mark.todo { background: #fff2b8; color: #6b4b00; padding: .05em .4em; border-radius: 4px; font-weight: 600; }
.legal-note { margin-top: 2.4rem; padding: .9rem 1.1rem; background: var(--bg); border-radius: 10px; font-size: .88rem; color: var(--ink-soft) !important; }

@media (max-width: 980px) { .login-in { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; } .steps::before { display: none; } }
@media (max-width: 720px) {
  .nav .login { justify-content: center; margin-top: .4rem; padding: .7rem; }
  .nav.static { gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
  .login-card { padding: 1.4rem; }
  .price b { font-size: 2.6rem; }
}

/* Libellés : l'astérisque rouge suit directement le nom du champ */
.form .lb { display: block; }
.form .lb .req { margin-left: .2em; }

/* Téléphone avec drapeau */
.phone { position: relative; display: block; }
.phone .flag, .phone .flag-none { position: absolute; left: .8rem; top: 50%; translate: 0 -50%; width: 28px; height: 20px; border-radius: 3px; pointer-events: none; }
.phone .flag { object-fit: cover; box-shadow: 0 0 0 1px rgba(14, 27, 51, .18); }
.phone .flag-none { border: 1.5px dashed var(--line-strong, #c3cbda); }
.phone .flag[hidden], .phone .flag-none[hidden] { display: none; }
.form .phone input { padding-left: 3.5rem; }
.phone-hint { font-weight: 400; font-size: .78rem; color: var(--ink-soft); }

/* Pas de défilement horizontal ; le menu passe en bouton avant d'être trop serré */
html, body { overflow-x: clip; }
.hero, .contact, .login-main { overflow: clip; }
.nav a { white-space: nowrap; }
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav:not(.static) { position: absolute; left: 0; right: 0; top: 64px; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 20px 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); display: none; }
  .nav.open:not(.static) { display: flex; }
  .nav:not(.static) a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .nav:not(.static) .btn { margin-top: .9rem; }
  .nav:not(.static) .login { justify-content: center; margin-top: .4rem; padding: .7rem; }
}

/* Pied de page : le logo garde sa taille, les liens passent à la ligne si besoin */
.foot-in { grid-template-columns: auto 1fr; }
.foot-in > div:first-child img { width: 148px; max-width: none; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: flex-end; }
@media (max-width: 720px) { .foot-in { grid-template-columns: minmax(0, 1fr); } .foot-in nav { justify-content: flex-start; } }

/* ======================= Pages intérieures, fil d'Ariane, appel à l'action ======================= */
[data-d="0"] { --d: 0; } [data-d="1"] { --d: 1; } [data-d="2"] { --d: 2; } [data-d="3"] { --d: 3; } [data-d="4"] { --d: 4; }
.contact h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 24ch; }
.contact h1 + * { margin-top: 1rem; }
.page-hero { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: #fff; padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(255, 255, 255, .05) 43px, rgba(255, 255, 255, .05) 44px); }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; line-height: .95; max-width: 20ch; }
.page-hero .lead { max-width: 56ch; margin-top: 1.1rem; }
.page-hero .cta { margin-top: 1.6rem; }
.crumbs { margin: 0 0 1.4rem; font-size: .85rem; color: #9fb4da; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .6rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: .6rem; color: #6c82ad; }
.crumbs a { color: #c8d6f2; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.more { display: inline-flex; gap: .35rem; align-items: center; margin-top: .9rem; color: var(--blue); font-weight: 600; text-decoration: none; font-size: .92rem; }
.more:hover { text-decoration: underline; }
.nav a[aria-current="page"]:not(.btn) { color: #fff; box-shadow: inset 0 -2px 0 var(--sky); }
.cta-band { background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 72px) 0; text-align: center; }
.cta-band h2 { margin-inline: auto; max-width: 22ch; }
.cta-band p { color: #b9c9ea; max-width: 52ch; margin: 1rem auto 0; }
.cta-band .cta { justify-content: center; margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.prose { max-width: 70ch; }
.prose p, .prose li { color: #2c3a55; }
.prose ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound h1 { font-size: clamp(3rem, 9vw, 6rem); }
.notfound .cta { display: flex; gap: .8rem; justify-content: center; margin-top: 1.4rem; flex-wrap: wrap; }
.teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.teaser a { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; background: var(--white); transition: border-color .2s ease, transform .2s ease; }
.teaser a:hover { border-color: var(--blue); transform: translateY(-3px); }
.teaser b { font: 800 1.9rem/1 var(--display); display: block; }
.teaser span { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 720px) { .teaser { grid-template-columns: minmax(0, 1fr); } }

/* Formulaire : fond neutre pour tous les champs (pas de teinte orange du navigateur) */
.form input:-webkit-autofill, .form input:-webkit-autofill:hover, .form input:-webkit-autofill:focus, .form select:-webkit-autofill, .form textarea:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 1000px #f6f8fc inset; caret-color: var(--ink); transition: background-color 9999s ease-out; }
.form input.touched:invalid, .form select.touched:invalid, .form textarea.touched:invalid { background: #fff; border-color: #c23a22; box-shadow: 0 0 0 3px rgba(194, 58, 34, .12); }
.form select option { background: #fff; color: var(--ink); }

/* Moins de bleu : fonds graphite, le bleu reste réservé aux boutons, liens et repères */
.hero, .page-hero, .login-main { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(255, 255, 255, .025) 43px, rgba(255, 255, 255, .025) 44px); }
.page-hero h1 em, .login-copy h1 em { font-style: normal; color: #fff; }
.contact-copy .eyebrow, .sec.dark .eyebrow { color: #9AA8C2; }
section[id] { scroll-margin-top: 72px; }

/* ======================= Thème clair (le sombre ne reste que dans le pied de page) ======================= */
.top { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); }
.nav a:not(.btn) { color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .login { border-color: var(--line) !important; color: var(--ink) !important; }
.nav .login:hover { background: var(--bg); border-color: #c3cbda !important; }
.burger i { background: var(--ink); }
@media (max-width: 900px) {
  .nav:not(.static) { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(14, 27, 51, .1); }
  .nav:not(.static) a:not(.btn) { border-bottom-color: var(--line); }
}
.btn.ghost { border-color: #c3cbda; color: var(--ink); }
.btn.ghost:hover { background: var(--bg); border-color: var(--ink-soft); }
.eyebrow, .contact-copy .eyebrow, .sec.dark .eyebrow { color: var(--blue); }

/* Hero */
.hero, .page-hero { background-color: #F7F9FC; color: var(--ink); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(14, 27, 51, .035) 43px, rgba(14, 27, 51, .035) 44px); }
.hero h1, .page-hero h1 { color: var(--ink); }
.hero h1 em { color: var(--ink); background: linear-gradient(transparent 88%, rgba(10, 88, 224, .85) 88%); }
.hero .lead, .page-hero .lead { color: var(--ink-soft); }
.hero-points { color: var(--ink-soft); }
.hero-points li::before, .contact-points li::before { color: #17744B; }
.glow.g1, .glow.g3 { background: #dbe6fb; opacity: .7; }
.glow.g2 { display: none; }
.crumbs { color: var(--ink-soft); }
.crumbs a { color: var(--ink); }
.crumbs a:hover { color: var(--blue); }
.crumbs li + li::before { color: #9aa8c2; }

/* Captures de l'application */
.shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(14, 27, 51, .04), 0 28px 64px rgba(14, 27, 51, .16); }
.shot img { width: 100%; height: auto; display: block; }
.hero-art { padding: 34px 0 40px; }
.hero-shot { transform: rotate(.8deg) translateZ(0); }
.hero-art .stamp { right: -10px; bottom: 6px; z-index: 2; color: #17744B; border-color: #17744B; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 26px rgba(14, 27, 51, .14); }
.mock-float { box-shadow: 0 14px 34px rgba(14, 27, 51, .16); border: 1px solid var(--line); z-index: 2; }
.mock-float.f1 { left: -26px; bottom: 54px; }
.mock-float.f2 { right: -14px; top: 4px; }
.page-hero-in { display: block; }
.page-hero.with-shot .page-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.page-shot { transform: rotate(.6deg); }

/* Vitrine d'images */
.showcase { background: #fff; }
.show-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(2.4rem, 5vw, 4rem); }
.show-row.rev .shot { order: 2; }
.show-copy h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: .8rem; }
.show-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.05rem; max-width: 42ch; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.checks li { position: relative; padding-left: 1.6rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* Sections autrefois sombres */
.sec.dark { background: var(--bg); color: var(--ink); }
.sg { background: #fff; border: 1px solid var(--line); }
.sg b { color: var(--ink); }
.sg p { color: var(--ink-soft); }
.demo-video { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(14, 27, 51, .08); }
.demo-copy p { color: var(--ink-soft); }
.contact { background: var(--bg); color: var(--ink); background-image: none; }
.contact-copy p, .contact-points { color: var(--ink-soft); }
.form { box-shadow: 0 2px 4px rgba(14, 27, 51, .04), 0 24px 60px rgba(14, 27, 51, .12); border: 1px solid var(--line); }
.cta-band { background: var(--bg); color: var(--ink); }
.cta-band p { color: var(--ink-soft); }
.page-login { background: var(--bg); color: var(--ink); }
.login-main { background-color: var(--bg); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(14, 27, 51, .035) 43px, rgba(14, 27, 51, .035) 44px); }
.login-copy .lead { color: var(--ink-soft); }
.login-card { box-shadow: 0 2px 4px rgba(14, 27, 51, .04), 0 24px 60px rgba(14, 27, 51, .12); border: 1px solid var(--line); }
.steps .n { background: var(--ink); }

@media (max-width: 980px) {
  .page-hero.with-shot .page-hero-in, .show-row { grid-template-columns: minmax(0, 1fr); }
  .show-row.rev .shot { order: 0; }
  .mock-float.f1 { left: 6px; }
  .mock-float.f2 { right: 6px; }
  .hero-art .stamp { right: 8px; }
}
@media (min-width: 981px) { .hero-in { grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); gap: 2.6rem; } }
