/* ==========================================================================
   Synovra — feuille de style principale
   Identité provisoire : bleu nuit profond + accent bleu électrique.
   ========================================================================== */

/* ---------- Polices (auto-hébergées : rapide et conforme RGPD) ---------- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Couleurs de marque */
  --navy-950: #070F22;
  --navy-900: #0B1630;
  --navy-800: #13213F;
  --navy-700: #1E2F55;
  --blue-600: #1F4BE0;
  --blue-500: #2E5BFF;   /* accent principal */
  --blue-400: #5A80FF;
  --blue-200: #C3D2FF;
  --blue-100: #E3EAFF;
  --blue-50:  #F1F5FF;
  --sky-300:  #9FD0FF;

  /* Neutres */
  --ink:      #0E1A33;
  --text:     #33405A;
  --muted:    #64708A;
  --line:     #E3E8F2;
  --line-2:   #D3DAE8;
  --bg:       #FFFFFF;
  --bg-soft:  #F5F7FC;

  /* États */
  --ok:     #0F9D6B;  --ok-bg:   #E5F7EF;
  --warn:   #B86E00;  --warn-bg: #FFF3DD;
  --info:   #2E5BFF;  --info-bg: #E9EFFF;
  --danger: #D33A3A;

  /* Typo */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Mise en page */
  --container: 1180px;
  --gutter: 20px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 51, .06);
  --shadow: 0 1px 2px rgba(14, 26, 51, .05), 0 8px 24px -8px rgba(14, 26, 51, .12);
  --shadow-lg: 0 2px 4px rgba(14, 26, 51, .04), 0 24px 60px -16px rgba(11, 22, 48, .28);
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
.i { width: 1.1em; height: 1.1em; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Boutons ---------- */
.btn {
  --bh: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--bh); padding: 0 20px;
  font: 600 .95rem/1 var(--font-sans); letter-spacing: -0.005em;
  border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --bh: 38px; padding: 0 14px; font-size: .9rem; }
.btn-lg { --bh: 52px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, #3A66FF 0%, var(--blue-500) 55%, #2A52EC 100%);
  color: #fff; border-color: #2549D8;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -6px rgba(46, 91, 255, .6);
}
.btn-primary:hover { color: #fff; background: var(--blue-600); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -6px rgba(46, 91, 255, .7); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--ink); border-color: var(--blue-200); background: var(--blue-50); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { color: var(--navy-900); background: var(--blue-50); }
.btn .i { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .i { transform: translateX(2px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 .72rem/1 var(--font-sans); font-style: normal; letter-spacing: .01em;
  padding: 5px 9px; border-radius: 999px; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-warn  { color: var(--warn); background: var(--warn-bg); }
.b-info  { color: var(--info); background: var(--info-bg); }
.b-ok    { color: var(--ok); background: var(--ok-bg); }
.b-muted { color: var(--muted); background: #EEF1F6; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(14,26,51,.18); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; }
.brand-word { font: 700 1.35rem/1 var(--font-display); color: var(--navy-900); letter-spacing: -0.03em; }
.brand-light .brand-word { color: #fff; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .93rem;
}
.main-nav a:not(.btn):hover { color: var(--ink); background: var(--bg-soft); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 0 11px; margin-right: -8px;
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile ouvert */
.main-nav.open {
  display: flex; flex-direction: column; gap: 12px;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  padding: 12px var(--gutter) 20px;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px -18px rgba(14,26,51,.3);
}
.main-nav.open ul { flex-direction: column; }
.main-nav.open a:not(.btn) { padding: 12px; font-size: 1rem; }
.main-nav.open .nav-cta { --bh: 48px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.open {
    display: flex; align-items: center; gap: 20px;
    position: static; padding: 0; background: none; border: 0; box-shadow: none; flex-direction: row;
  }
  .main-nav.open ul { flex-direction: row; }
}

/* ---------- Sections génériques ---------- */
.section { padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(46, 91, 255, .28), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(46, 91, 255, .14), transparent 60%),
    var(--navy-900);
  color: #B9C4DD;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark strong { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font: 700 .78rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-500);
}
.kicker-light { color: var(--sky-300); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.section-lead { margin-top: 16px; font-size: 1.075rem; color: var(--muted); }
.section-dark .section-lead { color: #AEBBD6; }
.fine { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 48px 72px; overflow: hidden; }
@media (min-width: 960px) { .hero { padding-block: 80px 112px; } }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 420px at 80% 10%, rgba(46, 91, 255, .12), transparent 65%),
    radial-gradient(600px 300px at 0% 0%, rgba(159, 208, 255, .25), transparent 60%),
    linear-gradient(180deg, #F6F8FF 0%, #fff 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(700px 380px at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 380px at 70% 30%, #000 0%, transparent 75%);
  opacity: .55;
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; margin-bottom: 22px;
  font-size: .85rem; font-weight: 600; color: var(--navy-700);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-100); }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.hero .lead { margin-top: 22px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .hero-ctas .btn { width: 100%; } }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .i { color: var(--ok); }

/* Mockup */
.hero-visual { position: relative; }
@media (min-width: 960px) { .hero-visual { padding-bottom: 40px; } }
.mock-window {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  font-size: .82rem;
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFCFE; }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-title { font: 700 .9rem/1 var(--font-display); color: var(--ink); }
.mock-chip { margin-left: auto; font-size: .72rem; font-weight: 600; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.mock-stats > div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.mock-stats .k { display: block; font-size: .7rem; color: var(--muted); font-weight: 500; }
.mock-stats .v { display: block; margin-top: 2px; font: 800 1.45rem/1.1 var(--font-display); color: var(--ink); }
.mock-stats .hl { background: var(--warn-bg); border-color: #F6DDB0; }
.mock-stats .hl .v { color: var(--warn); }
.mock-table { padding: 0 8px 10px; }
.mock-row {
  display: grid; grid-template-columns: 1.7fr .9fr .9fr 1.05fr; align-items: center; gap: 8px;
  padding: 9px 8px; border-top: 1px solid var(--line); color: var(--text);
}
.mock-row.head { border-top: 0; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mock-row .c { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row span:nth-child(3) { font-variant-numeric: tabular-nums; }
.av {
  flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px;
  font-size: .62rem; font-weight: 700; color: hsl(var(--h) 60% 35%); background: hsl(var(--h) 80% 94%);
}
@media (max-width: 479px) {
  .mock-row { grid-template-columns: 1.6fr .9fr 1fr; }
  .mock-row > span:nth-child(2) { display: none; }
}
.mock-float {
  position: relative; margin: -10px -4px 0 auto; width: min(340px, 92%);
  padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); font-size: .82rem;
  animation: float-in .7s .3s both cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 960px) { .mock-float { position: absolute; margin: 0; right: -28px; bottom: -64px; } }
@keyframes float-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mf-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-600); font-size: .78rem; }
.mf-head .i { width: 18px; height: 18px; }
.mf-subject { margin-top: 10px; font-weight: 600; color: var(--ink); }
.mf-body { margin-top: 4px; color: var(--muted); line-height: 1.5; }
.mf-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.mf-btn { padding: 7px 12px; border-radius: 8px; background: var(--blue-500); color: #fff; font-weight: 600; font-size: .76rem; }
.mf-note { font-size: .72rem; color: var(--muted); }

/* ---------- Bandeau ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; flex-direction: column; gap: 12px; padding-block: 22px; align-items: center; text-align: center; }
.strip p { font-size: .9rem; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.strip li { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--navy-700); }
@media (min-width: 960px) { .strip-inner { flex-direction: row; justify-content: center; gap: 20px; } }

/* ---------- Problème ---------- */
.pain-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pain h3 { margin-top: 18px; }
.pain p { margin-top: 8px; color: var(--muted); font-size: .96rem; }
.ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-500); border: 1px solid var(--blue-100);
}
.ico svg { width: 22px; height: 22px; }
.pain .ico { background: #FFF6F0; color: #C2541C; border-color: #FBE2D3; }
.pain-quote { display: flex; flex-direction: column; justify-content: center; background: var(--navy-900); border-color: var(--navy-900); }
.pain-quote .q { font: 700 1.25rem/1.35 var(--font-display); color: #fff; letter-spacing: -0.01em; }
.pain-quote .q-sub { margin-top: 12px; color: #9AA8C6; font-size: .9rem; }

/* ---------- Solution ---------- */
.solution-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .solution-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.solution-grid .btn { margin-top: 28px; }
.solution-list { display: grid; gap: 14px; }
.solution-list li {
  display: flex; gap: 16px; padding: 20px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius);
}
.solution-list .ico { flex: none; background: rgba(46, 91, 255, .18); border-color: rgba(90, 128, 255, .35); color: #BFD0FF; }
.solution-list p { margin-top: 4px; color: #AEBBD6; font-size: .95rem; }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-num { font: 800 .85rem/1 var(--font-display); color: var(--blue-500); letter-spacing: .04em; }
.step h3 { margin-top: 18px; }
.step p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.step-ill {
  margin-top: 16px; height: 96px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--blue-50), #fff); border: 1px solid var(--blue-100);
}
.si-mail { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: .75rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.si-mail i { width: 20px; height: 24px; border-radius: 4px; background: linear-gradient(180deg, #F46A5E, #D9443A); }
.si-rows { display: grid; gap: 6px; width: 70%; }
.si-rows i { height: 14px; border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.si-rows i:nth-child(2) { background: var(--blue-100); border-color: var(--blue-200); }
.si-flag .badge { font-size: .8rem; padding: 7px 12px; box-shadow: var(--shadow-sm); }
.si-draft { width: 70%; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); display: grid; gap: 6px; }
.si-draft b { font-size: .7rem; color: #C5221F; }
.si-draft i { height: 6px; border-radius: 3px; background: var(--line); }
.si-draft i:last-child { width: 60%; }

.note-callout {
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 760px; margin: 40px auto 0; padding: 16px 20px;
  background: var(--ok-bg); border: 1px solid #BFE8D6; border-radius: var(--radius); color: #1F5B45;
}
.note-callout .i { width: 22px; height: 22px; color: var(--ok); margin-top: 1px; }
.note-callout strong { color: #134634; }

/* ---------- Bénéfices ---------- */
.benefit-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit { background: #fff; padding: 28px; }
.b-ico { width: 28px; height: 28px; color: var(--blue-500); }
.benefit h3 { margin-top: 16px; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ---------- Démo ---------- */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 960px; margin-inline: auto;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(500px 260px at 50% 40%, rgba(46, 91, 255, .35), transparent 70%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
}
.video-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.vp-inner { position: relative; padding: 24px; display: flex; flex-direction: column; align-items: center; }
.vp-play {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: var(--blue-500); box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 0 0 20px rgba(255,255,255,.04);
}
.vp-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vp-title { margin-top: 24px; font: 700 1.15rem/1.3 var(--font-display); color: #fff; }
.vp-sub { margin-top: 6px; color: #AEBBD6; font-size: .92rem; max-width: 420px; }
.vp-inner .btn { margin-top: 18px; }
@media (max-width: 559px) {
  .video-frame.video-placeholder { aspect-ratio: auto; min-height: 340px; }
}

.demo-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .demo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.demo-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.demo-ill { height: 170px; display: grid; place-items: center; padding: 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.demo-card figcaption { padding: 18px 20px 20px; font-size: .93rem; color: var(--muted); }
.demo-card figcaption strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }
.dc-list { width: 100%; display: grid; gap: 8px; }
.dc-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: .8rem; font-weight: 600; color: var(--ink); }
.dc-timeline { width: 100%; display: grid; gap: 8px; position: relative; }
.dc-timeline div { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.dc-timeline b { display: inline-grid; place-items: center; min-width: 44px; padding: 5px 0; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .74rem; }
.dc-timeline .on { color: var(--warn); font-weight: 600; }
.dc-timeline .on b { background: var(--warn-bg); border-color: #F6DDB0; color: var(--warn); }
.dc-draft { width: 100%; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: .76rem; display: grid; gap: 4px; }
.dc-draft .dd-top { display: flex; justify-content: space-between; padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.dc-draft .dd-top b { color: #fff; background: #C5221F; border-radius: 999px; padding: 0 7px; font-size: .7rem; }
.dc-draft p { color: var(--muted); }
.dc-draft i { height: 6px; border-radius: 3px; background: var(--line); margin-top: 4px; }
.dc-draft i.s { width: 55%; }
#demo .fine { margin-top: 18px; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; gap: 16px; max-width: 920px; margin-inline: auto; align-items: stretch; }
@media (min-width: 820px) { .pricing { grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; } }
.price-plus {
  justify-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--muted); font: 600 1.4rem/1 var(--font-display);
}
.price-card {
  height: 100%; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.price-card.featured { border-color: var(--blue-200); box-shadow: 0 0 0 4px var(--blue-50), var(--shadow); }
.price-label { font: 700 .8rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.price .amount { font: 800 3rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.04em; }
.price .unit { font-weight: 600; color: var(--muted); }
.price-sub { margin-top: 8px; color: var(--muted); font-size: .93rem; }
.incl { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.incl li { display: flex; gap: 10px; font-size: .96rem; color: var(--text); }
.incl .i { width: 20px; height: 20px; padding: 2px; margin-top: 2px; border-radius: 50%; background: var(--blue-50); color: var(--blue-500); }
.pricing-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font: 600 1.05rem/1.4 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%232E5BFF' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid var(--line); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-600); }
.faq-a { padding: 0 4px 22px; color: var(--muted); max-width: 640px; }

/* ---------- Contact / formulaire ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.contact-copy h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); }
.contact-points { display: grid; gap: 12px; margin-top: 28px; }
.contact-points li { display: flex; gap: 10px; align-items: center; color: #D5DDEE; }
.contact-points .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(15, 157, 107, .2); color: #5BE0AE; }


.form-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); color: var(--text); }
@media (min-width: 560px) { .form-card { padding: 36px; } }
.form-card h3 { color: var(--ink); }
.form-title { font-size: 1.35rem; }
.form-sub { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.demo-form { display: grid; gap: 18px; }
.demo-form .form-sub { margin-bottom: 4px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--blue-500); }
.opt { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%2364708A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field textarea { resize: vertical; min-height: 110px; }
.field ::placeholder { color: #98A2B6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B8C2D6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-100); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid input:focus { box-shadow: 0 0 0 4px #FBE3E3; }
.err { margin-top: 6px; font-size: .82rem; color: var(--danger); min-height: 0; }
.err:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-500); cursor: pointer; }
.field-check label { margin: 0; font-weight: 400; font-size: .86rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.field-check .err { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.demo-form button[type="submit"] { margin-top: 4px; position: relative; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { font-size: .88rem; text-align: center; }
.form-status:empty { display: none; }
.form-status.error { color: var(--danger); }

.form-success { text-align: center; padding: 40px 8px; outline: none; }
.form-success .ok-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.form-success .ok-ico svg { width: 34px; height: 34px; }
.form-success h3 { margin-top: 20px; font-size: 1.35rem; }
.form-success p { margin-top: 8px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8F9BB8; font-size: .93rem; }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { margin-top: 14px; max-width: 340px; }
.fn-title { margin-bottom: 12px; font-weight: 700; color: #fff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a { color: #B4BFD8; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Pages secondaires (mentions, confidentialité, merci, 404) ---------- */
.page-simple { padding-block: 56px 96px; }
.page-simple .container { max-width: 800px; }
.page-simple h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); letter-spacing: -0.03em; }
.page-simple h2 { font-size: 1.3rem; margin-top: 40px; }
.page-simple p, .page-simple li { margin-top: 12px; }
.page-simple ul { list-style: disc; padding-left: 22px; }
.page-simple .todo { background: var(--warn-bg); color: #6B4200; padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.page-simple .updated { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.page-center { min-height: calc(100vh - var(--header-h) - 160px); display: grid; place-items: center; text-align: center; }
.page-center .ok-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); margin-bottom: 24px; }
.page-center .ok-ico svg { width: 38px; height: 38px; }
.page-center p { margin-top: 12px; color: var(--muted); }
.page-center .btn { margin-top: 28px; }


/* ---------- Lecteur vidéo de démonstration ---------- */
.video-player { cursor: pointer; }
.video-player video { background: var(--navy-950); object-fit: cover; }
.video-player.is-playing { cursor: default; }
.vp-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(7,15,34,0) 55%, rgba(7,15,34,.35));
  transition: opacity .25s ease;
}
.vp-overlay:hover .vp-play { transform: scale(1.06); }
.vp-overlay .vp-play { transition: transform .2s ease; }
.video-player.is-playing .vp-overlay { opacity: 0; pointer-events: none; }
.video-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px auto 0; }
.video-note { max-width: 640px; margin: 16px auto 0; text-align: center; font-size: .85rem; line-height: 1.5; color: var(--muted); }
video::cue { font-family: var(--font-sans); font-size: 1.05em; background: rgba(7,15,34,.72); color: #fff; }
@media (max-width: 560px) { .video-actions .btn { width: 100%; } }
