/* ============================================================
   lyplee.fr — maquette haute fidélité, kit marketing
   Layout : site marketing, conteneur 1200px, bandes de 96px,
   nav collante translucide, dégradé de marque en accent seulement.
   Tokens repris de l'export Claude Design (colors_and_type.css).
   ============================================================ */
:root {
  --canvas: #FCFCFD;
  --surface: #FFFFFF;
  --tint: #F7F8FB;
  --tint-2: #EFF1F7;
  --ink: #0E1330;
  --ink-2: #383F66;
  --ink-3: #545B82;
  --ink-4: #767D9F;
  --ink-5: #9AA0BC;
  --line: rgba(20, 30, 70, 0.08);
  --line-2: rgba(20, 30, 70, 0.14);
  --glass: rgba(255, 255, 255, 0.78);
  --teal: #15929E;       --teal-soft: #DCF2F4;
  --emerald: #19AF90;    --emerald-soft: #D8F2EB;
  --royal: #2158C4;      --royal-soft: #DCE7FA;
  --indigo: #6F57DD;     --indigo-soft: #E6E1FB;
  --grad: linear-gradient(135deg, #15929E 0%, #19AF90 28%, #2158C4 70%, #6F57DD 100%);
  --grad-soft: linear-gradient(135deg, #DCF2F4 0%, #D8F2EB 50%, #E6E1FB 100%);
  --on-grad: #FFFFFF;
  --todo: #B8780E;       --todo-bg: #FBEFD3;
  --ok: #19AF90;
  --shadow-sm: 0 1px 2px rgba(20, 30, 70, 0.04), 0 1px 3px rgba(20, 30, 70, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(33, 88, 196, 0.18), 0 2px 4px rgba(20, 30, 70, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(33, 88, 196, 0.22), 0 4px 8px rgba(20, 30, 70, 0.05);
  --footer-bg: #0E1330;
  --footer-fg: rgba(255, 255, 255, 0.78);
  --footer-muted: rgba(255, 255, 255, 0.5);
  --footer-line: rgba(255, 255, 255, 0.08);
  --display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 9999px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0B0F24; --surface: #121735; --tint: #161C3D; --tint-2: #1D2448;
    --ink: #F3F5FA; --ink-2: #CBD0E2; --ink-3: #ABB2CC; --ink-4: #8C94B4; --ink-5: #6F779A;
    --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.18);
    --glass: rgba(11, 15, 36, 0.78);
    --teal: #3CBCC7; --teal-soft: #113B42; --emerald: #3FCBAB; --emerald-soft: #0F3A33;
    --royal: #6E9DF2; --royal-soft: #1B2E5C; --indigo: #A999F4; --indigo-soft: #2C2757;
    --grad-soft: linear-gradient(135deg, #123A42 0%, #11393A 50%, #2A2552 100%);
    --todo: #F0B454; --todo-bg: #3B2E12;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
    --footer-bg: #070A1A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #0B0F24; --surface: #121735; --tint: #161C3D; --tint-2: #1D2448;
  --ink: #F3F5FA; --ink-2: #CBD0E2; --ink-3: #ABB2CC; --ink-4: #8C94B4; --ink-5: #6F779A;
  --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.18);
  --glass: rgba(11, 15, 36, 0.78);
  --teal: #3CBCC7; --teal-soft: #113B42; --emerald: #3FCBAB; --emerald-soft: #0F3A33;
  --royal: #6E9DF2; --royal-soft: #1B2E5C; --indigo: #A999F4; --indigo-soft: #2C2757;
  --grad-soft: linear-gradient(135deg, #123A42 0%, #11393A 50%, #2A2552 100%);
  --todo: #F0B454; --todo-bg: #3B2E12;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  --footer-bg: #070A1A;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--glass); }
img, svg { max-width: 100%; }
a { color: var(--royal); text-decoration: none; transition: color 200ms var(--ease); }
a:hover { color: var(--indigo); }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-3); max-width: 60ch; }
.small { font-size: 14px; color: var(--ink-4); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-4); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { font-variant-numeric: tabular-nums; }

/* placeholder à compléter (valeur non décidée) */
.todo { font-family: var(--mono); font-size: 0.82em; padding: 1px 8px; border: 1px dashed var(--todo); border-radius: 6px; color: var(--todo); background: var(--todo-bg); white-space: nowrap; }

/* ---------- layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(64px, 8vw, 96px); }
.section-tight { padding-block: clamp(32px, 4vw, 48px); }
.band { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head > div { max-width: 720px; min-width: 0; }
.section-head p { margin-top: 14px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- eyebrow, badges, chips ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.eyebrow.pill { background: var(--teal-soft); padding: 6px 12px; border-radius: var(--r-pill); }
.eyebrow.royal { color: var(--royal); } .eyebrow.royal::before { background: var(--royal); } .eyebrow.royal.pill { background: var(--royal-soft); }
.eyebrow.indigo { color: var(--indigo); } .eyebrow.indigo::before { background: var(--indigo); } .eyebrow.indigo.pill { background: var(--indigo-soft); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--r-pill); background: var(--tint-2); color: var(--ink-2); white-space: nowrap; }
.badge-grad { background: var(--grad); color: var(--on-grad); }
.badge-teal { background: var(--teal-soft); color: var(--teal); }
.badge-royal { background: var(--royal-soft); color: var(--royal); }
.badge-emerald { background: var(--emerald-soft); color: var(--emerald); }
.badge-indigo { background: var(--indigo-soft); color: var(--indigo); }
.badge-outline { background: transparent; border: 1px solid var(--line-2); }
.chip { display: inline-flex; align-items: center; font-family: var(--display); font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: default; }
button.chip { cursor: pointer; transition: all 200ms var(--ease); }
button.chip:hover { border-color: var(--royal); color: var(--royal); }
.chip.is-on { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1; padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--grad); color: var(--on-grad); box-shadow: 0 8px 24px -8px rgba(33, 88, 196, 0.3); }
.btn-primary:hover { color: var(--on-grad); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { color: var(--royal); border-color: var(--royal); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--royal); padding-inline: 8px; }
.btn-white { background: #FFFFFF; color: #0E1330; }
.btn-white:hover { color: #2158C4; transform: translateY(-1px); }
.btn-glass { background: rgba(255, 255, 255, 0.15); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.btn-glass:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.25); }
.btn-sm { font-size: 14px; padding: 9px 18px; }
.btn-lg { font-size: 16px; padding: 15px 26px; }
.btn:active { transform: translateY(0) scale(0.99); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--royal); }
.link-arrow svg { width: 14px; height: 14px; transition: transform 200ms var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--royal); }
.nav-links a[aria-current="page"] { font-weight: 700; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--on-grad); font-weight: 600; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; box-shadow: var(--shadow-md); }
  .nav-links a { padding: 12px max(20px, env(safe-area-inset-left, 0px)); font-size: 16px; }
  .nav-links .btn { margin: 8px max(20px, env(safe-area-inset-left, 0px)) 0; }
  .nav.open .nav-links { display: flex; }
  .burger { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-width: 0; }
.hero-copy h1 { max-width: 14ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.kpis { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
.kpi b { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.kpi span { display: block; font-size: 12px; color: var(--ink-4); margin-top: 6px; }
.breadcrumb { font-size: 13px; color: var(--ink-4); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--ink-3); }
.hero-grid.profile { grid-template-columns: minmax(0, 280px) 1fr; align-items: start; }
@media (max-width: 900px) { .hero-grid, .hero-grid.profile { grid-template-columns: 1fr; gap: 36px; } }
.brief { display: flex; flex-direction: column; gap: 14px; }
.brief .mono { display: block; margin-bottom: 3px; text-transform: uppercase; }
.brief b { font-weight: 500; font-size: 15px; color: var(--ink); }

/* portrait / visuel */
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; width: min(100%, 440px); margin-left: auto; border-radius: 28px; overflow: hidden; background: var(--grad-soft); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.portrait .orbit { position: absolute; inset: 8%; width: 84%; height: 84%; color: var(--royal); opacity: 0.55; }
.portrait .initials { position: relative; z-index: 2; font-family: var(--display); font-size: clamp(64px, 10vw, 112px); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.portrait .caption { position: absolute; left: 20px; bottom: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-2); }
.portrait.round { aspect-ratio: 1; border-radius: 50%; width: 240px; max-width: 100%; margin: 0; }
.profile-teaser { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
@media (max-width: 700px) { .profile-teaser { grid-template-columns: 1fr; gap: 24px; } }
.portrait.round .initials { font-size: 64px; }
.portrait.round .caption { display: none; }
.portrait.photo { background: #0A0B10; }
.portrait.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; display: block; }
.portrait.round.photo img { object-position: 50% 16%; }
.float-card { position: absolute; z-index: 3; right: -8px; bottom: 56px; background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 18px; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--ink-2); box-shadow: var(--shadow-md); min-width: 220px; }
.float-card .k { color: var(--ink-4); font-size: 10px; letter-spacing: 0.08em; }
.float-card .ok { color: var(--ok); }
.hero-visual { position: relative; min-width: 0; }
@media (max-width: 900px) { .portrait { margin-left: 0; width: min(100%, 360px); } .float-card { right: 0; } }

/* gradient visual block (apps) */
.visual-grad { position: relative; aspect-ratio: 1 / 1; max-width: 100%; width: min(100%, 460px); margin-left: auto; border-radius: 28px; background: var(--grad); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; place-items: center; padding: 28px; }
.visual-grad .orbit { position: absolute; inset: -5%; width: 110%; height: 110%; color: #fff; opacity: 0.5; }
@media (max-width: 900px) { .visual-grad { margin-left: 0; } }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card.lift { transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease); }
.card.lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--royal-soft); }
.card.feature { background: var(--grad-soft); border-color: transparent; }
.card.selected { border: 2px solid var(--royal); }
.card.pad-lg { padding: 32px; }
.card p { font-size: 15px; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.icon-tile svg { width: 20px; height: 20px; }
.icon-tile.teal { background: var(--teal-soft); color: var(--teal); }
.icon-tile.emerald { background: var(--emerald-soft); color: var(--emerald); }
.icon-tile.royal { background: var(--royal-soft); color: var(--royal); }
.icon-tile.indigo { background: var(--indigo-soft); color: var(--indigo); }
.icon-tile.grad { background: var(--grad); color: var(--on-grad); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* checks */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--royal-soft); }
.checks li::after { content: ""; position: absolute; left: 4px; top: 6px; width: 10px; height: 10px; background: var(--royal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks.inline { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
.checks.inline li { flex: 1 1 240px; }

/* ---------- steps ---------- */
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stepper::before { content: ""; position: absolute; top: 18px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line-2); }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: var(--on-grad); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--canvas); }
.band .step-num { box-shadow: 0 0 0 6px var(--tint); }
.step h3 { font-size: 18px; }
.step p { font-size: 14px; }
@media (max-width: 760px) { .stepper { grid-template-columns: 1fr 1fr; } .stepper::before { display: none; } }
@media (max-width: 440px) { .stepper { grid-template-columns: 1fr; } }

/* ---------- references ---------- */
.refs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.refs-list { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--ink-4); }
.refs-list span { white-space: nowrap; }

/* ---------- IA band ---------- */
.ia-card { background: var(--grad-soft); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; position: relative; overflow: hidden; }
.ia-card .orbit-bg { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; color: var(--royal); opacity: 0.12; pointer-events: none; }
.ia-card > * { position: relative; z-index: 1; min-width: 0; }
.ia-mark { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); color: var(--on-grad); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; box-shadow: var(--shadow-md); }
@media (max-width: 640px) { .ia-card { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 20px; color: var(--royal); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; font-size: 15px; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.compare th { font-family: var(--display); font-weight: 700; color: var(--ink); background: var(--tint); font-size: 16px; text-align: center; }
.card.custom { border: 2px dashed var(--royal); box-shadow: none; }
.compare td:first-child { font-family: var(--display); font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.compare td:last-child { color: var(--ink); font-weight: 500; background: var(--royal-soft); }
.compare th:last-child { background: var(--grad); color: var(--on-grad); }
.compare tr:last-child td { border-bottom: 0; }

/* ---------- parcours interactif ---------- */
.parcours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.timeline { list-style: none; margin: 0 0 0 8px; padding: 0; border-left: 2px solid var(--line-2); }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--tint); transition: transform 200ms var(--ease); }
.tl.is-active::before { transform: scale(1.35); box-shadow: 0 0 0 4px var(--tint), 0 0 0 7px var(--royal-soft); }
.tl-btn { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 12px 10px 12px 24px; cursor: pointer; color: inherit; font: inherit; border-radius: var(--r-md); transition: background 200ms var(--ease); }
.tl-btn:hover { background: var(--surface); }
.tl.is-active .tl-btn { background: var(--surface); box-shadow: var(--shadow-sm); }
.tl-btn .year { font-family: var(--mono); font-size: 13px; color: var(--ink-4); }
.tl-btn b { display: block; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.3; }
.tl.is-active .tl-btn b { color: var(--royal); }
.tl-btn small { display: block; font-size: 14px; color: var(--ink-3); }
.tl-btn svg { width: 16px; height: 16px; color: var(--ink-5); transition: transform 200ms var(--ease), color 200ms var(--ease); }
.tl.is-active .tl-btn svg { color: var(--royal); transform: translateX(3px); }
.tl-detail { display: none; }
.parcours-panel { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); min-height: 360px; }
.panel-body { display: flex; flex-direction: column; gap: 14px; }
.panel-body h3 { font-size: 24px; }
.panel-body .checks li { font-size: 14px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-body.enter { animation: panelIn 360ms var(--ease); }
@media (max-width: 860px) {
  .parcours { grid-template-columns: 1fr; }
  .parcours-panel { display: none; }
  .tl-btn { grid-template-columns: 56px 1fr auto; }
  .tl.is-active .tl-detail { display: flex; flex-direction: column; gap: 12px; padding: 4px 10px 18px 24px; animation: panelIn 360ms var(--ease); }
  .tl.is-active .tl-btn svg { transform: rotate(90deg); }
}

/* ---------- months (disponibilité) ---------- */
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.month { border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 14px 12px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.month b { font-family: var(--display); font-size: 15px; }
.month span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.month.full { opacity: 0.45; }
.month.open { border-color: var(--royal); border-width: 2px; background: var(--royal-soft); }
.month.open span { color: var(--royal); }
.month.partial { border-color: var(--emerald); }
.month.partial span { color: var(--emerald); }
@media (max-width: 720px) { .months { grid-template-columns: repeat(3, 1fr); } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--ink); }
.field label small { font-weight: 400; color: var(--ink-4); }
.input, .select, .textarea { width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 11px 14px; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.input::placeholder, .textarea::placeholder { color: var(--ink-5); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(33, 88, 196, 0.18); }
.textarea { min-height: 64px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { margin-top: 3px; accent-color: var(--royal); width: 16px; height: 16px; }
.form-steps { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink); }
.form-steps i { flex: 1; height: 2px; background: var(--line-2); }
.form-steps .step-num { box-shadow: none; }
.form-steps .muted { color: var(--ink-4); }
.divider { height: 1px; background: var(--line); }
.form-error { background: var(--todo-bg); color: var(--todo); border-radius: var(--r-md); padding: 10px 14px; font-size: 14px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }

/* calendrier (widget Cal.com simulé) */
.cal-widget { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px; background: var(--tint); display: flex; flex-direction: column; gap: 14px; }
.cal-widget .widget-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cal-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
@media (max-width: 640px) { .cal-grid { grid-template-columns: 1fr; } }
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.cal-head button { background: none; border: 0; font-size: 18px; color: var(--ink-3); cursor: pointer; padding: 2px 8px; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-days b { font-family: var(--mono); font-size: 10px; text-align: center; color: var(--ink-4); padding: 4px 0; }
.cal-days button { font-family: var(--display); font-weight: 600; font-size: 13px; border: 0; border-radius: 8px; aspect-ratio: 1; background: var(--royal-soft); color: var(--royal); cursor: pointer; }
.cal-days button:hover { background: var(--royal); color: #fff; }
.cal-days button.off { background: transparent; color: var(--ink-5); cursor: default; }
.cal-days button.is-on { background: var(--royal); color: #fff; }
.slots { display: flex; flex-direction: column; gap: 10px; }
.slots .chips .chip { min-width: 72px; justify-content: center; font-variant-numeric: tabular-nums; }

/* ---------- mock screens (captures d'app simulées) ---------- */
.mock { aspect-ratio: 16 / 10; max-width: 100%; width: 100%; border-radius: var(--r-md); background: var(--tint); border: 1px solid var(--line); overflow: hidden; position: relative; }
.mock svg { width: 100%; height: 100%; display: block; }
.mock.tall { aspect-ratio: 4 / 3; }

/* ---------- CTA panel ---------- */
.cta-panel { position: relative; overflow: hidden; border-radius: 28px; background: var(--grad); padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-panel .orbit { position: absolute; right: -80px; top: -80px; width: 480px; height: 480px; color: #fff; opacity: 0.25; pointer-events: none; }
.cta-panel > * { position: relative; z-index: 2; min-width: 0; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255, 255, 255, 0.85); font-size: 17px; margin-top: 14px; max-width: 480px; }
.cta-panel .actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 760px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--footer-bg); color: var(--footer-fg); padding-block: 56px 32px; margin-top: clamp(40px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--footer-line); }
.footer .brand { color: #fff; }
.footer p { color: var(--footer-muted); font-size: 13px; max-width: 320px; }
.footer h5 { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--footer-muted); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer ul a { color: var(--footer-fg); }
.footer ul a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--footer-muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(20px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); background: var(--glass); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .sticky-cta .btn { width: 100%; }
  body.has-sticky { padding-bottom: 76px; }
}

/* ---------- misc ---------- */
.copy-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn { font-family: var(--display); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.copy-btn:hover { color: var(--royal); border-color: var(--royal); }
.success-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); margin: 0 auto; }
.success-icon svg { width: 40px; height: 40px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- menu Demo (accès aux applications de démonstration) ---------- */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--ink-2); background: none; border: 0; cursor: pointer; padding: 0; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: var(--royal); }
.nav-dd-btn .chev { width: 14px; height: 14px; transition: transform 200ms var(--ease); }
.nav-dd.open .chev { transform: rotate(180deg); }
.nav-dd-panel { position: absolute; top: calc(100% + 18px); left: 50%; width: 380px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px); transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms; z-index: 60; }
.nav-dd.open .nav-dd-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-panel .app-tile { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--r-md); color: var(--ink); transition: background 160ms var(--ease); }
.nav-dd-panel .app-tile:hover { background: var(--tint); color: var(--ink); }
.nav-dd-panel .icon-tile { flex: none; }
.app-tile-txt { display: flex; flex-direction: column; gap: 2px; }
.app-tile-txt b { font-family: var(--display); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.app-tile-txt > span { font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.app-tile-txt .ext { width: 13px; height: 13px; opacity: .6; }
.nav-dd-foot { border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 14px 6px; font-size: 12px; color: var(--ink-4); }
/* Demo masqué sur mobile : applications conçues pour ordinateur */
@media (max-width: 860px) { .nav-dd { display: none; } }
/* Petits écrans : les étiquettes et boutons longs passent à la ligne au lieu de déborder */
@media (max-width: 480px) {
  .badge { white-space: normal; max-width: 100%; }
  .btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.25; }
}
