/* =====================================================================
   PixelComp59 — Design System
   Clair, minimaliste, un accent. Premium agency.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs — thème clair (défaut) */
  --ink:        #0b0d12;   /* texte principal */
  --ink-soft:   #333a46;   /* texte secondaire fort */
  --muted:      #5c6676;   /* texte discret */
  --line:       #e7e9ee;   /* filets / bordures */
  --line-2:     #eef0f4;
  --bg:         #ffffff;   /* fond principal */
  --bg-soft:    #f6f7f9;   /* sections alternées */
  --bg-ink:     #0b0d12;   /* sections sombres ponctuelles */
  --surface:    #ffffff;   /* cartes / panneaux */
  --surface-2:  #f6f7f9;
  --header-bg:  rgba(255,255,255,.72);
  --footer-bg:  #0b0d12;

  --accent:     #2f54ff;   /* accent unique — bleu électrique */
  --accent-600: #2443e6;
  --accent-700: #1c36bf;
  --accent-50:  #eef1ff;   /* teinte accent très claire */
  --accent-ring: rgba(47, 84, 255, .18);
  --on-accent:  #ffffff;

  color-scheme: light;

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

  /* Rayons & ombres */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(11,13,18,.04), 0 1px 3px rgba(11,13,18,.06);
  --shadow-md: 0 10px 30px -12px rgba(11,13,18,.18);
  --shadow-lg: 0 30px 60px -20px rgba(11,13,18,.22);

  /* Espacements */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Thème sombre ---------- */
/* Jeu de tokens sombres, factorisé */
:root[data-theme="dark"] {
  --ink:        #eef1f6;
  --ink-soft:   #c3cad6;
  --muted:      #8b94a4;
  --line:       #262c38;
  --line-2:     #1d222c;
  --bg:         #0a0c11;
  --bg-soft:    #0f131a;
  --bg-ink:     #05070b;
  --surface:    #12161f;
  --surface-2:  #171c26;
  --header-bg:  rgba(10,12,17,.72);
  --footer-bg:  #05070b;
  --accent:     #5b7bff;
  --accent-600: #4a6bff;
  --accent-700: #3d5cf0;
  --accent-50:  rgba(91,123,255,.14);
  --accent-ring: rgba(91,123,255,.30);
  --on-accent:  #ffffff;
  color-scheme: dark;
}
/* Suit le thème système tant qu'aucun choix manuel n'est enregistré */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:        #eef1f6;
    --ink-soft:   #c3cad6;
    --muted:      #8b94a4;
    --line:       #262c38;
    --line-2:     #1d222c;
    --bg:         #0a0c11;
    --bg-soft:    #0f131a;
    --bg-ink:     #05070b;
    --surface:    #12161f;
    --surface-2:  #171c26;
    --header-bg:  rgba(10,12,17,.72);
    --footer-bg:  #05070b;
    --accent:     #5b7bff;
    --accent-600: #4a6bff;
    --accent-700: #3d5cf0;
    --accent-50:  rgba(91,123,255,.14);
    --accent-ring: rgba(91,123,255,.30);
    --on-accent:  #ffffff;
    color-scheme: dark;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--bg-ink); color: #e9ecf3; }
.narrow { max-width: 760px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.display {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2.title { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--muted); line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--accent); border-radius: 2px;
}
.section--ink .eyebrow { color: #8aa0ff; }
.section--ink .eyebrow::before { background: #8aa0ff; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 16px; }

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease), color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px var(--accent); }
.btn--primary:hover { background: var(--accent-600); box-shadow: 0 16px 34px -10px var(--accent); }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* Fond toujours blanc (sur sections sombres) → texte foncé fixe, indépendant du thème */
.btn--light { background: #ffffff; color: #0b0d12; }
.btn--light:hover { background: #eef1f6; color: #0b0d12; }
.btn--light svg { color: #0b0d12; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--lg { --h: 58px; padding-inline: 32px; font-size: 1.05rem; }
.btn--sm { --h: 44px; padding-inline: 20px; font-size: .9rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--accent);
  transition: gap .3s var(--ease);
}
.textlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.textlink:hover { gap: 11px; }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header__inner {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .4s var(--ease);
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.scrolled .site-header__inner { height: 64px; }
.site-header.hide { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand svg { height: 30px; width: auto; }
.brand img { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--ink); }
.brand__name b { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; border-radius: 999px;
  font-weight: 500; font-size: .96rem; color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.active { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); position: relative;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg); backdrop-filter: blur(10px);
  padding: 100px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s;
}
body.menu-open .mobile-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.mobile-nav a.active { color: var(--accent); }
.mobile-nav .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 148px; padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__canvas-wrap { position: relative; aspect-ratio: 1/1; width: 100%; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--accent-50), transparent 62%);
  display: grid; place-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 26px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #16c073; box-shadow: 0 0 0 3px rgba(22,192,115,.18); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero__meta .item { }
.hero__meta .item b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.hero__meta .item span { font-size: .88rem; color: var(--muted); }

/* ---------- Marquee / zone ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.band__inner { display: flex; align-items: center; gap: 14px; padding: 22px 0; flex-wrap: wrap; justify-content: center; text-align: center; }
.band__inner span { color: var(--muted); font-size: .92rem; }
.band__inner strong { color: var(--ink); font-weight: 600; }

/* ---------- Cards (services) ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), var(--accent-50), transparent 45%);
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--accent-50); color: var(--accent);
  transition: transform .5s var(--ease);
}
.card:hover .card__icon { transform: scale(1.06) rotate(-3deg); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; color: var(--muted); }
.card .textlink { margin-top: 18px; }
.card__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-size: .9rem; color: var(--line); font-weight: 600; }

/* feature card (large) */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,56px);
  align-items: center;
}
.feature.rev { grid-template-columns: 1fr 1.1fr; }
.feature.rev .feature__media { order: -1; }
.feature__media {
  aspect-ratio: 4/3; border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--bg-soft), var(--surface));
  overflow: hidden; position: relative; box-shadow: var(--shadow-md);
}
.feature ul { display: grid; gap: 12px; margin-top: 24px; }
.feature li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.feature li svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- Process steps ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px;
  padding: 34px 0; border-top: 1px solid var(--line);
  transition: background .4s;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { counter-increment: s; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--line); line-height: 1; letter-spacing: -0.03em; transition: color .4s; }
.step__num::before { content: counter(s, decimal-leading-zero); }
.step:hover .step__num { color: var(--accent); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 620px; }

/* ---------- Pricing / offres ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured { border-color: var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.plan--featured::before {
  content: "Recommandée"; position: absolute; top: -13px; left: 30px;
  background: var(--accent); color: #fff; font-size: .74rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan__sub { margin: 2px 0 2px; }
.plan__engage-line { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--ink-soft); font-weight: 500; }
.plan__engage-line svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.plan__total { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.plan__once { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--accent); background: var(--accent-50); padding: 3px 10px; border-radius: 999px; margin-top: 4px; }

/* Prestations regroupées par catégorie */
.plan__feats { margin: 22px 0 28px; }
.plan__feats ul.feat { margin: 0; }
.plan__feats .feat-cat {
  display: flex; align-items: center; gap: 8px;
  font-size: .71rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 18px 0 11px;
}
.plan__feats .feat-cat::before { content: ""; width: 14px; height: 2px; background: var(--accent); border-radius: 2px; flex: 0 0 auto; }
.plan__feats > .feat-cat:first-child { margin-top: 0; }

/* Offres combinées */
.combo {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.combo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 90% -20%, var(--accent-50), transparent 55%); opacity: .8; pointer-events: none; }
.combo > * { position: relative; }
.combo__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.combo__row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.combo__row svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.combo__row b { display: block; color: var(--ink); font-size: .98rem; }
.combo__row span { color: var(--muted); font-size: .86rem; }

/* Prestations supplémentaires */
.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.extras .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.extras .row span { color: var(--ink-soft); }
.extras .row b { color: var(--ink); white-space: nowrap; font-family: var(--font-display); font-weight: 600; }

/* Conditions & transparence */
.cond { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.cond h3 { font-size: 1.1rem; margin-bottom: 14px; }
.cond ul { display: grid; gap: 9px; }
.cond li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.cond li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* Section title helper for Google */
.gbp-free { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--accent-50); color: var(--ink-soft); font-size: .88rem; margin-top: 14px; }
.gbp-free svg { width: 16px; height: 16px; color: var(--accent); }

@media (max-width: 760px) {
  .combo__grid { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; gap: 0; }
}
.plan__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.plan__desc { color: var(--muted); font-size: .95rem; margin-top: 6px; min-height: 44px; }
.plan__price { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.plan__price .from { font-size: .9rem; color: var(--muted); }
.plan__price .per { font-size: .95rem; color: var(--muted); }
.plan ul.feat { display: grid; gap: 12px; margin: 26px 0 30px; }
.plan ul.feat li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.plan ul.feat li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan--featured .btn { background: var(--ink); color: var(--bg); }
.plan--featured .btn:hover { background: var(--accent); color: #fff; }
.price-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 26px; }

/* ---------- Portfolio / réalisations ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.work {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work__shot { aspect-ratio: 16/11; position: relative; overflow: hidden; background: var(--bg-soft); }
.work__shot .mock { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.work:hover .work__shot .mock { transform: scale(1.03); }
.work__body { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work__body h3 { font-size: 1.15rem; }
.work__body .tag { font-size: .8rem; color: var(--muted); }
.work__body .pill { font-size: .78rem; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.demo-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--accent-50); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; color: var(--ink-soft); font-size: .92rem; margin-bottom: 36px;
}
.demo-note svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 24px 44px 24px 0; position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--ink);
}
.qa__q::after {
  content: ""; position: absolute; right: 6px; top: 28px; width: 14px; height: 14px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f54ff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .4s var(--ease);
}
.qa.open .qa__q::after { transform: rotate(135deg); }
.qa__a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.qa__a-inner { padding-bottom: 24px; color: var(--muted); max-width: 680px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--bg-ink); color: #fff; padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 50% -10%, rgba(47,84,255,.5), transparent 60%);
  opacity: .9;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: #aeb6c6; max-width: 540px; margin: 0 auto 32px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info .item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .item:first-child { padding-top: 0; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info .item b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.contact-info .item a, .contact-info .item span { color: var(--muted); }
.contact-info .item a:hover { color: var(--accent); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-soft); transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.form-consent label { font-size: .86rem; color: var(--muted); font-weight: 400; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #c4ccd9; padding-top: clamp(56px, 8vw, 88px); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #8a93a4; margin-top: 16px; max-width: 300px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; color: #9aa3b4; padding: 7px 0; font-size: .95rem; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0; }
.footer-bottom, .footer-bottom a { color: #7e8798; font-size: .86rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 200; transition: width .1s linear; }

/* ---------- Page hero (intérieur) ---------- */
.page-hero { padding-top: 140px; padding-bottom: clamp(30px, 5vw, 56px); }
.page-hero .display { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 18px 0 20px; }
.page-hero .lead { max-width: 640px; }
.crumbs { font-size: .86rem; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* ---------- Utilitaires ---------- */
.mt-s { margin-top: 20px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.badge-soft { display:inline-flex; align-items:center; gap:7px; padding:6px 13px; border:1px solid var(--line); border-radius:999px; font-size:.82rem; color:var(--ink-soft); background:var(--surface); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__canvas-wrap { max-width: 440px; margin-inline: auto; order: -1; }
  .feature, .feature.rev { grid-template-columns: 1fr; }
  .feature.rev .feature__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .grid-3, .price-grid, .work-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; }
  .step__num { font-size: 1.8rem; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__meta { gap: 18px; }
}

/* ---------- Sélecteur de thème ---------- */
.theme-toggle {
  width: 46px; height: 46px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  display: grid; place-items: center; color: var(--ink);
  transition: background .25s, border-color .25s, transform .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.header-cta .theme-toggle { width: 44px; height: 44px; }

/* ---------- Offres v2 (2 formules) ---------- */
.offers2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: stretch; max-width: 920px; margin-inline: auto; }
.offer {
  display: flex; flex-direction: column; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 38px 34px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  overflow: hidden;
}
.offer::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px circle at 50% -10%, var(--accent-50), transparent 55%);
  opacity: 0; transition: opacity .5s;
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.offer:hover::after { opacity: 1; }
.offer--pro { border-color: var(--ink); }
.offer__tag { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.offer__name { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; margin: 10px 0 6px; }
.offer__pitch { color: var(--muted); font-size: .97rem; min-height: 48px; }
.offer__price { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 4px; flex-wrap: wrap; }
.offer__price b { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.offer__price .per { color: var(--muted); font-size: 1rem; }
.offer__price .alt { color: var(--muted); font-size: .95rem; }
.offer__engage {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 8px 14px; border-radius: 10px; background: var(--accent-50); color: var(--ink);
  font-size: .88rem; font-weight: 500;
}
.offer__engage svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.offer__total { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.offer ul.feat { display: grid; gap: 12px; margin: 24px 0 28px; }
.offer ul.feat li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.offer ul.feat li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.offer__actions { margin-top: auto; display: grid; gap: 10px; }
.offer__actions .btn { width: 100%; }
.offers-note {
  max-width: 720px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: .9rem;
  display: flex; gap: 10px; align-items: flex-start; justify-content: center;
}
.offers-note svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- Formulaire multi-étapes ---------- */
.msform__progress { display: flex; align-items: center; margin-bottom: 52px; }
.msstep { position: relative; flex: 0 0 auto; display: grid; place-items: center; }
.msstep__dot {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 600; font-size: .9rem;
  background: var(--surface-2); color: var(--muted); border: 1.5px solid var(--line);
  transition: all .35s var(--ease);
}
.msstep__dot svg { width: 16px; height: 16px; display: none; }
.msstep__line { flex: 1; height: 2px; background: var(--line); margin: 0 8px; border-radius: 2px; transition: background .35s; }
.msstep__label { position: absolute; top: 42px; font-size: .74rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.msstep.active .msstep__label { color: var(--ink); }
.msstep.active .msstep__dot { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.msstep.done .msstep__dot { background: var(--accent); color: #fff; border-color: var(--accent); }
.msstep.done .msstep__dot .num { display: none; }
.msstep.done .msstep__dot svg { display: block; }
.msstep.done .msstep__line { background: var(--accent); }

.msform__panel { display: none; animation: fadeStep .45s var(--ease); }
.msform__panel.active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.msform__panel h3 { font-size: 1.3rem; margin-bottom: 6px; }
.msform__panel .sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__box {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); transition: border-color .25s, background .25s, transform .2s;
}
.choice__box .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.choice__box .ic svg { width: 20px; height: 20px; }
.choice__box b { font-size: .96rem; font-weight: 600; color: var(--ink); }
.choice:hover .choice__box { border-color: var(--accent); }
.choice input:checked + .choice__box { border-color: var(--accent); background: var(--accent-50); box-shadow: 0 0 0 3px var(--accent-ring); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--accent-ring); outline-offset: 2px; }

.msform__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.msform__nav .btn { min-width: 120px; }
.msform__nav .spacer { flex: 1; }

.recap { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.recap dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.recap dt { color: var(--muted); font-size: .88rem; }
.recap dd { margin: 0; color: var(--ink); font-weight: 500; font-size: .94rem; text-align: right; }
.field-err { color: #e5484d; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid .field-err { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e5484d; }

@media (max-width: 560px) {
  .offers2 { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .msstep__label { display: none; }
  .recap dl { grid-template-columns: 1fr; gap: 4px 0; }
  .recap dd { text-align: left; margin-bottom: 8px; }
}

/* ---------- Sélecteur de durée (24 / 12 mois) ---------- */
.billing-wrap { text-align: center; margin-bottom: 30px; }
.billing-toggle {
  position: relative; display: inline-flex; padding: 5px; gap: 0;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2);
}
.billing-toggle__slider {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0;
  border-radius: 999px; background: var(--accent); box-shadow: 0 8px 18px -8px var(--accent);
  transition: left .42s var(--ease), width .42s var(--ease); z-index: 0;
}
.billing-opt {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s; white-space: nowrap;
}
.billing-opt.active { color: #fff; }
.billing-opt .tag {
  font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; background: var(--accent-50); color: var(--accent);
  transition: background .3s, color .3s;
}
.billing-opt.active .tag { background: rgba(255,255,255,.22); color: #fff; }
.billing-note { font-size: .84rem; color: var(--muted); margin-top: 10px; }

/* Petite animation du prix lors du changement */
.plan__price b { transition: transform .35s var(--ease), opacity .25s; display: inline-block; }
.plan__price.flip b { transform: translateY(-6px); opacity: 0; }

/* ---------- Fond constellation (hero intérieur) ---------- */
.page-hero { position: relative; overflow: hidden; }
.constellation { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .6; }
.page-hero > .container { position: relative; z-index: 1; }

/* ---------- Bandeau marquee (défilement) ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.marquee__track { display: inline-flex; align-items: center; white-space: nowrap; padding: 20px 0; animation: marq 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-weight: 600; font-size: clamp(.98rem, 1.6vw, 1.12rem); color: var(--ink); padding: 0 24px; letter-spacing: -0.01em; }
.marquee__sep { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Titre hero : dégradé animé sur le mot clé ---------- */
.hero h1 em {
  color: var(--accent);
  background: linear-gradient(100deg, var(--accent) 0%, #7b93ff 35%, var(--accent) 70%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* ---------- Cartes en relief 3D (JS) ---------- */
.card, .offer { transform-style: preserve-3d; }
.card__icon, .card h3, .card p, .card .textlink, .card__num { transform: translateZ(0.01px); }

/* ---------- Bouton retour en haut ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-600); transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .08s !important; }
}
