/* Liryc Systems — feuille de style
   Mise en page : bandeaux pleine largeur alternant blanc, lavande et bleu marine,
   contenu centré sur une grille de 1180px. */
/* Polices hébergées sur le site (aucun appel à Google Fonts, donc aucune donnée transmise à un tiers) */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/outfit-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/figtree-latin.woff2") format("woff2"); }

:root {
  --navy: #0E1230;
  --navy-2: #12163A;
  --navy-3: #1C2152;
  --violet: #6C47FF;
  --violet-dark: #4E2FE0;
  --violet-light: #9C82FF;
  --lavender: #F4F2FC;
  --lavender-2: #E9E3FF;
  --white: #FFFFFF;
  --ink: #12163A;
  --muted: #5A5F7A;
  --line: #E3E0F0;

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(42, 30, 120, .28);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--violet-light); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--violet); color: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--violet);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.3em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--violet); color: var(--white); box-shadow: 0 10px 24px -10px rgba(108, 71, 255, .8); }
.btn-primary:hover { background: var(--violet-dark); box-shadow: 0 14px 30px -10px rgba(108, 71, 255, .9); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline { color: var(--violet); border-color: var(--violet); background: transparent; }
.btn-outline:hover { background: var(--violet); color: var(--white); }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(14, 18, 48, .45); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.scrolled .header-inner { height: 64px; }
.brand img { height: 38px; width: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a {
  text-decoration: none; font-weight: 500; color: var(--ink); font-size: .98rem;
  position: relative; padding-block: 6px;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--violet); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav ul a:hover::after, .nav ul a.active::after { transform: scaleX(1); transform-origin: left; }
.nav ul a.active { color: var(--violet); }
.nav-cta { padding: .62em 1.15em; font-size: .95rem; }

.burger {
  display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--lavender); cursor: pointer; flex: none;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--navy-2);
  transition: transform .4s var(--ease), opacity .25s, top .4s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; padding-block: 72px 40px; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(108,71,255,.45), transparent 70%),
    radial-gradient(500px 380px at 5% 100%, rgba(78,47,224,.35), transparent 70%);
}
.hero-bg::after {
  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: 44px 44px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; margin-block: 18px 22px; }
.hl { color: var(--violet-light); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; border-radius: 4px;
  background: var(--violet); opacity: .55; transform: scaleX(0); transform-origin: left;
  animation: underline 1s .9s var(--ease) forwards;
}
.lead { color: #C9CBE3; font-size: 1.12rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-art { min-width: 0; }
.hero-svg { width: 100%; height: auto; overflow: visible; }

.trust {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
}
.trust li { display: flex; align-items: center; gap: 12px; color: #DADCF0; font-weight: 500; font-size: .98rem; }
.trust svg { width: 38px; height: 38px; padding: 8px; flex: none; border-radius: 10px; background: rgba(156,130,255,.16); fill: none; stroke: var(--violet-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-tint { background: var(--lavender); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.eyebrow { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.eyebrow-light { color: var(--violet-light); }
.section h2, .contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin-top: 10px; }
.sub { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--lavender-2); }
.card h3 { font-size: 1.25rem; font-weight: 600; margin-top: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--lavender); transition: background-color .4s, transform .4s var(--ease);
}
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.card:hover .ico { background: var(--violet); transform: rotate(-6deg); }
.card:hover .ico svg { stroke: var(--white); }

.audience {
  margin-top: 40px; padding: 36px 40px; border-radius: 22px;
  background: var(--navy-2); color: var(--white);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center;
}
.audience h3 { font-size: 1.6rem; font-weight: 600; }
.audience p { color: #C9CBE3; margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: rgba(156,130,255,.14); border: 1px solid rgba(156,130,255,.35); color: #E6E1FF;
  transition: background-color .3s, transform .3s var(--ease);
}
.tags li:hover { background: var(--violet); transform: translateY(-2px); }

/* Atouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-art, .split-copy { min-width: 0; }
.art-svg { width: 100%; height: auto; overflow: visible; }
.features { display: grid; gap: 22px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.features strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; }
.features p { color: var(--muted); font-size: .98rem; margin-top: 2px; }
.dot { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--violet); position: relative; margin-top: 2px; box-shadow: 0 0 0 6px var(--lavender-2); }
.dot::after { content: ""; position: absolute; left: 9px; top: 7px; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Démarche */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 26px; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s;
}
.steps.in::before { transform: scaleX(1); }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--navy-2); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--white); margin-bottom: 20px;
  transition: background-color .35s, transform .35s var(--ease);
}
.step:hover .step-num { background: var(--violet); transform: translateY(-4px); }
.step h3 { font-size: 1.2rem; font-weight: 600; }
.step p { color: var(--muted); font-size: .98rem; margin-top: 8px; }

/* Formules */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.45rem; font-weight: 600; }
.plan-desc { color: var(--muted); font-size: .98rem; min-height: 3.2em; }
.plan .btn { margin-top: auto; }
.checks { display: grid; gap: 10px; padding-block: 18px 24px; border-top: 1px solid var(--line); margin-top: 4px; }
.checks li { position: relative; padding-left: 30px; font-size: .98rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--lavender-2);
}
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--violet); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-featured { background: var(--navy-2); color: var(--white); border-color: var(--navy-2); box-shadow: 0 30px 60px -30px rgba(14,18,48,.7); }
.plan-featured .plan-desc { color: #C9CBE3; }
.plan-featured .checks { border-color: rgba(255,255,255,.14); }
.plan-featured .checks li::before { background: rgba(156,130,255,.25); }
.plan-featured .checks li::after { border-color: var(--violet-light); }
.badge {
  position: absolute; top: 28px; right: 26px; padding: 5px 12px; border-radius: 999px;
  background: var(--violet); color: var(--white); font-size: .78rem; font-weight: 600; font-family: var(--font-display);
}

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-wrap .section-head { text-align: center; margin-inline: auto; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--lavender-2); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lavender); transition: background-color .3s, transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--violet); border-radius: 2px; transition: transform .4s var(--ease), background-color .3s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus { background: var(--violet); transform: rotate(180deg); }
details[open] .plus::before, details[open] .plus::after { background: var(--white); }
details[open] .plus::after { transform: rotate(0); }
.answer { overflow: hidden; }
.answer p { padding: 0 24px 22px; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: var(--white); padding-block: 96px; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(108,71,255,.45), transparent 70%); pointer-events: none; }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy, .form { min-width: 0; }
.contact-copy > p { color: #C9CBE3; margin-top: 16px; max-width: 30em; }
.coords { margin: 36px 0 0; display: grid; gap: 20px; }
.coords dt { font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-light); font-weight: 600; }
.coords dd { margin: 4px 0 0; font-size: 1.08rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.copy { font: inherit; font-size: .8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); cursor: pointer; transition: background-color .3s; }
.copy:hover { background: rgba(255,255,255,.1); }

.form { background: var(--white); color: var(--ink); border-radius: 22px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #FBFAFE;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: var(--white); box-shadow: 0 0 0 4px rgba(108,71,255,.15); }
.field.invalid input, .field.invalid textarea { border-color: #D64262; }
.form-status { font-size: .95rem; color: var(--muted); min-height: 1.2em; }
.form-status.ok { color: #1F8A5E; }
.form-status.err { color: #C2334F; }

/* Pied de page */
.footer { background: #090B22; color: #A9ACCB; padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; gap: 12px; justify-items: start; }
.footer img { height: 34px; width: auto; }
.legal { font-size: .85rem; color: #7E82A6; }

/* Services : grille 2 x 2 quand il y a quatre cartes */
.cards:has(> .card:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }

/* Liens du pied de page */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .88rem; }
.footer-links a, .link-btn { color: #C9CBE3; text-decoration: none; transition: color .25s; }
.footer-links a:hover, .link-btn:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Bandeau cookies ---------- */
.cookie {
  position: fixed; z-index: 80;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-left: auto;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(14, 18, 48, .45);
  padding: 22px 22px 20px;
  transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform .55s var(--ease), opacity .4s, visibility 0s .55s;
}
.cookie.show { transform: none; opacity: 1; visibility: visible; transition: transform .55s var(--ease), opacity .4s, visibility 0s; }
.cookie-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cookie-head svg { width: 34px; height: 34px; flex: none; }
.cookie h2 { font-size: 1.12rem; font-weight: 600; }
.cookie p { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.cookie p a { color: var(--violet); }
.cookie-prefs { display: grid; gap: 10px; margin-top: 14px; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--lavender); }
.pref strong { font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.pref span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch input:disabled { cursor: not-allowed; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #C9C5DD; transition: background-color .3s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--violet); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { opacity: .6; }
.switch input:focus-visible + i { outline: 3px solid var(--violet-light); outline-offset: 2px; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.cookie-actions .btn { padding: .7em .8em; font-size: .9rem; }
.btn-soft { background: var(--lavender); color: var(--ink); }
.btn-soft:hover { background: var(--lavender-2); }

/* ---------- Page mentions légales ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; padding-block: 64px 56px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; margin-top: 12px; }
.page-hero p { color: #C9CBE3; margin-top: 12px; max-width: 40em; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 4px; font-size: .95rem; }
.toc a { text-decoration: none; color: var(--muted); padding: 6px 12px; border-left: 2px solid var(--line); transition: color .25s, border-color .25s; }
.toc a:hover, .toc a.active { color: var(--violet); border-color: var(--violet); }
.legal-body { min-width: 0; max-width: 760px; display: grid; gap: 44px; }
.legal-body section { scroll-margin-top: 100px; min-width: 0; }
.legal-body h2 { font-size: 1.55rem; font-weight: 600; margin-bottom: 14px; }
.legal-body h3 { font-size: 1.1rem; font-weight: 600; margin: 18px 0 6px; }
.legal-body p, .legal-body li { color: #3D4260; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul.bullets { display: grid; gap: 6px; margin-top: 8px; }
.legal-body ul.bullets li { position: relative; padding-left: 20px; }
.legal-body ul.bullets li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.legal-body a { color: var(--violet); }
.info { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; padding: 22px 24px; border-radius: 18px; background: var(--lavender); }
.info dt { font-weight: 600; color: var(--ink); }
.info dd { margin: 0; color: #3D4260; overflow-wrap: anywhere; }
.todo { background: #FFF1C7; color: #6B4E00; border-radius: 6px; padding: 0 6px; font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin-top: 10px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--lavender); font-family: var(--font-display); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* Services : carte SaaS mise en avant */
.card-featured { grid-column: span 2; background: var(--navy-2); border-color: var(--navy-2); color: var(--white); position: relative; overflow: hidden; }
.card-featured::before { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(108,71,255,.5), transparent 70%); pointer-events: none; }
.card-featured > * { position: relative; }
.card-featured p { color: #C9CBE3; max-width: 46em; }
.card-featured .ico { background: rgba(156,130,255,.18); }
.card-featured .ico svg { stroke: var(--violet-light); }
.card-featured:hover { border-color: var(--violet); }
.mini-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.mini-tags li { padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--lavender); color: var(--violet-dark); }
.card-featured .mini-tags li { background: rgba(156,130,255,.16); color: #E6E1FF; }

/* Gains */
.gains { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gain { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: grid; gap: 12px; align-content: start; }
.gain h3 { font-size: 1.4rem; font-weight: 600; }
.gain .checks { border-top: 0; padding-block: 4px 0; margin: 0; }
.gain-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--lavender); }
.gain-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--violet); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gain-dark { background: var(--violet); border-color: var(--violet); color: var(--white); background-image: linear-gradient(135deg, #7E5CFF, #4E2FE0); }
.gain-dark .gain-ico { background: rgba(255,255,255,.16); }
.gain-dark .gain-ico svg { stroke: var(--white); }
.gain-dark .checks li::before { background: rgba(255,255,255,.22); }
.gain-dark .checks li::after { border-color: var(--white); }

/* Réalisations */
.projects { display: grid; gap: 96px; }
.project { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.project-reverse .project-copy { order: 2; }
.project-copy { min-width: 0; display: grid; gap: 12px; justify-items: start; }
.project-kind { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.project h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.project-lead { color: var(--muted); }
.project .checks { border-top: 0; padding-block: 6px 4px; margin: 0; }
.project-copy .btn { margin-top: 10px; }

.project-visual {
  position: relative; min-width: 0; width: 100%; aspect-ratio: 16 / 11.5; max-width: 100%;
  border: 0; padding: 0; background: none; cursor: zoom-in; font: inherit; color: inherit; display: block;
}
.project-visual::before {
  content: ""; position: absolute; inset: 8% 4% 0 10%; border-radius: 32px;
  background: radial-gradient(ellipse at 60% 40%, var(--lavender-2), transparent 70%);
}
.browser {
  position: absolute; left: 0; top: 4%; width: 86%; display: block; border-radius: 14px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(14,18,48,.45);
  transition: transform .6s var(--ease);
}
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #F1EFFA; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF7A90; }
.browser-bar i:nth-child(2) { background: #FFC75A; }
.browser-bar i:nth-child(3) { background: #46D39A; }
.browser img { display: block; width: 100%; height: auto; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 27%; display: block;
  padding: 2.2%; border-radius: 13% / 6%; background: var(--navy-2);
  box-shadow: 0 30px 50px -20px rgba(14,18,48,.6);
  transition: transform .6s var(--ease);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 11% / 5%; }
.project-reverse .browser { left: auto; right: 0; }
.project-reverse .phone { right: auto; left: 0; }
.project-visual:hover .browser { transform: translateY(-6px); }
.project-visual:hover .phone { transform: translateY(-14px) rotate(-1.5deg); }
.project-visual:focus-visible { outline: 3px solid var(--violet-light); outline-offset: 6px; border-radius: 20px; }

.phone-left, .phone-center, .phone-right { bottom: auto; width: 31%; }
.phone-center { left: 34.5%; right: auto; top: 0; z-index: 2; }
.phone-left { left: 6%; right: auto; top: 9%; transform: rotate(-6deg); }
.phone-right { right: 6%; top: 9%; transform: rotate(6deg); }
.project-visual:hover .phone-left { transform: rotate(-9deg) translate(-8px, -6px); }
.project-visual:hover .phone-right { transform: rotate(9deg) translate(8px, -6px); }
.project-visual:hover .phone-center { transform: translateY(-10px); }
.project:has(.phone-center) .project-visual { aspect-ratio: 16 / 13; }

/* Nos applications */
.apps-section { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.apps-section::before { content: ""; position: absolute; width: 640px; height: 640px; left: -240px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(108,71,255,.35), transparent 70%); pointer-events: none; }
.apps-section .wrap { position: relative; }
.apps-section .sub { color: #C9CBE3; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.apps:has(> .app:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
.app {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); color: var(--ink); border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.app:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.app-visual {
  position: relative; display: block; width: 100%; height: 250px; overflow: hidden;
  border: 0; padding: 0; cursor: zoom-in; font: inherit; background: var(--app-bg);
}
.app-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(18,22,58,.08); }
.app-visual .app-phone {
  left: 50%; right: auto; bottom: auto; top: 34px; width: 172px; padding: 7px; border-radius: 30px;
  transform: translateX(-50%); transition: transform .6s var(--ease);
}
.app-visual .app-phone img { border-radius: 24px; }
.app:hover .app-phone { transform: translateX(-50%) translateY(-12px); }
.app-visual:focus-visible { outline: 3px solid var(--violet-light); outline-offset: -3px; }
.app-body { display: flex; flex-direction: column; gap: 14px; padding: 24px 26px 28px; flex: 1; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-icon { flex: none; width: 52px; height: 52px; border-radius: 13px; overflow: hidden; box-shadow: 0 6px 14px -6px rgba(14,18,48,.45); }
.app-icon img, .app-icon svg { display: block; width: 100%; height: 100%; }
.app-icon-light { background: var(--white); }
.app h3 { font-size: 1.35rem; font-weight: 700; }
.app-sub { color: var(--muted); font-size: .92rem; line-height: 1.4; margin-top: 2px; }
.app-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.app-meta li { padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--lavender); color: var(--muted); }
.app-meta .app-soon { background: var(--navy-2); color: var(--white); display: inline-flex; align-items: center; gap: 6px; }
.app-meta .app-soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #46D39A; box-shadow: 0 0 0 0 rgba(70,211,154,.6); animation: pulse 2s infinite; }
.app-promo { color: #3D4260; font-size: .97rem; }
.app .checks { border-top: 1px solid var(--line); padding-block: 14px 4px; margin: 0; }
.app .checks li::after { border-color: var(--app); }
.app .btn { margin-top: auto; align-self: flex-start; }
.app-poster {
  position: absolute; left: 50%; top: 30px; width: min(78%, 330px); transform: translateX(-50%);
  border-radius: 16px; overflow: hidden; background: var(--white);
  box-shadow: 0 24px 40px -20px rgba(14,18,48,.45); transition: transform .6s var(--ease);
}
.app-poster img { display: block; width: 100%; height: auto; }
.app:hover .app-poster { transform: translateX(-50%) translateY(-10px); }
.app-icon-light { border: 1px solid var(--line); }
.app-meta .app-free { background: #1F8A5E; color: var(--white); }
.app-note { font-size: .85rem; color: var(--muted); font-style: italic; }
.app-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.app-actions .btn { margin-top: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(70,211,154,0); } 100% { box-shadow: 0 0 0 0 rgba(70,211,154,0); } }

/* Visionneuse */
.lightbox {
  width: min(1200px, calc(100vw - 32px)); max-width: none; height: min(860px, calc(100dvh - 32px)); max-height: none; overflow: hidden;
  padding: 0; border: 0; border-radius: 22px; background: var(--navy); color: var(--white);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .4s var(--ease); }
.lightbox::backdrop { background: rgba(9, 11, 34, .78); backdrop-filter: blur(4px); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px 6px 22px; }
.lb-caption { font-family: var(--font-display); font-weight: 600; }
.lb-close, .lb-nav {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); color: var(--white); font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; transition: background-color .25s, transform .25s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: var(--violet); }
.lb-nav:active { transform: scale(.94); }
.lb-stage { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: minmax(0, 1fr); align-items: center; gap: 12px; padding: 6px 14px; min-height: 0; }
.lb-figure { margin: 0; min-width: 0; min-height: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; object-fit: contain; transition: opacity .25s; }
.lb-figure img.mobile { border-radius: 26px; border: 6px solid var(--navy-3); }
.lb-figure img.loading { opacity: 0; }
.lb-count { text-align: center; color: #A9ACCB; font-size: .9rem; padding: 4px 0 16px; }
@keyframes lbIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Animations ---------- */
@keyframes underline { to { transform: scaleX(1); } }
@keyframes loadIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(20deg); opacity: .6; } }

.load-in { animation: loadIn .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
.float { transform-box: fill-box; animation: float 6s ease-in-out infinite; }
.float.f2 { animation-duration: 7s; animation-delay: -2s; }
.float.f3 { animation-duration: 5s; animation-delay: -1s; }
.sparkle { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.sparkle.s2 { animation-delay: -1.4s; }

/* Apparition au défilement : uniquement quand le script a confirmé qu'il tourne */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover, .js .plan.reveal.in:hover { transform: translateY(-6px); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 18px; }
  .nav { gap: 18px; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .site-header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; z-index: 45; left: 0; right: 0;
    top: calc(env(safe-area-inset-top, 0px) + var(--nav-top, var(--header-h)));
    height: calc(100dvh - env(safe-area-inset-top, 0px) - var(--nav-top, var(--header-h)));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 28px max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    background: var(--white); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .5s var(--ease), visibility 0s .5s;
  }
  .nav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul li { opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .45s var(--ease); }
  .nav.open ul li { opacity: 1; transform: none; }
  .nav.open ul li:nth-child(1) { transition-delay: .12s; }
  .nav.open ul li:nth-child(2) { transition-delay: .17s; }
  .nav.open ul li:nth-child(3) { transition-delay: .22s; }
  .nav.open ul li:nth-child(4) { transition-delay: .27s; }
  .nav.open ul li:nth-child(5) { transition-delay: .32s; }
  .nav ul a { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-cta { align-self: stretch; padding: 1em; font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }

  .hero { padding-block: 48px 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
  .trust { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-art { max-width: 480px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan-desc { min-height: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .gains { grid-template-columns: 1fr; }
  .apps, .apps:has(> .app:nth-child(4)) { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .projects { gap: 72px; }
  .project { grid-template-columns: 1fr; gap: 32px; }
  .project-reverse .project-copy { order: 0; }
  .project-visual { max-width: 640px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .cards:has(> .card:nth-child(4):last-child) { grid-template-columns: 1fr; }
  .card-featured { grid-column: auto; }
  .apps, .apps:has(> .app:nth-child(4)) { grid-template-columns: 1fr; }
  .app-body { padding: 22px 20px 24px; }
  .gain { padding: 26px 22px; }
  .lb-stage { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; padding: 6px 12px; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-nav { grid-row: 2; }
  .lb-prev { justify-self: end; }
  .lb-next { justify-self: start; }
  .cookie { padding: 18px 16px 16px; }
  .cookie-actions { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; gap: 2px; }
  .info dd { margin-bottom: 10px; }
  .section, .contact { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
  .brand img { height: 32px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .audience { padding: 28px 22px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .plan { padding: 26px 22px; }
  .form { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .faq summary { padding: 18px; font-size: 1rem; }
  .answer p { padding: 0 18px 18px; }
}
