/* =====================================================================
   NiProject — feuille de style principale
   Identité conservée : Plus Jakarta Sans, navy #1b1d33, dégradé rose→orange
   ===================================================================== */

:root {
  --ink: #1b1d33;
  --ink-2: #262a45;
  --ink-soft: #444655;
  --text: #4b4f63;
  --muted: #7a7e93;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-tint: #fff4ef;
  --orange: #ff6b43;
  --rose: #de4272;
  --amber: #f89a39;
  --violet: #7b5ea7;
  --grad: linear-gradient(90deg, #de4272 0%, #ef6a52 55%, #f89a39 100%);
  --grad-soft: linear-gradient(135deg, rgba(222,66,114,.12), rgba(248,154,57,.12));
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(27,29,51,.18);
  --shadow-lg: 0 30px 60px -20px rgba(27,29,51,.35);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #c6c9d9; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); }
.section--dark .lead { color: #c6c9d9; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: 24px 64px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; } .section-head--split .lead { padding-bottom: 6px; } }
.section-head h2 + .lead, .section-head h1 + .lead { margin-top: 18px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 1.5px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn svg:first-child { width: 18px; height: 18px; }
.btn:hover svg:first-child { transform: none; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #fff; border: 0; padding: 16.5px 27.5px; box-shadow: 0 10px 24px -12px rgba(233,104,90,.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(233,104,90,.65); }
.btn--primary.btn--sm { padding: 12.5px 21.5px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--rose); }

/* ---------- Bandeau + header ---------- */
.topbar { background: var(--grad); color: #fff; font-size: .86rem; font-weight: 600; text-align: center; padding: 9px var(--gutter); }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.topbar a:hover { opacity: .9; }

.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(27,29,51,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { flex: none; }
.brand img { width: 182px; height: auto; }
@media (max-width: 480px) { .brand img { width: 150px; } }
.nav { display: none; align-items: center; gap: 6px; }
.nav > li { position: relative; }
.nav a, .nav button { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .96rem; color: var(--ink); background: none; border: 0; transition: background .2s, color .2s; }
.nav a:hover, .nav button:hover, .nav a[aria-current="page"], .nav > li.is-active > a, .nav > li.is-active > button { background: var(--bg-soft); color: var(--rose); }
.nav button svg { width: 12px; height: 12px; transition: transform .25s; }
.nav > li:hover > button svg, .nav > li:focus-within > button svg { transform: rotate(180deg); }
.nav__menu { position: absolute; left: 0; top: calc(100% + 8px); min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s ease; }
.nav > li:hover > .nav__menu, .nav > li:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 12px; }
.nav__menu a:hover { background: var(--bg-soft); color: var(--ink); }
.nav__menu a span { display: block; font-weight: 700; }
.nav__menu a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.nav__menu .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-soft); color: var(--rose); display: grid; place-items: center; flex: none; }
.nav__menu .ico svg { width: 20px; height: 20px; }
.header__cta { display: none; align-items: center; gap: 14px; flex: none; }
.header__phone { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.header__phone .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.header__phone .ico svg { width: 18px; height: 18px; }
.header__phone small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.header__phone b { color: var(--rose); font-size: .98rem; }
.burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (min-width: 1024px) { .nav { display: flex; gap: 0; } .nav a, .nav button { padding: 10px 9px; font-size: .9rem; } .header__cta { display: flex; } .burger { display: none; } .header__phone { display: none; } .brand img { width: 150px; } .header__inner { gap: 16px; } }
@media (min-width: 1140px) { .nav { gap: 2px; } .nav a, .nav button { padding: 10px 11px; font-size: .94rem; } .brand img { width: 165px; } .header__inner { gap: 24px; } }
@media (min-width: 1300px) { .header__phone { display: flex; } .header__phone small { display: none; } .brand img { width: 175px; } }
@media (min-width: 1440px) { .brand img { width: 182px; } .nav { gap: 4px; } .nav a, .nav button { padding: 10px 13px; font-size: .96rem; } }
@media (min-width: 1560px) { .header__phone small { display: block; } }

.drawer { position: fixed; inset: 0; z-index: 70; background: rgba(27,29,51,.5); opacity: 0; visibility: hidden; transition: .3s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 100%); background: #fff; padding: 20px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; gap: 24px; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__nav a { display: block; padding: 14px 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer__nav .sub a { font-size: .98rem; font-weight: 600; padding: 10px 0 10px 16px; border: 0; color: var(--text); }
.drawer__nav .sub { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.drawer__nav .sub-title { padding: 14px 0 4px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; }
.drawer__foot a.tel { font-weight: 700; color: var(--rose); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .42; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(27,29,51,.96) 0%, rgba(27,29,51,.82) 45%, rgba(27,29,51,.35) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -20vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(222,66,114,.35), rgba(248,154,57,.12) 55%, transparent 75%); filter: blur(20px); pointer-events: none; }
.hero__inner { position: relative; padding-block: clamp(80px, 11vw, 150px) clamp(72px, 9vw, 120px); max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9); backdrop-filter: blur(6px); }
.hero__badges svg { width: 15px; height: 15px; color: var(--amber); }
.hero--page .hero__inner { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 7vw, 96px); }
.hero--split { }
.hero--split .hero__inner { max-width: none; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero--split .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.hero__figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure--wide { aspect-ratio: 1400 / 688; align-self: center; }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }
.hero__text { max-width: 640px; }
.breadcrumb { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* animation d'entrée */
.hero .reveal-up { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero .reveal-up:nth-child(2) { animation-delay: .1s; } .hero .reveal-up:nth-child(3) { animation-delay: .2s; } .hero .reveal-up:nth-child(4) { animation-delay: .3s; } .hero .reveal-up:nth-child(5) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Bande logos (auto-défilement, pause au survol, défilement manuel) ---------- */
.logos { padding-block: clamp(40px, 5vw, 64px); }
.logos__title { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.ticker { position: relative; }
.ticker__track { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 6px 0; cursor: grab; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track::-webkit-scrollbar { display: none; }
.ticker__track.is-dragging { cursor: grabbing; }
.ticker__item { flex: none; width: 226px; height: 122px; display: grid; place-items: center; padding: 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, transform .25s; }
.ticker__item img { max-height: 72px; max-width: 170px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.ticker__item:hover { border-color: #d5d8e6; transform: translateY(-2px); }
.ticker__item:hover img { filter: none; opacity: 1; }
.ticker__nav { display: flex; gap: 8px; justify-content: center; width: max-content; margin: 20px auto 0; }
.ticker__track.is-static { justify-content: center; mask-image: none; -webkit-mask-image: none; cursor: default; }
.ticker__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: .2s; }
.ticker__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ticker__btn svg { width: 16px; height: 16px; }
.ticker--lg .ticker__item { width: 226px; height: 122px; padding: 16px 20px; }
.ticker--lg .ticker__item img { max-height: 72px; max-width: 170px; }
.ticker--dark .ticker__item { background: #fff; border-color: rgba(255,255,255,.12); }
.ticker--dark .ticker__item img { filter: none; opacity: .9; }

/* ---------- Cartes génériques ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .badges { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dcdfea; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); color: var(--rose); display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text); font-size: .98rem; }
.card--num::before { content: attr(data-num); position: absolute; top: 22px; right: 26px; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #dfe2ec; }
.card--dark { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.card--dark h3 { color: #fff; } .card--dark p { color: #c6c9d9; }
.card--dark .ico { background: rgba(255,255,255,.08); color: var(--amber); }

/* ---------- Pôles (4 cartes uniformes) ---------- */
.poles { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.pole { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.pole:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pole__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.pole__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pole:hover .pole__img img { transform: scale(1.05); }
.pole__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pole__body h3 { font-size: 1.25rem; }
.pole__body p { font-size: .95rem; }
.pole__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pole__tags li { font-size: .76rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); }
.pole__body .link-arrow { margin-top: auto; padding-top: 10px; }

/* ---------- Chiffres (un seul jeu, cohérent sur tout le site) ---------- */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { padding: 28px 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat__value { font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.stat__value span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 10px; font-size: .95rem; color: #c6c9d9; font-weight: 500; }
.stats--light .stat { background: #fff; border-color: var(--line); }
.stats--light .stat__value { color: var(--ink); } .stats--light .stat__label { color: var(--text); }

/* ---------- Étapes (méthode) ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: step; }
.step { position: relative; padding: 32px 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 20px; box-shadow: 0 10px 20px -10px rgba(222,66,114,.7); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .97rem; }
.steps--col .step::after { display: none !important; }
@media (min-width: 900px) { .step:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 54px; width: 22px; height: 2px; background: var(--line); } }

/* ---------- Section image + texte ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__media .frame--tall { aspect-ratio: 4 / 4.4; }
.split__media .float { position: absolute; left: -18px; bottom: -22px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; max-width: 280px; border: 1px solid var(--line); }
.split__media .float .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.split__media .float .ico svg { width: 22px; height: 22px; }
.split__media .float b { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.2; }
.split__media .float small { color: var(--muted); font-size: .8rem; }
@media (max-width: 600px) { .split__media .float { left: 12px; bottom: 12px; } }
.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-soft); }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--rose); margin-top: 2px; }
.section--dark .checks li { color: #dfe1ec; }
.section--dark .checks svg { color: var(--amber); }

/* ---------- Agréments ---------- */
.badges { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.badge { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.badge__logo { height: 64px; display: flex; align-items: center; }
.badge__logo img { max-height: 64px; max-width: 170px; width: auto; height: auto; }
.badge__logo .txt { display: inline-grid; place-items: center; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; letter-spacing: .04em; font-size: .95rem; }
.badge h3 { font-size: 1.05rem; }
.badge p { font-size: .9rem; color: var(--text); }
.badge__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }

/* ---------- Grille logos (page références) ---------- */
.logo-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logo-grid li { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: .25s; }
.logo-grid li:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.logo-grid img { max-height: 60px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo-grid--partners li { aspect-ratio: 16 / 9; }
.logo-grid--partners img { max-height: 78px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--ink-soft); transition: .2s; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.logo-grid li[hidden] { display: none; }

/* ---------- Témoignage / avis ---------- */
.quote { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.quote::before { content: "“"; position: absolute; top: 8px; left: 22px; font-size: 6rem; line-height: 1; font-weight: 800; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; opacity: .35; }
.quote p { font-size: 1.15rem; color: var(--ink); font-weight: 500; position: relative; }
.quote footer { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--bg-tint); color: var(--ink); font-weight: 700; font-size: .95rem; }
.rating .stars { color: var(--amber); letter-spacing: 2px; }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; border-radius: 28px; background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; gap: 28px; align-items: center; isolation: isolate; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr 1fr; } .cta__actions { justify-self: end; } }
.cta::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(222,66,114,.5), rgba(248,154,57,.18) 55%, transparent 75%); filter: blur(10px); }
.cta::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: #c6c9d9; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__contact { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; font-weight: 600; }
.cta__contact a { display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.cta__contact svg { width: 16px; height: 16px; color: var(--amber); }

/* ---------- Footer ---------- */
.footer { background: #12142a; color: #a9adc2; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .94rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { width: 180px; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); transition: .2s; }
.footer__social a:hover { background: var(--grad); border-color: transparent; color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.footer__bottom ul { display: flex; gap: 18px; }
.footer__bottom li + li { margin: 0; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(222,66,114,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.form__consent input { margin-top: 4px; }
.form__msg { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form__msg--ok { background: #e9f8ef; color: #1b6b3a; }
.form__msg--err { background: #fdecec; color: #a12727; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.contact-card .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); color: var(--rose); display: grid; place-items: center; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { font-size: .92rem; }
.contact-card a { font-weight: 700; color: var(--ink); }
.contact-card a:hover { color: var(--rose); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Réalisations / articles ---------- */
.posts { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); }
.post__meta span:last-child { color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 500; }
.post__body h3 { font-size: 1.15rem; }
.post__body p { font-size: .94rem; }
.post__body .link-arrow { margin-top: auto; padding-top: 8px; font-size: .92rem; }
.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.article h3 { margin: 28px 0 10px; }
.article ul { padding-left: 20px; list-style: disc; margin-bottom: 1em; }
.article li { margin-bottom: 6px; }
.article figure { margin: 32px 0; border-radius: var(--radius); overflow: hidden; }
.article figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 30px 0; }
.article__facts div { padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); }
.article__facts b { display: block; color: var(--ink); font-size: 1.15rem; }
.article__facts small { color: var(--muted); }
.notice { padding: 16px 20px; border-radius: 14px; background: var(--bg-tint); border: 1px dashed #f3c1b2; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Équipe ---------- */
.team { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member__img { aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.member__img img { width: 100%; height: 100%; object-fit: cover; }
.member__img .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--rose); background: var(--grad-soft); }
.member__img .ph svg { width: 56px; height: 56px; }
.member__body { padding: 20px 22px 24px; }
.member__body h3 { font-size: 1.1rem; }
.member__body p { font-size: .9rem; color: var(--muted); margin-top: 4px; }

/* ---------- Page légale ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: 1em; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .reveal-up { opacity: 1; transform: none; transition: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound .big { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
