@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/plex-mono-400.woff2") format("woff2"); }

/* Tokens du design system D01 (jisr_dmd_design.pen) */
:root {
  --bg: #F5F8F7; --surface: #FFFFFF; --surface-alt: #EDF2F1;
  --border: #DCE5E3; --border-strong: #BECBC9;
  --text: #0F1A19; --text-2: #4E605D; --text-3: #677472;
  --primary: #0E6E68; --primary-press: #0A524E; --primary-soft: #DBEBE9; --on-primary: #FFFFFF;
  --success: #1B784A; --success-soft: #DBEFE3; --danger: #B3261E; --danger-soft: #FADCD9;
  --ai: #6B4EA8; --ai-soft: #EAE4F7;
  --ink: #0F1A19; --ink-line: #2A3635; --ink-text: #F5F8F7; --ink-2: #A3B2B0; --ink-3: #788886; --ink-accent: #59C0B8; --ink-soft: #12302E;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --gutter: 80px; --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 400 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.h2 { font-size: 44px; font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
.lead { font-size: 18px; color: var(--text-2); max-width: 640px; }

/* Boutons — cible tactile ≥ 48 px */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-sm); font: 600 16px var(--sans); text-decoration: none; transition: background .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-press); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-soft); }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chip { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }

/* En-tête */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.brand span { padding-left: 12px; border-left: 1px solid var(--border-strong); font: 500 13px var(--sans); letter-spacing: .14em; color: var(--text-2); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-links .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--r-sm); background: none; color: var(--text); place-items: center; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, #EAF3F1 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 470px; gap: 72px; padding-top: 88px; }
.hero-text { display: flex; flex-direction: column; gap: 28px; padding-bottom: 96px; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 14px; font-weight: 500; }
.pill .icon { width: 16px; height: 16px; }
.hero h1 { font-size: 60px; font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.hero p.lead { font-size: 19px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero small { font-size: 14px; color: var(--text-3); }
.phone { align-self: end; width: 390px; height: 640px; margin-left: auto; margin-right: 40px; border: 10px solid var(--ink); border-bottom: 0; border-radius: 44px 44px 0 0; overflow: hidden; background: var(--bg); box-shadow: 0 24px 60px rgba(15,26,25,.16); }
.phone img { width: 100%; height: auto; }

/* Constat */
.dark { background: var(--ink); color: var(--ink-text); }
.problem .wrap { display: grid; grid-template-columns: 520px 1fr; gap: 80px; padding-top: 96px; padding-bottom: 96px; }
.problem .eyebrow { color: var(--ink-accent); }
.problem h2 { margin-top: 20px; font-size: 36px; font-weight: 600; line-height: 1.2; }
.problem li { display: flex; gap: 20px; padding: 24px 0; }
.problem li + li { border-top: 1px solid var(--ink-line); }
.problem .chip { width: 44px; height: 44px; background: var(--ink-soft); color: var(--ink-accent); }
.problem h3 { font-size: 18px; font-weight: 600; }
.problem li p { margin-top: 6px; color: var(--ink-2); }

/* Parcours */
.section { padding: 112px 0; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { border-top: 3px solid var(--border); padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.steps li:first-child { border-top-color: var(--primary); }
.step-top { display: flex; justify-content: space-between; align-items: center; }
.step-top span { font: 400 15px var(--mono); color: var(--text-3); }
.steps h3 { font-size: 21px; font-weight: 600; }
.steps p { color: var(--text-2); }

/* IA */
.ai { background: var(--bg); }
.ai .wrap { display: grid; grid-template-columns: 480px 1fr; gap: 80px; align-items: start; }
.ai .eyebrow { color: var(--ai); }
.ai-left { display: flex; flex-direction: column; gap: 20px; }
.ai-banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--ai-soft); color: var(--ai); font-size: 15px; font-weight: 500; }
.ai-banner .icon { width: 18px; height: 18px; }
.ai-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; }
.card h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.dot .icon { width: 18px; height: 18px; }
.yes .dot { background: var(--success-soft); color: var(--success); }
.no .dot { background: var(--danger-soft); color: var(--danger); }
.card li { position: relative; padding: 14px 0 0 18px; color: var(--text-2); }
.card li::before { content: ""; position: absolute; left: 0; top: 25px; width: 6px; height: 6px; border-radius: 50%; }
.yes li::before { background: var(--success); }
.no li::before { background: var(--danger); }

/* Confidentialité */
.privacy-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.privacy-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; text-decoration: none; min-height: 44px; }
.textlink:hover { text-decoration: underline; }
.textlink .icon { width: 18px; height: 18px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.principles li { display: flex; gap: 24px; padding: 32px; border-radius: var(--r-lg); background: var(--bg); }
.principles .chip { width: 52px; height: 52px; background: var(--surface); border: 1px solid var(--border); }
.principles h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.principles p { color: var(--text-2); }

/* Contact */
.contact { padding-bottom: 112px; }
.contact-box { display: flex; align-items: center; gap: 64px; padding: 64px; border-radius: var(--r-xl); background: var(--primary); color: #fff; }
.contact-box > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.contact-box .eyebrow { color: #BFE3DF; }
.contact-box h2 { font-size: 40px; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.contact-box p { color: #DBEBE9; font-size: 18px; max-width: 640px; }
.contact-side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mail { display: inline-flex; align-items: center; gap: 8px; font: 400 15px var(--mono); color: #fff; text-decoration: none; }
.mail:hover { text-decoration: underline; }
.mail .icon { width: 16px; height: 16px; color: #DBEBE9; }

/* Pied */
.footer { padding: 48px 0; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.footer .brand b { color: #fff; }
.footer .brand span { color: var(--ink-2); border-color: #3C4A49; }
.footer-top > div:first-child p { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.footer-cols { display: flex; gap: 72px; }
.footer-cols h3 { font-size: 14px; font-weight: 600; color: #E9EFEE; margin-bottom: 12px; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a, .footer-cols li { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ink-line); color: var(--ink-3); font-size: 13px; }

/* Page Données et conformité */
.page-head { background: var(--bg); padding: 72px 0 56px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: 48px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.page-head time { font: 400 13px var(--mono); color: var(--text-3); }
.doc { display: grid; grid-template-columns: 260px minmax(0, 820px); gap: 80px; padding-top: 64px; padding-bottom: 96px; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc p { font: 400 12px var(--mono); letter-spacing: .1em; color: var(--text-3); margin-bottom: 8px; }
.toc a { display: block; padding: 10px 12px; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; font-size: 15px; }
.toc a:hover { background: var(--primary-soft); color: var(--primary); }
.doc section { display: flex; gap: 24px; padding: 32px 0; scroll-margin-top: 96px; }
.doc section + section { border-top: 1px solid var(--border); }
.doc section .chip { width: 44px; height: 44px; }
.doc section .icon { width: 20px; height: 20px; }
.doc h2 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.doc section p, .doc section li { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.doc section p + p, .doc section p + ul, .doc section ul + p { margin-top: 12px; }
.doc section li { position: relative; padding-left: 18px; }
.doc section li + li { margin-top: 10px; }
.doc section li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.doc a { color: var(--primary); font-weight: 500; }

/* Tablette */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .hero .wrap { grid-template-columns: 1fr 360px; gap: 40px; }
  .phone { width: 340px; height: 560px; margin-right: 0; }
  .hero h1 { font-size: 48px; }
  .problem .wrap, .ai .wrap { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .doc { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .menu-btn { display: grid; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #fff; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 16px; min-height: 52px; }
  .nav .wrap { min-height: 68px; }
  .brand b { font-size: 22px; } .brand img { width: 30px; height: 30px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 32px; gap: 32px; }
  .hero-text { padding-bottom: 0; gap: 20px; }
  .hero h1 { font-size: 34px; line-height: 1.12; }
  .hero p.lead { font-size: 17px; }
  .actions, .actions .btn { width: 100%; }
  .phone { width: 100%; max-width: 330px; height: 380px; margin: 0 auto; border-width: 8px; border-radius: 36px 36px 0 0; }
  .h2, .problem h2 { font-size: 28px; }
  .problem .wrap { padding-top: 56px; padding-bottom: 56px; gap: 24px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .ai-cols, .principles { grid-template-columns: 1fr; gap: 16px; }
  .card, .principles li { padding: 20px; }
  .principles li { gap: 14px; }
  .privacy-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .contact { padding-bottom: 56px; }
  .contact-box { flex-direction: column; align-items: stretch; gap: 24px; padding: 28px; }
  .contact-box h2 { font-size: 24px; }
  .contact-box p { font-size: 16px; }
  .contact-side .btn { width: 100%; }
  .footer-top, .footer-cols, .footer-bottom { flex-direction: column; gap: 24px; }
  .page-head { padding: 40px 0 32px; }
  .page-head h1 { font-size: 32px; }
  .doc { padding-top: 32px; padding-bottom: 56px; }
  .doc section { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
