/* =========================================================================
   Julien Jimenez | Expert Refonte & Migration SEO
   Design system | White mode, moderne, audacieux
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs de marque */
  --brand-1: #5b3df5;   /* indigo/violet */
  --brand-2: #7c3aed;   /* violet */
  --brand-3: #06b6d4;   /* cyan */
  --accent:  #ff5a4d;   /* corail (CTA / highlight) */
  --accent-2:#12d8a0;   /* menthe (succès / positif) */

  /* Neutres */
  --bg:       #ffffff;
  --bg-soft:  #f5f6fc;
  --bg-soft2: #eef0fb;
  --ink:      #0c0f26;
  --ink-2:    #232744;
  --muted:    #5a6178;
  --muted-2:  #8b91a8;
  --line:     #e6e8f4;
  --line-2:   #d7dbef;
  --white:    #ffffff;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--brand-1) 0%, var(--brand-2) 45%, var(--brand-3) 100%);
  --grad-brand-soft: linear-gradient(120deg, #efeafe 0%, #e6f7fb 100%);
  --grad-text: linear-gradient(100deg, var(--brand-1), var(--brand-3) 90%);
  --grad-accent: linear-gradient(120deg, var(--accent), #ff8a5c);

  /* Rayons */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-full: 999px;

  /* Ombres */
  --sh-sm: 0 2px 8px rgba(12,15,38,.06);
  --sh-md: 0 12px 32px rgba(12,15,38,.08);
  --sh-lg: 0 30px 70px rgba(12,15,38,.12);
  --sh-brand: 0 18px 44px rgba(91,61,245,.30);
  --sh-accent: 0 18px 40px rgba(255,90,77,.28);

  /* Type */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 74px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
::selection { background: rgba(91,61,245,.18); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 130px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--grad-brand-soft); }
.stack > * + * { margin-top: var(--sp, 1rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-1);
  padding: 7px 15px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  box-shadow: var(--sh-sm);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); }

.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.section-intro { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 20px; max-width: 60ch; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: var(--r-full);
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(91,61,245,.42); }
.btn--accent { background: var(--grad-accent); color: #fff; box-shadow: var(--sh-accent); }
.btn--accent:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(255,90,77,.4); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-sm); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--brand-1); color: var(--brand-1); box-shadow: var(--sh-md); }
.btn--lg { padding: 18px 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(12,15,38,.05);
}
.nav__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { line-height: 1.1; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 9px 14px; border-radius: var(--r-full); font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__links a:hover { background: var(--bg-soft2); color: var(--brand-1); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: .3s; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: rotate(45deg); top: 0; }
body.menu-open .nav__toggle span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: float 18s var(--ease) infinite; }
.blob--1 { width: 460px; height: 460px; background: radial-gradient(circle, #7c3aed, transparent 70%); top: -120px; right: -80px; }
.blob--2 { width: 400px; height: 400px; background: radial-gradient(circle, #06b6d4, transparent 70%); top: 120px; left: -140px; animation-delay: -6s; }
.blob--3 { width: 320px; height: 320px; background: radial-gradient(circle, #ff5a4d, transparent 70%); bottom: -120px; right: 20%; opacity: .32; animation-delay: -11s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-30px) scale(1.08); } 66% { transform: translate(-20px,24px) scale(.96); } }
.hero__grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 54px 54px; opacity: .35; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; }
.hero__kicker { display: block; font-family: var(--font-head); font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: .01em; margin-bottom: 12px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title span { display: block; }
.hero__sub { margin-top: 26px; font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: var(--muted); max-width: 52ch; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; color: var(--ink-2); font-weight: 500; }
.hero__trust svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; }

/* Hero visual : carte "traffic preserved" */
.hero__visual { position: relative; }
.traffic-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 26px; position: relative; overflow: hidden; }
.traffic-card__glow { position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(91,61,245,.08), transparent 60%); pointer-events: none; }
.traffic-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.traffic-card__title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.traffic-card__badge { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-2); background: rgba(18,216,160,.12); padding: 5px 11px; border-radius: var(--r-full); }
.traffic-card__sub { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis-label { fill: var(--muted-2); font-size: 9px; font-family: var(--font-body); }
.chart .path-bad { fill: none; stroke: #f0a3a3; stroke-width: 2.4; stroke-dasharray: 5 5; opacity: .85; }
.chart .path-good { fill: none; stroke: url(#gradGood); stroke-width: 3.4; stroke-linecap: round; }
.chart .area-good { fill: url(#gradArea); opacity: .5; }
.chart .marker { fill: #fff; stroke: var(--brand-1); stroke-width: 2.6; }
.chart .drop-line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .launch-label { fill: var(--muted); font-size: 9px; font-family: var(--font-head); font-weight: 600; }
.traffic-card__legend { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.traffic-card__legend span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.legend-dot { width: 12px; height: 3px; border-radius: 2px; }
.legend-dot.good { background: var(--brand-1); }
.legend-dot.bad { background: #f0a3a3; }

.stat-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.stat-badge { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 14px; text-align: center; box-shadow: var(--sh-sm); }
.stat-badge b { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-badge span { font-size: .78rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }

/* ---------- Marquee (mots-clés / réassurance) ---------- */
.marquee { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding-block: 20px; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }
.marquee__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); flex: none; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Cards grid générique ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-2); }
.card:hover::after { transform: scaleX(1); }
.card__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--brand-1); margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: 1.24rem; margin-bottom: 12px; }
.card__text { color: var(--muted); font-size: 1rem; }
.card__list { margin-top: 18px; display: grid; gap: 9px; }
.card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.card__list svg { width: 17px; height: 17px; color: var(--accent-2); flex: none; margin-top: 3px; }

/* ---------- Risques (complexité) ---------- */
.risk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; gap: 16px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.risk-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.risk-card__num { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-accent); flex: none; box-shadow: var(--sh-accent); }
.risk-card__title { font-size: 1.1rem; margin-bottom: 7px; font-family: var(--font-head); font-weight: 600; }
.risk-card__text { color: var(--muted); font-size: .96rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.stat-big { text-align: center; padding: 30px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-sm); }
.stat-big b { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-big span { color: var(--muted); font-size: .96rem; display: block; margin-top: 8px; }
.closing-line { margin-top: 40px; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.4; max-width: 26ch; }
.closing-line .grad-text { font-weight: 700; }

/* ---------- Timeline (méthode) ---------- */
.timeline { position: relative; display: grid; gap: 4px; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--brand-1), var(--brand-3)); opacity: .28; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 18px 0; align-items: start; }
.tl-step__dot { width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--brand-1); box-shadow: var(--sh-sm); position: relative; z-index: 1; transition: transform .35s var(--ease-spring), box-shadow .35s, background .35s, color .35s; }
.tl-step:hover .tl-step__dot { background: var(--grad-brand); color: #fff; transform: scale(1.08); box-shadow: var(--sh-brand); border-color: transparent; }
.tl-step__body { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.tl-step:hover .tl-step__body { transform: translateX(4px); box-shadow: var(--sh-md); }
.tl-step__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-full); }
.tag--phase { color: var(--brand-1); background: var(--bg-soft2); }
.tag--time { color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); }
.tl-step__title { font-size: 1.18rem; font-family: var(--font-head); font-weight: 600; margin-bottom: 8px; }
.tl-step__text { color: var(--muted); font-size: .98rem; }

/* ---------- Avantages ---------- */
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.benefit__metric { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--accent-2); background: rgba(18,216,160,.1); display: inline-flex; padding: 6px 14px; border-radius: var(--r-full); margin-bottom: 18px; }
.benefit__title { font-size: 1.22rem; margin-bottom: 10px; }
.benefit__text { color: var(--muted); }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.about__portrait { position: relative; }
.portrait-card { background: var(--grad-brand); border-radius: var(--r-xl); padding: 40px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-lg); }
.portrait-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.22), transparent 55%); }
.portrait-card__media { height: 240px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 22px; position: relative; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.portrait-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; transition: transform .6s var(--ease); }
.portrait-card:hover .portrait-card__media img { transform: scale(1.04); }
.portrait-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; position: relative; }
.portrait-card__role { opacity: .9; font-weight: 500; position: relative; margin-top: 4px; }
.portrait-card__quote { margin-top: 26px; font-size: 1.05rem; line-height: 1.6; position: relative; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.portrait-card__quote::before { content: "\201C"; font-family: var(--font-head); font-size: 3rem; line-height: 0; position: absolute; top: 34px; left: -4px; opacity: .3; }
.expertise-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; position: relative; }
.expertise-chips li { font-size: .84rem; font-weight: 500; padding: 7px 14px; border-radius: var(--r-full); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }

.about__body h2 { margin-bottom: 22px; }
.about__body p { color: var(--muted); font-size: 1.06rem; }
.about__body p + p { margin-top: 16px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.value { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--bg-soft); }
.value__title { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.value__title svg { width: 20px; height: 20px; color: var(--brand-1); }
.value__text { font-size: .9rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.is-open { box-shadow: var(--sh-md); border-color: var(--line-2); }
.faq-item__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-item__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft2); display: grid; place-items: center; transition: transform .35s var(--ease-spring), background .3s; }
.faq-item__icon svg { width: 16px; height: 16px; color: var(--brand-1); transition: transform .35s; }
.faq-item.is-open .faq-item__icon { background: var(--grad-brand); }
.faq-item.is-open .faq-item__icon svg { color: #fff; transform: rotate(45deg); }
/* Garde-fou no-JS : les réponses sont visibles par défaut ; repliées seulement si JS actif */
.faq-item__a { max-height: none; overflow: hidden; transition: max-height .4s var(--ease); }
.js .faq-item__a { max-height: 0; }
.faq-item__a-inner { padding: 0 26px 24px; color: var(--muted); font-size: 1rem; }

/* ---------- Contact / CTA ---------- */
.contact { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact__aside .eyebrow { margin-bottom: 20px; }
.contact__aside h2 { margin-bottom: 18px; }
.contact__aside p { color: var(--muted); font-size: 1.06rem; }
.reassure { margin-top: 30px; display: grid; gap: 14px; }
.reassure li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-sm); }
.reassure__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-brand-soft); color: var(--brand-1); display: grid; place-items: center; flex: none; }
.reassure__icon svg { width: 20px; height: 20px; }
.reassure b { display: block; font-family: var(--font-head); font-size: 1rem; }
.reassure span { font-size: .9rem; color: var(--muted); }

.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 42px); box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.form-wrap::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-brand); }
.form-intro { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--bg-soft); transition: border-color .25s, box-shadow .25s, background .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-1); background: #fff; box-shadow: 0 0 0 4px rgba(91,61,245,.12); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6178' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.form-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--brand-1); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-visible { display: block; animation: pop .5s var(--ease-spring); }
.form-success__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: rgba(18,216,160,.14); color: var(--accent-2); display: grid; place-items: center; }
.form-success__icon svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.contact-direct { text-align: center; }
.contact-direct__icon { width: 72px; height: 72px; margin: 4px auto 22px; border-radius: 50%; background: rgba(124,58,237,.12); color: var(--brand-1); display: grid; place-items: center; }
.contact-direct__icon svg { width: 34px; height: 34px; }
.contact-direct .form-intro { text-align: left; }
.contact-direct .btn { margin-bottom: 14px; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.is-hidden { display: none !important; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9cde0; padding-block: clamp(50px, 6vw, 76px) 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; }
.footer .brand__name small { color: var(--muted-2); }
.footer__desc { margin-top: 18px; max-width: 42ch; font-size: .96rem; color: var(--muted-2); }
.footer__col h4 { font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.footer__col a, .footer__col li { color: var(--muted-2); font-size: .95rem; padding-block: 5px; display: block; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--muted-2); }
.footer__bottom strong { color: #fff; font-weight: 600; }

/* ---------- Reveal animation (garde-fou no-JS : visible par défaut) ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

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

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-brand); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: .35s var(--ease-spring); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px); padding: 18px var(--gutter) 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  body.menu-open .nav__links { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .tl-step { grid-template-columns: 46px 1fr; gap: 16px; }
  .timeline::before { left: 22px; }
  .tl-step__dot { width: 46px; height: 46px; }
  .stat-badges { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
}
